CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly.
This commit is contained in:
parent
514777e8d2
commit
b11cbd8159
4546 changed files with 138 additions and 51 deletions
|
@ -0,0 +1 @@
|
|||
<br /><br /><center>View script for controller <b>Playlist</b> and script/action name <b>addItem</b></center>
|
|
@ -0,0 +1 @@
|
|||
<br /><br /><center>View script for controller <b>Playlist</b> and script/action name <b>close</b></center>
|
|
@ -0,0 +1 @@
|
|||
<br /><br /><center>View script for controller <b>Playlist</b> and script/action name <b>deleteActive</b></center>
|
|
@ -0,0 +1 @@
|
|||
<br /><br /><center>View script for controller <b>Playlist</b> and script/action name <b>deleteItem</b></center>
|
|
@ -0,0 +1 @@
|
|||
<br /><br /><center>View script for controller <b>Playlist</b> and script/action name <b>delete</b></center>
|
46
airtime_mvc/application/views/scripts/playlist/edit.phtml
Normal file
46
airtime_mvc/application/views/scripts/playlist/edit.phtml
Normal file
|
@ -0,0 +1,46 @@
|
|||
<form name="PL">
|
||||
<div id="pl_name"><?php echo $this->pl->getName() ?></div>
|
||||
<div id="pl_length"><?php echo $this->pl->getLength() ?></div>
|
||||
<div class="pl_head">
|
||||
<span class="pl_input"><input type="checkbox" name="all"></span>
|
||||
<span class="pl_title">Title</span>
|
||||
<span class="pl_artist">Creator</span>
|
||||
<span class="pl_length">Length</span>
|
||||
<span class="pl_cue_in">Cue In</span>
|
||||
<span class="pl_cue_out">Cue Out</span>
|
||||
<span class="pl_playlength">Playlength</span>
|
||||
</div>
|
||||
<div class="pl_main">
|
||||
<ul id="pl_sortable">
|
||||
<?php
|
||||
if (count($this->pl->getContents())) {
|
||||
echo $this->partialLoop('playlist/playlistEditorTable.phtml', $this->pl->getContents());
|
||||
}
|
||||
else {
|
||||
echo '<li class="pl_empty">Empty playlist</li>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</form>
|
||||
<div class="pl_footer">
|
||||
<span id="pl_remove_selected">Remove Selected</span>
|
||||
<span id="pl_close">
|
||||
<a href="<?php echo $this->url(
|
||||
array(
|
||||
'controller' => 'Playlist',
|
||||
'action' => 'close'
|
||||
),
|
||||
'default',
|
||||
true) ?>">Close Playlist</a>
|
||||
</span>
|
||||
<span id="pl_delete">
|
||||
<a href="<?php echo $this->url(
|
||||
array(
|
||||
'controller' => 'Playlist',
|
||||
'action' => 'delete-active'
|
||||
),
|
||||
'default',
|
||||
true) ?>">Delete Playlist</a>
|
||||
</span>
|
||||
</div>
|
35
airtime_mvc/application/views/scripts/playlist/index.phtml
Normal file
35
airtime_mvc/application/views/scripts/playlist/index.phtml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<button id="spl_new" class="ui-button" role="button" aria-disabled="false">New</button>
|
||||
<?php if (isset($this->pl)) : ?>
|
||||
<button id="spl_delete" class="ui-button" role="button" aria-disabled="false">Delete</button>
|
||||
<a href="#" id="spl_crossfade" class="ui-button ui-button-icon-only ui-widget ui-state-default crossfade-main-button">
|
||||
<span class="ui-icon crossfade-main-icon"></span><span class="ui-button-text">Playlist crossfade</span>
|
||||
</a>
|
||||
<button id="spl_close" class="ui-button right-floated" role="button" aria-disabled="false">Done Editing</button>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (isset($this->pl)) : ?>
|
||||
<h3 id="spl_name"><?php echo $this->pl->getName(); ?></h3>
|
||||
<h4 id="spl_length"><?php echo $this->pl->getLength(); ?></h4>
|
||||
|
||||
<div id="crossfade_main" class="crossfade-main clearfix" style="display:none;">
|
||||
<span class="ui-icon ui-icon-closethick"></span>
|
||||
<dl id="spl_editor-main" class="inline-list">
|
||||
<dt>Fade in:</dt>
|
||||
<dd id="spl_fade_in_main"><span contenteditable="true" class="spl_text_input">00:00:00</span></dd>
|
||||
<dd class="edit-error"></dd>
|
||||
<dt>Fade out:</dt>
|
||||
<dd id="spl_fade_out_main"><span contenteditable="true" class="spl_text_input">00:00:00</span></dd>
|
||||
<dd class="edit-error"></dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
<div class="" style="clear:both; float:none; width:100%;">
|
||||
<ul id="spl_sortable">
|
||||
<?php echo $this->render('playlist/update.phtml') ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
<div>No open playlist</div>
|
||||
<?php endif; ?>
|
|
@ -0,0 +1,3 @@
|
|||
<form method="post" action="" enctype="application/x-www-form-urlencoded">
|
||||
<?php echo $this->view->fieldset; ?>
|
||||
</form>
|
|
@ -0,0 +1 @@
|
|||
<br /><br /><center>View script for controller <b>Playlist</b> and script/action name <b>moveItem</b></center>
|
4
airtime_mvc/application/views/scripts/playlist/new.phtml
Normal file
4
airtime_mvc/application/views/scripts/playlist/new.phtml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<h3 class="plain">Playlist Metadata</h3>
|
||||
<form method="post" action="" enctype="application/x-www-form-urlencoded">
|
||||
<?php echo $this->fieldset; ?>
|
||||
</form>
|
14
airtime_mvc/application/views/scripts/playlist/set-cue.phtml
Normal file
14
airtime_mvc/application/views/scripts/playlist/set-cue.phtml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<dl id="spl_cue_editor" class="inline-list">
|
||||
<dt>Cue In:</dt>
|
||||
<dd id="spl_cue_in_<?php echo $this->pos; ?>" class="spl_cue_in">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueIn; ?></span>
|
||||
</dd>
|
||||
<dd class="edit-error"></dd>
|
||||
<dt>Cue Out:</dt>
|
||||
<dd id="spl_cue_out_<?php echo $this->pos; ?>" class="spl_cue_out">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->cueOut; ?></span>
|
||||
</dd>
|
||||
<dd class="edit-error"></dd>
|
||||
<dt>Original Length:</dt>
|
||||
<dd id="spl_original"><span><?php echo $this->origLength; ?></span></dd>
|
||||
</dl>
|
|
@ -0,0 +1,12 @@
|
|||
<dl id="spl_editor" class="inline-list">
|
||||
<dt>Fade out:</dt>
|
||||
<dd id="spl_fade_out_<?php echo $this->pos; ?>" class="spl_fade_out">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeOut; ?></span>
|
||||
</dd>
|
||||
<dd class="edit-error"></dd>
|
||||
<dt>Fade in:</dt>
|
||||
<dd id="spl_fade_in_<?php echo $this->pos + 1; ?>" class="spl_fade_in">
|
||||
<span contenteditable="true" class="spl_text_input"><?php echo $this->fadeIn; ?></span>
|
||||
</dd>
|
||||
<dd class="edit-error"></dd>
|
||||
</dl>
|
|
@ -0,0 +1 @@
|
|||
<br /><br /><center>View script for controller <b>Playlist</b> and script/action name <b>setPlaylistFades</b></center>
|
37
airtime_mvc/application/views/scripts/playlist/update.phtml
Normal file
37
airtime_mvc/application/views/scripts/playlist/update.phtml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php if (count($this->pl->getContents())) : ?>
|
||||
|
||||
<?php $i = 0; ?>
|
||||
<?php foreach($this->pl->getContents() as $item) : ?>
|
||||
<li class="ui-state-default" id="spl_<?php echo $i ?>">
|
||||
<div class="list-item-container">
|
||||
<a href="javascript:void(0);" class="big_play"
|
||||
onclick="audioPreview('<?php echo $item["CcFiles"]["gunid"].".".pathinfo($item["CcFiles"]["name"], PATHINFO_EXTENSION);?>',
|
||||
'spl_<?php echo $i ?>')"><span class="ui-icon ui-icon-play"></span></a>
|
||||
|
||||
<div class="text-row top">
|
||||
<span class="spl_playlength"><?php echo $item["cliplength"] ?></span>
|
||||
<span class="spl_cue ui-state-default"></span>
|
||||
<span class="spl_title"><?php echo $item["CcFiles"]['track_title'] ?></span>
|
||||
</div>
|
||||
<div class="text-row">
|
||||
<span class="spl_artist"><?php echo $item["CcFiles"]['artist_name'] ?></span>
|
||||
</div>
|
||||
<?php if($i < count($this->pl->getContents()) -1): ?>
|
||||
<div id="fade_<?php echo $i ?>" class="spl_fade_control ui-state-default"></div>
|
||||
<?php endif; ?>
|
||||
<span class="ui-icon ui-icon-closethick"></span>
|
||||
</div>
|
||||
|
||||
<div id="cues_<?php echo $i ?>" class="cue-edit clearfix" style="display: none"></div>
|
||||
|
||||
<?php if($i < count($this->pl->getContents()) -1): ?>
|
||||
<div id="crossfade_<?php echo $i ?>-<?php echo $i+1 ?>" class="crossfade clearfix" style="display: none"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
</li>
|
||||
<?php $i = $i+1; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php else : ?>
|
||||
<li class="spl_empty">Empty playlist</li>
|
||||
<?php endif; ?>
|
Loading…
Add table
Add a link
Reference in a new issue