template: custom themes for agenda

For agenda a custom theme can be configured in locations/theme.
Templates are read from the subdirectory "templates/<theme>/".  The
default theme is "default".  All Templates are moved to
templates/default.
This commit is contained in:
Milan
2023-02-25 11:06:52 +01:00
parent e067bc1448
commit ebd521452a
38 changed files with 8 additions and 12 deletions

View File

@@ -0,0 +1,34 @@
<TMPL_IF use_client_cache>Cache-Control: max-age=3600, must-revalidate
</TMPL_IF>Content-type:text/html; charset=UTF-8;
Access-Control-Allow-Origin: *
<!DOCTYPE html>
<html>
<body>
<TMPL_IF projects>
<form id="calcmsSeriesNamesForm" name="calcms_series_name">
<TMPL_LOOP projects>
<TMPL_UNLESS isEmpty>
<select
id="calcms_series_name_<TMPL_VAR js_name escape=none>"
name="series_name_<TMPL_VAR js_name escape=none>"
title="Sendereihen durchsuchen"
onchange="calcms.selectSeries('<TMPL_VAR name escape=js>', jQuery(this).val())"
style="display:none;"
>
<option value="">- Sendereihe -</option>
<TMPL_LOOP series_names><option value="<TMPL_VAR series_name escape=none>"<TMPL_VAR selected escape=none>><TMPL_VAR series_name> (<TMPL_VAR sum>)</option>
</TMPL_LOOP>
</select>
</TMPL_UNLESS>
</TMPL_LOOP>
</form>
</TMPL_IF>
</body>
</html>