diff --git a/airtime_mvc/application/controllers/ThirdPartyController.php b/airtime_mvc/application/controllers/ThirdPartyController.php
index 5c15ae5ea..1f864776e 100644
--- a/airtime_mvc/application/controllers/ThirdPartyController.php
+++ b/airtime_mvc/application/controllers/ThirdPartyController.php
@@ -49,7 +49,7 @@ abstract class ThirdPartyController extends Zend_Controller_Action {
public function deauthorizeAction() {
$function = $this->_SERVICE_TOKEN_ACCESSOR;
Application_Model_Preference::$function("");
- header('Location: ' . $this->_baseUrl . 'Preference'); // Redirect back to the Preference page
+ header('Location: ' . $this->_baseUrl . 'preference'); // Redirect back to the preference page
}
/**
@@ -61,7 +61,7 @@ abstract class ThirdPartyController extends Zend_Controller_Action {
public function redirectAction() {
$code = $_GET['code'];
$this->_service->requestNewAccessToken($code);
- header('Location: ' . $this->_baseUrl . 'Preference'); // Redirect back to the Preference page
+ header('Location: ' . $this->_baseUrl . 'preference'); // Redirect back to the preference page
}
/**
diff --git a/airtime_mvc/application/views/scripts/playlist/playlist.phtml b/airtime_mvc/application/views/scripts/playlist/playlist.phtml
index f27b82dbd..7d4acb63b 100644
--- a/airtime_mvc/application/views/scripts/playlist/playlist.phtml
+++ b/airtime_mvc/application/views/scripts/playlist/playlist.phtml
@@ -44,9 +44,9 @@ if (isset($this->obj)) {
diff --git a/airtime_mvc/application/views/scripts/playlist/smart-block.phtml b/airtime_mvc/application/views/scripts/playlist/smart-block.phtml
index 0709ac90d..eb80e402c 100644
--- a/airtime_mvc/application/views/scripts/playlist/smart-block.phtml
+++ b/airtime_mvc/application/views/scripts/playlist/smart-block.phtml
@@ -52,9 +52,9 @@ if (isset($this->obj)) {
form->getElement('shuffle_button');?>
diff --git a/airtime_mvc/public/css/dashboard.css b/airtime_mvc/public/css/dashboard.css
index 3bcfddfcc..bbed8ad01 100644
--- a/airtime_mvc/public/css/dashboard.css
+++ b/airtime_mvc/public/css/dashboard.css
@@ -23,13 +23,13 @@
@media screen and (max-width: 1600px) {
#library_display_wrapper button:not(.dropdown-toggle):not(.btn-new) > span,
- #show_builder button:not(.dropdown-toggle):not(.btn-new) > span,
- #show_builder #sb_submit > span {
+ #show_builder_table_wrapper button:not(.dropdown-toggle):not(.btn-new) > span,
+ #show_builder_table_wrapper #sb_submit > span {
display: none;
}
#library_display_wrapper button:not(.dropdown-toggle):not(.btn-new) > i,
- #show_builder button:not(.dropdown-toggle):not(.btn-new) > i,
- #show_builder #sb_submit > i {
+ #show_builder_table_wrapper button:not(.dropdown-toggle):not(.btn-new) > i,
+ #show_builder_table_wrapper #sb_submit > i {
margin-right: 0 !important;
}
}
diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css
index f4c3a11b1..3b3ce0298 100644
--- a/airtime_mvc/public/css/styles.css
+++ b/airtime_mvc/public/css/styles.css
@@ -3698,12 +3698,12 @@ button.btn-icon-text > i.icon-white {
left: 152px;
top: 102px;
bottom: 0; /* Account for scrollbars */
- min-width: 130px;
+ min-width: 150px;
border-right: 1px solid #5b5b5b;
background: #242424;
font-size: 14px;
color: #cecece;
- padding: 10px;
+ padding: 10px 0;
z-index: 1;
-webkit-transition: top 0.2s linear;
@@ -3713,7 +3713,11 @@ button.btn-icon-text > i.icon-white {
}
#sub-menu h3 {
- padding: 0;
+ padding: 0 10px 10px;
+}
+
+#sub-menu hr {
+ margin: 0 5px;
}
#sub-menu .navigation {
@@ -3721,12 +3725,17 @@ button.btn-icon-text > i.icon-white {
padding-left: 0;
}
-#sub-menu .navigation li {
- padding-bottom: 10px;
+#sub-menu .navigation li.active {
+ color: #fff;
+ background-color: #333;
+ border-right: 1px solid #1ADEFF;
+ margin-right: -1px;
}
#sub-menu .navigation a {
+ display: block;
color: #cecece;
+ padding: 10px;
text-decoration: none;
}
diff --git a/airtime_mvc/public/js/airtime/library/spl.js b/airtime_mvc/public/js/airtime/library/spl.js
index 57bce927c..394a1bb1a 100644
--- a/airtime_mvc/public/js/airtime/library/spl.js
+++ b/airtime_mvc/public/js/airtime/library/spl.js
@@ -406,7 +406,7 @@ var AIRTIME = (function(AIRTIME){
var empty = $pl.find(".spl_empty");
if (!show || empty.length > 0) {
- $pl.find("#spl_crossfade").hide();
+ $pl.find("#spl_crossfade").attr("disabled", "disabled");
} else {
//get list of playlist contents
var list = contents.children();
@@ -416,9 +416,9 @@ var AIRTIME = (function(AIRTIME){
var last = list.last();
if (first.find(':first-child').children().attr('blockid') !== undefined &&
last.find(':first-child').children().attr('blockid') !== undefined) {
- $pl.find("#spl_crossfade").hide();
+ $pl.find("#spl_crossfade").attr("disabled", "disabled");
} else {
- $pl.find("#spl_crossfade").show();
+ $pl.find("#spl_crossfade").removeAttr("disabled");
}
}
@@ -1094,7 +1094,7 @@ var AIRTIME = (function(AIRTIME){
aSelected = AIRTIME.library.getSelectedData();
for (i = 0, length = aSelected.length; i < length; i++) {
- console.log(aSelected[i]);
+ //console.log(aSelected[i]);
aItems.push(new Array(aSelected[i].id, aSelected[i].ftype));
}