Use Semantic UI for all HTML templates
[cacert-boardvoting.git] / templates / motion.html
1 {{ template "header" . }}
2 {{ $voter := .Voter }}
3 <div class="column">
4 <div class="ui basic segment">
5 <div class="ui floated right secondary menu">
6 <a href="/motions/" class="item" title="Show all votes">All votes</a>
7 {{ if $voter }}<a href="/motions/?unvoted=1" class="item" title="Show my outstanding votes">My outstanding votes</a>{{ end }}
8 </div>
9 </div>
10 </div>
11 {{ with .Decision }}
12 <div class="column">
13 <div class="ui raised segment">
14 {{ template "motion_fragment" . }}
15 {{ if $voter }}{{ template "motion_actions" . }}{{ end }}
16 </div>
17 </div>
18 {{ end}}
19 {{ template "footer" . }}