* index.html: little fix with volume textbox
[vlc.git] / share / http / index.html
blob71f4492a9510bfa4ce12a80b219ac39ce5573df0
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5 <head>
6 <title>VLC Media Player</title>
7 <link href="/style.css" title="Default" rel="stylesheet" />
9 <vlc id="if" param1="url_param"/>
10 <meta http-equiv="refresh" content="0;URL=/" />
11 <vlc id="end" />
13 <vlc id="control" param1="stop,pause,previous,next,add,sout,play,delete,empty,seek,fullscreen,keep,volume,sort" />
14 <vlc id="set" param1="sout" param2="string" />
15 </head>
16 <body>
17 <h2>
18 <a href="http://www.videolan.org">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</h2>
19 <div class="sectitle">Control VLC</div>
20 <div class="section">
21 <table class="add">
22 <tr>
23 <td colspan="1">Current State: <vlc id="value" param1="stream_state" /></td>
24 <td colspan="0" align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
25 </tr>
26 <tr><td> </td></tr>
27 <tr>
28 <form method="get" action="">
29 <td colspan="5">
30 <input type="submit" name="control" value="stop" />
31 <input type="submit" name="control" value="pause" />
32 <input type="submit" name="control" value="previous" />
33 <input type="submit" name="control" value="next" />
34 <input type="submit" name="control" value="fullscreen" />
35 </td>
36 </form>
37 <form>
38 <td colspan="0" align="right">
39 Current Volume: <vlc id="value" param1="volume" /> <input type="text" name="value" size="5"><input type="hidden" name="control" value="volume"><input type="submit" name="Set" value="Set">
40 </td>
41 </form>
42 </tr>
43 <tr>
44 <form>
45 <td colspan="8"><input type="submit" name="seek_value" value="-1min"><input type="text" name="seek_value" size="12"><input type="hidden" name="control" value="seek"><input type="submit" name="seek_value" value="+1min"> ( Seek Textbox: for example "+12min 42sec", "01:13:43", "-12%" etc... )</td>
46 </form>
47 </tr>
48 </table>
49 </div>
50 <div class="sectitle">Add</div>
51 <div class="section">
52 <form method="get" action="" enctype="text/plain" >
53 <table class="add">
54 <tr>
55 <td>Add a MRL (Media Resource Locator) to the playlist</td>
56 <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
57 </tr>
58 <tr>
59 <td>Stream Output:</td>
60 <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
61 </tr>
62 </table>
63 </form>
64 </div>
66 <div class="sectitle">VLC Playlist</div>
67 <div class="section">
69 <form method="get" action="">
70 <table>
71 <vlc id="foreach" param1="pl" param2="playlist" />
72 <tr class="<vlc id="if" param1="2 pl.index % 0 =" />ligne1<vlc id="else" />ligne2<vlc id="end" />">
73 <td>
74 <input type=checkbox name="item" value="<vlc id="value" param1="pl.index" />">
75 <vlc id="if" param1="pl.current" />
76 <b>
77 <vlc id="end" />
78 <a href="?control=play&item=<vlc id="value" param1="pl.index" />"><vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.name" /></a> <vlc id="if" param1="pl.current" />
79 </b>
80 <vlc id="end" />
81 </td></tr>
82 <vlc id="end" />
83 </table>
84 <td><input type="submit" name="control" value="delete" /></td>
85 <td><input type="submit" name="control" value="keep" /></td>
86 </form>
87 <tr>
88 <td>
89 <form>
90 <input type="submit" name="control" value="sort" /> by
91 <select name="type">
92 <option value="title">title
93 <option value="group">group
94 <option value="author">author
95 </select> with
96 <select name="order">
97 <option value="0">normal order
98 <option value="1">reverse order
99 </select>
100 </form>
101 </td>
102 </tr>
103 </div>
104 <hr/>
105 <p> <vlc id="value" param1="copyright" /> </p>
106 </body>
107 </html>