aboutsummaryrefslogtreecommitdiffstats
path: root/templates/manage.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-06-05 23:54:21 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-06-05 23:54:21 +0300
commitedca58096cb86ece1fddcfff47ec006ce742f9a8 (patch)
tree8434784b9bacacd1c99fce3a6bdb37b8146d99c5 /templates/manage.html.j2
parenta4a570137e9626cd226dbcecf2319c530505cca5 (diff)
Improve manage mobile layout, reformat css
Diffstat (limited to 'templates/manage.html.j2')
-rw-r--r--templates/manage.html.j212
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/manage.html.j2 b/templates/manage.html.j2
index 551e941..68847e2 100644
--- a/templates/manage.html.j2
+++ b/templates/manage.html.j2
@@ -64,10 +64,15 @@
disabled
{% if last_choice_id == choice.id %}id="last-end-datetime"{% endif %}>
</td>
- <td>
+ <td class="button-wrapper-desktop">
<input class="red" type="submit" value="Delete">
</td>
</tr>
+ <tr colspan="1" class="button-wrapper-mobile">
+ <td>
+ <input class="red" type="submit" value="Delete">
+ </td>
+ </tr>
</form>
{% endfor %}
<form action="/manage/{{ poll.manage_code }}/add_choice" method="post">
@@ -84,6 +89,11 @@
name="end_datetime"
required>
</td>
+ <td class="button-wrapper-desktop">
+ <input class="blue" type="submit" value="Add">
+ </td>
+ </tr>
+ <tr class="button-wrapper-mobile">
<td>
<input class="blue" type="submit" value="Add">
</td>