From 3a4282fd75e3b3317b2b08b4aa2e6ac154310e73 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 7 Jul 2017 00:06:56 +0200 Subject: Absolute imports & some other improvements (#243) * Use absolute imports and rename package to ihatemoney * Add a ihatemoney command * Factorize application creation logic * Refactor the tests * Update the wsgi.py module with the new create_app() function * Fix some styling thanks to Flake8. * Automate Flake8 check in the CI. --- budget/templates/home.html | 56 ---------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 budget/templates/home.html (limited to 'budget/templates/home.html') diff --git a/budget/templates/home.html b/budget/templates/home.html deleted file mode 100644 index 9bfe467..0000000 --- a/budget/templates/home.html +++ /dev/null @@ -1,56 +0,0 @@ -{% extends "layout.html" %} - - -{% block body %} - - -
-
-
-
- {{ _("Log to an existing project") }}... - {{ forms.authenticate(auth_form, home=True) }} -
- -
-
-
- {% if is_admin_mode_enabled %} - ...{{ _("or create a new one") }} - {% else %} -
-
- ...{{ _("or create a new one") }} - {{ forms.create_project(project_form, home=True) }} -
-
- -
-
- {% 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!") }}', - trigger: 'focus', - placement: 'right' -}); - -{% endblock %} -- cgit v1.1