add playout section
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
<div> <a href="series.cgi?project_id=<TMPL_VAR project_id>&studio_id=<TMPL_VAR default_studio_id>"><TMPL_VAR .loc.series></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>"><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>"><TMPL_VAR .loc.users></a> </div>
|
||||
</TMPL_IF>
|
||||
|
||||
@@ -436,6 +436,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<TMPL_IF .allow.read_image>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<TMPL_VAR .loc.label_image>
|
||||
@@ -448,11 +449,10 @@
|
||||
<img id="imagePreview" src="<TMPL_VAR image>">
|
||||
</button>
|
||||
<input id="image_<TMPL_VAR event_id>" name="image" value="<TMPL_VAR image>" class="image" style="float:right" placeholder="<TMPL_VAR .loc.label_image>">
|
||||
<TMPL_ELSE>
|
||||
<img src="<TMPL_VAR image>">
|
||||
</TMPL_IF>
|
||||
</td>
|
||||
</tr>
|
||||
</TMPL_IF>
|
||||
|
||||
<tr>
|
||||
<td class="label">
|
||||
|
||||
@@ -139,8 +139,6 @@
|
||||
<img id="imagePreview" src="<TMPL_VAR image>">
|
||||
</button>
|
||||
<input id="image_<TMPL_VAR .series_id>" name="image" value="<TMPL_VAR image>" class="image" placeholder="<TMPL_VAR .loc.template_image>">
|
||||
<TMPL_ELSE>
|
||||
<img src="<TMPL_VAR image>">
|
||||
</TMPL_IF>
|
||||
</td></tr>
|
||||
<tr> <td class="label"><TMPL_VAR .loc.template_duration></td>
|
||||
@@ -445,7 +443,9 @@
|
||||
<table class="table">
|
||||
<TMPL_LOOP events>
|
||||
<tr id="event_<TMPL_VAR event_id>">
|
||||
<TMPL_IF .allow.read_image>
|
||||
<td class="logo"><img src="<TMPL_VAR image>" width="33" height="33"></td>
|
||||
</TMPL_IF>
|
||||
<td class="weekday"><TMPL_VAR weekday_short_name></td>
|
||||
<td class="date"><TMPL_VAR start_date></td>
|
||||
<td class="time"><TMPL_VAR start_time_name></td>
|
||||
|
||||
16
website/agenda/planung/templates/notify_daily.html
Normal file
16
website/agenda/planung/templates/notify_daily.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<table id="events">
|
||||
<TMPL_LOOP events>
|
||||
<tr id="header_<TMPL_VAR event_id>" class="mailHeader">
|
||||
<td><TMPL_VAR start></td>
|
||||
<td><TMPL_IF live>live</TMPL_IF> <TMPL_IF preproduction>preproduction</TMPL_IF> <TMPL_IF playout>playout</TMPL_IF></td>
|
||||
<td><TMPL_VAR full_title></td>
|
||||
<td><TMPL_VAR mail.To></td>
|
||||
</tr>
|
||||
</TMPL_LOOP>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
9
website/agenda/planung/templates/notify_daily.txt
Normal file
9
website/agenda/planung/templates/notify_daily.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Content-type:text/plain
|
||||
|
||||
<TMPL_LOOP events>
|
||||
date: <TMPL_VAR start>
|
||||
<TMPL_IF live>live</TMPL_IF> <TMPL_IF preproduction>preproduction</TMPL_IF> <TMPL_IF playout>playout</TMPL_IF>
|
||||
<TMPL_VAR full_title>
|
||||
<TMPL_VAR mail.To>
|
||||
</TMPL_LOOP>
|
||||
|
||||
19
website/agenda/planung/templates/notify_overview.html
Normal file
19
website/agenda/planung/templates/notify_overview.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<html>
|
||||
|
||||
<body>
|
||||
|
||||
<table id="events">
|
||||
<TMPL_LOOP events>
|
||||
|
||||
<tr id="header_<TMPL_VAR event_id>" class="mailHeader">
|
||||
<td><TMPL_VAR start></td>
|
||||
<td><TMPL_IF live>live</TMPL_IF> <TMPL_IF preproduction>preproduction</TMPL_IF> <TMPL_IF playout>playout</TMPL_IF></td>
|
||||
<td><TMPL_VAR full_title></td>
|
||||
<td><TMPL_VAR mail.To></td>
|
||||
</tr>
|
||||
|
||||
</TMPL_LOOP>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
9
website/agenda/planung/templates/notify_overview.txt
Normal file
9
website/agenda/planung/templates/notify_overview.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Content-type:text/plain; charset=utf-8;
|
||||
|
||||
<TMPL_LOOP events>
|
||||
date: <TMPL_VAR start>
|
||||
title: <TMPL_VAR full_title>
|
||||
status: <TMPL_IF live>live<TMPL_ELSE><TMPL_IF preproduction>preproduction</TMPL_IF></TMPL_IF><TMPL_IF playout>playout</TMPL_IF>
|
||||
contact: <TMPL_VAR mail.To>
|
||||
</TMPL_LOOP>
|
||||
|
||||
43
website/agenda/planung/templates/show_playout.html
Normal file
43
website/agenda/planung/templates/show_playout.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<link href="css/jquery-ui-timepicker.css" type="text/css" rel="stylesheet" />
|
||||
<script src="js/jquery-ui-timepicker.js" type="text/javascript"></script>
|
||||
|
||||
<script src="js/jquery.autosize.min.js" type="text/javascript"></script>
|
||||
<link href="css/theme.default.css" rel="stylesheet">
|
||||
|
||||
<script src="js/jquery.tablesorter.min.js"></script>
|
||||
<script src="js/jquery.tablesorter.widgets.min.js"></script>
|
||||
<script src="js/jquery.tablesorter.scroller.js"></script>
|
||||
|
||||
<script src="js/image.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
<table id="playout-table" class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>start</th>
|
||||
<th>playout path</th>
|
||||
<th>seconds</th>
|
||||
<th>loudness</th>
|
||||
<th>format</th>
|
||||
<th>image</th>
|
||||
<th>bytes</th>
|
||||
<th>modified at</th>
|
||||
</thead>
|
||||
</tr>
|
||||
<tbody>
|
||||
<TMPL_LOOP events>
|
||||
<tr>
|
||||
<td><TMPL_VAR start></td>
|
||||
<td><TMPL_VAR file></td>
|
||||
<td><TMPL_VAR duration escape="text"></td>
|
||||
<td><TMPL_VAR rms_left escape="text"> <TMPL_VAR rms_right escape="text"></td>
|
||||
<td><TMPL_VAR bitrate escape="text"> <TMPL_VAR sampling_rate> <TMPL_VAR channels> ch.</td>
|
||||
<td><TMPL_IF rms_image><a href="/agenda_files/playout/<TMPL_VAR rms_image>"><img src="/agenda_files/playout/<TMPL_VAR rms_image>"></a></TMPL_IF></td>
|
||||
<td><TMPL_VAR stream_size></td>
|
||||
<td><TMPL_VAR modified_at></td>
|
||||
</tr>
|
||||
</TMPL_LOOP>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
|
||||
<TMPL_IF .allow.upload_audio_recordings>
|
||||
<div id="error" class="error" style="display:none"></div>
|
||||
<div id="info" class="ok" style="display:none"></div>
|
||||
|
||||
<h2>
|
||||
<TMPL_VAR event.weekday_short_name>, <TMPL_VAR event.start_date_name> <TMPL_VAR event.start_time_name><br>
|
||||
@@ -13,27 +15,31 @@
|
||||
<hr/>
|
||||
|
||||
<TMPL_UNLESS isOver>
|
||||
|
||||
<div id="progress" style="display:none;vertical-align:middle;background:#aaa;text-align:center;margin:1em;padding:1em;font-size:1em;font-weight:bold;color:#fff" >
|
||||
<div>Ich lade jetzt die Datei hoch... Pieps.</div>
|
||||
<div><img src="/agenda/image/upload/bird9.gif" /></div>
|
||||
<div>Ist das aufregend!</div>
|
||||
<progress id="progressBar"></progress>
|
||||
<div id="progressLabel"></div>
|
||||
</div>
|
||||
|
||||
<form name="audio_recordings_upload" id="audio_recordings_upload" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="project_id" value="<TMPL_VAR project_id>" />
|
||||
<input type="hidden" name="studio_id" value="<TMPL_VAR studio_id>" />
|
||||
<input type="hidden" name="studio_id" value="<TMPL_VAR studio_id>" />
|
||||
<input type="hidden" name="series_id" value="<TMPL_VAR series_id>" />
|
||||
<input type="hidden" name="event_id" value="<TMPL_VAR event_id>" />
|
||||
<table class="table">
|
||||
<input type="hidden" name="action" value="upload" />
|
||||
<table>
|
||||
<tr>
|
||||
<td>Datei</td>
|
||||
|
||||
<td><input type="file" name="upload" size="20"
|
||||
accept="audio/mp3" maxlength="2000000000"
|
||||
/></td>
|
||||
<td><input type="file" id="file" name="upload" size="20" accept="audio/mp3" maxlength="2000000000" /></td>
|
||||
|
||||
<td colspan="2" style="text-align:right;padding-right:0.5em;" onclick="showProgress()">
|
||||
<input type="submit" name="action" value="upload" />
|
||||
<td colspan="2" style="text-align:right;padding-right:0.5em;" id="uploadSize"></td>
|
||||
|
||||
<td colspan="2" style="text-align:right;padding-right:0.5em;" >
|
||||
<button id="uploadButton" name="action" value="upload" >upload</button>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
@@ -51,18 +57,28 @@
|
||||
<table>
|
||||
<tr>
|
||||
<th>action</th>
|
||||
<!--<th>id</th>-->
|
||||
<th>name</th>
|
||||
<th>size in bytes</th>
|
||||
<th>event duration in seconds</th>
|
||||
<th>audio duration in seconds</th>
|
||||
<th>RMS L</th>
|
||||
<th>RMS R</th>
|
||||
<th>processed</th>
|
||||
<th>mastered</th>
|
||||
<th>uploaded by</th>
|
||||
<th>uploaded at</th>
|
||||
</tr>
|
||||
<TMPL_LOOP audio_recordings>
|
||||
<tr>
|
||||
<td><button onclick="playAudio('<TMPL_VAR path>');return false">play</button></td>
|
||||
<!--<td><TMPL_VAR id></td>-->
|
||||
<td><TMPL_VAR path></td>
|
||||
<td><TMPL_VAR size></td>
|
||||
<td><TMPL_VAR eventDuration></td>
|
||||
<td><TMPL_VAR audioDuration></td>
|
||||
<td><TMPL_VAR rmsLeft></td>
|
||||
<td><TMPL_VAR rmsRight></td>
|
||||
<td><TMPL_VAR processed></td>
|
||||
<td><TMPL_VAR mastered></td>
|
||||
<td><TMPL_VAR created_by></td>
|
||||
<td><TMPL_VAR created_at></td>
|
||||
<TMPL_IF .allow.delete_audio_recordings>
|
||||
@@ -70,7 +86,7 @@
|
||||
<form method="post">
|
||||
<input type="hidden" name="project_id" value="<TMPL_VAR project_id>" />
|
||||
<input type="hidden" name="studio_id" value="<TMPL_VAR studio_id>" />
|
||||
<input type="hidden" name="series_id" value="<TMPL_VAR series_id>" />
|
||||
<input type="hidden" name="series_id" value="<TMPL_VAR .series_id>" />
|
||||
<input type="hidden" name="event_id" value="<TMPL_VAR event_id>" />
|
||||
<input type="hidden" name="path" value="<TMPL_VAR path>" />
|
||||
<button type="submit" name="action" value="delete"><TMPL_VAR .loc.button_delete></button>
|
||||
|
||||
Reference in New Issue
Block a user