diff options
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/appoll.html | 9 | ||||
-rw-r--r-- | src/templates/appoll_item.html | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/templates/appoll.html b/src/templates/appoll.html new file mode 100644 index 0000000..7d5bb87 --- /dev/null +++ b/src/templates/appoll.html @@ -0,0 +1,9 @@ +<h2>Poll</h2> +<ul> + <li id="poll-end-time"><b>End time:</b> {{end-time}}</li> + <li id="poll-closed-time"><b>Closed:</b> {{closed-time}}</li> + <li id="poll-votes"><b>Total votes:</b> {{total-votes}}</li> +</ul> + +<h3>Poll options</h3> +<ul id="poll-choices">{{options}}</ul> diff --git a/src/templates/appoll_item.html b/src/templates/appoll_item.html new file mode 100644 index 0000000..2ce6967 --- /dev/null +++ b/src/templates/appoll_item.html @@ -0,0 +1 @@ +<li><b>{{name}}</b> {{votes}} votes ({{votes-percent}}%)</li> |