mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
refactoring
This commit is contained in:
@@ -456,7 +456,7 @@
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="window window-resizable" id="stream-window" data-close-confirm="Do you want to close the stream? This action will temporarily stop<br>the video transmission until you open the broadcast again.<br>This can be useful for saving traffic.">
|
||||
<div class="window window-resizable" id="stream-window" data-close-confirm="Do you want to close the stream? This action will temporarily stop<br>the video transmission until you open the broadcast again.<br>This can be useful for saving traffic." data-show-by-button="show-stream-button">
|
||||
<div class="window-header" id="stream-window-header">
|
||||
<div class="window-grab">Stream</div>
|
||||
<button class="window-button-close">×</button>
|
||||
@@ -494,7 +494,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="window" id="keyboard-window">
|
||||
<div class="window" id="keyboard-window" data-show-by-button="show-keyboard-button">
|
||||
<div class="window-header" id="keyboard-window-header">
|
||||
<div class="window-grab">Virtual Keyboard</div>
|
||||
<button class="window-button-close">×</button>
|
||||
@@ -1338,7 +1338,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="window" id="about-window">
|
||||
<div class="window" id="about-window" data-show-by-button="show-about-button">
|
||||
<div class="window-header">
|
||||
<div class="window-grab">About</div>
|
||||
<button class="window-button-close">×</button>
|
||||
|
||||
@@ -9,7 +9,7 @@ mixin about_tab(name, title, checked=false)
|
||||
else
|
||||
span(class="code-comment") No data
|
||||
|
||||
div(id="about-window" class="window")
|
||||
div(id="about-window" class="window" data-show-by-button="show-about-button")
|
||||
div(class="window-header")
|
||||
div(class="window-grab") About
|
||||
button(class="window-button-close") ×
|
||||
|
||||
@@ -15,7 +15,7 @@ mixin empty_key(width=0)
|
||||
mixin lamp(cls)
|
||||
img(class=`inline-lamp ${cls} led-gray` src=`${svg_dir}/led-square.svg`)
|
||||
|
||||
div(id="keyboard-window" class="window")
|
||||
div(id="keyboard-window" class="window" data-show-by-button="show-keyboard-button")
|
||||
div(id="keyboard-window-header" class="window-header")
|
||||
div(class="window-grab") Virtual Keyboard
|
||||
button(class="window-button-close") ×
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
- confirm_msg += "the video transmission until you open the broadcast again.<br>";
|
||||
- confirm_msg += "This can be useful for saving traffic.";
|
||||
|
||||
div(id="stream-window" class="window window-resizable" data-close-confirm=confirm_msg)
|
||||
div(id="stream-window" class="window window-resizable" data-close-confirm=confirm_msg data-show-by-button="show-stream-button")
|
||||
div(id="stream-window-header" class="window-header")
|
||||
div(class="window-grab") Stream
|
||||
button(class="window-button-close") ×
|
||||
|
||||
Reference in New Issue
Block a user