Commit ·
bcd2b14
1
Parent(s): bb3cc75
fix(ui): real UTF-8 emoji + em-dash chars in nav and admin templates
Browse files- .gitignore +5 -0
- static/css/nav.js +3 -3
- templates/admin_cron.html +3 -3
.gitignore
CHANGED
|
@@ -83,3 +83,8 @@ manual_running_bots.json
|
|
| 83 |
# One-off emoji fixers
|
| 84 |
fix_nav_emojis.py
|
| 85 |
fix_template_emojis.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
# One-off emoji fixers
|
| 84 |
fix_nav_emojis.py
|
| 85 |
fix_template_emojis.py
|
| 86 |
+
|
| 87 |
+
fix_emojis_v2.py
|
| 88 |
+
fix_template_v2.py
|
| 89 |
+
fix_template_emojis.py
|
| 90 |
+
fix_nav_emojis.py
|
static/css/nav.js
CHANGED
|
@@ -73,7 +73,7 @@
|
|
| 73 |
const aboutLink = document.createElement('a');
|
| 74 |
aboutLink.href = '/about';
|
| 75 |
aboutLink.className = 'nav-link';
|
| 76 |
-
aboutLink.textContent = '
|
| 77 |
const settingsRef = navLinks.querySelector('a[href="/settings/"]');
|
| 78 |
if (settingsRef) navLinks.insertBefore(aboutLink, settingsRef);
|
| 79 |
else navLinks.appendChild(aboutLink);
|
|
@@ -82,7 +82,7 @@
|
|
| 82 |
const glossaryLink = document.createElement('a');
|
| 83 |
glossaryLink.href = '/glossary';
|
| 84 |
glossaryLink.className = 'nav-link';
|
| 85 |
-
glossaryLink.textContent = '
|
| 86 |
const aboutRef = navLinks.querySelector('a[href="/about"]');
|
| 87 |
if (aboutRef && aboutRef.nextSibling) navLinks.insertBefore(glossaryLink, aboutRef.nextSibling);
|
| 88 |
else navLinks.appendChild(glossaryLink);
|
|
@@ -155,7 +155,7 @@
|
|
| 155 |
const alertsLink = document.createElement('a');
|
| 156 |
alertsLink.href = '/admin/alerts';
|
| 157 |
alertsLink.className = 'nav-link';
|
| 158 |
-
alertsLink.textContent = '
|
| 159 |
const cronLink = navLinks.querySelector('a[href="/admin/cron"]');
|
| 160 |
if (cronLink) navLinks.insertBefore(alertsLink, cronLink);
|
| 161 |
else navLinks.appendChild(alertsLink);
|
|
|
|
| 73 |
const aboutLink = document.createElement('a');
|
| 74 |
aboutLink.href = '/about';
|
| 75 |
aboutLink.className = 'nav-link';
|
| 76 |
+
aboutLink.textContent = 'ℹ️ About';
|
| 77 |
const settingsRef = navLinks.querySelector('a[href="/settings/"]');
|
| 78 |
if (settingsRef) navLinks.insertBefore(aboutLink, settingsRef);
|
| 79 |
else navLinks.appendChild(aboutLink);
|
|
|
|
| 82 |
const glossaryLink = document.createElement('a');
|
| 83 |
glossaryLink.href = '/glossary';
|
| 84 |
glossaryLink.className = 'nav-link';
|
| 85 |
+
glossaryLink.textContent = '📖 Glossary';
|
| 86 |
const aboutRef = navLinks.querySelector('a[href="/about"]');
|
| 87 |
if (aboutRef && aboutRef.nextSibling) navLinks.insertBefore(glossaryLink, aboutRef.nextSibling);
|
| 88 |
else navLinks.appendChild(glossaryLink);
|
|
|
|
| 155 |
const alertsLink = document.createElement('a');
|
| 156 |
alertsLink.href = '/admin/alerts';
|
| 157 |
alertsLink.className = 'nav-link';
|
| 158 |
+
alertsLink.textContent = '🔔 Coin Alerts';
|
| 159 |
const cronLink = navLinks.querySelector('a[href="/admin/cron"]');
|
| 160 |
if (cronLink) navLinks.insertBefore(alertsLink, cronLink);
|
| 161 |
else navLinks.appendChild(alertsLink);
|
templates/admin_cron.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
-
<title>Cron Jobs
|
| 7 |
<link rel="stylesheet" href="/css/nav.css">
|
| 8 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
|
| 9 |
<style>
|
|
@@ -49,12 +49,12 @@
|
|
| 49 |
<div class="nav-links">
|
| 50 |
<a href="/" class="nav-link">\ud83c\udfe0 Home</a>
|
| 51 |
<a href="/scan/" class="nav-link">\ud83d\udd0d Scan</a>
|
| 52 |
-
<a href="/settings/" class="nav-link">
|
| 53 |
</div>
|
| 54 |
</nav>
|
| 55 |
|
| 56 |
<div class="page-content">
|
| 57 |
-
<h1>
|
| 58 |
<div class="sub">Scheduled scans and tasks \u2014 backed by Cloud Scheduler</div>
|
| 59 |
|
| 60 |
<div class="card">
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 6 |
+
<title>Cron Jobs — Admin</title>
|
| 7 |
<link rel="stylesheet" href="/css/nav.css">
|
| 8 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
|
| 9 |
<style>
|
|
|
|
| 49 |
<div class="nav-links">
|
| 50 |
<a href="/" class="nav-link">\ud83c\udfe0 Home</a>
|
| 51 |
<a href="/scan/" class="nav-link">\ud83d\udd0d Scan</a>
|
| 52 |
+
<a href="/settings/" class="nav-link">⚙️ Settings</a>
|
| 53 |
</div>
|
| 54 |
</nav>
|
| 55 |
|
| 56 |
<div class="page-content">
|
| 57 |
+
<h1>⏰ Cron Jobs</h1>
|
| 58 |
<div class="sub">Scheduled scans and tasks \u2014 backed by Cloud Scheduler</div>
|
| 59 |
|
| 60 |
<div class="card">
|