One-KVM/web/kvm/navbar-macro.pug
mofeng-git 2c056ca3e3 feat: merge upstream master - version 4.94
Merge upstream PiKVM master branch updates:

- Bump version from 4.93 to 4.94
- HID: improved jiggler pattern for better compatibility
- Streamer: major refactoring for improved performance and maintainability
- Prometheus: tidying GPIO channel name formatting
- Web: added __gpio-label class for custom styling
- HID: customizable /api/hid/print delay configuration
- ATX: independent power/reset regions for better control
- OLED: added --fill option for display testing
- Web: improved keyboard handling in modal dialogs
- Web: enhanced login error messages
- Switch: added heartbeat functionality
- Web: mouse touch code simplification and refactoring
- Configs: use systemd-networkd-wait-online --any by default
- PKGBUILD: use cp -r to install systemd units properly
- Various bug fixes and performance improvements
2025-08-21 11:26:59 +08:00

32 lines
1.2 KiB
Plaintext

li.right#macro-dropdown
a.menu-button(href="#")
+navbar_led("hid-recorder-led", "led-gear")
span(i18n="kvm_text32") Macro
.menu
.text
b(i18n="kvm_text33") Record and play HID/ATX/GPIO actions#[br]
sub(i18n="kvm_text34") For security reasons, the record will not be saved on the PiKVM
hr
.buttons.buttons-row
button.row25#hid-recorder-record(disabled data-force-hide-menu i18n="kvm_text35") • Rec
button.row25#hid-recorder-stop(disabled i18n="kvm_text36") Stop
button.row25#hid-recorder-play(disabled i18n="kvm_text37") Play
button.row25#hid-recorder-clear(disabled i18n="kvm_text38") Clear
hr
table.kv
tr
td(i18n="kvm_text39") Script time:
td.value#hid-recorder-time(colspan="2") 00:00:00.0
tr
td(i18n="kvm_text40") Scripted events:
tdvalue#hid-recorder-events-count 0
td #[sup #[i(i18n="kvm_text41") include delays]]
hr
+menu_switch_table("hid-recorder-loop-switch", "Infinite loop playback", false, false, "hid-recorder-loop-switch")
hr
input#hid-recorder-new-script-file(type="file" style="display: none")
.buttons.buttons-row
button.row50#hid-recorder-upload(disabled i18n="kvm_text42") Upload script
button.row50#hid-recorder-download(disabled i18n="kvm_text43") Download script