Changed Title

This commit is contained in:
it00147
2025-11-26 13:35:17 +00:00
parent 0c2982d0e8
commit ff7b33d75e
2 changed files with 20 additions and 8 deletions

18
app.py
View File

@@ -9,7 +9,7 @@ HTML_TEMPLATE = """<!doctype html>
<html lang="it">
<head>
<meta charset="utf-8">
<title>myip IP & RIPE Lookup</title>
<title>SolidData IP & RIPE Lookup</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.googleapis.com">
@@ -30,13 +30,15 @@ HTML_TEMPLATE = """<!doctype html>
</div>
<h1 class="title">Il tuo IP pubblico è:</h1>
<div class="ip-wrapper">
<span id="ip-value" class="ip">{{ ip }}</span>
<button id="copy-btn" class="copy-btn" type="button">
<span class="copy-icon">📋</span>
<span class="copy-label">Copia IP</span>
</button>
</div>
<div class="ip-wrapper">
<span id="ip-value" class="ip">{{ ip }}</span>
</div>
<button id="copy-btn" class="copy-btn copy-btn-below" type="button">
<span class="copy-icon">📋</span>
<span class="copy-label">Copia IP</span>
</button>
<div class="divider"></div>

View File

@@ -45,3 +45,13 @@ body {
margin-bottom: 1.5rem;
display: block;
}
/* wrapper solo per l'IP */
.ip-wrapper {
margin-bottom: 0.75rem;
}
/* bottone sotto l'IP */
.copy-btn-below {
margin-top: 0.5rem;
margin-bottom: 1.5rem;
}