diff options
author | Leif Johansson <leifj@sunet.se> | 2011-02-28 22:39:17 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-02-28 22:39:17 +0100 |
commit | a3c3141ad80eb1de6d67b2452a7e92b8c21e02c4 (patch) | |
tree | 498e9cd34b3ebc4d4193353625e185b9ce0c2c58 /templates/tree.html | |
parent | 77ceee6e23f2a8daaf5e3247970953313aebcdd3 (diff) |
uplink
Diffstat (limited to 'templates/tree.html')
-rw-r--r-- | templates/tree.html | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/templates/tree.html b/templates/tree.html index eed61e4..94b8f8c 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -31,15 +31,20 @@ $(function() { {% block title %}COIP{% if name %} - {{name.shortname}}{% else %} - top{% endif %}{% endblock %} {% block main %} <div id="left"> - <div id="tree"> - <b>{{ prefix_url }}</b> - {% if name and render.up %} - {% if name.parent %} - <a href="{{name.parent.url}}">.. (up one level)</a> - {% else %} - <a href="/name">.. (up one level)</a> - {% endif %} - {% endif %} + <div id="tree"> + <div style="margin-left: -40px;"> + <ul class="ilist"> + <li><b>{{ prefix_url }}</b></li> + {% if name and render.up %} + {% if name.parent %} + <li><a href="{{name.parent.url}}"><div class="ui-icon ui-icon-arrowreturnthick-1-w"></div></a></li> + {% else %} + <li><a href="/name"><div class="ui-icon ui-icon-arrowreturnthick-1-w"></div></a></li> + {% endif %} + {% endif %} + </ul> + </div> + <div class="clear"></div> <div id="jstree"></div> </div> <!-- div id="related"> |