feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
This commit is contained in:
1 parent
3c3ddac8be
commit
a0b84977a2
630 files changed
+101647
-11293
No files matched your search
@@ -193,7 +193,7 @@ $sign_css_ver = file_exists(get_template_directory() . '/assets/css/routes/sign.
|
||||
<label for="sign-user-pass"><?php esc_html_e('密码', 'aksrt'); ?></label>
|
||||
<div class="input-wrap">
|
||||
<input type="password" name="pwd" id="sign-user-pass" autocomplete="current-password" required>
|
||||
<button type="button" class="toggle-pwd" data-target="sign-user-pass"><i class="fas fa-eye"></i></button>
|
||||
<button type="button" class="toggle-pwd" data-target="sign-user-pass"><i class="fa fas fa-eye"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row-between">
|
||||
@@ -237,14 +237,14 @@ $sign_css_ver = file_exists(get_template_directory() . '/assets/css/routes/sign.
|
||||
<label for="sign-reg-pass"><?php esc_html_e('登录密码', 'aksrt'); ?></label>
|
||||
<div class="input-wrap">
|
||||
<input type="password" name="user_pass" id="sign-reg-pass" autocomplete="new-password" required minlength="6">
|
||||
<button type="button" class="toggle-pwd" data-target="sign-reg-pass"><i class="fas fa-eye"></i></button>
|
||||
<button type="button" class="toggle-pwd" data-target="sign-reg-pass"><i class="fa fas fa-eye"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-field">
|
||||
<label for="sign-reg-pass2"><?php esc_html_e('确认密码', 'aksrt'); ?></label>
|
||||
<div class="input-wrap">
|
||||
<input type="password" name="user_pass_confirm" id="sign-reg-pass2" autocomplete="new-password" required minlength="6">
|
||||
<button type="button" class="toggle-pwd" data-target="sign-reg-pass2"><i class="fas fa-eye"></i></button>
|
||||
<button type="button" class="toggle-pwd" data-target="sign-reg-pass2"><i class="fa fas fa-eye"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
@@ -308,7 +308,7 @@ $sign_css_ver = file_exists(get_template_directory() . '/assets/css/routes/sign.
|
||||
if(!input)return;
|
||||
var isPw=input.type==='password';
|
||||
input.type=isPw?'text':'password';
|
||||
this.querySelector('i').className=isPw?'fas fa-eye-slash':'fas fa-eye';
|
||||
this.querySelector('i').className=isPw?'fa fas fa-eye-slash':'fa fas fa-eye';
|
||||
});
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in new issue
Block a user