From b8cfe5dc64c35ce51a4c0cc174b60532f4eef688 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 5 Aug 2010 14:20:30 +0200 Subject: style polish --- templates/base.html | 96 +++++++++++++++++++---------------------------------- templates/edit.html | 1 - templates/tree.html | 32 ++++++++++-------- 3 files changed, 52 insertions(+), 77 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index b857c03..c79aa4d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -7,6 +7,7 @@ + @@ -54,80 +55,50 @@ }); {% block js %}{% endblock %} - -
+
+
diff --git a/templates/edit.html b/templates/edit.html index 214af95..7ada9a1 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -27,5 +27,4 @@
- {% endblock %} \ No newline at end of file diff --git a/templates/tree.html b/templates/tree.html index 38ecfac..bd64654 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -4,7 +4,7 @@ $(function() { {% block widgets %}{% endblock %} {% if name %} - $('#tree').jstree({ + $('#jstree').jstree({ 'json_data': { 'ajax': { 'url': function(n) { @@ -16,9 +16,12 @@ $(function() { } }, "progressive_render" : true, - 'animation': 0, }, - 'plugins': ['themeroller','json_data'] + 'themes': { + 'theme': 'classic' + }, + 'animation': 0, + 'plugins': ['themes','json_data'] }); {% endif %} }); @@ -28,8 +31,8 @@ $(function() { {% block title %}COIP{% if name %} - {{name.shortname}}{% endif %}{% endblock %} {% block main %} {% if name %} -
- +
+
{% if name and render.up %} {% if name.parent %} .. (up one level) @@ -37,28 +40,29 @@ $(function() { .. (up one level) {% endif %} {% endif %} -
- - +
+
+
{% endif %} -
+ {% endblock %} \ No newline at end of file -- cgit v1.1