diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-29 23:53:22 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-29 23:55:54 +0200 |
commit | 94e25ecb0c2dcd895fb080b3b2cf296d58676e17 (patch) | |
tree | 509057b6d0e6264c610279c38a24268e6e49abc5 /apps/media/templates | |
parent | bafd684eb694ed0bd86b46ff7cd36382c1cebc34 (diff) | |
download | nextcloud-server-94e25ecb0c2dcd895fb080b3b2cf296d58676e17.tar.gz nextcloud-server-94e25ecb0c2dcd895fb080b3b2cf296d58676e17.zip |
Some much needed interface work on the media player
Diffstat (limited to 'apps/media/templates')
-rw-r--r-- | apps/media/templates/collection.php | 9 | ||||
-rw-r--r-- | apps/media/templates/music.php | 4 | ||||
-rw-r--r-- | apps/media/templates/playlist.php | 30 |
3 files changed, 41 insertions, 2 deletions
diff --git a/apps/media/templates/collection.php b/apps/media/templates/collection.php new file mode 100644 index 00000000000..e132eeae07a --- /dev/null +++ b/apps/media/templates/collection.php @@ -0,0 +1,9 @@ +<ul id='collection'> + <li class='artist'> + <img src="<?php echo image_path('files','loading.gif') ?>" alt='loading'/>Loading Collection... + </li> + <li class='template'> + <span></span> + <button>Add</button> + </li> +</ul>
\ No newline at end of file diff --git a/apps/media/templates/music.php b/apps/media/templates/music.php index 47ad64fa7c6..7a61d59c9ba 100644 --- a/apps/media/templates/music.php +++ b/apps/media/templates/music.php @@ -1,3 +1,3 @@ <?php echo $_['player'];?> -<div id='collection'><ul/></div> -<ul id="playlist"/>
\ No newline at end of file +<?php echo $_['collection'];?> +<?php echo $_['playlist'];?> diff --git a/apps/media/templates/playlist.php b/apps/media/templates/playlist.php new file mode 100644 index 00000000000..bdc6ef59bb0 --- /dev/null +++ b/apps/media/templates/playlist.php @@ -0,0 +1,30 @@ +<table id='playlist'> + <thead> + <tr> + <th class='name'><input id='selectAll' type='checkbox'>Name</th> + <th class='artist'>Artist</th> + <th class='album'>Album</th> + <th class='time'>Time</th> + <th class='plays'>Plays</th> + </tr> + </thead> + <tbody> + <tr> + <td> + The playlist is empty + </td> + </tr> + </tbody> + <tfoot> + <tr class='template'> + <td class='name'> + <input type='checkbox'> + <span></span> + </td> + <td class='artist'></td> + <td class='album'></td> + <td class='time'></td> + <td class='plays'></td> + </tr> + </tfoot> +</table>
\ No newline at end of file |