Merge pull request #595 from frecuencialibre/collapse-show-edit-sections
UX: collapse advanced configuration sections in Schedule Dialog
This commit is contained in:
commit
ef732f8d59
2 changed files with 12 additions and 4 deletions
|
@ -11,10 +11,6 @@
|
|||
<div id="schedule-show-what" class="collapsible-content">
|
||||
<?php echo $this->what; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Automatic Playlist") ?></h3>
|
||||
<div id="schedule-show-what" class="collapsible-content">
|
||||
<?php echo $this->autoplaylist; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("When") ?></h3>
|
||||
<div id="schedule-show-when" class="collapsible-content">
|
||||
<?php
|
||||
|
@ -29,6 +25,10 @@
|
|||
|
||||
<?php echo $this->repeats; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Automatic Playlist") ?></h3>
|
||||
<div id="schedule-show-auto" class="collapsible-content">
|
||||
<?php echo $this->autoplaylist; ?>
|
||||
</div>
|
||||
<h3 class="collapsible-header"><span class="arrow-icon"></span><?php echo _("Live Stream Input") ?></h3>
|
||||
<div id="live-stream-override" class="collapsible-content">
|
||||
<?php echo $this->live; ?>
|
||||
|
|
|
@ -16,6 +16,14 @@ function openAddShowForm(nowOrFuture) {
|
|||
$("#add-show-form").show();
|
||||
|
||||
windowResize();
|
||||
|
||||
// collapse advanced configuration sections
|
||||
$('#schedule-show-auto').hide();
|
||||
$('#live-stream-override').hide();
|
||||
$('#schedule-record-rebroadcast').hide();
|
||||
$('#schedule-show-who').hide();
|
||||
$('#schedule-show-style').hide();
|
||||
|
||||
}
|
||||
$("#schedule-show-what").show(0, function(){
|
||||
$add_show_name = $("#add_show_name");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue