From: Rico Hoppe Date: Sun, 22 Oct 2023 11:22:52 +0000 (+0000) Subject: modules/password: styled the pages X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dc5eeff8cab72165052f1fecf9046fde0339a80;p=ipfire.org.git modules/password: styled the pages --- diff --git a/src/templates/auth/modules/password.html b/src/templates/auth/modules/password.html index ca921b23..53978e30 100644 --- a/src/templates/auth/modules/password.html +++ b/src/templates/auth/modules/password.html @@ -1,32 +1,38 @@ -
-
- +
+
+ - +
+ +
+
-
- +
+
+
+ +
{{ _("Passwords do not match") }}
+
-
-
-
-
+
+
+
+
-
-

+
+

- -
    -
    -
    -
    + + + + diff --git a/src/templates/auth/modules/password.js b/src/templates/auth/modules/password.js index 8235fc73..43cadf79 100644 --- a/src/templates/auth/modules/password.js +++ b/src/templates/auth/modules/password.js @@ -29,7 +29,7 @@ $(function() { // Clear all previous backgrounds progress.removeClass([ - "bg-success", "bg-warning", "bg-danger" + "is-success", "is-warning", "is-danger" ]); // Make progress bar show in the right colour @@ -37,15 +37,15 @@ $(function() { case 0: case 1: case 2: - progress.addClass("bg-danger"); + progress.addClass("is-danger"); break; case 3: - progress.addClass("bg-warning"); + progress.addClass("is-warning"); break; case 4: - progress.addClass("bg-success"); + progress.addClass("is-success"); break; }