]> git.sesse.net Git - vlc/blobdiff - share/http/old/vlm/edit.html
Move old HTTP interface to http/old so it can be used by ppl without JS. Todo: use...
[vlc] / share / http / old / vlm / edit.html
diff --git a/share/http/old/vlm/edit.html b/share/http/old/vlm/edit.html
new file mode 100644 (file)
index 0000000..5c6cf38
--- /dev/null
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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" type="text/css" />
+
+    <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 valign="top">Inputs: </td>
+            <td>
+            <vlc id="foreach" param1="in" param2="el.inputs" /><vlc id="value" param1="in" /><br/><vlc id="end" />
+            <input type="text" name="input" size="40" value=""/><br />
+            </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>
+             <vlc id="foreach" param1="op" param2="el.options" /><vlc id="value" param1="op" /><br /><vlc id="end" />
+             <input type="text" name="option" size="40" value=""/><br />
+             </td></tr>
+        </table>
+        <input type="hidden" name="name" value="<vlc id="value" param1="'name' url_extract"/>" />
+        <button name="control" value="vlm_setup">OK</button>
+        </form>
+    <vlc id="else" />
+    <vlc id="if" param1="'type' url_extract 'schedule' 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>Schedule </td></tr>
+        <tr><td valign="top">Commands: </td>
+            <td><vlc id="foreach" param1="in" param2="el.commands" /><vlc id="value" param1="in" /><br/><vlc id="end" />
+            <input type="text" name="append" size="40" value=""/><br/></td></tr>
+        <tr><td>Date: </td>
+            <td><input type="text" name="date" size="40" value="<vlc id="value" param1="el.date" />"/></td>
+        </tr>
+        <tr><td>Period: </td>
+            <td><input type="text" name="period" size="40" value="<vlc id="value" param1="el.period" />"/></td>
+        </tr>
+        <tr><td>Repeat: </td>
+            <td><input type="text" name="repeat" size="40" value="<vlc id="value" param1="el.repeat" />"/></td>
+        </table>
+        <input type="hidden" name="name" value="<vlc id="value" param1="'name' url_extract"/>" />
+        <button name="control" value="vlm_setup">OK</button>
+        </form>
+    <vlc id="end" />
+    <vlc id="end" />
+<vlc id="end" />
+<vlc id="end" />
+
+    </div>
+
+    <hr/>
+    <p> <vlc id="value" param1="copyright" /> </p>
+</body>
+</html>