Rename "autoloading playlists", add help texts
This commit is contained in:
parent
faa06b14bd
commit
0cf27e91e2
|
@ -15,7 +15,7 @@ class Application_Form_AddShowAutoPlaylist extends Zend_Form_SubForm
|
||||||
|
|
||||||
// Add autoplaylist checkbox element
|
// Add autoplaylist checkbox element
|
||||||
$this->addElement('checkbox', 'add_show_has_autoplaylist', array(
|
$this->addElement('checkbox', 'add_show_has_autoplaylist', array(
|
||||||
'label' => _('Auto Schedule Playlist ?'),
|
'label' => _('Add Autoloading Playlist ?'),
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'class' => 'input_text',
|
'class' => 'input_text',
|
||||||
'decorators' => array('ViewHelper')
|
'decorators' => array('ViewHelper')
|
||||||
|
@ -29,7 +29,7 @@ class Application_Form_AddShowAutoPlaylist extends Zend_Form_SubForm
|
||||||
$this->addElement($autoPlaylistSelect);
|
$this->addElement($autoPlaylistSelect);
|
||||||
// Add autoplaylist checkbox element
|
// Add autoplaylist checkbox element
|
||||||
$this->addElement('checkbox', 'add_show_autoplaylist_repeat', array(
|
$this->addElement('checkbox', 'add_show_autoplaylist_repeat', array(
|
||||||
'label' => _('Repeat AutoPlaylist Until Show is Full ?'),
|
'label' => _('Repeat Playlist Until Show is Full ?'),
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'class' => 'input_text',
|
'class' => 'input_text',
|
||||||
'decorators' => array('ViewHelper')
|
'decorators' => array('ViewHelper')
|
||||||
|
|
|
@ -7,9 +7,11 @@
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<?php echo $this->element->getElement('add_show_has_autoplaylist') ?>
|
<?php echo $this->element->getElement('add_show_has_autoplaylist') ?>
|
||||||
|
<span class="show_autoplaylist_help_icon" aria-describedby="ui-tooltip-2"></span>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<div id="add_show_playlist_dropdown">
|
<div id="add_show_playlist_dropdown">
|
||||||
|
<p><?php echo _("Autoloading playlists' contents are added to shows one hour before the show airs. <a target='_blank' href='http://libretime.org/manual/calendar/#autoloading-playlist'>More information</a>"); ?></p>
|
||||||
<dt id="add_show_autoplaylist_id">
|
<dt id="add_show_autoplaylist_id">
|
||||||
<label for="add_show_autoplaylist_id" class="required">
|
<label for="add_show_autoplaylist_id" class="required">
|
||||||
<?php echo $this->element->getElement('add_show_autoplaylist_id')->getLabel()?>
|
<?php echo $this->element->getElement('add_show_autoplaylist_id')->getLabel()?>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
<?php echo $this->repeats; ?>
|
<?php echo $this->repeats; ?>
|
||||||
</div>
|
</div>
|
||||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Automatic Playlist") ?></h3>
|
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Autoloading Playlist") ?></h3>
|
||||||
<div id="schedule-show-auto" class="collapsible-content">
|
<div id="schedule-show-auto" class="collapsible-content">
|
||||||
<?php echo $this->autoplaylist; ?>
|
<?php echo $this->autoplaylist; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -85,6 +85,9 @@ label.wrapp-label input[type="checkbox"] {
|
||||||
#schedule-add-show fieldset dd input[type="checkbox"] {
|
#schedule-add-show fieldset dd input[type="checkbox"] {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
}
|
}
|
||||||
|
#schedule-show-auto input[type="checkbox"] {
|
||||||
|
margin-left: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
#add_show_day_check-element.block-display {
|
#add_show_day_check-element.block-display {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
#schedule_iframe, .tab_content {
|
||||||
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
width: 770px;
|
||||||
|
max-width: 770px;
|
||||||
|
margin: -70px auto 0px -380px;
|
||||||
|
height: calc(100vh - 200px) !important;
|
||||||
|
padding: 10px;
|
||||||
|
padding-left: 10px;
|
||||||
|
margin-bottom: -100px;
|
||||||
|
padding-top: 50px;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
|
@ -210,8 +210,9 @@ img.logo
|
||||||
display:inline-block; zoom:1;
|
display:inline-block; zoom:1;
|
||||||
width:14px; height:14px;
|
width:14px; height:14px;
|
||||||
background:url(images/icon_info.png) 0 0 no-repeat;
|
background:url(images/icon_info.png) 0 0 no-repeat;
|
||||||
top:2px; right:7px; left: 3px;
|
left: 3px;
|
||||||
line-height:16px !important;
|
line-height:16px !important;
|
||||||
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Clearfix */
|
/* Clearfix */
|
||||||
|
@ -2888,7 +2889,6 @@ dt.block-display.info-block {
|
||||||
text-align:center;
|
text-align:center;
|
||||||
letter-spacing:-.3px;
|
letter-spacing:-.3px;
|
||||||
text-shadow: rgba(248,248,248,.3) 0 1px 0, rgba(0,0,0,.8) 0 -1px 0;
|
text-shadow: rgba(248,248,248,.3) 0 1px 0, rgba(0,0,0,.8) 0 -1px 0;
|
||||||
rgba(51,51,51,.9)
|
|
||||||
}
|
}
|
||||||
.error-content p {
|
.error-content p {
|
||||||
color: #acacac;
|
color: #acacac;
|
||||||
|
|
|
@ -310,17 +310,6 @@ function setAddShowEvents(form) {
|
||||||
$(this).blur();
|
$(this).blur();
|
||||||
form.find("#add_show_playlist_dropdown").toggle();
|
form.find("#add_show_playlist_dropdown").toggle();
|
||||||
form.find("#add_show_autoplaylist_repeat").toggle();
|
form.find("#add_show_autoplaylist_repeat").toggle();
|
||||||
|
|
||||||
var checkBoxSelected = false;
|
|
||||||
|
|
||||||
//must switch rebroadcast displays
|
|
||||||
if(form.find("#add_show_has_autoplaylist").attr('checked')) {
|
|
||||||
form.find("#add_show_playlist_dropdown").show();
|
|
||||||
form.find("#add_show_autoplaylist_repeat").show();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
form.find("#add_show_playlist_downdown").hide();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
form.find("#add_show_repeats").click(function(){
|
form.find("#add_show_repeats").click(function(){
|
||||||
|
@ -491,6 +480,27 @@ function setAddShowEvents(form) {
|
||||||
at: "right center"
|
at: "right center"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
form.find(".show_autoplaylist_help_icon").qtip({
|
||||||
|
content: {
|
||||||
|
text: $.i18n._("Autoloading playlists' contents are added to shows one hour before the show airs. <a target='_blank' href='http://libretime.org/manual/calendar/#autoloading-playlist'>More information</a>")
|
||||||
|
},
|
||||||
|
hide: {
|
||||||
|
delay: 500,
|
||||||
|
fixed: true
|
||||||
|
},
|
||||||
|
style: {
|
||||||
|
border: {
|
||||||
|
width: 0,
|
||||||
|
radius: 4
|
||||||
|
},
|
||||||
|
classes: "ui-tooltip-dark ui-tooltip-rounded"
|
||||||
|
},
|
||||||
|
position: {
|
||||||
|
my: "left bottom",
|
||||||
|
at: "right center"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
form.find(".airtime_auth_help_icon").qtip({
|
form.find(".airtime_auth_help_icon").qtip({
|
||||||
content: {
|
content: {
|
||||||
|
|
Loading…
Reference in New Issue