From c650856bddeac08ce4bf4f1cbe9f67ab0ed91890 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 29 Jun 2019 11:21:40 -0400 Subject: rework the password reset process: api v2.2 --- src/reset.html | 224 ++++----------------------- src/reset_password.html | 356 +++++++++++++++++++++++++++++++++++++++++++ src/reset_password_init.html | 306 +++++++++++++++++++++++++++++++++++++ src/reset_user.html | 302 ++++++++++++++++++++++++++++++++++++ 4 files changed, 997 insertions(+), 191 deletions(-) create mode 100644 src/reset_password.html create mode 100644 src/reset_password_init.html create mode 100644 src/reset_user.html (limited to 'src') diff --git a/src/reset.html b/src/reset.html index 8e334e0..5200b93 100644 --- a/src/reset.html +++ b/src/reset.html @@ -24,7 +24,7 @@ font-size: 12px; line-height: 30px; color: #777; - background: #4CAF50; + background: rgba(0, 0, 0, 0.6); } .container { @@ -34,11 +34,14 @@ position: relative; } - .container > form input[type="text"], - .container > form input[type="password"], - .container > form input[type="email"], - .container > form button { + .container > form .button { font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif; + -webkit-appearance: button; + -moz-appearance: button; + appearance: button; + display: block; + text-align: center; + text-decoration: none; } .container > form { @@ -62,14 +65,6 @@ font-weight: 400; } - .container .status { - margin: 15px 0 15px; - display: block; - font-size: 13px; - font-weight: 400; - display: none; - } - fieldset { border: medium none !important; margin: 0 0 10px; @@ -78,44 +73,25 @@ width: 100%; } - .container > form input[type="text"], - .container > form input[type="password"], - .container > form input[type="email"] { - width: 100%; - border: 1px solid #ccc; - background: #FFF; - margin: 0 0 5px; - padding: 10px; - } - - .container > form input[type="text"]:hover, - .container > form input[type="password"]:hover, - .container > form input[type="email"]:hover { - -webkit-transition: border-color 0.3s ease-in-out; - -moz-transition: border-color 0.3s ease-in-out; - transition: border-color 0.3s ease-in-out; - border: 1px solid #aaa; - } - - .container > form button { + .container > form .button { cursor: pointer; width: 100%; border: none; - background: #4CAF50; + background: rgba(0, 0, 0, 0.6); color: #FFF; margin: 0 0 5px; padding: 10px; font-size: 15px; } - .container > form button:hover { - background: #43A047; + .container > form .button:hover { + background: rgba(0, 0, 0, 0.9); -webkit-transition: background 0.3s ease-in-out; -moz-transition: background 0.3s ease-in-out; transition: background-color 0.3s ease-in-out; } - .container > form button:active { + .container > form .button:active { box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); } @@ -124,20 +100,6 @@ border: 1px solid #aaa; } - .grecaptcha-badge { - margin-bottom: 2em; - margin-top: 2em; - } - - .container > form.error .status { - display: block!important; - } - - input.invalid { - border-color: #900!important; - background-color: #FDD!important; - } - .warning { color: #fff; margin: 1em; @@ -146,30 +108,7 @@ padding: 1em; border: 3px yellow dashed; } - - ::-webkit-input-placeholder { - color: #888; - } - - :-moz-placeholder { - color: #888; - } - - ::-moz-placeholder { - color: #888; - } - - :-ms-input-placeholder { - color: #888; - } -
-
+

The Mana World

-

Password reset

- ... +

Account recovery: please select

+
+
+
+ I forgot my password +
+
- +
+ I forgot my user name +
- +
+ My account is banned +
- + My account was compromised
+
+
+ I need help with something else +
+
- - diff --git a/src/reset_password.html b/src/reset_password.html new file mode 100644 index 0000000..9c04907 --- /dev/null +++ b/src/reset_password.html @@ -0,0 +1,356 @@ + + + + + + The Mana World + + + + + + +
+
+

The Mana World

+

Password reset

+ ... +
+ +
+
+ +
+
+
+
+
+ +
+
+
+
+ + + + + diff --git a/src/reset_password_init.html b/src/reset_password_init.html new file mode 100644 index 0000000..015f8e9 --- /dev/null +++ b/src/reset_password_init.html @@ -0,0 +1,306 @@ + + + + + + The Mana World + + + + + + +
+
+

The Mana World

+

Password reset

+ ... +
+ +
+
+
+
+
+ +
+
+
+
+ + + + diff --git a/src/reset_user.html b/src/reset_user.html new file mode 100644 index 0000000..58bb417 --- /dev/null +++ b/src/reset_user.html @@ -0,0 +1,302 @@ + + + + + + The Mana World + + + + + + +
+
+

The Mana World

+

Account recovery

+ ... +
+ +
+
+
+
+
+ +
+
+
+
+ + + + -- cgit v1.2.3-70-g09d2