File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -1837,6 +1837,14 @@ small {
1837
1837
min-width : 200px ;
1838
1838
}
1839
1839
1840
+ # toggleBox {
1841
+ background-color : transparent!important ;
1842
+ border : none!important ;
1843
+ font-weight : bold!important ;
1844
+ position : absolute!important ;
1845
+ left : 0 !important ;
1846
+ }
1847
+
1840
1848
.EasyMDEContainer .table {
1841
1849
width : unset!important ;
1842
1850
}
Original file line number Diff line number Diff line change @@ -247,11 +247,11 @@ function togglePassVisibility() {
247
247
if ( passwdInput . type === "password" ) {
248
248
passwdInput . type = "text" ;
249
249
toggleBox . innerHTML = "<i class='fa-solid fa-eye-slash'></i>\
250
- <span><b> Hide Password</b> </span>" ;
250
+ <span>Hide Password</span>" ;
251
251
} else {
252
252
passwdInput . type = "password" ;
253
253
toggleBox . innerHTML = "<i class='fa-solid fa-eye'></i>\
254
- <span><b> Show Password</b> </span>" ;
254
+ <span>Show Password</span>" ;
255
255
}
256
256
}
257
257
Original file line number Diff line number Diff line change @@ -20,9 +20,11 @@ <h3>{% trans "Login" %}</h3>
20
20
< div class ="form-group ">
21
21
22
22
{% if SHOW_LOGIN_FORM or 'force_login_form' in request.GET %}
23
- < div class ="col-sm-offset-1 col-sm-2 " id ="toggleBox " onclick ="togglePassVisibility() ">
24
- < i class ="fa-solid fa-eye "> </ i >
25
- < span > < b > {% trans "Show Password" %}</ b > </ span >
23
+ < div class ="col-sm-offset-1 col-sm-2 ">
24
+ < button class ="btn " id ="toggleBox " onclick ="togglePassVisibility() " type ="button ">
25
+ < i class ="fa-solid fa-eye "> </ i >
26
+ {% trans "Show Password" %}
27
+ </ button >
26
28
</ div >
27
29
{% endif %}
28
30
You can’t perform that action at this time.
0 commit comments