]> git.sesse.net Git - vlc/blob - share/http/dialogs/playlist
Apply missing sort button to http interface. This was a part of Laurent Mutricy's...
[vlc] / share / http / dialogs / playlist
1 <vlc id="if" param1="0" />
2 vim:syntax=html
3 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 <  playlist: VLC media player web interface - playlist dialog
5 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
6 <  Copyright (C) 2005-2006 the VideoLAN team
7 <  $Id$
8
9 <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
10
11 <  This program is free software; you can redistribute it and/or modify
12 <  it under the terms of the GNU General Public License as published by
13 <  the Free Software Foundation; either version 2 of the License, or
14 <  (at your option) any later version.
15
16 <  This program is distributed in the hope that it will be useful,
17 <  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 <  GNU General Public License for more details.
20
21 <  You should have received a copy of the GNU General Public License
22 <  along with this program; if not, write to the Free Software
23 <  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
24 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25 This dialog needs the following dialogs to be fully functional: <none>
26 <vlc id="end" />
27
28 <div id="playlist" class="dialog" >
29   <div class="title">
30     Playlist
31   </div>
32   <div class="controls">
33     <!--<button id="btn_delete" onmouseover="button_over(this);" onmouseout="button_out(this);">
34       <img src="images/delete.png" alt="Delete" />
35       <span class="btn_text">Delete</span>
36     </button>-->
37     <button id="btn_empty" onclick="pl_empty();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Empty" >
38       <img src="images/empty.png" alt="Empty" />
39       <span class="btn_text">Empty</span>
40     </button>
41     &nbsp;
42     <button id="btn_sort" onclick="pl_sort( 1, 0 );" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Sort" >
43       <img src="images/sort.png" alt="Sort" />
44       <span class="btn_text">Sort</span>
45     </button>
46     &nbsp;
47     <button id="btn_shuffle" onclick="pl_shuffle();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Shuffle" >
48       <img src="images/shuffle.png" alt="Shuffle" />
49       <span class="btn_text">Shuffle</span>
50     </button>
51     <button id="btn_loop" onclick="pl_loop();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Loop" >
52       <img src="images/loop.png" alt="Loop" />
53       <span class="btn_text">Loop</span>
54     </button>
55     <button id="btn_repeat" onclick="pl_repeat();" onmouseover="button_over(this);" onmouseout="button_out(this);" title="Repeat" >
56       <img src="images/repeat.png" alt="Repeat" />
57       <span class="btn_text">Repeat</span>
58     </button>
59     <button id="btn_sort" onmouseover="show_menu('menu_sort');" onmouseout="hide_menu('menu_sort');" title="Sort" >
60       <img src="images/sort.png" alt="Sort" />
61       <span class="btn_text">Sort</span>
62       <div id="menu_sort" class="menu" >
63         <button onclick="pl_sort(1,0);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Sort by Name ascending" >Name</button><br/>
64         <button onclick="pl_sort(1,1);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Sort by Name descending" >Name reverse</button><br/>
65         <button onclick="pl_sort(3,0);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Sort by Author ascending" >Author</button><br/>
66         <button onclick="pl_sort(3,1);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Sort by Author ascending" >Author reverse</button><br/>
67         <button onclick="pl_sort(5,0);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Randomize" >Random</button><br/>
68         <button onclick="pl_sort(7,0);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Sort by Track number" >Track number</button><br/>
69         <button onclick="pl_sort(0,0);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Sort by Id ascending" >Id</button><br/>
70         <button onclick="pl_sort(0,1);hide_menu('menu_sort');" onmouseover="button_over(this);" onmouseout="button_out_menu(this);" title="Sort by Id descending" >Id reverse</button><br/>
71       </div>
72     </button>
73   </div>
74   <div id="playtree">
75     (?)
76   </div>
77 </div>