diff options
-rw-r--r-- | site-media/css/style.css | 2 | ||||
-rw-r--r-- | templates/tree.html | 23 |
2 files changed, 16 insertions, 9 deletions
diff --git a/site-media/css/style.css b/site-media/css/style.css index b10ddc0..a2d8996 100644 --- a/site-media/css/style.css +++ b/site-media/css/style.css @@ -10,6 +10,8 @@ div#footer ul { margin-right: 50px; list-style: none; padding: 0; margin: 0; } div#footer li { float: left; margin: 0 0.15em} .navlist ul { list-style: none; padding: 0; margin: 0; } .navlist li { float: right; display: inline; margin: 0 0.15em; } +.ilist ul { list-style: none inside; padding: 0; margin: 0; } +.ilist li { float: left; display: inline; margin: 0; } .description { inherit: none; margin-bottom: 10px; } div#headline{ font: 300% "Trebuchet MS", sans-serif; margin-bottom: 20px;} .name { font: 100% "Trebuchet MS", sans-serif; margin-top: 5px;} 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"> |