From 09d887cde2c2b845b2e4ccbdb64a9044c015a795 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Tue, 13 Aug 2019 23:34:04 +0200 Subject: add homepage design --- ihatemoney/templates/home.html | 121 ++++++++++++++++++++++++++--------------- 1 file changed, 77 insertions(+), 44 deletions(-) (limited to 'ihatemoney/templates/home.html') diff --git a/ihatemoney/templates/home.html b/ihatemoney/templates/home.html index 4e32995..bac8abe 100644 --- a/ihatemoney/templates/home.html +++ b/ihatemoney/templates/home.html @@ -1,56 +1,89 @@ {% extends "layout.html" %} - {% block body %} - - -
-
-
-
- {{ _("Log to an existing project") }}... - {{ forms.authenticate(auth_form, home=True) }} -
- -
-
-
- {% if is_public_project_creation_allowed %} -
-
- ...{{ _("or create a new one") }} - {{ forms.create_project(project_form, home=True) }} -
-
- -
+ +
+
+
+
+ {{ _("Log in to an existing project") }} +
+
+ +
+ + {{ forms.authenticate(auth_form, home=True) }} +
+
+ + {{ _("can't remember your password?") }} +
+ +
+
+
+
+ {{ _("Create a new project") }} +
+
+ {% if is_public_project_creation_allowed %} +
+
+ {{ forms.create_project(project_form, home=True) }} +
+
+ +
- {% else %} - ...{{ _("or create a new one") }} - {% endif %} -
+ {% else %} + + {{ _("Create a new project") }} + + {% endif %} +
+ +
{% endblock %} - {% block js %} - $('#creation-form #password').tooltip({ - title: '{{ _("This access code will be sent to your friends. It is stored as-is by the server, so don\\'t reuse a personal password!") }}', + title: '{{ _("This access code will be sent to your friends. It is stored as-is by the server, so don\\'t reuse a personal password!")}}', trigger: 'focus', placement: 'right' }); - {% endblock %} -- cgit v1.1