Commit 7584c7bb authored by Simon Latapie's avatar Simon Latapie

* http interface: changed index.html for new seek function. small change

  		   in css.
parent 637b0249
...@@ -17,25 +17,30 @@ ...@@ -17,25 +17,30 @@
<h2> <h2>
<a href="http://www.videolan.org">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</h2> <a href="http://www.videolan.org">VLC Media Player <vlc id="value" param1="version" /></a> (http interface)</h2>
<div class="sectitle">Control VLC</div> <div class="sectitle">Control VLC</div>
<div class="section"> <div class="section">
<table class="add"> <table class="add">
<tr>
<td colspan="1">Current State: <vlc id="value" param1="stream_state" /></td>
<td colspan="0" align="right"><a href="info.html">Information</a> <a href="admin/">Administration</a></td>
</tr>
<tr><td> </td></tr>
<tr> <tr>
<form method="get" action=""> <form method="get" action="">
<td><input type="submit" name="control" value="stop" /></td> <td colspan="5">
<td><input type="submit" name="control" value="pause" /></td> <input type="submit" name="control" value="stop" />
<td><input type="submit" name="control" value="previous" /></td> <input type="submit" name="control" value="pause" />
<td><input type="submit" name="control" value="next" /></td> <input type="submit" name="control" value="previous" />
<td><input type="submit" name="control" value="fullscreen" /></td> <input type="submit" name="control" value="next" />
<td><a href="info.html">Information</a></td> <input type="submit" name="control" value="fullscreen" />
<td><a href="admin/">Administration</a></td> </td>
</form> <td colspan="0" align="right">
<form> 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">
<td colspan="0" align="right">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"></td> </td>
</form> </form>
</tr> </tr>
<tr> <tr>
<form> <form>
<td colspan="5">Seek (in percentage): <input type="text" name="percent" size="3">%<input type="submit" name="control" value="seek"></td> <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>
</form> </form>
</tr> </tr>
</table> </table>
...@@ -46,13 +51,11 @@ ...@@ -46,13 +51,11 @@
<table class="add"> <table class="add">
<tr> <tr>
<td>Add a MRL (Media Resource Locator) to the playlist</td> <td>Add a MRL (Media Resource Locator) to the playlist</td>
<td><input type="text" name="mrl" size="40" /></td> <td><input type="text" name="mrl" size="40" /><input type="submit" name="control" value="add" /></td>
<td><input type="submit" name="control" value="add" /></td>
</tr> </tr>
<tr> <tr>
<td>Stream Output:</td> <td>Stream Output:</td>
<td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /></td> <td><input type="text" name="sout" size="40" value="<vlc id="get" param1="sout" param2="string" />" /><input type="submit" name="control" value="sout" /></td>
<td><input type="submit" name="control" value="sout" /></td>
</tr> </tr>
</table> </table>
</form> </form>
......
...@@ -2,17 +2,15 @@ body {font-family:Verdana, Arial, Sans Serif; } ...@@ -2,17 +2,15 @@ body {font-family:Verdana, Arial, Sans Serif; }
h2 { text-align:center; } h2 { text-align:center; }
h3 { text-align:left; } h3 { text-align:left; }
table {width:100%;} table {width:100%;}
table.add {width:70%;} table.add {width:100%;}
div.section {background-color:#DDDDFF; div.section {background-color:#DDDDFF;
border:1pt black solid; border:1pt black solid;
margin-bottom:2em; margin-bottom:2em;
padding:0.5em;} padding:0.5em;}
div.sectitle { background-color:#5A5ABB; div.sectitle {background-color:#5A5ABB;
color:#FFFFFF; color:#FFFFFF;
border:1pt black solid; border:1pt black solid;
width:20%; width:8em;
font-weight:bold;} font-weight:bold;}
tr.ligne1 { background-color:#EEEEFF; } tr.ligne1 { background-color:#EEEEFF; }
tr.ligne2 { background-color:#CCCCFF; } tr.ligne2 { background-color:#CCCCFF; }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment