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/tree.html | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'templates/tree.html') 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