]> git.sesse.net Git - vlc/blobdiff - share/http/dialogs/input
Only reload album art in the HTTP interface if the track id changes (or if the user...
[vlc] / share / http / dialogs / input
index 51e28daf6bdb2066de79fd737666a7f99e483a17..e5df0b4499d8260841e6dd2d6a2684673907e0dd 100644 (file)
@@ -29,12 +29,14 @@ This dialog needs the following dialogs to be fully functional: browse
 <div id="input" class="dialog" style="display: none">
   <div class="title">
     Input
+    <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('input');"/>
   </div>
   <div class="controls">
     <label for="input_mrl">Input (MRL)</label>
     <vlc id="if" param1="page value 'vlm' strcmp 0 =" />
       <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_input_change();"/>
       <input type="button" value="Ok" onclick="vlm_input_change();" />
+      <input type="button" value="Cancel" onclick="hide('input');" />
       <input type="hidden" id="input_dest" value="" />
     <vlc id="else" />
       <input type="text" name="input_mrl" id="input_mrl" size="60" onkeypress="if( event.keyCode == 13 ) in_play();"/>
@@ -54,21 +56,24 @@ This dialog needs the following dialogs to be fully functional: browse
     <button id="btn_network" onclick="hide_input();show('input_network');update_input_net();">
       Network
     </button>
+    <button id="btn_fake" onclick="hide_input();show('input_fake');update_input_fake();">
+      Fixed image
+    </button>
   </div>
-  <div id="input" class="helper" >
+  <div id="input_helper" class="helper" >
     <div id="input_file" style="display: block">
       Open File
       <hr/>
       <label for="input_file_filename">File name</label>
       <input type="text" id="input_file_filename" size="60" onchange="update_input_file();" onfocus="update_input_file();"/>
       <input type="button" id="input_file_browse" value="Browse" onclick="browse( 'input_file_filename' );" />
-      <hr/>
+      <!-- <hr/>
       <input type="checkbox" id="input_sub_options" />
       <label for="input_sub_options">Subtitle options *TODO/FIXME/FIXHTTPD*</label>
       <br/>
       <label for="input_sub_file">Subtitles file</label>
       <input type="text" id="input_sub_file" size="60" />
-      <br/><!-- TODO -->
+      <br/>
       <label for="input_sub_enc">Subtitles encoding</label>
       <select id="input_sub_enc">
         <option></option>
@@ -86,7 +91,7 @@ This dialog needs the following dialogs to be fully functional: browse
       <label for="input_sub_fps">Frames per second</label>
       <input type="text" id="input_sub_fps" />
       <label for="input_sub_delay">Delay</label>
-      <input type="text" id="input_sub_delay" />
+      <input type="text" id="input_sub_delay" />-->
     </div>
     <div id="input_disc" style="display: none">
       Open Disc
@@ -201,5 +206,19 @@ This dialog needs the following dialogs to be fully functional: browse
         </tr>
       </table>
     </div>
+    <div id="input_fake" style="display: none">
+      Fixed image stream (fake)
+      <hr/>
+      <label for="input_fake_filename">Image file name</label>
+      <input type="text" id="input_fake_filename" size="60" onchange="update_input_fake();" onfocus="update_input_fake();"/>
+      <input type="button" id="input_fake_browse" value="Browse" onclick="browse( 'input_fake_filename' );" />
+      <hr/>
+      <label for="input_fake_width">Width</label>
+      <input type="text" id="input_fake_width" size="8" onchange="update_input_fake();" />
+      <label for="input_fake_height">Height</label>
+      <input type="text" id="input_fake_height" size="8" onchange="update_input_fake();" />
+      <label for="input_fake_ar">Aspect ratio</label>
+      <input type="text" id="input_fake_ar" size="8" onchange="update_input_fake();" />
+    </div>
   </div>
 </div>