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">
|
<div id="schedule_playlist_dialog">
|
||||||
<input id="schedule_playlist_search" type="text"></input>
|
<input id="schedule_playlist_search" type="text"></input>
|
||||||
|
<div>
|
||||||
<ul id="schedule_playlist_choice"></ul>
|
<ul id="schedule_playlist_choice"></ul>
|
||||||
<ul id="schedule_playlist_chosen"></ul>
|
<ul id="schedule_playlist_chosen"></ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
<?php if(count($this->showContent) > 0) : ?>
|
<?php if(count($this->showContent) > 0) : ?>
|
||||||
<?php foreach($this->showContent as $pl) : ?>
|
<?php foreach($this->showContent as $pl) : ?>
|
||||||
<li id="g_<?php echo $pl["pl_group"] ?>">
|
<li id="g_<?php echo $pl["pl_group"] ?>">
|
||||||
<div>
|
<div><span class="ui-icon ui-icon-triangle-1-e"></span></div>
|
||||||
<span><?php echo $pl["pl_name"] ?></span>
|
<div><?php echo $pl["pl_name"] ?></div>
|
||||||
<span><?php echo $pl["pl_length"] ?></span>
|
|
||||||
<div><?php echo $pl["pl_creator"] ?></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="group_list" style="display:none">
|
||||||
<div class="sched_description"><?php echo $pl["pl_description"] ?></div>
|
<div class="sched_description"><?php echo $pl["pl_description"] ?></div>
|
||||||
<?php foreach($pl["pl_content"] as $file) : ?>
|
<?php foreach($pl["pl_content"] as $file) : ?>
|
||||||
|
@ -15,11 +16,9 @@
|
||||||
<div><?php echo $file["f_artist"] ?></div>
|
<div><?php echo $file["f_artist"] ?></div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<h3><a href="#">Empty</a></h3>
|
<li>No Playlists</li>
|
||||||
<div>No Playlists</div>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#Note: project.home is automatically generated by the propel-install script.
|
#Note: project.home is automatically generated by the propel-install script.
|
||||||
#Any manual changes to this value will be overwritten.
|
#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
|
project.build = ${project.home}/build
|
||||||
|
|
||||||
#Database driver
|
#Database driver
|
||||||
|
@ -21,4 +21,4 @@ propel.phpconf.dir = ${propel.output.dir}/application/configs
|
||||||
propel.sql.dir = ${project.build}/sql
|
propel.sql.dir = ${project.build}/sql
|
||||||
|
|
||||||
# set the name for the configuration file
|
# 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 {
|
div.ui-datepicker {
|
||||||
font-size: 75%;
|
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,
|
autoOpen: false,
|
||||||
title: 'Schedule Playlist',
|
title: 'Schedule Playlist',
|
||||||
width: 950,
|
width: 950,
|
||||||
height: 400,
|
height: 450,
|
||||||
close: closeDialog,
|
close: closeDialog,
|
||||||
buttons: {"Ok": function() {
|
buttons: {"Ok": function() {
|
||||||
dialog.remove();
|
dialog.remove();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue