Text for show schedule toolbar buttons, Embedded Widgets page styling

This commit is contained in:
Albert Santoni 2015-08-12 17:36:54 -04:00
parent 61d1e6bb50
commit 9d30a26968
5 changed files with 31 additions and 22 deletions

View File

@ -290,7 +290,7 @@ class LocaleController extends Zend_Controller_Action
//"Select" => _("Select"),
"Select all" => _("Select all"),
"Select none" => _("Select none"),
"Remove overbooked tracks" => _("Remove overbooked tracks"),
"Trim overbooked shows" => _("Trim overbooked shows"),
"Remove selected scheduled items" => _("Remove selected scheduled items"),
"Jump to the current playing track" => _("Jump to the current playing track"),
"Cancel current show" => _("Cancel current show"),

View File

@ -14,6 +14,9 @@
}
.player-preview {
width: 100%;
background-color: #111;
padding-top: 25px;
padding-bottom: 25px;
}
.player-preview iframe {
margin: 0 auto;
@ -31,15 +34,13 @@
padding-bottom: 10px;
font-size: 14px;
/*font-weight: bold;*/
color: #333;
margin-bottom: 10px;
margin-top: 10px;
}
.player-title {
clear: left;
color: #5b5b5b;
float: left;
font-size: 13px;
font-weight: bold;
width: 40px;
padding: 4px 0;
text-align: left;
@ -55,7 +56,6 @@
#player_embed_src-element p {
margin: 0px;
font-size: 13px;
color: #333;
}
@ -75,7 +75,7 @@ table#player_compatibility_chart{
#player_compatibility_chart th
{
color: #5b5b5b;
color: #1f1f1f;
border: 0px;
}

View File

@ -3395,15 +3395,12 @@ dd .stream-status {
margin-bottom: 20px;
}
#weekly-schedule-widget label {
font-weight: bold;
}
.schedule_iframe_wrapper {
width: 100%;
float: left;
text-align: center;
padding: 10px;
background-color: #111;
padding-top: 25px;
padding-bottom: 25px;
margin-bottom: 25px;
}
#schedule_iframe {
@ -3442,3 +3439,7 @@ dd .stream-status {
#upload_form, #recent_uploads_wrapper {
box-sizing: border-box;
}
button.btn-icon-text > i.icon-white {
margin-right: 4px;
}

View File

@ -136,7 +136,7 @@ var AIRTIME = (function(AIRTIME) {
"</button>" +
"</div>")
.append("<div class='btn-group' title=" + $.i18n._('Delete') + ">" +
"<button class='btn btn-small' id='sb-trash'>" +
"<button class='btn btn-small btn-danger' id='sb-trash'>" +
"<i class='icon-white icon-trash'></i>" +
"<span>" + $.i18n._('Delete') + "</span>" +
"</button>" +

View File

@ -1103,21 +1103,29 @@ var AIRTIME = (function(AIRTIME){
"</ul>" +
"</div>")
.append("<div class='btn-group'>" +
"<button title='"+$.i18n._("Remove overbooked tracks")+"' class='ui-state-disabled btn btn-small' disabled='disabled'>" +
"<i class='icon-white icon-cut'></i></button></div>")
"<button title='"+$.i18n._("Trim overbooked shows")+"' class='ui-state-disabled btn btn-small btn-icon-text' disabled='disabled'>" +
"<i class='icon-white icon-cut'></i>" +
"<span>" + $.i18n._('Trim overbooked shows') + "</span>" +
"</button></div>")
.append("<div class='btn-group'>" +
"<button title='"+$.i18n._("Remove selected scheduled items")+"' class='ui-state-disabled btn btn-small' disabled='disabled'>" +
"<i class='icon-white icon-trash'></i></button></div>");
"<button title='"+$.i18n._("Remove selected scheduled items")+"' class='ui-state-disabled btn btn-small btn-icon-text btn-danger' disabled='disabled'>" +
"<i class='icon-white icon-trash'></i>" +
"<span>" + $.i18n._('Remove') + "</span>" +
"</button></div>");
//if 'Add/Remove content' was chosen from the context menu
//in the Calendar do not append these buttons
if ($(".ui-dialog-content").length === 0) {
$menu.append("<div class='btn-group'>" +
"<button title='"+$.i18n._("Jump to the current playing track")+"' class='ui-state-disabled btn btn-small' disabled='disabled'>" +
"<i class='icon-white icon-step-forward'></i></button></div>")
"<button title='"+$.i18n._("Jump to the current playing track")+"' class='ui-state-disabled btn btn-small btn-icon-text' disabled='disabled'>" +
"<i class='icon-white icon-step-forward'></i>" +
"<span>" + $.i18n._('Jump to Current') + "</span>" +
"</button></div>")
.append("<div class='btn-group'>" +
"<button title='"+$.i18n._("Cancel current show")+"' class='ui-state-disabled btn btn-small btn-danger' disabled='disabled'>" +
"<i class='icon-white icon-ban-circle'></i></button></div>");
"<button title='"+$.i18n._("Cancel current show")+"' class='ui-state-disabled btn btn-small btn-icon-text btn-danger' disabled='disabled'>" +
"<i class='icon-white icon-ban-circle'></i>" +
"<span>" + $.i18n._('Cancel current show') + "</span>" +
"</button></div>");
}
if (localStorage.getItem('user-type') != 'G') {