summaryrefslogtreecommitdiff
path: root/templates/motion.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/motion.html')
-rw-r--r--templates/motion.html32
1 files changed, 15 insertions, 17 deletions
diff --git a/templates/motion.html b/templates/motion.html
index 66e4ce0..8fc7530 100644
--- a/templates/motion.html
+++ b/templates/motion.html
@@ -1,21 +1,19 @@
{{ template "header" . }}
-<a href="/motions/">Show all votes</a>
{{ $voter := .Voter }}
-<table class="list">
- <thead>
- <th>Status</th>
- <th>Motion</th>
- {{ if $voter}}
- <th>Actions</th>
- {{ end }}
- </thead>
- <tbody>
- <tr>
- {{ with .Decision }}
- {{ template "motion_fragment" .}}
+<div class="column">
+ <div class="ui basic segment">
+ <div class="ui floated right secondary menu">
+ <a href="/motions/" class="item" title="Show all votes">All votes</a>
+ {{ if $voter }}<a href="/motions/?unvoted=1" class="item" title="Show my outstanding votes">My outstanding votes</a>{{ end }}
+ </div>
+ </div>
+</div>
+{{ with .Decision }}
+<div class="column">
+ <div class="ui raised segment">
+ {{ template "motion_fragment" . }}
{{ if $voter }}{{ template "motion_actions" . }}{{ end }}
- {{ end}}
- </tr>
- </tbody>
-</table>
+ </div>
+</div>
+{{ end}}
{{ template "footer" . }} \ No newline at end of file