Files
racalmas/website/agenda/planung/templates/default.html
Milan 172e036242 notify-events: i18n, show details, menu entry
* add menu entry
* toggle details
* show status icons instead of text
* internationalization
2023-04-10 22:50:53 +02:00

101 lines
4.7 KiB
HTML

<TMPL_INCLUDE header.html>
<nav id="calcms_nav">
<div id="bars" class="mobile" onclick="handleBars();return false;"> <a><img src="image/more.svg"> Menu</a></div>
<TMPL_IF .allow.read_event>
<div><a id="menu_calendar" href="calendar.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR studio_id>"><img src="image/calendar.svg">&nbsp;<TMPL_VAR .loc.calendar></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_series>
<div><a href="series.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/list.svg">&nbsp;<TMPL_VAR .loc.series></a></div>
</TMPL_IF>
<!-- start menu -->
<div class="dropdown">
<a href="#"><img src="image/more.svg">&nbsp;More...&nbsp;</a>
<div class="dropdown-content">
<TMPL_IF allow.create_event_from_schedule>
<div><a href="create-events.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/create-events.svg">&nbsp;<TMPL_VAR .loc.create-events></a></div>
</TMPL_IF>
<TMPL_IF allow.read_user>
<div><a href="notify-events.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"&duration=7><img src="image/notify.svg">&nbsp;<TMPL_VAR .loc.notify-events></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_playout>
<div><a href="show-playout.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/play-circle.svg">&nbsp;<TMPL_VAR .loc.playout></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_user>
<div><a href="users.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/accounts.svg">&nbsp;<TMPL_VAR .loc.users></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_role>
<div><a href="roles.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/rule.svg">&nbsp;<TMPL_VAR .loc.roles></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_studio_timeslot_schedule>
<div><a href="studio-timeslots.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/schedule.svg">&nbsp;<TMPL_VAR .loc.timeslots></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_studio>
<div><a href="studios.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/home.svg">&nbsp;<TMPL_VAR .loc.studios></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_project>
<div><a href="projects.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/antenna.svg">&nbsp;<TMPL_VAR .loc.projects></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_schedule>
<div><a href="work-time.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/schedule.svg">&nbsp;<TMPL_VAR .loc.schedule></a></div>
</TMPL_IF>
<TMPL_IF .allow.update_image_others>
<div><a href="image.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>&search=<TMPL_VAR .presets.user>"><img src="image/image.svg">&nbsp;<TMPL_VAR .loc.images></a></div>
</TMPL_IF>
<TMPL_IF .allow.read_user_stats>
<div><a href="user-stats.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>&action=show-user-stats"><img src="image/activity.svg">&nbsp;<TMPL_VAR .loc.user-stats></a></div>
</TMPL_IF>
<TMPL_IF .allow.edit_help_texts>
<div><a id="edit_help_texts" href="help-texts.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR studio_id>&action=edit"><img src="image/help.svg">&nbsp;<TMPL_VAR .loc.edit-help-texts></a></div>
</TMPL_IF>
<div title="<TMPL_VAR .loc.profile>"><a href="user-settings.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/settings.svg">&nbsp;<TMPL_VAR .loc.profile></a></div>
<div title="<TMPL_VAR .loc.help>"><a href="help.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><img src="image/help.svg">&nbsp;<TMPL_VAR .loc.help></a></div>
<!--end menu -->
</div>
</div>
<div class="mobile">
<select id="studio_id" name="studio_id" onchange="set_studio($(this).val())">
<TMPL_LOOP .presets.studios>
<option value="<TMPL_VAR id>" <TMPL_IF selected> selected="selected"</TMPL_IF> ><img src="image/home.svg"><TMPL_VAR name></option>
</TMPL_LOOP>
</select>
</div>
<div class="mobile">
<select id="project_id" name="project_id" onchange="set_project($(this).val())">
<TMPL_LOOP .presets.projects>
<option value="<TMPL_VAR project_id>" <TMPL_IF selected> selected="selected"</TMPL_IF> ><img src="image/home.svg">
<TMPL_VAR name></option>
</TMPL_LOOP>
</select>
</div>
<div><a href="/" ><img src="image/preview.svg">&nbsp;<TMPL_VAR .loc.preview></a></div>
<div class="mobile"><a id="logout" href="<TMPL_VAR .presets.logout_url>?authAction=logout" expires="<TMPL_VAR .expires>"><img src="image/logout.svg">&nbsp;<TMPL_VAR .presets.user> <TMPL_VAR .loc.logout></a></div>
</nav>
<main id="content">