Commit 48856e6e authored by Laurent Aimar's avatar Laurent Aimar

* vlm/* : begining of vlm http interface pages.

parent 9e2e768f
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>VLC media player</title>
<link href="/style.css" title="Default" rel="stylesheet" />
<vlc id="control" param1="vlm_setup,vlm_new,vlm_del,vlm_play,vlm_pause,vlm_stop,vlm_seek,vlm_save,vlm_load" />
</head>
<body>
<h2>
<a href="http://www.videolan.org/">VLC media player<vlc id="value" param1="version" /></a> (http interface)</h2>
<div class="sectitle">VLM - Edit <vlc id="value" param1="'name' url_extract"/></div>
<div class="section">
<vlc id="foreach" param1="el" param2="vlm" />
<vlc id="if" param1="'name' url_extract el.name value strcmp 0 =" />
<vlc id="if" param1="'type' url_extract 'broadcast' strcmp 0 =" />
<form method="get" action="/vlm/" />
<table>
<tr><td>Name : </td><td><vlc id="value" param1="'name' url_extract"/> </td> </tr>
<tr><td>Type: </td><td>Broadcast </td></tr>
<tr><td>Input: </td>
<td><input type="text" name="input" size="40" value=""/><br />
<vlc id="foreach" param1="in" param2="el.inputs" /><vlc id="value" param1="in" /><br/><vlc id="end" /></td></tr>
<tr><td>Output: </td><td><input type="text" name="output" size="40" value="<vlc id="value" param1="el.output" />"/></td></tr>
<tr><td>Option: </td>
<td><input type="text" name="option" size="40" value=""/><br />
<vlc id="foreach" param1="op" param2="el.options" /><vlc id="value" param1="op" /><br /><vlc id="end" /></td></tr>
</table>
<input type="hidden" name="name" value="<vlc id="value" param1="'name' url_extract"/>" />
<input type="submit" name="control" value="vlm_setup"/>
</form>
<vlc id="else" />
<p> TODO schedule </p>
<vlc id="end" />
<vlc id="end" />
<vlc id="end" />
</div>
<hr/>
<p> <vlc id="value" param1="copyright" /> </p>
</body>
</html>
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>VLC media player</title>
<link href="/style.css" title="Default" rel="stylesheet" />
<vlc id="if" param1="url_param"/>
<meta http-equiv="refresh" content="0;URL=/vlm/" />
<vlc id="end" />
<vlc id="control" param1="vlm_setup,vlm_new,vlm_del,vlm_play,vlm_pause,vlm_stop,vlm_seek,vlm_save,vlm_load" />
</head>
<body>
<h2>
<a href="http://www.videolan.org/">VLC media player<vlc id="value" param1="version" /></a> (http interface)</h2>
<div class="sectitle">VLM - Configuration</div>
<div class="section">
<form method="get" action="" />
<input type="test" name="file" size="40"/>
<input type="submit" name="control" value="vlm_load" />
<input type="submit" name="control" value="vlm_save" />
</form>
</div>
<div class="sectitle">VLM - New</div>
<div class="section">
<form method="get" action="/vlm/new.html" />
<input type="test" name="name" size="40"/>
<input type="submit" name="type" value="broadcast"/>
</form>
<form method="get" action="/vlm/new.html" />
<input type="test" name="name" size="40"/>
<input type="submit" name="type" value="schedule"/>
</form>
</div>
<div class="sectitle">VLM - Media</div>
<div class="section">
<table border="1">
<tr class="ligne2"> <td>Media</td><td>State</td><td>Control</td></tr>
<vlc id="foreach" param1="el" param2="vlm" />
<vlc id="if" param1="el.type value 'broadcast' strcmp 0 = " />
<tr>
<td><table><tr>
<td width="30%"><form method="get" action="" />
<input type="submit" name="control" value="vlm_del" />
<input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
</form></td>
<td><a href="/vlm/edit.html?name=<vlc id="value" param1="el.name" />&type=broadcast"><vlc id="value" param1="el.name" /></a></td></table>
</td>
<td><vlc id="value" param1="el.state" /> </td>
<td>
<form method="get" action="" />
<input type="submit" name="control" value="vlm_play" />
<input type="submit" name="control" value="vlm_pause" />
<input type="submit" name="control" value="vlm_stop" />
<input type="hidden" name="name" value="<vlc id="value" param1="el.name" />" />
</form>
</td>
</tr>
<vlc id="end" />
<vlc id="end" />
</table>
</div>
<div class="sectitle">VLM - Schedule</div>
<div class="section">
<table border="1">
<tr class="ligne2"> <td>Schedule</td></tr>
<vlc id="foreach" param1="el" param2="vlm" />
<vlc id="if" param1="el.type value 'schedule' strcmp 0 =" />
<tr>
<td><a href="/vlm/edit.html?name=<vlc id="value" param1="el.name" />&type=schedule"><vlc id="value" param1="el.name" /></a> </td>
</tr>
<vlc id="end" />
<vlc id="end" />
</table>
</div>
<hr/>
<p> <vlc id="value" param1="copyright" /> </p>
</body>
</html>
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>VLC media player</title>
<link href="/style.css" title="Default" rel="stylesheet" />
<vlc id="control" param1="vlm_setup,vlm_new,vlm_del,vlm_play,vlm_pause,vlm_stop,vlm_seek,vlm_save,vlm_load" />
</head>
<body>
<h2>
<a href="http://www.videolan.org/">VLC media player<vlc id="value" param1="version" /></a> (http interface)</h2>
<div class="sectitle">VLM - New <vlc id="value" param1="'name' url_extract"/></div>
<div class="section">
<vlc id="if" param1="'type' url_extract 'broadcast' strcmp 0 =" />
<form method="get" action="/vlm/" />
<table>
<tr><td>Name : <vlc id="value" param1="'name' url_extract"/> </td> </tr>
<tr><td>Type: Broadcast </td></tr>
<tr><td>Input: <input type="text" name="input" size="40" value=""/></td></tr>
<tr><td>Output: <input type="text" name="output" size="40" value=""/></td></tr>
<tr><td>Option: <input type="text" name="option" size="40" value=""/></td></tr>
</table>
<input type="hidden" name="enabled" value=""/>
<input type="hidden" name="type" value="broadcast"/>
<input type="hidden" name="name" value="<vlc id="value" param1="'name' url_extract"/>" />
<input type="submit" name="control" value="vlm_new"/>
</form>
<vlc id="else" />
<p> TODO schedule </p>
<vlc id="end" />
</div>
<hr/>
<p> <vlc id="value" param1="copyright" /> </p>
</body>
</html>
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