summaryrefslogtreecommitdiff
path: root/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'web/templates')
-rw-r--r--web/templates/settings.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/templates/settings.html b/web/templates/settings.html
index 3bb143c..9c1869f 100644
--- a/web/templates/settings.html
+++ b/web/templates/settings.html
@@ -15,7 +15,7 @@
</head>
<body class="bg-slate-950 text-slate-200 min-h-screen p-4 sm:p-8" hx-headers='{"X-CSRF-Token": "{{.CSRFToken}}"}'>
<div class="max-w-4xl mx-auto">
- <a href="/" class="inline-block mb-6 text-slate-400 hover:text-white transition-colors">&larr; Back to Dashboard</a>
+ <a href="/" onclick="if (window.history.length > 1) { history.back(); return false; }" class="inline-block mb-6 text-slate-400 hover:text-white transition-colors">&larr; Back to Dashboard</a>
<h1 class="text-4xl font-light text-white mb-2 tracking-tight">Settings</h1>
<p class="text-slate-400 mb-10">Configure feature toggles and data sources.</p>