diff --git a/hc/accounts/views.py b/hc/accounts/views.py index 342cea39..d3ddb321 100644 --- a/hc/accounts/views.py +++ b/hc/accounts/views.py @@ -102,4 +102,5 @@ def check_token(request, username, token): return redirect("hc-checks") - return render(request, "bad_link.html") + ctx = {"bad_link": True} + return render(request, "accounts/login.html", ctx) diff --git a/static/css/base.css b/static/css/base.css index beef7dcd..798f2681 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -62,12 +62,16 @@ body { color: #d9534f; } -#login_dialog { +.hc-dialog { background: #FFF; padding: 2em; margin-top: 100px; } -#login_dialog h1 { +.hc-dialog h1 { margin: 0; } + +.dialog-body { + margin: 24px 0; +} \ No newline at end of file diff --git a/templates/accounts/login.html b/templates/accounts/login.html index d30a9453..16fd829d 100644 --- a/templates/accounts/login.html +++ b/templates/accounts/login.html @@ -3,13 +3,23 @@ {% block content %}
The login link you just used is either incorrect or expired.
+Please use the form below to request a fresh login link:
++ Please enter your email address. + Next, we'll send you an email with log-in instructions! +
+- Please enter your email address. - Next, we'll send you an email with log-in instructions! -