2010-12-07 20:19:27 +01:00
|
|
|
<?php echo $this->doctype() ?>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2015-06-25 20:13:09 +02:00
|
|
|
<?php echo $this->headTitle() ?>
|
2010-12-07 20:19:27 +01:00
|
|
|
<?php echo $this->headLink() ?>
|
2013-01-04 17:40:32 +01:00
|
|
|
<?php echo $this->headScript() ?>
|
2012-01-30 22:28:27 +01:00
|
|
|
<?php echo isset($this->google_analytics)?$this->google_analytics:"" ?>
|
2012-10-19 20:42:01 +02:00
|
|
|
<?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?>
|
2010-12-07 20:19:27 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2014-06-11 19:24:03 +02:00
|
|
|
<!-- Google Tag Manager -->
|
|
|
|
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-55N6NH"
|
|
|
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
|
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
|
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
|
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
|
|
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
|
|
})(window,document,'script','dataLayer','GTM-55N6NH');</script>
|
|
|
|
<!-- End Google Tag Manager -->
|
2010-12-07 20:19:27 +01:00
|
|
|
|
2012-05-22 12:40:08 +02:00
|
|
|
<?php echo $this->partial('partialviews/trialBox.phtml', array("is_trial"=>$this->isTrial(), "trial_remain"=> $this->trialRemaining())) ?>
|
2015-04-10 23:14:56 +02:00
|
|
|
|
2015-04-27 20:01:28 +02:00
|
|
|
<div id="Panel" class="sticky">
|
2015-04-17 21:55:41 +02:00
|
|
|
<?php if($this->suspended) : ?>
|
2015-04-10 23:14:56 +02:00
|
|
|
<?php echo $this->partial('partialviews/suspended.phtml'); ?>
|
|
|
|
<?php else : ?>
|
|
|
|
|
2012-03-08 23:42:38 +01:00
|
|
|
<?php echo $this->versionNotify();
|
|
|
|
$sss = $this->SourceSwitchStatus();
|
|
|
|
$scs = $this->SourceConnectionStatus();
|
|
|
|
?>
|
2012-05-22 12:40:08 +02:00
|
|
|
<?php echo $this->partial('partialviews/header.phtml', array("live_dj_switch"=>$sss['live_dj'], "live_dj_connection"=>$scs['live_dj'], "master_dj_switch"=>$sss['master_dj'], "master_dj_connection"=>$scs['master_dj'],
|
2012-03-15 19:33:59 +01:00
|
|
|
"scheduled_play_switch"=>$sss['scheduled_play'])) ?>
|
2011-01-27 03:43:56 +01:00
|
|
|
<?php $partial = array('menu.phtml', 'default');
|
2012-04-03 20:15:15 +02:00
|
|
|
$this->navigation()->menu()->setPartial($partial); ?>
|
2015-04-09 19:03:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
var schedulePreLoaded = <?php
|
|
|
|
//Awful hack to speed up loading - Embed the schedule in the response so that the dashboard
|
|
|
|
//doesn't have to make a separate AJAX request to get this data.
|
|
|
|
require_once("ScheduleController.php");
|
|
|
|
ScheduleController::printCurrentPlaylistForEmbedding();
|
|
|
|
?>;
|
|
|
|
//The DOM elements that these calls depend on exist by this point:
|
|
|
|
parseItems(schedulePreLoaded.entries);
|
|
|
|
parseSourceStatus(schedulePreLoaded.source_status);
|
|
|
|
parseSwitchStatus(schedulePreLoaded.switch_status);
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
2015-04-10 23:14:56 +02:00
|
|
|
<?php endif; //suspended ?>
|
2011-01-31 05:05:49 +01:00
|
|
|
</div>
|
2012-05-22 12:40:08 +02:00
|
|
|
|
2015-08-14 14:30:52 +02:00
|
|
|
<div id="media_type_nav"> <!-- class="content-pane" -->
|
|
|
|
<div class="btn-group">
|
2015-08-17 18:46:32 +02:00
|
|
|
<button id="new_media_selector" class="btn btn-small dropdown-toggle dashboard-btn" data-toggle="dropdown">
|
2015-08-14 14:30:52 +02:00
|
|
|
New <span class="caret"></span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li id="new-playlist">
|
|
|
|
<a href="#"><?php echo _("Playlist") ?></a>
|
|
|
|
</li>
|
|
|
|
<li id="new-smart-block">
|
|
|
|
<a href="#"><?php echo _("Smart Block") ?></a>
|
|
|
|
</li>
|
|
|
|
<li id="new-webstream">
|
|
|
|
<a href="#"><?php echo _("Webstream") ?></a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2015-08-17 18:46:32 +02:00
|
|
|
<a href="/Plupload">
|
|
|
|
<button id="add_media_btn" class="btn btn-small dashboard-btn">Upload</button>
|
|
|
|
</a>
|
2015-08-14 14:30:52 +02:00
|
|
|
</div>
|
|
|
|
<div class="media_type_selector" selection_id="1">
|
2015-08-19 18:58:31 +02:00
|
|
|
<a href="/showbuilder#"><i class='icon-home icon-white'></i><?php echo _("Dashboard") ?></a></div>
|
2015-08-14 14:30:52 +02:00
|
|
|
<div class="media_type_selector dashboard_sub_nav" selection_id="1">
|
2015-08-19 18:58:31 +02:00
|
|
|
<a href="/showbuilder#files"><i class='icon-file icon-white'></i><?php echo _("Files") ?></a></div>
|
2015-08-14 14:30:52 +02:00
|
|
|
<div class="media_type_selector dashboard_sub_nav" selection_id="2">
|
2015-08-19 18:58:31 +02:00
|
|
|
<a href="/showbuilder#playlists"><i class='icon-list icon-white'></i><?php echo _("Playlists") ?></a></div>
|
2015-08-14 14:30:52 +02:00
|
|
|
<div class="media_type_selector dashboard_sub_nav" selection_id="3">
|
2015-08-19 18:58:31 +02:00
|
|
|
<a href="/showbuilder#smart-blocks"><i class='icon-time icon-white'></i><?php echo _("Smart Blocks") ?></a></div>
|
2015-08-14 14:30:52 +02:00
|
|
|
<div class="media_type_selector dashboard_sub_nav" selection_id="4">
|
2015-08-19 18:58:31 +02:00
|
|
|
<a href="/showbuilder#webstreams"><i class='icon-random icon-white'></i><?php echo _("Webstreams") ?></a></div>
|
2015-08-14 14:30:52 +02:00
|
|
|
<hr style="margin-left: 5px; margin-right: 5px">
|
|
|
|
<div id="nav">
|
2015-08-17 18:46:32 +02:00
|
|
|
<?php echo $this->navigation()->menu(); ?>
|
2015-08-14 14:30:52 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2015-08-08 01:20:29 +02:00
|
|
|
<?php $hint = Application_Common_UsabilityHints::getUsabilityHint(); ?>
|
2015-08-19 16:56:41 +02:00
|
|
|
<div class="usability_hint <?php if ($hint == "") { echo "hidden"; } ?>"><?php echo $hint; ?></div>
|
2015-08-08 01:20:29 +02:00
|
|
|
|
2015-08-10 19:44:57 +02:00
|
|
|
<div class="wrapper" id="content">
|
2015-08-01 00:28:16 +02:00
|
|
|
<?php echo $this->layout()->content ?>
|
|
|
|
</div>
|
2013-04-16 20:37:08 +02:00
|
|
|
|
|
|
|
<script id="tmpl-pl-cues" type="text/template">
|
|
|
|
<div class="waveform-cues">
|
2013-05-24 00:33:40 +02:00
|
|
|
<div class="playlist-time-scale"></div>
|
2013-04-16 20:37:08 +02:00
|
|
|
<div class="playlist-tracks"></div>
|
2013-04-17 23:17:39 +02:00
|
|
|
<div class="playlist-controls">
|
2013-05-14 20:15:54 +02:00
|
|
|
<a class="btn btn-small btn_play"><i class="icon-play icon-white"></i><?php echo _("Play"); ?></a>
|
|
|
|
<a class="btn btn-small btn_stop"><i class="icon-stop icon-white"></i><?php echo _("Stop"); ?></a>
|
2013-05-13 22:01:06 +02:00
|
|
|
<label class="audio audio_pos">00:00:00.0</label>
|
2013-04-17 23:17:39 +02:00
|
|
|
</div>
|
2013-05-13 22:01:06 +02:00
|
|
|
<div class="set-cue">
|
2013-05-14 20:15:54 +02:00
|
|
|
<label for="editor-cue-in"><?php echo _("Cue In"); ?></label>
|
2013-04-17 23:17:39 +02:00
|
|
|
<input type="text" class="audio_start">
|
2013-05-14 20:15:54 +02:00
|
|
|
<input type="button" class="btn btn-small set-cue-in" value="<?php echo _("Set Cue In"); ?>">
|
2013-05-13 22:01:06 +02:00
|
|
|
<label class="audio editor-cue-in">00:00:00.0</label>
|
|
|
|
<span style="display:none" class="cue-in-error"></span>
|
2013-04-17 23:17:39 +02:00
|
|
|
</div>
|
2013-05-13 22:01:06 +02:00
|
|
|
<div class="set-cue">
|
2013-05-14 20:15:54 +02:00
|
|
|
<label for="editor-cue-out"><?php echo _("Cue Out"); ?></label>
|
2013-05-13 22:01:06 +02:00
|
|
|
<input type="text" class="audio_end">
|
2013-05-14 20:15:54 +02:00
|
|
|
<input type="button" class="btn btn-small set-cue-out" value="<?php echo _("Set Cue Out"); ?>">
|
2013-05-13 22:01:06 +02:00
|
|
|
<label class="audio editor-cue-out">00:00:00.0</label>
|
2013-04-17 23:17:39 +02:00
|
|
|
<span style="display:none" class="cue-out-error"></span>
|
|
|
|
</div>
|
2013-04-16 20:37:08 +02:00
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script id="tmpl-pl-fades" type="text/template">
|
|
|
|
<div class="waveform-fades">
|
2013-05-24 00:33:40 +02:00
|
|
|
<div class="playlist-time-scale"></div>
|
2013-04-16 20:37:08 +02:00
|
|
|
<div class="playlist-tracks"></div>
|
2013-05-13 22:01:06 +02:00
|
|
|
<div class="playlist-controls left-floated">
|
2013-05-14 20:15:54 +02:00
|
|
|
<a class="btn btn-small btn_play"><i class="icon-play icon-white"></i><?php echo _("Play"); ?></a>
|
|
|
|
<a class="btn btn-small btn_stop"><i class="icon-stop icon-white"></i><?php echo _("Stop"); ?></a>
|
2013-05-24 00:33:40 +02:00
|
|
|
<label class="audio audio_pos">00:00:00.0</label>
|
2013-04-16 23:24:30 +02:00
|
|
|
</div>
|
2013-05-13 22:01:06 +02:00
|
|
|
<div class="set-fade left-floated">
|
2013-05-14 20:15:54 +02:00
|
|
|
<a type="button" class="btn btn-small btn_cursor" data-state="cursor"><?php echo _("Cursor"); ?></a>
|
|
|
|
<a type="button" class="btn btn-small btn_fadein" data-state="fadein"><?php echo _("Fade In"); ?></a>
|
|
|
|
<a type="button" class="btn btn-small btn_fadeout" data-state="fadeout"><?php echo _("Fade Out"); ?></a>
|
2013-04-16 23:24:30 +02:00
|
|
|
</div>
|
2013-04-16 20:37:08 +02:00
|
|
|
</div>
|
|
|
|
</script>
|
2010-12-07 20:19:27 +01:00
|
|
|
</body>
|
|
|
|
</html>
|
2015-08-14 14:30:52 +02:00
|
|
|
|