diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-11-27 23:28:24 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-11-28 00:20:30 +0100 |
| commit | 8570e79170e28ad0437a6b663066e7d54b0c682d (patch) | |
| tree | 054415cdc9b7c5a1391f3471d20cfde0e302bcad /budget/templates | |
| parent | 44060f03dfd6fb9f1925496f06992984ef41062b (diff) | |
| download | ihatemoney-mirror-8570e79170e28ad0437a6b663066e7d54b0c682d.zip ihatemoney-mirror-8570e79170e28ad0437a6b663066e7d54b0c682d.tar.gz ihatemoney-mirror-8570e79170e28ad0437a6b663066e7d54b0c682d.tar.bz2 | |
reorganize the static folder structure
Diffstat (limited to 'budget/templates')
| -rw-r--r-- | budget/templates/add_bill.html | 5 | ||||
| -rw-r--r-- | budget/templates/add_member.html | 3 | ||||
| -rw-r--r-- | budget/templates/layout.html | 5 | ||||
| -rw-r--r-- | budget/templates/layout.txt | 2 | ||||
| -rw-r--r-- | budget/templates/list_bills.html | 5 |
5 files changed, 7 insertions, 13 deletions
diff --git a/budget/templates/add_bill.html b/budget/templates/add_bill.html index b784bfd..34b89cc 100644 --- a/budget/templates/add_bill.html +++ b/budget/templates/add_bill.html @@ -1,11 +1,10 @@ {% extends "layout.html" %} {% block head %} - <script src="{{ url_for("static", filename="jquery/js/jquery-ui.js") }}"></script> + <script src="{{ url_for("static", filename="js/jquery-ui.js") }}"></script> {% if g.lang != "en" %} - <script src="{{ url_for("static", filename="jquery/i18n/jquery.ui.datepicker-%s.js" % g.lang ) }}"></script> + <script src="{{ url_for("static", filename="js/i18n/jquery.ui.datepicker-%s.js" % g.lang ) }}"></script> {% endif %} - <script src="{{ url_for("static", filename="ihatemoney/custom.js") }}"></script> {% endblock %} {% block js %} $('#cancel-form').click(function(){location.href={{ url_for(".list_bills") }};}); diff --git a/budget/templates/add_member.html b/budget/templates/add_member.html index 9577ac2..91ca226 100644 --- a/budget/templates/add_member.html +++ b/budget/templates/add_member.html @@ -1,7 +1,4 @@ {% extends "layout.html" %} -{% block head %} - <script src="{{ url_for("static", filename="ihatemoney/custom.js") }}"></script> -{% endblock %} {% block js %} auto_hide_default_text('#name'); {% endblock %} diff --git a/budget/templates/layout.html b/budget/templates/layout.html index bd02435..ab1f45d 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -4,8 +4,9 @@ <head> <title>{{ _("Account manager") }}{% block title %}{% endblock %}</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> - <link rel=stylesheet type=text/css href="{{ url_for("static", filename='main.css') }}"> - <script src="{{ url_for("static", filename="jquery/js/jquery-1.6.2.min.js") }}"></script> + <link rel=stylesheet type=text/css href="{{ url_for("static", filename='css/main.css') }}"> + <script src="{{ url_for("static", filename="js/jquery-1.6.2.min.js") }}"></script> + <script src="{{ url_for("static", filename="js/ihatemoney.js") }}"></script> {% block head %}{% endblock %} <script type="text/javascript" charset="utf-8"> $(document).ready(function(){ diff --git a/budget/templates/layout.txt b/budget/templates/layout.txt deleted file mode 100644 index c6afe66..0000000 --- a/budget/templates/layout.txt +++ /dev/null @@ -1,2 +0,0 @@ -{% block content %} -{% endblock %}
\ No newline at end of file diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index 8751e31..c6eeb02 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -2,11 +2,10 @@ {% block title %}- {{ g.project.name }}{% endblock %} {% block head %} - <script src="{{ url_for("static", filename="jquery/js/jquery-ui.js") }}"></script> + <script src="{{ url_for("static", filename="js/jquery-ui.js") }}"></script> {% if g.lang != "en" %} - <script src="{{ url_for("static", filename="jquery/i18n/jquery.ui.datepicker-%s.js" % g.lang ) }}"></script> + <script src="{{ url_for("static", filename="js/i18n/jquery.ui.datepicker-%s.js" % g.lang ) }}"></script> {% endif %} - <script src="{{ url_for("static", filename="ihatemoney/custom.js") }}"></script> {% endblock %} {% block js %} |
