67815dc48db954e7e639bbdb6c59674d910bad69

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Add refresh button

Diff

This diff is truncated to protect this page.

 1diff --git a/pages/navbar.templ b/pages/navbar.templ
 2index 523376f900b9937fd17d2a7850e2f43eeed4e6e1..5a981ff4bf9719bd2e68673db98265fc26148750 100644
 3--- a/pages/navbar.templ
 4+++ b/pages/navbar.templ
 5@@ -30,6 +30,11 @@ templ navbar(route string) {
 6 			<a class="navbar-brand" href="/">
 7 				<img src="/assets/ytrssil.png" alt="ytrssil" width="32" height="32"/>
 8 			</a>
 9+			<button
10+				type="button"
11+				class="btn btn-primary me-auto me-lg-2"
12+				onClick="window.location.reload();"
13+			><i class="bi bi-arrow-clockwise"></i></button>
14 			<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
15 				<span class="navbar-toggler-icon"></span>
16 			</button>
17diff --git a/pages/navbar_templ.go b/pages/navbar_templ.go
18index 3c786db0a51a311f3defe18eea8faa304ec9e2ee..8112507fd537ca20e3717f4516b3f10c985ec823 100644
19--- a/pages/navbar_templ.go
20+++ b/pages/navbar_templ.go
21@@ -53,7 +53,7 @@ func navbar(route string) templ.Component {
22 			templ_7745c5c3_Var1 = templ.NopComponent
23 		}
24 		ctx = templ.ClearChildren(ctx)