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.html24
1 files changed, 15 insertions, 9 deletions
diff --git a/templates/template.html b/templates/template.html
index 3223dd5..5504301 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -54,11 +54,6 @@
             height: 25px;
         }
 
-        li > div {
-            display: flex;
-            align-items: center;
-        }
-
         li.selected {
             text-decoration: line-through;
             color: #475258;
@@ -172,8 +167,21 @@
 <body>
     <div class="container">
         <h1>{{ .Name }}</h1>
-        <ul class="checklist" id="checklist"></ul>
+        <ul class="checklist" id="checklist">
+                <li>not selected</li>
 
+                <li>
+                test not selected
+                <form action="/toggle" method="POST">
+                    <input type="hidden" name="id" value="<test-id>" />
+                    <button type="submit" />
+                </form>
+                </li>
+
+
+                <li class="selected">selected</li>
+
+        </ul>
 
         <form action="/create" method="POST">
             <div class="input-container">
@@ -182,9 +190,7 @@
         </form>
 
         <form action="/delete" method="POST">
-            <div class="buttons">
-                <button type="submit" class="delete-button">Delete Selected Items</button>
-            </div>
+            <button type="submit" class="delete-button">Delete Selected Items</button>
         </form>
 
     </div>