diff --git a/airtime_mvc/application/forms/StreamSettingSubForm.php b/airtime_mvc/application/forms/StreamSettingSubForm.php index b3deb477a..34859dd5a 100644 --- a/airtime_mvc/application/forms/StreamSettingSubForm.php +++ b/airtime_mvc/application/forms/StreamSettingSubForm.php @@ -188,7 +188,7 @@ class Application_Form_StreamSettingSubForm extends Zend_Form_SubForm $adminPass->setAttrib('alt', 'regular_text'); $this->addElement($adminPass); - $liquidsoap_error_msg = '

'._('Getting information from the server...').'

'; + $liquidsoap_error_msg = '

'._('Getting information from the server...').'

'; $this->setDecorators(array( array('ViewScript', array('viewScript' => 'form/stream-setting-form.phtml', diff --git a/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml b/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml index 9bf28c0b8..983e9eedb 100644 --- a/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml +++ b/airtime_mvc/application/views/scripts/form/preferences_livestream.phtml @@ -1,5 +1,5 @@ -
- +

+
element->getElement('auto_transition')->render() ?> diff --git a/airtime_mvc/application/views/scripts/playouthistorytemplate/index.phtml b/airtime_mvc/application/views/scripts/playouthistorytemplate/index.phtml index 261e0274e..c2689039c 100644 --- a/airtime_mvc/application/views/scripts/playouthistorytemplate/index.phtml +++ b/airtime_mvc/application/views/scripts/playouthistorytemplate/index.phtml @@ -2,6 +2,7 @@

+
    template_list) == 0): ?>
  • @@ -28,11 +29,11 @@
-


+
    template_file) == 0): ?>
  • @@ -59,6 +60,5 @@
-
\ No newline at end of file diff --git a/airtime_mvc/application/views/scripts/preference/stream-setting.phtml b/airtime_mvc/application/views/scripts/preference/stream-setting.phtml index a2abe8835..04e6170f5 100644 --- a/airtime_mvc/application/views/scripts/preference/stream-setting.phtml +++ b/airtime_mvc/application/views/scripts/preference/stream-setting.phtml @@ -7,8 +7,9 @@
statusMsg;?>
+ +

