diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin_shifts.html | 67 | ||||
-rw-r--r-- | templates/admin_shifts_angel_types.html | 14 |
2 files changed, 81 insertions, 0 deletions
diff --git a/templates/admin_shifts.html b/templates/admin_shifts.html new file mode 100644 index 00000000..3c8da90c --- /dev/null +++ b/templates/admin_shifts.html @@ -0,0 +1,67 @@ +<form action="" method="post"> + <fieldset> + <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" value="" /> + </p> + <p> + <label> + Ende: + </label> + <input type="text" value="" /> + </p><h2>Modus:</h2> + <p> + <label> + <input type="radio" name="method" value="single" /> + </label>Eine Schicht erstellen. + </p> + <p> + <label> + <input type="radio" name="method" value="multi" /> + </label>Mehrere Schichten erstellen: + </p> + <p> + <label> + Schichtlänge in Minuten: + </label> + <input type="text" name="length" value="120" /> + </p> + <p> + <label> + <input type="radio" name="method" value="variable" /> + </label>Mehrere Schichten mit variabler Länge erstellen: + </p> + <p> + <label> + Schichtwechsel-Stunden: + </label> + <input type="text" name="change_hours" value="00, 04, 08, 10, 12, 14, 16, 18, 20, 22" /> + </p><h2>Benötigte Engel:</h2> + <p> + <label> + <input type="radio" name="angelmode" value="location" /> + </label>Benötigte Engel vom Ort übernehmen. + </p> + <p> + <label> + <input type="radio" name="angelmode" value="manually" /> + </label>Es werden folgende Engel benötigt: + </p>%angel_types% + <p> + <input type="submit" name="preview" value="Vorschau" /> + </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 new file mode 100644 index 00000000..49f60ce1 --- /dev/null +++ b/templates/admin_shifts_angel_types.html @@ -0,0 +1,14 @@ +<p> + <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> + <script type="text/javascript"> + document.getElementById("type_%id%_up").onclick = function(e){ + document.getElementById("type_%id%").value = parseInt(document.getElementById("type_%id%").value) + 1; + }; + var down = document.getElementById("type_%id%_down").onclick = function(e){ + document.getElementById("type_%id%").value = parseInt(document.getElementById("type_%id%").value) - 1; + }; + </script> +</p> |