minor fixes
This commit is contained in:
parent
bdfc367c6c
commit
0294643403
@ -1713,6 +1713,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
|
|
||||||
.password-container .reveal-password i::before {
|
.password-container .reveal-password i::before {
|
||||||
content: "\f06e"; /* https://fontawesome.com/icons/eye?style=solid */
|
content: "\f06e"; /* https://fontawesome.com/icons/eye?style=solid */
|
||||||
|
transition: color 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.password-container .reveal-password.visible i::before {
|
.password-container .reveal-password.visible i::before {
|
||||||
|
@ -23,7 +23,7 @@ socket.on("auth", function(data) {
|
|||||||
|
|
||||||
login.html(templates.windows.sign_in());
|
login.html(templates.windows.sign_in());
|
||||||
|
|
||||||
utils.togglePasswordField(".reveal-password");
|
utils.togglePasswordField("#sign-in .reveal-password");
|
||||||
|
|
||||||
login.find("form").on("submit", function() {
|
login.find("form").on("submit", function() {
|
||||||
const form = $(this);
|
const form = $(this);
|
||||||
|
@ -30,7 +30,7 @@ socket.on("configuration", function(data) {
|
|||||||
pop.play();
|
pop.play();
|
||||||
});
|
});
|
||||||
|
|
||||||
utils.togglePasswordField(".reveal-password");
|
utils.togglePasswordField("#change-password .reveal-password");
|
||||||
|
|
||||||
options.initialize();
|
options.initialize();
|
||||||
webpush.initialize();
|
webpush.initialize();
|
||||||
@ -87,6 +87,6 @@ socket.on("configuration", function(data) {
|
|||||||
$(this).data("lastvalue", nick);
|
$(this).data("lastvalue", nick);
|
||||||
});
|
});
|
||||||
|
|
||||||
utils.togglePasswordField(".reveal-password");
|
utils.togglePasswordField("#connect .reveal-password");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -43,5 +43,5 @@ socket.on("network:info", function(data) {
|
|||||||
.click();
|
.click();
|
||||||
});
|
});
|
||||||
|
|
||||||
utils.togglePasswordField(".reveal-password");
|
utils.togglePasswordField("#connect .reveal-password");
|
||||||
});
|
});
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-sm-9 password-container">
|
<div class="col-sm-9 password-container">
|
||||||
<input class="input" id="connect:password" type="password" name="password" value="{{defaults.password}}">
|
<input class="input" id="connect:password" type="password" name="password" value="{{defaults.password}}">
|
||||||
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show Password" data-alt-label="Hide Password">
|
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show password" data-alt-label="Hide password">
|
||||||
<i></i>
|
<i></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -190,21 +190,21 @@
|
|||||||
<div class="col-sm-12 password-container">
|
<div class="col-sm-12 password-container">
|
||||||
<label for="old_password_input" class="sr-only">Enter current password</label>
|
<label for="old_password_input" class="sr-only">Enter current password</label>
|
||||||
<input type="password" id="old_password_input" name="old_password" class="input" placeholder="Enter current password">
|
<input type="password" id="old_password_input" name="old_password" class="input" placeholder="Enter current password">
|
||||||
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show Password" data-alt-label="Hide Password">
|
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show password" data-alt-label="Hide password">
|
||||||
<i></i>
|
<i></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-12 password-container">
|
<div class="col-sm-12 password-container">
|
||||||
<label for="new_password_input" class="sr-only">Enter desired new password</label>
|
<label for="new_password_input" class="sr-only">Enter desired new password</label>
|
||||||
<input type="password" id="new_password_input" name="new_password" class="input" placeholder="Enter desired new password">
|
<input type="password" id="new_password_input" name="new_password" class="input" placeholder="Enter desired new password">
|
||||||
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show Password" data-alt-label="Hide Password">
|
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show password" data-alt-label="Hide password">
|
||||||
<i></i>
|
<i></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-12 password-container">
|
<div class="col-sm-12 password-container">
|
||||||
<label for="verify_password_input" class="sr-only">Repeat new password</label>
|
<label for="verify_password_input" class="sr-only">Repeat new password</label>
|
||||||
<input type="password" id="verify_password_input" name="verify_password" class="input" placeholder="Repeat new password">
|
<input type="password" id="verify_password_input" name="verify_password" class="input" placeholder="Repeat new password">
|
||||||
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show Password" data-alt-label="Hide Password">
|
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show password" data-alt-label="Hide password">
|
||||||
<i></i>
|
<i></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<div class="password-container">
|
<div class="password-container">
|
||||||
<label>Password</label>
|
<label>Password</label>
|
||||||
<input class="input" type="password" name="password">
|
<input class="input" type="password" name="password">
|
||||||
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show Password" data-alt-label="Hide Password">
|
<span class="reveal-password tooltipped tooltipped-n tooltipped-no-delay" aria-label="Show password" data-alt-label="Hide password">
|
||||||
<i></i>
|
<i></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user