Use Semantic UI for all HTML templates
[cacert-boardvoting.git] / templates / withdraw_motion_form.html
index 809ce28..c5f0846 100644 (file)
@@ -1,22 +1,21 @@
 {{ template "header" . }}
-<a href="/motions/">Show all votes</a>
-<table class="list">
-    <thead>
-    <tr>
-        <th>Status</th>
-        <th>Motion</th>
-    </tr>
-    </thead>
-    <tbody>
-    <tr>
-        {{ with .Decision }}
-        {{ template "motion_fragment" .}}
-        {{ end}}
-    </tr>
-    </tbody>
-</table>
-
+<div class="column">
+    <div class="ui basic segment">
+        <div class="ui floated right secondary menu">
+            <a href="/motions/" class="item" title="Show all votes">Back to motions</a>
+        </div>
+    </div>
+</div>
+{{ with .Decision }}
+<div class="column">
+    <div class="ui raised segment">
+        {{ template "motion_fragment" . }}
+    </div>
+</div>
+{{ end }}
 <form action="/motions/{{ .Decision.Tag }}/withdraw" method="post">
-    <input type="submit" value="Withdraw" />
+    <div class="ui form">
+        <button class="ui primary left labeled icon button" type="submit"><i class="trash icon"></i> Withdraw</button>
+    </div>
 </form>
 {{ template "footer" . }}