begining of a VLM interface and some code organisations changes. The vlm
[vlc.git] / share / http / dialogs / vlm
1 <vlc id="if" param1="0" />
2 vim:syntax=html
3 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 <  vlm: VLC media player web interface - VLM controler
5 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
6 <  Copyright (C) 2005-2006 the VideoLAN team
7 <  $Id$
8
9 <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
10
11 <  This program is free software; you can redistribute it and/or modify
12 <  it under the terms of the GNU General Public License as published by
13 <  the Free Software Foundation; either version 2 of the License, or
14 <  (at your option) any later version.
15
16 <  This program is distributed in the hope that it will be useful,
17 <  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 <  GNU General Public License for more details.
20
21 <  You should have received a copy of the GNU General Public License
22 <  along with this program; if not, write to the Free Software
23 <  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
24 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25
26 This dialog needs the following dialogs to be fully functional: input,
27 sout and vlmelements .
28 <vlc id="end" />
29
30 <div id="vlm" class="dialog" >
31   <div class="title">
32     VLC media player - VLM interface
33     <button id="btn_toggle_text" onclick="toggle_btn_text();">
34       <img src="images/help.png" alt="Help" />
35       Help
36     </button>
37   </div>
38   <div class="controls">
39     <label for="vlm_command">VLM command:</label>
40     <input type="text" id="vlm_command" size="60" />
41     <input type="button" value="Send" onclick="vlm_send();" />
42     <br />
43     <button id="btn_broadcast" onclick="hide_vlm_add();show('vlm_add_broadcast');update_vlm_add_broadcast();" onmouseover="button_over(this);" onmouseout="button_out(this);">
44       Broadcast
45     </button>
46     <button id="btn_vod" onclick="hide_vlm_add();show('vlm_add_vod');update_vlm_add_vod();" onmouseover="button_over(this);" onmouseout="button_out(this);">
47       Video on Demand
48     </button>
49     <button id="btn_schedule" onclick="hide_vlm_add();show('vlm_add_schedule');update_vlm_add_schedule();" onmouseover="button_over(this);" onmouseout="button_out(this);">
50       Schedule
51     </button>
52   </div>
53   <div id="vlm_helper" class="helper" >
54     <div id="vlm_add_broadcast" style="display: block">
55       New broadcast element
56       <hr />
57       <label for="vlm_broadcast_name">Name</label>
58       <input type="text" id="vlm_broadcast_name" size="20" onchange="update_vlm_add_broadcast();" />
59       <input type="checkbox" id="vlm_broadcast_enabled" onchange="update_vlm_add_broadcast();" />
60       <label for="vlm_broadcast_enabled">Enable</label>
61       <input type="checkbox" id="vlm_broadcast_loop" onchange="update_vlm_add_broadcast();" />
62       <label for="vlm_broadcast_loop">Loop</label>
63       <br/>
64       <label for="vlm_broadcast_input">Input</label>
65       <input type="text" id="vlm_broadcast_input" size="60" onchange="update_vlm_add_broadcast();" />
66       <input type="button" value="Edit" onclick="vlm_input_edit('vlm_broadcast_input');" />
67       <br/>
68       <label for="vlm_broadcast_output">Output</label>
69       <input type="text" id="vlm_broadcast_output" size="60" onchange="update_vlm_add_broadcast();" />
70       <input type="button" value="Edit" onclick="vlm_output_edit('vlm_broadcast_output');" />
71       <br/>
72     </div>
73     <div id="vlm_add_vod" style="display: none">
74       New video on demand element
75       <hr />
76       <label for="vlm_vod_name">Name</label>
77       <input type="text" id="vlm_vod_name" size="20" onchange="update_vlm_add_vod();" />
78       <input type="checkbox" id="vlm_vod_enabled" onchange="update_vlm_add_vod();" />
79       <label for="vlm_vod_enabled">Enable</label>
80       <br/>
81       <label for="vlm_vod_input">Input</label>
82       <input type="text" id="vlm_vod_input" size="60" onchange="update_vlm_add_vod();" />
83       <input type="button" value="Edit" onclick="vlm_input_edit('vlm_vod_input');" />
84       <br/>
85       <label for="vlm_vod_output">Output (leave empty unless you want to transcode)</label>
86       <input type="text" id="vlm_vod_output" size="60" onchange="update_vlm_add_vod();" />
87       <input type="button" value="Edit" onclick="vlm_output_edit('vlm_vod_output');" />
88       <br/>
89     </div>
90     <div id="vlm_add_schedule" style="display: none">
91       New schedule
92       <hr />
93       TODO
94     </div>
95   </div>
96 </div>
97
98 <div id="vlm_broadcast" class="dialog" >
99   <div class="title">
100     Broadcast Elements
101   </div>
102   <div class="vlm_broadcast_list"></div>
103 </div>
104
105 <div id="vlm_vod" class="dialog" >
106   <div class="title">
107     Video on Demand Elements
108   </div>
109   <div class="vlm_vod_list"></div>
110 </div>
111
112 <div id="vlm_schedule" class="dialog" >
113   <div class="title">
114     Schedule Elements
115   </div>
116   <div class="vlm_schedule_list"></div>
117 </div>