diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-09-12 14:43:13 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-09-12 14:43:13 +0200 |
commit | b39922795608dea3c96fea8c60c17c6f44a4d3c5 (patch) | |
tree | 02a3b1fdb48750212e8cf9c7dfc7607030426869 /templates | |
parent | 024c5ff2e2d1fd84f0ad850d1f1cd845f047e8e1 (diff) |
#5 fixed shift calculation
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> |