feat: Add version badge

This commit is contained in:
MasterAcnolo
2025-12-20 11:18:54 +01:00
parent 653319e408
commit 4158e8c6e3
2 changed files with 32 additions and 12 deletions

View File

@@ -16,6 +16,7 @@
</head>
<body>
<div class="topbar">
<div class="custom-controls">
<button id="devtools-btn" title="Dev Tools">Tools</button>
@@ -94,6 +95,8 @@
<div id="videoInfo" style="margin-top: 20px;"></div>
</div>
<span id="version-badge" class="version-badge">v1.3.1</span>
<!-- Scripts -->
<script src="script/custompath.js"></script>
<script src="script/downloadstatus.js"></script>

View File

@@ -97,3 +97,20 @@
background: #c50f1f;
transform: scale(0.9);
}
.version-badge {
position: fixed;
right: 18px;
bottom: 12px;
z-index: 2000;
font-size: 0.85em;
color: #b0b0b0;
background: none;
font-weight: 500;
border-radius: 6px;
padding: 2px 8px;
opacity: 0.7;
pointer-events: none;
box-shadow: none;
user-select: none;
}