summary refs log tree commit diff stats
path: root/templates/template.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/template.html')
-rw-r--r--templates/template.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/template.html b/templates/template.html
index 7548624..b92f716 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -3,7 +3,7 @@
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title> {{ .name }}</title>
+    <title>{{ .name }} - List</title>
     <style>
         html, body {
             width: 100%;
@@ -166,7 +166,7 @@
 </head>
 <body>
     <div class="container">
-        <h1>{{ .name }}</h1>
+        <h1>{{ .name }} - List</h1>
         <ul class="checklist" id="checklist">
             {{ range .entries }}
                 {{ if .Checked }}
@@ -190,10 +190,16 @@
             </div>
         </form>
 
-            <form action="{{ .base_path }}delete" method="POST" onsubmit="return confirm('Are you sure you want to delete all checked entries?')">
+        <form action="{{ .base_path }}delete" method="POST" onsubmit="return confirm('Are you sure you want to delete all checked entries?')">
             <button type="submit" class="delete-button">Delete Selected Items</button>
         </form>
 
+        <form action="{{ .base_path }}logout" method="POST" onsubmit="return confirm('Are you sure you want to logout?')">
+            <div class="input-container">
+                <button type="submit" class="delete-button">Logout</button>
+            </div>
+        </form>
+
     </div>
 </body>
 </html>