added update notifier
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<link rel="icon" href="/public/assets/waifuboards.ico" type="image/x-icon">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/views/css/schedule/schedule.css">
|
||||
<link rel="stylesheet" href="/views/css/updateNotifier.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -81,6 +82,19 @@
|
||||
<span id="loadingText">Syncing Schedule...</span>
|
||||
</div>
|
||||
|
||||
<div id="updateToast" class="hidden">
|
||||
<p>Update available: <span id="latestVersionDisplay">v1.x</span></p>
|
||||
|
||||
<a
|
||||
id="downloadButton"
|
||||
href="https://git.waifuboard.app/ItsSkaiya/WaifuBoard/releases"
|
||||
target="_blank"
|
||||
>
|
||||
Click To Download
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<script src="../src/scripts/updateNotifier.js"></script>
|
||||
<script src="/src/scripts/schedule/schedule.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user