diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin_shift_preview.html | 38 | ||||
-rw-r--r-- | templates/admin_shifts_angel_types.html | 2 |
2 files changed, 24 insertions, 16 deletions
diff --git a/templates/admin_shift_preview.html b/templates/admin_shift_preview.html index 053191c4..30905618 100644 --- a/templates/admin_shift_preview.html +++ b/templates/admin_shift_preview.html @@ -1,17 +1,23 @@ <h3>Vorschau:</h3> -<table> - <thead> - <tr> - <th> - Timeslot - </th> - <th> - Entries - </th> - </tr> - </thead> - <tbody> - %shifts_table% - </tbody> -</table> - +<form action="" method="post"> + <fieldset> + <table> + <thead> + <tr> + <th> + Timeslot + </th> + <th> + Entries + </th> + </tr> + </thead> + <tbody> + %shifts_table% + </tbody> + </table> + <p> + <input type="submit" name="submit" value="Erstellen" /> + </p> + </fieldset> +</form>
\ No newline at end of file diff --git a/templates/admin_shifts_angel_types.html b/templates/admin_shifts_angel_types.html index 5ac1f8e6..31d2379c 100644 --- a/templates/admin_shifts_angel_types.html +++ b/templates/admin_shifts_angel_types.html @@ -6,9 +6,11 @@ <script type="text/javascript"> document.getElementById("type_%id%_up").onclick = function(e){ document.getElementById("type_%id%").value = (parseInt(document.getElementById("type_%id%").value) + 101) % 100; + return false; }; document.getElementById("type_%id%_down").onclick = function(e){ document.getElementById("type_%id%").value = (parseInt(document.getElementById("type_%id%").value) +99) % 100; + return false; }; </script> </p> |