Changeset 758190ee3f1e5cf2a176ce47420cc08bfa0918a1
- Timestamp:
- 01/27/06 14:48:28
(3 years ago)
- Author:
- Antoine Cellerier <dionoea@videolan.org>
- git-committer:
- Antoine Cellerier <dionoea@videolan.org> 1138369708 +0000
- git-parent:
[75f733bc03f3b78b2e5399b9b0e31ddce1a13867]
- git-author:
- Antoine Cellerier <dionoea@videolan.org> 1138369708 +0000
- Message:
- : it's now possible to enter a batch of commands or export the VLM
configuration
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r15f7f7c |
r758190e |
|
| 51 | 51 | <button id="btn_schedule" onclick="hide_vlm_add();show('vlm_add_schedule');update_vlm_add_schedule();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| 52 | 52 | Schedule |
|---|
| | 53 | </button> |
|---|
| | 54 | <button id="btn_other" onclick="hide_vlm_add();show('vlm_add_other');update_vlm_add_other();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| | 55 | Other |
|---|
| 53 | 56 | </button> |
|---|
| 54 | 57 | </div> |
|---|
| … | … | |
| 135 | 138 | <input type="text" id="vlm_schedule_repeat_times" size="8" disabled="disabled" value="0" onchange="update_vlm_add_schedule();" /> |
|---|
| 136 | 139 | </div> |
|---|
| | 140 | <div id="vlm_add_other" style="display: none"> |
|---|
| | 141 | <input type="button" id="btn_import" onclick="vlm_batch(document.getElementById('vlm_batch_text').value);" value="Send command batch" /> |
|---|
| | 142 | <input type="button" id="btn_export" onclick="document.location.assign('vlm_export.html');" value="Export VLM commands (new page)" /> |
|---|
| | 143 | <br/> |
|---|
| | 144 | <textarea cols="70" rows="20" id="vlm_batch_text">#paste your VLM commands here</textarea> |
|---|
| | 145 | </div> |
|---|
| 137 | 146 | </div> |
|---|
| 138 | 147 | </div> |
|---|
| r15f7f7c |
r758190e |
|
| 60 | 60 | document.getElementById( 'vlm_add_vod' ).style.display = 'none'; |
|---|
| 61 | 61 | document.getElementById( 'vlm_add_schedule' ).style.display = 'none'; |
|---|
| | 62 | document.getElementById( 'vlm_add_other' ).style.display = 'none'; |
|---|
| 62 | 63 | } |
|---|
| 63 | 64 | |
|---|
| … | … | |
| 245 | 246 | cmd.value = ""; |
|---|
| 246 | 247 | } |
|---|
| | 248 | } |
|---|
| | 249 | |
|---|
| | 250 | function update_vlm_add_other() |
|---|
| | 251 | { |
|---|
| | 252 | cmd = document.getElementById( 'vlm_command' ); |
|---|
| | 253 | cmd.value = ""; |
|---|
| 247 | 254 | } |
|---|
| 248 | 255 | |
|---|
| … | … | |
| 658 | 665 | } |
|---|
| 659 | 666 | |
|---|
| | 667 | function vlm_batch( batch ) |
|---|
| | 668 | { |
|---|
| | 669 | var i; |
|---|
| | 670 | var commands = batch.split( '\n' ); |
|---|
| | 671 | for( i = 0; i < commands.length; i++ ) |
|---|
| | 672 | { |
|---|
| | 673 | document.getElementById( 'vlm_command' ).value = commands[i]; |
|---|
| | 674 | vlm_cmd( value( 'vlm_command' ) ); |
|---|
| | 675 | } |
|---|
| | 676 | } |
|---|
| | 677 | |
|---|
| 660 | 678 | function vlm_schedule_append( name ) |
|---|
| 661 | 679 | { |
|---|