diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-22 06:30:52 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-22 06:30:52 +0200 |
commit | 38f1cffab39ae763f3929bcc37e6f8746f582083 (patch) | |
tree | a833cacb98acc372f40dda0c757904b4cba9c331 /apps/media/templates | |
parent | f441059b015b01af1fcafcdeeef8727f19d0d2d5 (diff) | |
download | nextcloud-server-38f1cffab39ae763f3929bcc37e6f8746f582083.tar.gz nextcloud-server-38f1cffab39ae763f3929bcc37e6f8746f582083.zip |
import media app
Diffstat (limited to 'apps/media/templates')
-rw-r--r-- | apps/media/templates/music.php | 34 | ||||
-rw-r--r-- | apps/media/templates/settings.php | 23 |
2 files changed, 57 insertions, 0 deletions
diff --git a/apps/media/templates/music.php b/apps/media/templates/music.php new file mode 100644 index 00000000000..06cc1f56152 --- /dev/null +++ b/apps/media/templates/music.php @@ -0,0 +1,34 @@ +<div id='jplayer_1'></div> +<div id='collection'><ul/></div> +<div class="jp-audio"> + <div class="jp-type-playlist"> + <div id="jp_interface_1" class="jp-interface"> + <ul class="jp-controls"> + <li><a href="#" class="jp-play" tabindex="1">play</a></li> + <li><a href="#" class="jp-pause" tabindex="1">pause</a></li> + <li><a href="#" class="jp-stop" tabindex="1">stop</a></li> + <li><a href="#" class="jp-mute" tabindex="1">mute</a></li> + <li><a href="#" class="jp-unmute" tabindex="1">unmute</a></li> + <li><a href="#" class="jp-previous" tabindex="1">previous</a></li> + <li><a href="#" class="jp-next" tabindex="1">next</a></li> + </ul> + <div class="jp-progress"> + <div class="jp-seek-bar"> + <div class="jp-play-bar"></div> + </div> + </div> + <div class="jp-volume-bar"> + <div class="jp-volume-bar-value"></div> + </div> + <div class="jp-current-time"></div> + <div class="jp-current-time"></div> + <div class="jp-duration"></div> + </div> + <div id="jp_playlist_1" class="jp-playlist"> + <ul> + <!-- The method Playlist.displayPlaylist() uses this unordered list --> + <li></li> + </ul> + </div> + </div> +</div>
\ No newline at end of file diff --git a/apps/media/templates/settings.php b/apps/media/templates/settings.php new file mode 100644 index 00000000000..45c60761507 --- /dev/null +++ b/apps/media/templates/settings.php @@ -0,0 +1,23 @@ +<form id="quota"> + <fieldset> + <legend>Music Directories</legend> + <ul id='folderlist'> + <?php foreach($_['folders'] as $folder):?> + <li> + <?php echo $folder['name'];?> + <span class='right'> + <?php echo $folder['songs'];?> songs + <button class='rescan prettybutton'>Rescan</button> + <button class='delete prettybutton'>Delete</button> + </span> + </li> + <?php endforeach; ?> + <li> + <input placeholder='path' id='scanpath'/> + <span class='right'><button class='scan prettybutton'>Scan</button></span> + </li> + </ul> + <label for="autoupdate" title='Automaticaly scan new files in above directories'>Auto Update</label> + <input type='checkbox' <?php if($_['autoupdate']){echo 'checked="checked"';};?> id='autoupdate' title='Automaticaly scan new files in above directories'> + </fieldset> +</form>
\ No newline at end of file |