aboutsummaryrefslogtreecommitdiff
path: root/budget/templates
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates')
-rw-r--r--budget/templates/add_bill.html5
-rw-r--r--budget/templates/add_member.html3
-rw-r--r--budget/templates/layout.html5
-rw-r--r--budget/templates/layout.txt2
-rw-r--r--budget/templates/list_bills.html5
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 %}