cacert-boardvoting/ui/html/partials/motion_actions.html
Jan Dittberner 164495c818 Improve design
- improve icons
- implement VoteChoice and VoteStatus as real types with Scanner and Value
  methods
2022-05-27 14:42:39 +02:00

16 lines
No EOL
921 B
HTML

{{ define "motion_actions" }}
{{ if eq .Status.Label "pending" }}
<a class="ui compact labeled green icon button" href="/vote/{{ .Tag }}/aye">
<i class="check circle icon"></i> Aye</a>
<a class="ui compact labeled red icon button" href="/vote/{{ .Tag }}/naye">
<i class="minus circle icon"></i> Naye</a>
<a class="ui compact labeled grey icon button" href="/vote/{{ .Tag }}/abstain">
<i class="question circle icon"></i> Abstain</a>
<a class="ui compact labeled icon button" href="/proxy/{{ .Tag }}">
<i class="users icon"></i> Proxy Vote</a>
<a class="ui compact labeled icon button" href="/motions/{{ .Tag }}/edit">
<i class="edit icon"></i> Modify</a>
<a class="ui compact labeled icon button" href="/motions/{{ .Tag }}/withdraw">
<i class="trash icon"></i> Withdraw</a>
{{ end }}
{{ end }}