diff options
| author | Alexis M <alexis@notmyidea.org> | 2019-10-18 19:39:14 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2019-10-19 12:31:17 +0200 |
| commit | f51a02005cb4248dcbd033010255668317f342f3 (patch) | |
| tree | 2f8cadae546ed144c4821e48ccc6f2f4a4721d8b /ihatemoney/templates | |
| parent | 6a4014cf5a5de722400ef988e7c4dd880f27cc87 (diff) | |
| download | ihatemoney-mirror-f51a02005cb4248dcbd033010255668317f342f3.zip ihatemoney-mirror-f51a02005cb4248dcbd033010255668317f342f3.tar.gz ihatemoney-mirror-f51a02005cb4248dcbd033010255668317f342f3.tar.bz2 | |
Remove jQuery datepicker.
We don't need this anymore because all major browser now have implemented that feature on the browser itself.
Closes #221.
Diffstat (limited to 'ihatemoney/templates')
| -rw-r--r-- | ihatemoney/templates/forms.html | 2 | ||||
| -rw-r--r-- | ihatemoney/templates/list_bills.html | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index c96921c..12cc165 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -91,7 +91,7 @@ {% if title %}<legend>{% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %}</legend>{% endif %} {% include "display_errors.html" %} {{ form.hidden_tag() }} - {{ input(form.date, class="form-control datepicker", inline=True) }} + {{ input(form.date, class="form-control", inline=True) }} {{ input(form.what, inline=True) }} {{ input(form.payer, inline=True, class="form-control custom-select") }} {{ input(form.amount, inline=True) }} diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 49293d3..597dc37 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -1,19 +1,9 @@ {% extends "sidebar_table_layout.html" %} {% block title %} - {{ g.project.name }}{% endblock %} -{% block head %} - <script src="{{ url_for("static", filename="js/bootstrap-datepicker.js") }}"></script> - <script src="{{ url_for("static", filename="js/locales/bootstrap-datepicker.fr.min.js") }}" charset="utf-8"></script> -{% endblock %} {% block js %} {% if add_bill %} $('#new-bill > a').click(); {% endif %} - $('.datepicker').datepicker({ - format: 'yyyy-mm-dd', - weekStart: 1, - autoclose: true, - language: '{{ g.lang }}' - }); // ask for confirmation before removing an user $('.action.delete').each(function(){ var link = $(this).find('button'); |
