From 1b085a154bbedc8eb60668dfefb762be7d10804a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 1 Feb 2019 14:14:55 +0200 Subject: [PATCH] "Don't have an account? Sign Up" line in the login page. --- hc/accounts/tests/test_badges.py | 1 - static/css/login.css | 14 ++++++++++++++ templates/accounts/login.html | 11 +++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/hc/accounts/tests/test_badges.py b/hc/accounts/tests/test_badges.py index 338b16b6..37eaf808 100644 --- a/hc/accounts/tests/test_badges.py +++ b/hc/accounts/tests/test_badges.py @@ -28,6 +28,5 @@ class BadgesTestCase(BaseTestCase): self.client.login(username="alice@example.org", password="password") r = self.client.get("/accounts/profile/badges/") - print(r.content) self.assertContains(r, "badge/alices-badge-key/") self.assertContains(r, "badge/alices-badge-key/") diff --git a/static/css/login.css b/static/css/login.css index cd8a0583..2145c719 100644 --- a/static/css/login.css +++ b/static/css/login.css @@ -72,3 +72,17 @@ background: #fff; } +#login-signup-cta { + font-size: 18px; + color: #999; + margin-top: 40px; +} + +#login-signup-cta a { + color: #999; + text-decoration: underline; +} + +#login-signup-cta a:hover { + color: #0091EA; +} \ No newline at end of file diff --git a/templates/accounts/login.html b/templates/accounts/login.html index e7b2d302..3dccb463 100644 --- a/templates/accounts/login.html +++ b/templates/accounts/login.html @@ -84,8 +84,18 @@ + +
+
+ Don't have an account? + Sign Up +
+
+ + +{% include "front/signup_modal.html" %} {% endblock %} {% block scripts %} @@ -93,5 +103,6 @@ + {% endcompress %} {% endblock %}