Ui for show scheduling
This commit is contained in:
parent
a4fb54cd01
commit
61c826f8ed
5 changed files with 37 additions and 11 deletions
|
@ -1,5 +1,7 @@
|
|||
<div id="schedule_playlist_dialog">
|
||||
<input id="schedule_playlist_search" type="text"></input>
|
||||
<ul id="schedule_playlist_choice"></ul>
|
||||
<ul id="schedule_playlist_chosen"></ul>
|
||||
<div>
|
||||
<ul id="schedule_playlist_choice"></ul>
|
||||
<ul id="schedule_playlist_chosen"></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<?php if(count($this->showContent) > 0) : ?>
|
||||
<?php foreach($this->showContent as $pl) : ?>
|
||||
<li id="g_<?php echo $pl["pl_group"] ?>">
|
||||
<div>
|
||||
<span><?php echo $pl["pl_name"] ?></span>
|
||||
<span><?php echo $pl["pl_length"] ?></span>
|
||||
<div><span class="ui-icon ui-icon-triangle-1-e"></span></div>
|
||||
<div><?php echo $pl["pl_name"] ?></div>
|
||||
<div><?php echo $pl["pl_creator"] ?></div>
|
||||
<div><?php echo $pl["pl_length"] ?></div>
|
||||
<div><span class="ui-icon ui-icon-close"></span></div>
|
||||
<div class="group_list" style="display:none">
|
||||
<div class="sched_description"><?php echo $pl["pl_description"] ?></div>
|
||||
<?php foreach($pl["pl_content"] as $file) : ?>
|
||||
|
@ -15,11 +16,9 @@
|
|||
<div><?php echo $file["f_artist"] ?></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php else : ?>
|
||||
<h3><a href="#">Empty</a></h3>
|
||||
<div>No Playlists</div>
|
||||
<li>No Playlists</li>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#Note: project.home is automatically generated by the propel-install script.
|
||||
#Any manual changes to this value will be overwritten.
|
||||
project.home = /path/to/airtime
|
||||
project.home = /home/naomi/dev-campcaster/campcaster
|
||||
project.build = ${project.home}/build
|
||||
|
||||
#Database driver
|
||||
|
@ -21,4 +21,4 @@ propel.phpconf.dir = ${propel.output.dir}/application/configs
|
|||
propel.sql.dir = ${project.build}/sql
|
||||
|
||||
# set the name for the configuration file
|
||||
propel.runtime.phpconf.file = propel-config.php
|
||||
# set the name for the configuration file
|
||||
|
|
|
@ -5,3 +5,28 @@
|
|||
div.ui-datepicker {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
#schedule_playlist_dialog ul {
|
||||
list-style-type: none;
|
||||
float: left;
|
||||
width: 400px;
|
||||
height: 200px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#schedule_playlist_chosen li {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
#schedule_playlist_chosen li > div {
|
||||
float: left;
|
||||
margin: 0 5px 2px 0;
|
||||
}
|
||||
|
||||
#schedule_playlist_chosen li div.group_list {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.sched_description {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
|
|
@ -255,7 +255,7 @@ function openScheduleDialog(show) {
|
|||
autoOpen: false,
|
||||
title: 'Schedule Playlist',
|
||||
width: 950,
|
||||
height: 400,
|
||||
height: 450,
|
||||
close: closeDialog,
|
||||
buttons: {"Ok": function() {
|
||||
dialog.remove();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue