move old http files to http-old
[vlc.git] / share / http-old / admin / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD  XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml10/DTD/xhtml10transitional.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4  <head>
5     <title>VLC media player</title>
6     <style>
7         body {font-family:Verdana, Arial, Sans Serif; }
8         h2 { text-align:center; }
9         td {border:1pt black solid;margin:0em; }
10         table.border {border:1pt black solid;}
11         div.section {background-color:#DDDDFF;
12              border:1pt black solid;
13              margin-bottom:2em;
14              padding:0.5em; }
15         div.section-ctr {background-color:#CCCCFF;
16              border:1pt black solid;
17              margin-bottom:2em;
18              padding:0.5em;
19              font-size:1.2em;
20              text-align:center; }
21
22         div.sectitle {  background-color:#5A5ABB;
23                         color:#FFFFFF;
24                         border:1pt black solid;
25                         width:20%;
26                         font-weight:bold;}
27         tr.ligne1 { background-color:#EEFFFF; }
28         tr.ligne2 { background-color:#CCCCFF; }
29     </style>
30     <vlc id="if" param1="url_param"/>
31         <meta http-equiv="refresh" content="0;URL=/admin/" />
32     <vlc id="end" />
33
34     <vlc id="control" />
35     <vlc id="set" param1="sout" param2="string" />
36 </head>
37 <body>
38     <h2><a href="/">VLC media player - Admin <vlc id="value" param1="version" /></a></h2>
39
40 <div class="section-ctr">Shutdown VLC<br /> <form method="get" action=""> <input type="submit" name="control" value="shutdown" /> </form></div>
41
42   <div class="sectitle">Host list</div>
43   <div class="section">
44     <table class="border" >
45     <tr>
46         <th>Id</th><th>Host</th><th>IP</th><th>Port</th>
47     </tr>
48     <vlc id="foreach" param1="host" param2="hosts" />
49         <tr>
50         <td><vlc id="value" param1="host.id" /></td>
51         <td><vlc id="value" param1="host.host" /> </td>
52         <td><vlc id="value" param1="host.ip" /> </td>
53         <td><vlc id="value" param1="host.port" /> </td>
54         </tr>
55     <vlc id="end" />
56     </table>
57    </div>
58  
59    <div class="sectitle">File list</div>
60    <div class="section">
61     <table border="1" cellspacing="0" >
62     <tr>
63         <th>Id</th><th>URL</th><th>Mime</th><th>Protected</th><th>Usage</th>
64     </tr>
65     <vlc id="foreach" param1="url" param2="urls" />
66         <vlc id="if" param1="url.stream 0 =" /> 
67             <tr>
68             <td><vlc id="value" param1="url.id" /></td>
69             <td><vlc id="value" param1="url.url" /></td>
70             <td><vlc id="value" param1="url.mime" /></td>
71             <td><vlc id="value" param1="url.protected" /></td>
72             <td><vlc id="value" param1="url.used" /></td>
73             </tr>
74         <vlc id="end" />
75     <vlc id="end" />
76     </table>
77    </div>
78
79
80    <div class="sectitle">Stream list</div>
81    <div class="section">
82     <table border="1" cellspacing="0" >
83     <tr>
84         <th>Id</th><th>URL</th><th>Mime</th><th>Protected</th><th>Usage</th>
85     </tr>
86     <vlc id="foreach" param1="url" param2="urls" />
87         <vlc id="if" param1="url.stream" />
88             <tr>
89             <td><vlc id="value" param1="url.id" /></td>
90             <td><vlc id="value" param1="url.url" /></td>
91             <td><vlc id="value" param1="url.mime" /></td>
92             <td><vlc id="value" param1="url.protected" /></td>
93             <td><vlc id="value" param1="url.used" /></td>
94             </tr>
95         <vlc id="end" />
96     <vlc id="end" />
97     </table>
98    </div>
99
100    <div class="sectitle">Connections list</div>
101    <div class="section">
102     <table border="1" cellspacing="0" >
103     <tr>
104         <th>Id</th><th>ip</th><th>URL</th><th>Status</th><th>Actions</th>
105     </tr>
106     <vlc id="foreach" param1="con" param2="connections" />
107         <tr>
108         <td><vlc id="value" param1="con.id" /></td>
109         <td><vlc id="value" param1="con.ip" /></td>
110         <td><vlc id="value" param1="con.url" /></td>
111         <td><vlc id="value" param1="con.status" /></td>
112         <td>
113         <form method="get" action="">
114             <input type="hidden" name="id" value="<vlc id="value" param1="con.id" />"/>
115             <input type="submit" name="control" value="close" />
116         </form>
117
118         </td>
119         </tr>
120     <vlc id="end" />
121     </table>
122    </div>
123     <hr />
124     <p> <vlc id="value" param1="copyright" /> </p>
125 </body>
126 </html>
127