diff options
author | Devaev Maxim <[email protected]> | 2020-09-11 07:00:56 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-11 07:00:56 +0300 |
commit | 9b3f1975061fa6b4c7ac1b15125b71f2e93d90c4 (patch) | |
tree | 7ceb4b99f4a0b81da72b0bbf8741de2fec6155e1 /web/kvm | |
parent | 401263fea3f645eb421b5ccb3e79418afab7c9a6 (diff) |
pikvm/pikvm#63: added loop mode for macro
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 12 | ||||
-rw-r--r-- | web/kvm/navbar-macro.pug | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 54d4f220..6cbcdee5 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -354,6 +354,18 @@ </tr> </table> <hr> + <table class="kv"> + <tr> + <td>Infinite loop playback:</td> + <td colspan="2"> + <div class="switch-box"> + <input disabled type="checkbox" id="hid-recorder-loop-checkbox"> + <label for="hid-recorder-loop-checkbox"><span class="switch-inner"></span><span class="switch"></span></label> + </div> + </td> + </tr> + </table> + <hr> <input type="file" id="hid-recorder-new-script-file"> <div class="buttons buttons-row"> <button class="row50" disabled id="hid-recorder-upload">Upload script</button> diff --git a/web/kvm/navbar-macro.pug b/web/kvm/navbar-macro.pug index 2a0e00d1..9df95e4f 100644 --- a/web/kvm/navbar-macro.pug +++ b/web/kvm/navbar-macro.pug @@ -22,6 +22,17 @@ li(class="right") td(id="hid-recorder-events-count" class="value") 0 td #[sup #[i include delays]] hr + table(class="kv") + tr + td Infinite loop playback: + td(colspan="2") + div(class="switch-box") + input(disabled type="checkbox" id="hid-recorder-loop-checkbox") + label(for="hid-recorder-loop-checkbox") + span(class="switch-inner") + span(class="switch") + + hr input(type="file" id="hid-recorder-new-script-file") div(class="buttons buttons-row") button(disabled id="hid-recorder-upload" class="row50") Upload script |