-
form->getElement('output_sound_device') != null){?>
@@ -102,8 +103,8 @@ form->getSubform('live_stream_subform'); ?>
+

- form->getElement('customStreamSettings')->render(); diff --git a/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml b/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml index bfbcc80ad..c9706a3ce 100644 --- a/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml +++ b/airtime_mvc/application/views/scripts/schedule/add-show-form.phtml @@ -1,7 +1,7 @@
- diff --git a/airtime_mvc/public/css/add-show.css b/airtime_mvc/public/css/add-show.css index 935492fb9..b71198245 100644 --- a/airtime_mvc/public/css/add-show.css +++ b/airtime_mvc/public/css/add-show.css @@ -10,7 +10,7 @@ } #schedule-add-show textarea { - width: 99%; + width: 96%; height: 80px; } @@ -36,11 +36,10 @@ } #schedule-add-show dd { - padding: 4px 0; - float: left; font-size: 1.2em; margin: 0; - padding: 4px 0 4px 15px; + margin-bottom: 8px; + /* padding: 4px 0 4px 15px;*/ } #schedule-add-show dt, #schedule-add-show dt.big { @@ -49,9 +48,9 @@ font-size: 1.2em; font-weight: bold; margin: 0; - padding: 4px 0; text-align: left; min-width: 103px; + padding-top: 4px; clear: left; } @@ -87,7 +86,7 @@ label.wrapp-label input[type="checkbox"] { } #schedule-add-show fieldset dd input[type="checkbox"] { - margin-top: 2px; + margin-top: 6px; } #add_show_day_check-element.block-display { @@ -117,7 +116,6 @@ label.wrapp-label input[type="checkbox"] { #add_show_hosts-element { max-height: 80px; min-width: 150px; - overflow: auto; } #add_show_start_time, #add_show_end_time { @@ -209,3 +207,8 @@ label.wrapp-label input[type="checkbox"] { .ui-state-hover { background: inherit; } + +#cb_airtime_auth-label, +#cb_custom_auth-label { + width: 80%; +} \ No newline at end of file diff --git a/airtime_mvc/public/css/history_styles.css b/airtime_mvc/public/css/history_styles.css index 5e5100d64..b106c7277 100644 --- a/airtime_mvc/public/css/history_styles.css +++ b/airtime_mvc/public/css/history_styles.css @@ -4,13 +4,10 @@ #history_template li, #configure_item_template li { clear: both; - background: #AAAAAA; + background: #222; margin: 2px 0 4px 0; padding: 4px 8px 4px 8px; position: relative; - border-radius: 4px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; border: 1px solid #9F9F9F; min-height: 15px; } @@ -167,7 +164,7 @@ } #configure_item_template .template_item_list li.field_other { - background-color: #CACACA; + background-color: #333; } diff --git a/airtime_mvc/public/css/images/arrows_collapse.png b/airtime_mvc/public/css/images/arrows_collapse.png index 99d044698..c3183c92c 100644 Binary files a/airtime_mvc/public/css/images/arrows_collapse.png and b/airtime_mvc/public/css/images/arrows_collapse.png differ diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index 2dc42905a..17cad250e 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -44,9 +44,11 @@ h2 { h3 { font-size:1.7em; font-weight:normal; - color:#000; - padding:0 0 10px 0; + color: #efefef; + padding: 10px; margin:0; + background-color: #5E5E5E; + border-top:1px solid #9d9d9d; } a, a:focus { outline:none; @@ -1701,6 +1703,10 @@ h2#scheduled_playlist_name span { /*width: 60%;*/ } +.stream-setting-global { + margin-bottom: 30px; +} + .simple-formblock.padded-strong { padding:12px; } @@ -2070,7 +2076,7 @@ span.errors.sp-errors{ } .qtip { - font-size:11px; + font-size:14px; line-height:160%; } @@ -2599,8 +2605,17 @@ label span { } fieldset > legend { - font-size: 12px; + font-size: 16px; line-height: 140%; + background: #333; + width: 100%; + margin: 0px; + padding: 0px; + border: 0px; +} + +fieldset.padded > legend { + padding-left: -8px; } fieldset.closed, fieldset.display_field.closed { border-width: 1px 0 0; @@ -2655,7 +2670,7 @@ input[type="checkbox"][disabled] { } .info-text-small { - color: #5B5B5B; + color: #adadad; font-size: 11px; line-height: 150%; margin: 0; @@ -2685,7 +2700,7 @@ dd .info-text-small { .stream-config input[type="text"], .stream-config input[type="password"] { /*width:98.5%;*/ - min-width:172px; + min-width:168px; } .stream-config .display_field dd input[type="text"], .stream-config .display_field dd input[type="password"], .stream-config .display_field dd textarea { min-width:99%; @@ -3080,25 +3095,19 @@ tfoot tr th { /*---//////////////////// STREAM SETTINGS STATUS ////////////////////---*/ .stream-status { border: 1px solid; - padding:2px 10px 4px 22px; + padding:2px 12px 4px 26px; margin:2px 1px 10px 0px; width: auto; } dd .stream-status { margin-bottom:1px; } -.stream-status h3 { - font-size: 12px; - font-weight: bold; - line-height: 12px; - padding:0; - margin:5px 4px 2px 4px; -} + .stream-status p { padding:0; - margin:2px 3px 1px 4px; + padding-top: 1px; + margin:4px; color:#4F4F4F; - font-size: 11px; } .stream-config dd.stream-status { padding:2px 10px 4px 22px; @@ -3106,31 +3115,31 @@ dd .stream-status { width: 65%; } .status-good { - background:#e3ffc9 url(images/stream_status.png) no-repeat 5px 5px; + background:#e3ffc9 url(images/stream_status.png) no-repeat 8px 5px; border-color:#54b300; } -.status-good h3 { +.status-good p { color:#54b300; } .status-error { - background:#ffeded url(images/stream_status.png) no-repeat 5px -128px; + background:#ffeded url(images/stream_status.png) no-repeat 8px -126px; border-color:#f90000; } -.status-error h3 { +.status-error p { color:#DA0101; } .status-info { - background:#fff7e0 url(images/stream_status.png) no-repeat 5px -278px; + background:#fff7e0 url(images/stream_status.png) no-repeat 8px -275px; border-color:#f68826; } -.status-info h3 { +.status-info p { color:#f1830c; } .status-disabled { - background:#c8ccc8 url(images/stream_status.png) no-repeat 5px -429px; + background:#c8ccc8 url(images/stream_status.png) no-repeat 8px -426px; border-color:#7f827f; } -.status-disabled h3 { +.status-disabled p { color:#646664; } diff --git a/airtime_mvc/public/js/airtime/preferences/streamsetting.js b/airtime_mvc/public/js/airtime/preferences/streamsetting.js index 7cc65f40a..ac53de073 100644 --- a/airtime_mvc/public/js/airtime/preferences/streamsetting.js +++ b/airtime_mvc/public/js/airtime/preferences/streamsetting.js @@ -94,13 +94,13 @@ function checkLiquidsoapStatus(){ } var html; if(status == "OK"){ - html = '

'+$.i18n._("Connected to the streaming server")+'

'; + html = '
'+$.i18n._("Connected to the streaming server")+'

'; }else if(status == "N/A"){ - html = '

'+$.i18n._("The stream is disabled")+'

'; + html = '

'+$.i18n._("The stream is disabled")+'

'; }else if(status == "waiting"){ - html = '

'+$.i18n._("Getting information from the server...")+'

'; + html = '

'+$.i18n._("Getting information from the server...")+'

'; }else{ - html = '

'+$.i18n._("Can not connect to the streaming server")+'

'+status+'

'; + html = '

'+$.i18n._("Can not connect to the streaming server")+'

'+status+'

'; } $("#s"+id+"Liquidsoap-error-msg-element").html(html); }