Spaces:
Running
Running
Update src/templates/base.html
Browse files- src/templates/base.html +2 -3
src/templates/base.html
CHANGED
|
@@ -156,10 +156,9 @@
|
|
| 156 |
Created by <a href="https://x.com/heisbuba" title="X @heisbuba" target="_blank">Buba</a> with Data curiosity.
|
| 157 |
</p>
|
| 158 |
</footer>
|
| 159 |
-
{% if request.endpoint in ['auth.login', 'auth.register', '
|
| 160 |
<script>
|
| 161 |
-
|
| 162 |
-
function togglePassword(inputId, btn) {
|
| 163 |
const input = document.getElementById(inputId);
|
| 164 |
const iconEye = btn.querySelector('.icon-eye');
|
| 165 |
const iconEyeOff = btn.querySelector('.icon-eye-off');
|
|
|
|
| 156 |
Created by <a href="https://x.com/heisbuba" title="X @heisbuba" target="_blank">Buba</a> with Data curiosity.
|
| 157 |
</p>
|
| 158 |
</footer>
|
| 159 |
+
{% if request.endpoint in ['auth.login', 'auth.register', 'main.settings'] %}
|
| 160 |
<script>
|
| 161 |
+
function toggleFieldVisibility(inputId, btn) {
|
|
|
|
| 162 |
const input = document.getElementById(inputId);
|
| 163 |
const iconEye = btn.querySelector('.icon-eye');
|
| 164 |
const iconEyeOff = btn.querySelector('.icon-eye-off');
|