You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

455 lines
23 KiB

{% extends 'main/base.html' %}
{% block content %}
<link href="http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Lato:400,400italic,700" rel="stylesheet" type="text/css">
<style type="text/css">
body { font-family: 'Lato',sans-serif; font-size: 1rem; }
table { font-size: inherit; width: 100%; margin: 0; border-collapse: collapse; }
td { height: 2rem; padding: 0; vertical-align: middle; position: relative; }
hr { border: 0; height: 0.100rem; background-color: #cccccc; margin: 0 6.000rem; }
h1, h2, h3 { font-family: 'Ubuntu Condensed',serif; text-align: center; }
h2, h3, h4 { text-transform: uppercase; }
h1 { font-size: 2.000rem; font-weight: normal; color: black; margin: 1.500rem 0 0 0; }
h2 { font-size: 1.75rem; font-weight: normal; color: black; margin: 0; }
h3 { font-size: 1.5rem; font-weight: bold; color: white; margin: 0 0.250rem; }
h4 { font-size: 1.25rem; font-weight: bold; margin: 0 0.500rem; }
p { margin: 0 0rem; line-height: 0.750rem; font-size: .8rem; }
.info { font-weight: normal; color: gray; }
.theme { font-weight: bold; color: black; }
.name { font-weight: normal; font-style: italic; color: #333333; text-align: right; white-space: nowrap; }
.infobox { width: 1.25rem; height: 1.800rem; line-height: 1.8rem; font-size: 1rem; font-weight: bold; text-align: center; color: white; }
.starttime { width: 4rem; height: 2rem; line-height: 2rem; margin: auto; font-size: .75rem; color: black; margin-right: .25rem;}
.duration { margin: auto 0 auto auto; }
.t { background-color: rgba(5, 72, 81, 0.1); }
.s { background-color: lightgray; }
.inp_numb { width: 3rem;}
.formcontrol { margin-left: 3rem; margin-top: 2rem;}
#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); }
#other { margin: 0.250rem 3.000rem; }
#technik { margin: 0 3.000rem; }
#header { padding-bottom: 2rem; }
select { width: 6rem;}
</style>
<section id="header">
<h2 style="color: black; margin-top: 1rem; margin-bottom: -1rem;">{% if not actual %}<a href="/main/?date={{ past_date }}"><span class="col-lg-2 col-3 material-symbols-outlined">keyboard_arrow_left</span></a>{% else %}<span class="col-lg-2 col-3 material-symbols-outlined" style="color: lightgray;">keyboard_arrow_left</span>{% endif %}Woche vom {{ date }}<a href="/main/?date={{ next_date }}"><span class="col-lg-2 col-3 material-symbols-outlined">keyboard_arrow_right</span></a></h2>
</section>
<!-- INFOS -->
<form action="" method="post">
{% csrf_token %}
<div id="technik">
<table style="margin-top: 2.000rem;">
<tr>
<td style="width: 2.750rem; background-color: rgba(210, 214, 214, 0.373);">
<td style="background-color: rgba(210, 214, 214, 0.373); padding-left: 0.250rem;">
<h3 style="text-align: left; color: gray;">Infos</h3>
</td>
</tr>
</table>
</div>
<div id="s">
<table>
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">Infos</div></td>
<td>
<p class="theme" style="text-align: left">
<b>Gastfreundschaft </b>
<span class="info">Gruppe:</span>
<select name="info" id="info">
<option value="0"{% if not info_data.gast.id %}selected{% endif %}></option>
{% for i in gruppen_data %}
<option value="{{ i.id }}"{% if info_data.gast.id == i.id %}selected{% endif %}>{{ i.Name }}</option>
{% endfor %}
</select>
</p>
</td>
<td><p class="theme" style="text-align: left">
<b>Reinigung </b>
<span class="info">Gruppe:</span>
<select name="info" id="info">
<option value="0"{% if not info_data.cleaning.id %}selected{% endif %}></option>
{% for i in gruppen_data %}
<option value="{{ i.id }}"{% if info_data.cleaning.id == i.id %}selected{% endif %}>{{ i.Name }}</option>
{% endfor %}
</select>
</p>
</td>
<td><p class="theme" style="text-align: left"></p></td>
</tr>
</table>
</div>
<!-- PREDIGTDIENST -->
<div id="technik">
<table style="margin-top: 2.000rem;">
<tr>
<td style="width: 2.750rem; background-color: rgba(210, 214, 214, 0.373);">
<td style="background-color: rgba(210, 214, 214, 0.373); padding-left: 0.250rem;">
<h3 style="text-align: left; color: gray;">Predigtdienst</h3>
</td>
</tr>
</table>
</div>
<div id="s">
<table>
<!-- 1. DIENST -->
<tr>
<td style="width: 2.750rem;"><div class="infobox starttime s">1. Dienst</div></td>
<td>
<input type="date" name="smd" id="smd_1" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_1|date:"Y-m-d"|default_if_none:"0" }}">
<input type="time" name="smt" id="smt_1" value="{{ service_data.time_1|time:"H:i"|default_if_none:"0" }}">
</td>
<td>
<select name="smm" id="smm_1">
<option value="0"{% if not service_data.type_1 %}selected{% endif %}></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>
<option value="3"{% if service_data.type_1 == 3 %}selected{% endif %}>Gruppe</option>
</select>
</td>
<td>
<select name="sms" id="sms_1">
<option value="0"{% if not service_data.speaker_1 %}selected{% endif %}></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" id="smd_2" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_2|date:"Y-m-d"|default_if_none:"0" }}">
<input type="time" name="smt" id="smt_2" value="{{ service_data.time_2|time:"H:i"|default_if_none:"0" }}">
</td>
<td>
<select name="smm" id="smm_2">
<option value="0"{% if not service_data.type_2 %}selected{% endif %}></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>
<option value="3"{% if service_data.type_2 == 3 %}selected{% endif %}>Gruppe</option>
</select>
</td>
<td>
<select name="sms" id="sms_2">
<option value="0"{% if not service_data.speaker_2 %}selected{% endif %}></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" id="smd_3" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_3|date:"Y-m-d"|default_if_none:"0" }}">
<input type="time" name="smt" id="smt_3" value="{{ service_data.time_3|time:"H:i"|default_if_none:"0" }}">
</td>
<td>
<select name="smm" id="smm_3">
<option value="0" {% if not service_data.type_3 %}selected{% endif %}></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>
<option value="3"{% if service_data.type_3 == 3 %}selected{% endif %}>Gruppe</option>
</select>
</td>
<td>
<select name="sms" id="sms_3">
<option value="0"{% if not service_data.speaker_3 %}selected{% endif %}></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_3.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" id="smd_4" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_4|date:"Y-m-d"|default_if_none:"0" }}">
<input type="time" name="smt" id="smt_4" value="{{ service_data.time_4|time:"H:i"|default_if_none:"0" }}">
</td>
<td>
<select name="smm" id="smm_4">
<option value="0"{% if not service_data.type_4 %}selected{% endif %}></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>
<option value="3"{% if service_data.type_4 == 3 %}selected{% endif %}>Gruppe</option>
</select>
</td>
<td>
<select name="sms" id="sms_4">
<option value="0"{% if not service_data.speaker_4 %}selected{% endif %}></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_4.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" id="smd_5" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_5|date:"Y-m-d"|default_if_none:"0" }}">
<input type="time" name="smt" id="smt_5" value="{{ service_data.time_5|time:"H:i"|default_if_none:"0" }}">
</td>
<td>
<select name="smm" id="smm_5">
<option value="0"{% if not service_data.type_5 %}selected{% endif %}></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>
<option value="3"{% if service_data.type_5 == 3 %}selected{% endif %}>Gruppe</option>
</select>
</td>
<td>
<select name="sms" id="sms_5">
<option value="0"{% if not service_data.speaker_5 %}selected{% endif %}></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_5.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" id="smd_6" min="{{ date_area.min }}" max="{{ date_area.max }}" value="{{ service_data.date_6|date:"Y-m-d"|default_if_none:"0" }}">
<input type="time" name="smt" id="smt_6" value="{{ service_data.time_6|time:"H:i"|default_if_none:"0" }}">
</td>
<td>
<select name="smm" id="smm_6">
<option value="0"{% if not service_data.type_6 %}selected{% endif %}></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>
<option value="3"{% if service_data.type_6 == 3 %}selected{% endif %}>Gruppe</option>
</select>
</td>
<td>
<select name="sms" id="sms_6">
<option value="0"{% if not service_data.speaker_6 %}selected{% endif %}></option>
{% for i in sm %}
<option value="{{ i.id }}"{% if service_data.speaker_6.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" id="ods_1">
<option value="0"{% if not steward_data.hall_1.id %}selected{% endif %}></option>
{% for i in saal_ordner %}
<option value="{{ i.id }}"{% if steward_data.hall_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods" id="ods_1">
<option value="0"{% if not steward_data.hall_2.id %}selected{% endif %}></option>
{% for i in saal_ordner %}
<option value="{{ i.id }}"{% if steward_data.hall_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" id="ods_1">
<option value="0"{% if not steward_data.foyer_1.id %}selected{% endif %}></option>
{% for i in ordner %}
<option value="{{ i.id }}"{% if steward_data.foyer_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="ods" id="ods_1">
<option value="0"{% if not steward_data.foyer_2.id %}selected{% endif %}></option>
{% for i in ordner %}
<option value="{{ i.id }}"{% if steward_data.foyer_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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="regie" id="regie_1">
<option value="0"{% if not regie_data.regie_1.id %}selected{% endif %}></option>
{% for i in anlage %}
<option value="{{ i.id }}"{% if regie_data.regie_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="regie" id="regie_2">
<option value="0"{% if not regie_data.regie_2.id %}selected{% endif %}></option>
{% for i in anlage %}
<option value="{{ i.id }}"{% if regie_data.regie_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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="regie" id="regie_3">
<option value="0"{% if not regie_data.zoom_1.id %}selected{% endif %}></option>
{% for i in zoom %}
<option value="{{ i.id }}"{% if regie_data.zoom_1.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ i.name }}</option>
{% endfor %}
</select>
</p>
</td>
<!-- 2. PERSON -->
<td>
<p class="theme" style="text-align: left">
<b>2. </b>
<select name="regie" id="regie_4">
<option value="0"{% if not regie_data.zoom_2.id %}selected{% endif %}></option>
{% for i in zoom %}
<option value="{{ i.id }}"{% if regie_data.zoom_2.id == i.id %}selected{% endif %}>{{ i.first_name.0 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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="regie" id="regie_5">
<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 }}{% if i.first_name == "Fred" %}red{% endif %}. {{ 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" name="formsend">Speichern</button>
</div>
</form>
</div>
{% endblock %}

Powered by TurnKey Linux.