App/pgs/dienstplaene/main.html
2020-11-25 17:28:45 +01:00

73 lines
3.9 KiB
HTML

<!-- pgs/dienstplaene/main.html -->
<!-- ###DIENSTPLAENE### START -->
<!-- ###DIENSTPLAENE.PLANS### START -->
<article>
<p>
Springe zu Dienstplan:
<select>
<!-- ###DIENSTPLAENE.PLANS.PLAN### START -->
<option value="#dienstplan_###DIENSTPLAENE.PLANS.PLAN.ID###">###DIENSTPLAENE.PLANS.PLAN.NAME###</option>
<!-- ###DIENSTPLAENE.PLANS.PLAN### END -->
</select>
</p>
<a class="toggleVisibility" href="javascript: toggleVisibility('dienstplaene_add_button', 'dienstplaene_add_panel')"><h1>Neuen Dienstplan erstellen <img id="dienstplaene_add_button" src="res/show.png" /></h1></a>
<div id="dienstplaene_add_panel" class="toggleVisibility" style="display:none;">
<form action="post">
<label>Abteilung:</label>
<select name="dienstplaene_add_abteilung">
<!-- ###DIENSTPLAENE.PLANS.ADD### START -->
<option value="###DIENSTPLAENE.PLANS.ADD.ABTEILUNG.ID###">###DIENSTPLAENE.PLANS.ADD.ABTEILUNG.NAME###</option>
<!-- ###DIENSTPLAENE.PLANS.ADD### END -->
</select><br />
<label>Jahr:</label> <input name="dienstplaene_add_jahr" maxlength="4" /><br />
<label>Name:</label> <input name="dienstplaene_add_name" /><br />
<button>Hinzufügen</button><input type="hidden" name="secToken" value="###SECTOKEN###" />
</form>
</div>
</article>
<!-- ###DIENSTPLAENE.PLANS### END -->
<!-- ###DIENSTPLAENE.ADD### START -->
<article>
<a class="toggleVisibility" href="javascript: toggleVisibility('dienste_add_button', 'dienste_add_panel')"><h1>Dienste hinzufügen <img id="dienste_add_button" src="res/show.png" /></h1></a>
<div id="dienste_add_panel" class="toggleVisibility" style="display: none;">
<ul>
<li>Beginn (DateTime-Picker - Rome.js? - Vereinstellung 18 Uhr)</li>
<li>Ende (DateTime-Picker - Rome.js? - Datum gekoppelt an Beginn, Vereinstellung 21 Uhr)</li>
<li>Thema</li>
<li>Ort</li>
<li>Verantwortliche (Multi-Select - aus Personal)</li>
<li>Dienstplan (Select - aus Dienstpläne - ggfs. nach Abteilung filtern)</li>
<li>Terminart (Select - aus Terminarten - ggfs. an Verwaltungsrecht gekoppelt)</li>
<li>Platzvergabe (Select - aus Terminplatzvergabe)</li>
<li>Personalgruppe (Select - aus Personalgruppen - ggfs. nach Abteilung filtern)</li>
</ul>
</div>
</article>
<!-- ###DIENSTPLAENE.ADD### END -->
<!-- ###DIENSTPLAENE.LIST### START -->
<article>
<!-- ###DIENSTPLAENE.LIST.BLOCK### START -->
<div class="dienstplaene_list_header">
<a class="toggleVisibility" href="javascript: toggleVisibility('dienstplan_###DIENSTPLAENE.LIST.BLOCK.DID###_button', 'dienstplan_###DIENSTPLAENE.LIST.BLOCK.DID###')"><h1>###DIENSTPLAENE.LIST.BLOCK.ANAME###: ###DIENSTPLAENE.LIST.BLOCK.DJAHR### - ###DIENSTPLAENE.LIST.BLOCK.DNAME### <img id="dienstplan_###DIENSTPLAENE.LIST.BLOCK.DID###_button" src="res/show.png" /></h1></a>
</div>
<div id="dienstplan_###DIENSTPLAENE.LIST.BLOCK.DID###" style="display:none;">
<!-- ###DIENSTPLAENE.LIST.ENTRY### START -->
<div class="dienstplaene_list_entry">
<ul>
<li><img src="res/date.png" /> <b>###DIENSTPLAENE.LIST.ENTRY.BEGIN.DATE###</b></li>
<li><img src="res/time.png" /> ###DIENSTPLAENE.LIST.ENTRY.BEGIN.TIME### - ###DIENSTPLAENE.LIST.ENTRY.END.TIME###</li>
<li><img src="res/type.png" /> ###DIENSTPLAENE.LIST.ENTRY.TYPE###</li>
<li><img src="res/topic.png" /> ###DIENSTPLAENE.LIST.ENTRY.TOPIC###</li>
<li><img src="res/location.png" /> ###DIENSTPLAENE.LIST.ENTRY.PLACE###</li>
<li><img src="res/teacher.png" /> ###DIENSTPLAENE.LIST.ENTRY.RESPONSIBLES###</li>
<li><img src="res/mechanism.png" /> ###DIENSTPLAENE.LIST.ENTRY.TPVNAME###</li>
<li><img src="res/group.png" /> ###DIENSTPLAENE.LIST.ENTRY.PGNAME###</li>
</ul>
</div>
<!-- ###DIENSTPLAENE.LIST.ENTRY### END -->
</div>
<!-- ###DIENSTPLAENE.LIST.BLOCK### END -->
</article>
<!-- ###DIENSTPLAENE.LIST### END -->
<!-- ###DIENSTPLAENE### END -->