add all inputs in an form

main
Samuel Zielke 2 years ago
parent 05061340d6
commit 74feac26dc

@ -24,6 +24,7 @@
.t { background-color: rgba(5, 72, 81, 0.1); } .t { background-color: rgba(5, 72, 81, 0.1); }
.s { background-color: lightgray; } .s { background-color: lightgray; }
.inp_numb { width: 3rem;} .inp_numb { width: 3rem;}
.formcontrol { margin-left: 3rem; margin-top: 2rem;}
#t { margin: 0 3.000rem; background-color: rgba(8, 161, 181, 0.1); } #t { margin: 0 3.000rem; background-color: rgba(8, 161, 181, 0.1); }
#s { margin: 0 3.000rem; background-color: rgba(210, 214, 214, 0.373); } #s { margin: 0 3.000rem; background-color: rgba(210, 214, 214, 0.373); }
#other { margin: 0.250rem 3.000rem; } #other { margin: 0.250rem 3.000rem; }
@ -36,408 +37,413 @@
</section> </section>
<!-- INFOS --> <!-- INFOS -->
<form action="" method="post">
<div id="technik"> {% csrf_token %}
<table style="margin-top: 2.000rem;"> <div id="technik">
<tr> <table style="margin-top: 2.000rem;">
<td style="width: 2.750rem; background-color: rgba(210, 214, 214, 0.373);"> <tr>
<td style="background-color: rgba(210, 214, 214, 0.373); padding-left: 0.250rem;"> <td style="width: 2.750rem; background-color: rgba(210, 214, 214, 0.373);">
<h3 style="text-align: left; color: gray;">Infos</h3> <td style="background-color: rgba(210, 214, 214, 0.373); padding-left: 0.250rem;">
</td> <h3 style="text-align: left; color: gray;">Infos</h3>
</tr> </td>
</table> </tr>
</div> </table>
<div id="s"> </div>
<table> <div id="s">
<table>
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">Infos</div></td> <tr>
<td> <td style="width: 2.750rem;"><div class="infobox starttime s">Infos</div></td>
<p class="theme" style="text-align: left"> <td>
<b>Gastfreundschaft </b> <p class="theme" style="text-align: left">
<b>Gastfreundschaft </b>
<span class="info">Gruppe:</span>
<select name="gastgruppe" id="gastgruppe">
<option value="0"></option>
{% for i in gruppen_data %}
<option value="{{ i.id }}"{% if info_data.gast.id == i.id %}selected{% endif %}>{{ i.nummer }}</option>
{% endfor %}
</select>
</p>
</td>
<td><p class="theme" style="text-align: left">
<b>Reinigung </b>
<span class="info">Gruppe:</span> <span class="info">Gruppe:</span>
<select name="gastgruppe" id="gastgruppe"> <select name="gastgruppe" id="gastgruppe">
<option value="0"></option> <option value="0"></option>
{% for i in gruppen_data %} {% for i in gruppen_data %}
<option value="{{ i.id }}"{% if info_data.gast.id == i.id %}selected{% endif %}>{{ i.nummer }}</option> <option value="{{ i.id }}"{% if info_data.cleaning.id == i.id %}selected{% endif %}>{{ i.nummer }}</option>
{% endfor %} {% endfor %}
</select> </select>
</p> </p>
</td> </td>
<td><p class="theme" style="text-align: left"> <td><p class="theme" style="text-align: left"></p></td>
<b>Reinigung </b> </tr>
<span class="info">Gruppe:</span> </table>
<select name="gastgruppe" id="gastgruppe"> </div>
<option value="0"></option>
{% for i in gruppen_data %} <!-- PREDIGTDIENST -->
<option value="{{ i.id }}"{% if info_data.cleaning.id == i.id %}selected{% endif %}>{{ i.nummer }}</option>
{% endfor %} <div id="technik">
</select> <table style="margin-top: 2.000rem;">
</p> <tr>
</td> <td style="width: 2.750rem; background-color: rgba(210, 214, 214, 0.373);">
<td><p class="theme" style="text-align: left"></p></td> <td style="background-color: rgba(210, 214, 214, 0.373); padding-left: 0.250rem;">
</tr> <h3 style="text-align: left; color: gray;">Predigtdienst</h3>
</table> </td>
</div> </tr>
</table>
<!-- PREDIGTDIENST --> </div>
<div id="s">
<div id="technik"> <table>
<table style="margin-top: 2.000rem;">
<tr> <!-- 1. DIENST -->
<td style="width: 2.750rem; background-color: rgba(210, 214, 214, 0.373);"> <tr>
<td style="background-color: rgba(210, 214, 214, 0.373); padding-left: 0.250rem;"> <td style="width: 2.750rem;"><div class="infobox starttime s">1. Dienst</div></td>
<h3 style="text-align: left; color: gray;">Predigtdienst</h3> <td>
</td> <input type="date" name="smd_1" id="smd_1" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_1|date:"Y-m-d"|default_if_none:"" }}">
</tr> <input type="time" name="smt_1" id="smt_1" value="{{ service_data.time_1|time:"H:i"|default_if_none:"" }}">
</table> </td>
</div> <td>
<div id="s"> <select name="smm_1" id="smm_1">
<table>
<!-- 1. DIENST -->
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">1. Dienst</div></td>
<td>
<input type="date" name="smd_1" id="smd_1" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_1|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_1" id="smt_1" value="{{ service_data.time_1|time:"H:i"|default_if_none:"" }}">
</td>
<td>
<select name="smm_1" id="smm_1">
<option value="0"></option>
<option value="1"{% if service_data.type_1 == 1 %}selected{% endif %}>Zoom</option>
<option value="2"{% if service_data.type_1 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_1" id="sms_1">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</td>
</tr>
<!-- 2. DIENST -->
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">2. Dienst</div></td>
<td>
<input type="date" name="smd_2" id="smd_2" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_2|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_2" id="smt_2" value="{{ service_data.time_2|time:"H:i"|default_if_none:"" }}">
</td>
<td>
<select name="smm_2" id="smm_2">
<option value="0"></option>
<option value="1"{% if service_data.type_2 == 1 %}selected{% endif %}>Zoom</option>
<option value="2"{% if service_data.type_2 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_2" id="sms_2">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</td>
</tr>
<!-- 3. DIENST -->
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">3. Dienst</div></td>
<td>
<input type="date" name="smd_3" id="smd_3" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_3|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_3" id="smt_3" value="{{ service_data.time_3|time:"H:i"|default_if_none:"" }}">
</td>
<td>
<select name="smm_3" id="smm_3">
<option value="0"></option>
<option value="1"{% if service_data.type_3 == 1 %}selected{% endif %}>Zoom</option>
<option value="2"{% if service_data.type_3 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_3" id="sms_3">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_3.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</td>
</tr>
<!-- 4. DIENST -->
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">4. Dienst</div></td>
<td>
<input type="date" name="smd_4" id="smd_4" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_4|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_4" id="smt_4" value="{{ service_data.time_4|time:"H:i"|default_if_none:"" }}">
</td>
<td>
<select name="smm_4" id="smm_4">
<option value="0"></option>
<option value="1"{% if service_data.type_4 == 1 %}selected{% endif %}>Zoom</option>
<option value="2"{% if service_data.type_4 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_4" id="sms_4">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_4.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</td>
</tr>
<!-- 5. DIENST -->
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">5. Dienst</div></td>
<td>
<input type="date" name="smd_5" id="smd_5" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_5|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_5" id="smt_5" value="{{ service_data.time_5|time:"H:i"|default_if_none:"" }}">
</td>
<td>
<select name="smm_5" id="smm_5">
<option value="0"></option>
<option value="1"{% if service_data.type_5 == 1 %}selected{% endif %}>Zoom</option>
<option value="2"{% if service_data.type_5 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_5" id="sms_5">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_5.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</td>
</tr>
<!-- 6. DIENST -->
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">6. Dienst</div></td>
<td>
<input type="date" name="smd_6" id="smd_6" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_6|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_6" id="smt_6" value="{{ service_data.time_6|time:"H:i"|default_if_none:"" }}">
</td>
<td>
<select name="smm_6" id="smm_6">
<option value="0"></option>
<option value="1"{% if service_data.type_6 == 1 %}selected{% endif %}>Zoom</option>
<option value="2"{% if service_data.type_6 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_6" id="sms_6">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_6.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</td>
</tr>
</table>
</div>
<!-- ORDNUNGSDIENST -->
<div id="technik">
<table style="margin-top: 2rem;">
<tr>
<td style="width: 2.750rem; background-color: rgba(5, 72, 81, 0.1);">
<td style="background-color: rgba(5, 72, 81, 0.1); padding-left: 0.250rem;">
<h3 style="text-align: left; color: rgba(5, 72, 81, 0.747);">ORDNUNGSDIENST</h3>
</td>
</tr>
</table>
</div>
<div id="t">
<table>
<!-- SAAL -->
<tr>
<!-- ZEILEN TITEL -->
<td style="width: 2.750rem;"><div class="infobox starttime t">Saal</div></td>
<!-- ZEILEN INHALT -->
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option> <option value="0"></option>
{% for i in saal_ordner %} <option value="1"{% if service_data.type_1 == 1 %}selected{% endif %}>Zoom</option>
<option value="{{ i.id }}"{% if steward_data.hall_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="2"{% if service_data.type_1 == 2 %}selected{% endif %}>Saal</option>
{% endfor %}
</select> </select>
</p> </td>
</td> <td>
<select name="sms_1" id="sms_1">
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option> <option value="0"></option>
{% for i in saal_ordner %} {% for i in sm %}
<option value="{{ i.id }}"{% if steward_data.hall_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="{{ i.id }}"{% if service_data.speaker_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %} {% endfor %}
</select> </select>
</p> </td>
</td> </tr>
</tr>
<!-- 2. DIENST -->
<!-- FOYER --> <tr>
<tr> <td style="width: 2.750rem;"><div class="infobox starttime s">2. Dienst</div></td>
<!-- ZEILEN TITEL --> <td>
<td style="width: 2.750rem;"><div class="infobox starttime t">Foyer</div></td> <input type="date" name="smd_2" id="smd_2" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_2|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_2" id="smt_2" value="{{ service_data.time_2|time:"H:i"|default_if_none:"" }}">
<!-- ZEILEN INHALT --> </td>
<td>
<!-- 1. PERSON --> <select name="smm_2" id="smm_2">
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option> <option value="0"></option>
{% for i in ordner %} <option value="1"{% if service_data.type_2 == 1 %}selected{% endif %}>Zoom</option>
<option value="{{ i.id }}"{% if steward_data.foyer_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="2"{% if service_data.type_2 == 2 %}selected{% endif %}>Saal</option>
{% endfor %}
</select> </select>
</p> </td>
</td> <td>
<select name="sms_2" id="sms_2">
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option> <option value="0"></option>
{% for i in ordner %} {% for i in sm %}
<option value="{{ i.id }}"{% if steward_data.foyer_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="{{ i.id }}"{% if service_data.speaker_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %} {% endfor %}
</select> </select>
</p> </td>
</td> </tr>
</tr>
</table> <!-- 3. DIENST -->
</div> <tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">3. Dienst</div></td>
<td>
<!-- TECHNIK --> <input type="date" name="smd_3" id="smd_3" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_3|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_3" id="smt_3" value="{{ service_data.time_3|time:"H:i"|default_if_none:"" }}">
<div id="technik"> </td>
<table style="margin-top: 2rem;"> <td>
<tr> <select name="smm_3" id="smm_3">
<td style="width: 2.750rem; background-color: rgba(5, 72, 81, 0.1);">
<td style="background-color: rgba(5, 72, 81, 0.1); padding-left: 0.250rem;">
<h3 style="text-align: left; color: rgba(5, 72, 81, 0.747);">Technik</h3>
</td>
</tr>
</table>
</div>
<div id="t">
<table>
<!-- ANLAGE -->
<tr>
<!-- ZEILEN TITEL -->
<td style="width: 2.750rem;"><div class="infobox starttime t">Anlage</div></td>
<!-- ZEILEN INHALT -->
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option> <option value="0"></option>
{% for i in anlage %} <option value="1"{% if service_data.type_3 == 1 %}selected{% endif %}>Zoom</option>
<option value="{{ i.id }}"{% if regie_data.regie_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="2"{% if service_data.type_3 == 2 %}selected{% endif %}>Saal</option>
{% endfor %}
</select> </select>
</p> </td>
</td> <td>
<select name="sms_3" id="sms_3">
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option> <option value="0"></option>
{% for i in anlage %} {% for i in sm %}
<option value="{{ i.id }}"{% if regie_data.regie_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="{{ i.id }}"{% if service_data.speaker_3.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %} {% endfor %}
</select> </select>
</p> </td>
</td> </tr>
<!-- Zoom -->
<!-- 4. DIENST -->
<tr>
</tr> <td style="width: 2.750rem;"><div class="infobox starttime s">4. Dienst</div></td>
<!-- ZOOM --> <td>
<tr> <input type="date" name="smd_4" id="smd_4" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_4|date:"Y-m-d"|default_if_none:"" }}">
<!-- ZEILEN TITEL --> <input type="time" name="smt_4" id="smt_4" value="{{ service_data.time_4|time:"H:i"|default_if_none:"" }}">
<td style="width: 2.750rem;"><div class="infobox starttime t">Zoom</div></td> </td>
<td>
<!-- ZEILEN INHALT --> <select name="smm_4" id="smm_4">
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option> <option value="0"></option>
{% for i in zoom %} <option value="1"{% if service_data.type_4 == 1 %}selected{% endif %}>Zoom</option>
<option value="{{ i.id }}"{% if regie_data.zoom_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="2"{% if service_data.type_4 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_4" id="sms_4">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_4.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %} {% endfor %}
</select> </select>
</p> </td>
</td> </tr>
<!-- 2. PERSON --> <!-- 5. DIENST -->
<td> <tr>
<p class="theme" style="text-align: left"> <td style="width: 2.750rem;"><div class="infobox starttime s">5. Dienst</div></td>
<b>2. </b> <td>
<select name="ods_1" id="ods_1"> <input type="date" name="smd_5" id="smd_5" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_5|date:"Y-m-d"|default_if_none:"" }}">
<input type="time" name="smt_5" id="smt_5" value="{{ service_data.time_5|time:"H:i"|default_if_none:"" }}">
</td>
<td>
<select name="smm_5" id="smm_5">
<option value="0"></option> <option value="0"></option>
{% for i in zoom %} <option value="1"{% if service_data.type_5 == 1 %}selected{% endif %}>Zoom</option>
<option value="{{ i.id }}"{% if regie_data.zoom_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="2"{% if service_data.type_5 == 2 %}selected{% endif %}>Saal</option>
</select>
</td>
<td>
<select name="sms_5" id="sms_5">
<option value="0"></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_5.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %} {% endfor %}
</select> </select>
</p> </td>
</td> </tr>
<!-- Zoom -->
<!-- 6. DIENST -->
<tr>
</tr> <td style="width: 2.750rem;"><div class="infobox starttime s">6. Dienst</div></td>
<td>
<!-- BÜHNE --> <input type="date" name="smd_6" id="smd_6" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_6|date:"Y-m-d"|default_if_none:"" }}">
<tr> <input type="time" name="smt_6" id="smt_6" value="{{ service_data.time_6|time:"H:i"|default_if_none:"" }}">
<!-- ZEILEN TITEL --> </td>
<td style="width: 2.750rem;"><div class="infobox starttime t">Bühne</div></td> <td>
<select name="smm_6" id="smm_6">
<!-- ZEILEN INHALT --> <option value="0"></option>
<option value="1"{% if service_data.type_6 == 1 %}selected{% endif %}>Zoom</option>
<!-- 1. PERSON --> <option value="2"{% if service_data.type_6 == 2 %}selected{% endif %}>Saal</option>
<td> </select>
<p class="theme" style="text-align: left"> </td>
<b>1. </b> <td>
<select name="ods_1" id="ods_1"> <select name="sms_6" id="sms_6">
<option value="0"></option> <option value="0"></option>
{% for i in buehne %} {% for i in sm %}
<option value="{{ i.id }}"{% if regie_data.stage.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option> <option value="{{ i.id }}"{% if service_data.speaker_6.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %} {% endfor %}
</select> </select>
</p> </td>
</td> </tr>
</tr> </table>
</table> </div>
</div>
<p style="display: none;">!Technik_END!</p>
<!-- ORDNUNGSDIENST -->
<div id="technik">
<table style="margin-top: 2rem;">
<tr>
<td style="width: 2.750rem; background-color: rgba(5, 72, 81, 0.1);">
<td style="background-color: rgba(5, 72, 81, 0.1); padding-left: 0.250rem;">
<h3 style="text-align: left; color: rgba(5, 72, 81, 0.747);">ORDNUNGSDIENST</h3>
</td>
</tr>
</table>
</div>
<div id="t">
<table>
<!-- SAAL -->
<tr>
<!-- ZEILEN TITEL -->
<td style="width: 2.750rem;"><div class="infobox starttime t">Saal</div></td>
<!-- ZEILEN INHALT -->
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in saal_ordner %}
<option value="{{ i.id }}"{% if steward_data.hall_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in saal_ordner %}
<option value="{{ i.id }}"{% if steward_data.hall_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
</tr>
<!-- FOYER -->
<tr>
<!-- ZEILEN TITEL -->
<td style="width: 2.750rem;"><div class="infobox starttime t">Foyer</div></td>
<!-- ZEILEN INHALT -->
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in ordner %}
<option value="{{ i.id }}"{% if steward_data.foyer_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in ordner %}
<option value="{{ i.id }}"{% if steward_data.foyer_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
</tr>
</table>
</div>
<!-- TECHNIK -->
<div id="technik">
<table style="margin-top: 2rem;">
<tr>
<td style="width: 2.750rem; background-color: rgba(5, 72, 81, 0.1);">
<td style="background-color: rgba(5, 72, 81, 0.1); padding-left: 0.250rem;">
<h3 style="text-align: left; color: rgba(5, 72, 81, 0.747);">Technik</h3>
</td>
</tr>
</table>
</div>
<div id="t">
<table>
<!-- ANLAGE -->
<tr>
<!-- ZEILEN TITEL -->
<td style="width: 2.750rem;"><div class="infobox starttime t">Anlage</div></td>
<!-- ZEILEN INHALT -->
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in anlage %}
<option value="{{ i.id }}"{% if regie_data.regie_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in anlage %}
<option value="{{ i.id }}"{% if regie_data.regie_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- Zoom -->
</tr>
<!-- ZOOM -->
<tr>
<!-- ZEILEN TITEL -->
<td style="width: 2.750rem;"><div class="infobox starttime t">Zoom</div></td>
<!-- ZEILEN INHALT -->
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in zoom %}
<option value="{{ i.id }}"{% if regie_data.zoom_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in zoom %}
<option value="{{ i.id }}"{% if regie_data.zoom_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- Zoom -->
</tr>
<!-- BÜHNE -->
<tr>
<!-- ZEILEN TITEL -->
<td style="width: 2.750rem;"><div class="infobox starttime t">Bühne</div></td>
<!-- ZEILEN INHALT -->
<!-- 1. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>1. </b>
<select name="ods_1" id="ods_1">
<option value="0"></option>
{% for i in buehne %}
<option value="{{ i.id }}"{% if regie_data.stage.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
</tr>
</table>
</div>
<p style="display: none;">!Technik_END!</p>
<div class="formcontrol">
<button type="submit" class="btn btn-secondary">Speichern</button>
</div>
</form>
</div> </div>
{% endblock %} {% endblock %}
Loading…
Cancel
Save

Powered by TurnKey Linux.