Navigation sidebar finalization

This commit is contained in:
Albert Santoni 2015-08-19 14:59:33 -04:00
parent a3e9a7355c
commit f82558a5c0
13 changed files with 57 additions and 30 deletions

View file

@ -22,6 +22,7 @@ class ListenerstatController extends Zend_Controller_Action
$this->view->headScript()->appendFile($baseUrl.'js/flot/jquery.flot.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
$this->view->headScript()->appendFile($baseUrl.'js/flot/jquery.flot.crosshair.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
$this->view->headScript()->appendFile($baseUrl.'js/flot/jquery.flot.resize.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
$this->view->headScript()->appendFile($baseUrl.'js/airtime/listenerstat/listenerstat.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
$this->view->headScript()->appendFile($baseUrl.'js/timepicker/jquery.ui.timepicker.js?'.$CC_CONFIG['airtime_version'],'text/javascript');
$this->view->headScript()->appendFile($baseUrl.'js/airtime/buttons/buttons.js?'.$CC_CONFIG['airtime_version'],'text/javascript');

View file

@ -118,7 +118,8 @@
<div class="usability_hint <?php if ($hint == "") { echo "hidden"; } ?>"><?php echo $hint; ?></div>
<div class="wrapper" id="content">
<div class="wrapper wrapper_panel" id="content">
<div style="display: flex; width: 100%">
<div id="sub-menu">
<h3><?php //parent_page is passed in from controller
echo $this->layout()->parent_page; ?></h3>
@ -128,10 +129,11 @@
echo $this->navigation()->menu()->renderMenu($page);
?>
</div>
<div>
<div id="sub-menu-content-panel">
<?php echo $this->layout()->content ?>
</div>
</div>
</div>
<script id="tmpl-pl-cues" type="text/template">
<div class="waveform-cues">

View file

@ -1,4 +1,4 @@
<div id="player-widget" class="ui-widget ui-widget-content block-shadow simple-formblock embed-player-form clearfix padded-strong ">
<div id="player-widget" class="ui-widget prefpanel simple-formblock embed-player-form clearfix padded-strong ">
<?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?>

View file

@ -1,4 +1,4 @@
<div id="weekly-schedule-widget" class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong ">
<div id="weekly-schedule-widget" class="prefpanel ui-widget simple-formblock clearfix padded-strong ">
<?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?>

View file

@ -1,6 +1,6 @@
<div id="listenerstat_content" class="ui-widget ui-widget-content block-shadow alpha-block padded">
<div id="listenerstat_content" class="alpha-block padded">
<H2><?php echo _("Listeners")?></H2>
<div id="flot_placeholder" style="width:600px;height:300px;margin:0px 50px 0px 50px"></div>
<div id="flot_placeholder" style="height:300px;margin:0px 50px 0px 50px"></div>
<div id="legend" style="width:600px;height:70px;margin:0px 50px 0px 50px"></div>
<div id="date_form" style="float:left; margin:0px 0px">
<h3 style="padding-left: 0px">Date Range</h3>

View file

@ -1,4 +1,4 @@
<div id="history_content" class="ui-widget ui-widget-content block-shadow alpha-block padded">
<div id="history_content" class=" alpha-block padded">
<h2><?php echo(_("Playout History"));?></h2>
<?php echo $this->date_form; ?>

View file

@ -1,4 +1,4 @@
<div id="history_template" class="ui-widget ui-widget-content block-shadow alpha-block padded-strong">
<div id="history_template" class="prefpanel alpha-block padded-strong">
<div>
<h2><?php echo(_("Playout History Templates"));?></h2>

View file

@ -1,4 +1,4 @@
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong preferences">
<div class="ui-widget prefpanel simple-formblock clearfix padded-strong preferences">
<h2 style="float:left"><?php echo _("General") ?></h2>
<?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?>
<form method="post" id="pref_form" enctype="multipart/form-data">

View file

@ -1,4 +1,4 @@
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong stream-config">
<div class="ui-widget prefpanel simple-formblock clearfix padded-strong stream-config">
<h2 style="float:left"><?php echo _("Stream Settings") ?></h2>
<?php $baseUrl = Application_Common_OsPath::getBaseDir(); ?>
<form method="post" id="stream_form" enctype="application/x-www-form-urlencoded">

View file

@ -1,4 +1,4 @@
<div class="ui-widget ui-widget-content block-shadow clearfix padded-strong user-management">
<div class="ui-widget prefpanel clearfix padded-strong user-management">
<h2><?php echo _("Manage Users") ?></h2>
<div class="user-list-wrapper">

View file

@ -1,4 +1,4 @@
<div class="ui-widget ui-widget-content block-shadow clearfix padded-strong edit-current-user">
<div class="prefpanel clearfix padded-strong edit-current-user">
<?php echo $this->successMessage ?>
<?php echo $this->form?>
</div>

View file

@ -2,10 +2,6 @@
padding-right: 0px !important;
width: 100% !important;
}
.embed-player-form {
width: 40%;
margin: 0 auto;
}
.embed-player-form dd {
width: 100% !important;
float: left;

View file

@ -123,7 +123,7 @@ fieldset {
}
.edit-current-user label {
font-weight: bold;
font-weight: normal;
}
.stream-player-label {
@ -1664,8 +1664,19 @@ h2#scheduled_playlist_name span {
top: 50%;
}
.prefpanel
{
color: #CDCDCD;
}
.prefpanel a {
color: #b2b2b2;
}
/*---//////////////////// USERS ////////////////////---*/
.simple-formblock {
}
@ -2335,6 +2346,7 @@ span.errors.sp-errors{
.stream-config {
min-width: 800px;
max-width: 1000px;
}
#stream_save_bottom {
@ -3386,9 +3398,7 @@ dd .stream-status {
}
#weekly-schedule-widget {
margin: 0 auto;
margin-bottom: 20px;
width: 60%;
width: 800px;
}
#widget-menu {
@ -3405,6 +3415,7 @@ dd .stream-status {
#player-widget {
margin-bottom: 20px;
width: 600px;
}
.schedule_iframe_wrapper {
@ -3570,6 +3581,10 @@ button.btn-icon-text > i.icon-white {
transition: top 0.2s linear;
}
.wrapper_panel {
background-color: #242424;
}
/* Usability hint */
.usability_hint {
@ -3605,11 +3620,14 @@ button.btn-icon-text > i.icon-white {
#sub-menu {
width: 130px;
min-width: 130px;
flex-grow: 0;
border-right: 1px solid #5b5b5b;
background: #212121;
font-size: 14px;
color: #cecece;
padding: 10px;
float: left;
}
#sub-menu h3 {
@ -3639,8 +3657,14 @@ button.btn-icon-text > i.icon-white {
/*background-color: #252525;*/
}
#sub-menu-content-panel
{
flex-grow: 1
}
#listenerstat_content {
width: 100%;
display: block;
}
#listenerstat_content .legendLabel
@ -3648,6 +3672,10 @@ button.btn-icon-text > i.icon-white {
color: #d6d6d6;
}
#listenerstat_content .tickLabel {
font-size: 12px;
}
.dashboard-btn {
width: 50%;
}