diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin_shifts_angel_types.html | 8 | ||||
-rw-r--r-- | templates/user_shifts.html | 9 | ||||
-rw-r--r-- | templates/user_shifts_admin_delete.html | 6 | ||||
-rw-r--r-- | templates/user_shifts_edit.html | 35 |
4 files changed, 7 insertions, 51 deletions
diff --git a/templates/admin_shifts_angel_types.html b/templates/admin_shifts_angel_types.html index 04e31c81..9b54fb89 100644 --- a/templates/admin_shifts_angel_types.html +++ b/templates/admin_shifts_angel_types.html @@ -1,8 +1,8 @@ -<p> - <label> +<div class="form_element"> + <label class="form_label"> %type%: </label> - <span class="spinner"><a id="type_%id%_down" href="#">-</a><input type="text" id="type_%id%" name="type_%id%" value="%value%" /><a id="type_%id%_up" href="#">+</a></span> + <div class="form_input spinner"><a id="type_%id%_down" href="#">-</a><input type="text" id="type_%id%" name="type_%id%" value="%value%" /><a id="type_%id%_up" href="#">+</a></div> <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; @@ -19,4 +19,4 @@ return false; }; </script> -</p> +</div> diff --git a/templates/user_shifts.html b/templates/user_shifts.html index 0bdebc50..ea73ead1 100644 --- a/templates/user_shifts.html +++ b/templates/user_shifts.html @@ -9,8 +9,8 @@ function set_to_now(id) { } } </script> -<form action="#shifts" type="get"> -<fieldset class="form" id="filter"><legend>Filter</legend> +<form action="#shifts" method="get"> +<fieldset class="form" id="filter"><legend>%filter%</legend> <div> %start_select% <input type="time" id="start_time" name="start_time" size="5" pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%start_time%"> <img src="pic/icons/clock.png" alt="Now" title="Now" style="cursor: pointer;vertical-align: middle;" onclick="set_to_now('start');"> – %end_select% <input type="time" id="end_time" name="end_time" size="5" pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%end_time%"> <img src="pic/icons/clock.png" alt="Now" title="Now" style="cursor: pointer;vertical-align: middle;" onclick="set_to_now('end');"> @@ -27,7 +27,4 @@ function set_to_now(id) { %shifts_table% -<h2>iCal Export</h2> -<p> - %ical_text% -</p> +%ical_text% diff --git a/templates/user_shifts_admin_delete.html b/templates/user_shifts_admin_delete.html deleted file mode 100644 index b225065d..00000000 --- a/templates/user_shifts_admin_delete.html +++ /dev/null @@ -1,6 +0,0 @@ -<p class="error"> - Die Schicht "%name%" von %start% - %end% löschen? -</p> -<p> - <a class="button" href="?p=user_shifts&delete_shift=%id%&delete">Löschen</a> -</p> diff --git a/templates/user_shifts_edit.html b/templates/user_shifts_edit.html deleted file mode 100644 index f129e5e4..00000000 --- a/templates/user_shifts_edit.html +++ /dev/null @@ -1,35 +0,0 @@ -<noscript> - Diese Seite ist mit aktiviertem JavaScript sehr viel komfortabler. -</noscript> -<form action="" method="post"> - <fieldset> - %msg% - <p> - <label> - Name/Beschreibung: - </label> - <input type="text" name="name" value="%name%" /> - </p> - <p> - <label> - Ort: - </label>%room_select% - </p> - <p> - <label> - Beginn: - </label> - <input type="text" name="start" value="%start%" /> - </p> - <p> - <label> - Ende: - </label> - <input type="text" name="end" value="%end%" /> - </p><h2>Benötigte Engel:</h2> - %angel_types% - <p> - <input type="submit" name="submit" value="Speichern" /> - </p> - </fieldset> -</form>
\ No newline at end of file |