2015-01-08 10:10:06 +00:00
<!DOCTYPE html>
2016-05-04 08:13:36 +00:00
< html >
2015-01-04 07:37:51 +00:00
< head >
2015-01-25 11:02:31 +00:00
< meta charset = "utf-8" >
2016-05-02 03:17:53 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2016-05-04 08:13:36 +00:00
<?php
if ($title)
2016-09-17 19:58:29 +00:00
$page_title = $title.' - '.$config->application->name;
2016-05-04 08:13:36 +00:00
else
2016-09-17 19:58:29 +00:00
$page_title = $config->application->name;
2016-05-04 08:13:36 +00:00
if (APP_APPLICATION_ENV != "production")
2016-09-17 19:58:29 +00:00
$page_title = '('.ucfirst(APP_APPLICATION_ENV).') '.$page_title;
2016-05-04 08:13:36 +00:00
?>
2016-09-17 19:58:29 +00:00
< title > <? = $page_title ?> </ title >
2016-09-24 06:11:24 +00:00
<? = $this -> fetch ( 'system/icons' ) ?>
2016-09-17 19:58:29 +00:00
< link rel = "stylesheet" type = "text/css" href = " <? = $url -> content ( 'vendors/bower_components/animate.css/animate.min.css' ) ?> " >
< link rel = "stylesheet" type = "text/css" href = " <? = $url -> content ( 'vendors/bower_components/material-design-iconic-font/dist/css/material-design-iconic-font.min.css' ) ?> " >
< link rel = "stylesheet" type = "text/css" href = " <? = $url -> content ( 'vendors/bower_components/bootstrap-sweetalert/lib/sweet-alert.css' ) ?> " >
< link rel = "stylesheet" type = "text/css" href = " <? = $url -> content ( 'vendors/bower_components/components-font-awesome/css/font-awesome.min.css' ) ?> " >
< link rel = "stylesheet" type = "text/css" href = " <? = $url -> content ( 'vendors/bower_components/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.min.css' ) ?> " >
< link rel = "stylesheet" type = "text/css" href = " <? = $url -> content ( 'vendors/bootgrid/jquery.bootgrid.min.css' ) ?> " >
< link rel = "stylesheet" type = "text/css" href = " <? = $url -> content ( 'css/app.css' ) ?> " >
<? = $this -> section ( 'custom_css' ) ?>
< script type = "text/javascript" src = " <? = $url -> content ( 'vendors/bower_components/jquery/dist/jquery.min.js' ) ?> " ></ script >
< script type = "text/javascript" src = " <? = $url -> content ( 'vendors/bower_components/bootstrap/dist/js/bootstrap.min.js' ) ?> " ></ script >
2016-05-04 08:13:36 +00:00
< script >
2016-09-17 19:58:29 +00:00
var APP_AppEnv = '<? = ( defined ( 'APP_APPLICATION_ENV' ) ? APP_APPLICATION_ENV : '' ) ?> ';
var APP_BaseUrl = '<? = $url -> named ( 'home' ) ?> ';
var APP_ContentPath = '<? = $url -> content ( '' ) ?> ';
2016-05-04 08:13:36 +00:00
< / script >
2015-01-04 07:37:51 +00:00
< / head >
2016-09-17 19:58:29 +00:00
< body class = " <? = $page_class ?> <?php if ( ! empty ( $station )) : ?> toggled sw-toggled <?php endif ; ?> " >
2016-05-02 03:17:53 +00:00
< header id = "header" class = "clearfix" data-current-skin = "blue" >
< ul class = "header-inner" >
2016-09-17 19:58:29 +00:00
<?php if ( ! empty ( $station )) : ?>
2016-05-02 03:17:53 +00:00
< li id = "menu-trigger" data-trigger = "#sidebar" >
< div class = "line-wrap" >
< div class = "line top" > < / div >
< div class = "line center" > < / div >
< div class = "line bottom" > < / div >
< / div >
< / li >
2016-09-17 19:58:29 +00:00
<?php endif ; ?>
2016-05-02 03:17:53 +00:00
2016-05-13 04:48:04 +00:00
< li class = "logo" >
2016-09-17 19:58:29 +00:00
< a href = " <? = $url -> named ( 'home' ) ?> " >
< img src = " <? = $url -> content ( 'img/logo.png' ) ?> " alt = " <? = $config -> application -> name ?> " >
2016-05-13 04:48:04 +00:00
< / a >
2016-05-02 03:17:53 +00:00
< / li >
< li class = "pull-right" >
< ul class = "top-menu" >
2016-05-15 14:52:44 +00:00
<!--
2016-05-02 03:17:53 +00:00
< li id = "top-search" >
< a href = "" > < i class = "tm-icon zmdi zmdi-search" > < / i > < / a >
< / li >
2016-05-15 14:52:44 +00:00
-->
2016-05-02 03:17:53 +00:00
2016-05-17 08:40:44 +00:00
< li class = "dropdown" id = "radio-player-controls" >
< a data-toggle = "dropdown" href = "" > < i class = "tm-icon zmdi zmdi-radio" > < / i > < / a >
< ul class = "dropdown-menu dm-icon pull-right" >
< li >
< a href = "javascript:;" class = "jp-pause" > < i class = "zmdi zmdi-pause" > < / i > Pause< / a >
< / li >
< li >
< a href = "javascript:;" class = "jp-play" > < i class = "zmdi zmdi-play" > < / i > Play< / a >
< / li >
< li >
< a href = "javascript:;" class = "jp-mute" > < i class = "zmdi zmdi-portable-wifi-off" > < / i > Mute< / a >
< / li >
< li >
< a href = "javascript:;" class = "jp-unmute" > < i class = "zmdi zmdi-portable-wifi" > < / i > Unmute< / a >
< / li >
< li >
< div class = "progress jp-volume-bar" >
< div class = "jp-volume-bar-value progress-bar" role = "progressbar" > < / div >
< / div >
< / li >
< / ul >
< / li >
2016-05-02 03:17:53 +00:00
< li class = "dropdown" >
< a data-toggle = "dropdown" href = "" > < i class = "tm-icon zmdi zmdi-more-vert" > < / i > < / a >
< ul class = "dropdown-menu dm-icon pull-right" >
2016-09-17 19:58:29 +00:00
<? if ( $di [ 'acl' ] -> isAllowed ( 'administer all' )) : ?>
< li >< a href = " <? = $url -> named ( 'admin:index:index' ) ?> " >< i class = "fa fa-cog" ></ i > System Administration</ a ></ li >
2016-05-06 01:04:18 +00:00
<? endif ; ?>
2016-09-17 19:58:29 +00:00
< li >< a href = " <? = $url -> named ( 'profile:index' ) ?> " >< i class = "fa fa-user" ></ i > My Account</ a ></ li >
2016-05-06 01:04:18 +00:00
< li class = "divider" > < / li >
2016-09-21 06:24:52 +00:00
< li class = "hidden-xs" >
< a data-action = "fullscreen" href = "" > < i class = "zmdi zmdi-fullscreen" > < / i > Toggle Fullscreen< / a >
< / li >
2016-09-17 19:58:29 +00:00
< li >< a href = " <? = $url -> named ( 'account:logout' ) ?> " >< i class = "fa fa-sign-out" ></ i > Sign Out</ a ></ li >
2016-05-02 03:17:53 +00:00
< / ul >
< / li >
< / ul >
< / li >
< / ul >
2016-05-15 14:52:44 +00:00
<!-- Top Search Content
2016-05-02 03:17:53 +00:00
< div id = "top-search-wrap" >
< div class = "tsw-inner" >
< i id = "top-search-close" class = "zmdi zmdi-arrow-left" > < / i >
< input type = "text" >
< / div >
2016-05-15 14:52:44 +00:00
< / div > -->
2016-05-02 03:17:53 +00:00
< / header >
2015-01-04 07:37:51 +00:00
2016-05-02 03:17:53 +00:00
< section id = "main" >
2016-09-17 19:58:29 +00:00
<?php if ( ! empty ( $station )) : ?>
2016-05-02 03:17:53 +00:00
< aside id = "sidebar" class = "sidebar c-overflow" >
2016-09-17 22:48:40 +00:00
<? = $this -> insert ( 'sidebar/station' ) ?>
2016-05-02 03:17:53 +00:00
< / aside >
2016-09-17 19:58:29 +00:00
<?php endif ; ?>
2016-05-02 03:17:53 +00:00
< section id = "content" >
< div class = "container" >
2016-09-17 19:58:29 +00:00
<?php if ( $manual ) : ?>
<? = $this -> section ( 'content' ) ?>
<?php else : ?>
2016-05-02 03:17:53 +00:00
< div class = "block-header" >
2016-05-06 01:04:18 +00:00
< h2 > <? = $title ?> </ h2 >
2016-05-02 03:17:53 +00:00
< / div >
2016-05-06 01:04:18 +00:00
< div class = "card" >
< div class = "card-body card-padding" >
2016-09-17 19:58:29 +00:00
<? = $this -> section ( 'content' ) ?>
2015-05-18 05:42:02 +00:00
< / div >
< / div >
2016-09-17 19:58:29 +00:00
<?php endif ; ?>
2015-05-18 05:42:02 +00:00
< / div >
2016-05-02 03:17:53 +00:00
< / section >
< / section >
< footer id = "footer" >
2016-09-17 19:58:29 +00:00
Powered by < a href = "https://github.com/SlvrEagle23/AzuraCast" target = "_blank" > <? = $config -> application -> name ?> </ a > <? = \App\Version :: getVersionText () ?> .< br >
PHP <? = \PHP_VERSION ?> , SlimPHP 3
2016-05-02 03:17:53 +00:00
< / footer >
2016-09-22 20:21:07 +00:00
<?php /*
2016-05-02 03:17:53 +00:00
<!-- Page Loader -->
< div class = "page-loader" >
< div class = "preloader pls-blue" >
< svg class = "pl-circular" viewBox = "25 25 50 50" >
2016-05-05 09:58:16 +00:00
< circle class = "plc-path" cx = "50" cy = "50" r = "20" > < / circle >
2016-05-02 03:17:53 +00:00
< / svg >
< p > Please wait...< / p >
2015-01-04 07:37:51 +00:00
< / div >
< / div >
2016-09-22 20:21:07 +00:00
*/ ?>
2015-01-04 07:37:51 +00:00
2016-05-17 08:40:44 +00:00
< div id = "radio-player" > < / div >
2016-09-17 19:58:29 +00:00
<? = $this -> section ( 'custom_js' ) ?>
< script type = "text/javascript" src = " <? = $url -> content ( 'vendors/bower_components/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js' ) ?> " ></ script >
< script type = "text/javascript" src = " <? = $url -> content ( 'vendors/bootstrap-growl/bootstrap-growl.min.js' ) ?> " ></ script >
< script type = "text/javascript" src = " <? = $url -> content ( 'vendors/bower_components/bootstrap-sweetalert/lib/sweet-alert.min.js' ) ?> " ></ script >
< script type = "text/javascript" src = " <? = $url -> content ( 'vendors/bower_components/autosize/dist/autosize.js' ) ?> " ></ script >
2016-09-21 07:50:34 +00:00
< script type = "text/javascript" src = " <? = $url -> content ( 'vendors/bootgrid/jquery.bootgrid.updated.js' ) ?> " ></ script >
2016-09-17 19:58:29 +00:00
< script type = "text/javascript" src = " <? = $url -> content ( 'js/functions.js' ) ?> " ></ script >
< script type = "text/javascript" src = " <? = $url -> content ( 'js/app.js' ) ?> " ></ script >
2016-05-05 09:58:16 +00:00
2016-09-17 19:58:29 +00:00
<? if ( $flash -> hasMessages ()) : ?>
2016-05-05 09:58:16 +00:00
< script type = "text/javascript" >
$(function() {
2016-09-17 19:58:29 +00:00
<? foreach ( $flash -> getMessages () as $message ) : ?>
2016-09-09 05:07:40 +00:00
notify("<? = str_replace ( array ( '"' , " \n " ), array ( '\'' , '<br>' ), $message [ 'text' ]) ?> ", '<? = $message [ 'color' ] ?> ');
2016-05-05 09:58:16 +00:00
<? endforeach ; ?>
});
< / script >
<? endif ; ?>
2015-01-04 07:37:51 +00:00
< / body >
< / html >