One-KVM/web/login/index.pug
mofeng-git 7b3335ea94 Add support for PiKVM Switch and related features
This commit introduces several new components and improvements:
- Added Switch module with firmware update and configuration support
- Implemented new media streaming capabilities
- Updated various UI elements and CSS styles
- Enhanced keyboard and mouse event handling
- Added new validators and configuration options
- Updated Python version support to 3.13
- Improved error handling and logging
2025-02-01 01:08:36 +00:00

40 lines
1.2 KiB
Plaintext

extends ../base.pug
append vars
- title = "One-KVM Login"
- main_js = "login/main"
- css_list = css_list.concat(["window", "modal", "login/login"])
block body
form(action="javascript:void(0)")
div(id="login-box")
div(id="login")
table
tr
td(i18n="username") Username: 
td #[input(type="text" id="user-input" autocapitalize="off")]
tr
td(i18n="password") Password: 
td #[input(type="password" id="passwd-input" autocapitalize="off")]
tr
td(i18n="2fa_code") 2FA code: 
td #[input(type="text" id="code-input" placeholder="if enabled" i18n="if_enabled")]
tr
td(colspan=2)
hr
tr
td(i18n="select_language") Select language: 
td
select(id="selectLanguage")
option(id='zh', selected="selected" i18n="chinese") Simplified Chinese
option(id='en' i18n="english") English
tr
td
td #[button(id="login-button" class="key" style="width:100%" i18n="login") Login]
ul(class="footer")
li(class="left" i18n="footer-left")
| This site is actively using JavaScript.#[br]
| It doesn't contain ads, but is blocked by some ad filters.#[br]
| Please turn it off to continue and reload the page.