diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 17:53:03 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 17:53:03 +0200 |
commit | 8c34ea496ae8961c4aea29da67b2b1776034a2c4 (patch) | |
tree | 87c54e27645df52ca8c60ce0ca9c762dc287cfb3 /apps/media/templates | |
parent | 2f95b829340369accb8b3f38034ecd38cfdf9c52 (diff) | |
download | nextcloud-server-8c34ea496ae8961c4aea29da67b2b1776034a2c4.tar.gz nextcloud-server-8c34ea496ae8961c4aea29da67b2b1776034a2c4.zip |
initial work on the media player interface rework
it looks bad atm bu should work enough to be stylable
Diffstat (limited to 'apps/media/templates')
-rw-r--r-- | apps/media/templates/collection.php | 25 | ||||
-rw-r--r-- | apps/media/templates/music.php | 2 | ||||
-rw-r--r-- | apps/media/templates/player.php | 1 | ||||
-rw-r--r-- | apps/media/templates/playlist.php | 6 |
4 files changed, 15 insertions, 19 deletions
diff --git a/apps/media/templates/collection.php b/apps/media/templates/collection.php index f47cba24868..8fd437f769b 100644 --- a/apps/media/templates/collection.php +++ b/apps/media/templates/collection.php @@ -4,14 +4,17 @@ <input type='button' class='start' value='Recan Collection'></input> <input type='button' class='stop' style='display:none' value='Pause'></input> </div> -<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 class='add'>Add</button> - <button class='play'>Play</button> - </li> -</ul> - +<table id='collection'> + <thead> + <th>Artist</th> + <th>Album</th> + <th>Title</th> + </thead> + <tbody> + <tr class='template'> + <td class='artist'><a/></td> + <td class='album'><a/></td> + <td class='title'><a/></td> + </tr> + </tbody> +</table> diff --git a/apps/media/templates/music.php b/apps/media/templates/music.php index 7a61d59c9ba..dd393535bb9 100644 --- a/apps/media/templates/music.php +++ b/apps/media/templates/music.php @@ -1,3 +1,3 @@ <?php echo $_['player'];?> -<?php echo $_['collection'];?> <?php echo $_['playlist'];?> +<?php echo $_['collection'];?> diff --git a/apps/media/templates/player.php b/apps/media/templates/player.php index 31b06e097bc..9d6ead458f9 100644 --- a/apps/media/templates/player.php +++ b/apps/media/templates/player.php @@ -2,7 +2,6 @@ <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> diff --git a/apps/media/templates/playlist.php b/apps/media/templates/playlist.php index bdc6ef59bb0..f99e8a0608d 100644 --- a/apps/media/templates/playlist.php +++ b/apps/media/templates/playlist.php @@ -3,9 +3,6 @@ <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> @@ -22,9 +19,6 @@ <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 |