multi mode
This commit is contained in:
+19
-3
@@ -4,8 +4,9 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="color-scheme" content="dark">
|
||||
<meta name="color-scheme" content="dark light">
|
||||
<title>RustPad</title>
|
||||
__APP_THEME_BOOTSTRAP__
|
||||
__APP_STYLESHEET__
|
||||
__APP_IMPORT_MAP__
|
||||
__APP_ENTRYPOINT__
|
||||
@@ -144,6 +145,19 @@
|
||||
<label>Nickname<input id="profile-nickname" maxlength="40" required></label>
|
||||
<label class="profile-color-field">Editor color<input id="profile-color" type="color"
|
||||
aria-label="Choose your editor color"></label>
|
||||
<fieldset class="profile-theme-field">
|
||||
<legend>Interface theme</legend>
|
||||
<div class="theme-options">
|
||||
<label class="theme-option">
|
||||
<input type="radio" name="profile-theme" value="dark" checked>
|
||||
<span><strong>Dark</strong><small>Current RustPad appearance</small></span>
|
||||
</label>
|
||||
<label class="theme-option">
|
||||
<input type="radio" name="profile-theme" value="light">
|
||||
<span><strong>Light</strong><small>Warm cream surfaces and dark text</small></span>
|
||||
</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<label data-local-profile-field>Current e-mail<input id="profile-current-email" type="email" readonly></label>
|
||||
<label data-local-profile-field>New e-mail<input id="profile-email" type="email" maxlength="320"
|
||||
placeholder="Leave empty to keep current"></label>
|
||||
@@ -152,8 +166,10 @@
|
||||
<label data-local-profile-field>Current password<input id="profile-password" type="password" minlength="8"
|
||||
maxlength="128" placeholder="Required for e-mail or password changes"></label>
|
||||
</div>
|
||||
<button class="primary-button" type="submit">Save profile</button>
|
||||
<button id="profile-delete" data-local-profile-field class="danger-button" type="button">Delete account</button>
|
||||
<div class="profile-actions">
|
||||
<button class="primary-button" type="submit">Save profile</button>
|
||||
<button id="profile-delete" data-local-profile-field class="danger-button" type="button">Delete account</button>
|
||||
</div>
|
||||
<p id="profile-message" class="form-message" role="status"></p>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
Reference in New Issue
Block a user