copy current state of medienstaatsvertrag.org, to be verified
This commit is contained in:
61
website/agenda/planung/templates/series.html
Normal file
61
website/agenda/planung/templates/series.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<script>
|
||||
var region='<TMPL_VAR loc.region>';
|
||||
</script>
|
||||
|
||||
<h2><TMPL_VAR .loc.title></h2>
|
||||
|
||||
<div id="search"><input id="searchField" name="search" value="" onkeyup="searchEvents()" placeholder="<TMPL_VAR .loc.label_search>"><button id="clearSearch" onclick="clearSearch()"><TMPL_VAR .loc.label_clear_search></div>
|
||||
|
||||
<!-- create a new series -->
|
||||
<TMPL_IF .allow.create_series>
|
||||
<div style="clear:both" class="newseries">
|
||||
<button onclick="add_series('<TMPL_VAR series_name>')"><TMPL_VAR .loc.button_add_series></button>
|
||||
<div id="edit_new" class="editor" style="display:none;clear:both">
|
||||
<form method="post" action="series.cgi">
|
||||
<input type="hidden" name="project_id" value="<TMPL_VAR project_id>">
|
||||
<input type="hidden" name="studio_id" value="<TMPL_VAR studio_id>">
|
||||
|
||||
<div class="formField">
|
||||
<div class="label"><TMPL_VAR .loc.label_name></div>
|
||||
<input name="series_name" placeholder="<TMPL_VAR .loc.label_name>">
|
||||
</div>
|
||||
|
||||
<div class="formField">
|
||||
<div class="label"><TMPL_VAR .loc.label_title></div>
|
||||
<input name="title" placeholder="<TMPL_VAR .loc.label_title>">
|
||||
</div>
|
||||
|
||||
<div class="formField">
|
||||
<button type=submit name="action" value="create"><TMPL_VAR .loc.button_create></button>
|
||||
<button onclick="cancel_edit_series('new');return false;"><TMPL_VAR .loc.button_cancel></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
||||
<div id="newSeries">
|
||||
<TMPL_LOOP newSeries>
|
||||
<div onclick="view_series_details('<TMPL_VAR series_id>','<TMPL_VAR .studio_id>','<TMPL_VAR .project_id>')">
|
||||
<b><TMPL_IF has_single_events><TMPL_VAR .loc.single_events><TMPL_ELSE><TMPL_VAR series_name></TMPL_IF></b>
|
||||
<TMPL_IF TITLE> <br> <TMPL_VAR title></TMPL_IF>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</div>
|
||||
|
||||
<div style="clear:both">
|
||||
<button onclick="$('#oldSeries').slideToggle()"><TMPL_VAR .loc.button_old_series></button>
|
||||
</div>
|
||||
|
||||
<div id="oldSeries" style="display:none;">
|
||||
<TMPL_LOOP oldSeries>
|
||||
<div onclick="view_series_details('<TMPL_VAR series_id>','<TMPL_VAR .studio_id>','<TMPL_VAR .project_id>')">
|
||||
<b><TMPL_IF has_single_events><TMPL_VAR .loc.single_events><TMPL_ELSE><TMPL_VAR series_name></TMPL_IF></b>
|
||||
<TMPL_IF TITLE> <br> <TMPL_VAR title></TMPL_IF>
|
||||
</div>
|
||||
</TMPL_LOOP>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user