From 3cb58a9e9c9aae32ae1b22c3d8e83528df766764 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Sun, 19 Jun 2011 23:36:45 +0200 Subject: allow tree to be hidden --- site-media/css/style.css | 19 ++---- site-media/img/vertical-separator.gif | Bin 0 -> 51 bytes templates/apps/name/name.html | 3 +- templates/base.html | 2 +- templates/tree.html | 121 ++++++++++++++++++++++++---------- 5 files changed, 95 insertions(+), 50 deletions(-) create mode 100644 site-media/img/vertical-separator.gif diff --git a/site-media/css/style.css b/site-media/css/style.css index 2de5324..b6b5e95 100644 --- a/site-media/css/style.css +++ b/site-media/css/style.css @@ -5,7 +5,7 @@ div#container { position: relative; height:auto !important; height: 100%; min-he #modal-dialog input.text textarea { margin-bottom:12px; width:95%; padding: .4em; } #modal-dialog fieldset { padding:0; border:0; margin-top:25px; } div#intro { font-size: 150%; margin-top: 50px; } -div#footer { margin-right: 50px; border-top: 1px solid #CECECE; position: absolute; bottom: 0; padding-bottom: 0px; width: 100%; } +div#footer { margin-right: 50px; border-top: 1px solid #CECECE; position: absolute; bottom: 0; padding-bottom: 20px; width: 100%; } div#footer ul { list-style: none; padding: 0; margin: 0; } div#footer li { display: inline; } div#footer li li { display: block; } @@ -20,9 +20,6 @@ h3.listheader { padding-left: 20px; } ul.ilist { list-style: none inside; margin: 0; padding 0; padding-left: 0px} .ilist li { display: inline-block; margin: 0; padding 0; } -ul.leftright { padding: 0px; margin: 0px; } -li.leftright { display: inline-block; list-style: none inside; padding: 0px; vertical-align: top;} - ul.rlist { list-style: none inside; padding: 0; margin: 0; padding-left: 0px} .rlist li { float: right; display: inline; padding: 0; margin: 0; } @@ -78,13 +75,7 @@ h2, h2 a { font-size: 150% } -#files { width: 520px; clear: both; margin: 20px 0 10px; } -#files .viewport { width: 500px; height: 200px; overflow: hidden; position: relative; } -#files .overview { list-style: none; position: absolute; left: 0; top: 0; } -#files .thumb .end, -#files .thumb { background-color: #003D5D; } -#files .scrollbar { position: relative; float: right; width: 15px; } -#files .track { background-color: #D8EEFD; height: 100%; width:13px; position: relative; padding: 0 1px; } -#files .thumb { height: 20px; width: 13px; cursor: pointer; overflow: hidden; position: absolute; top: 0; } -#files .thumb .end { overflow: hidden; height: 5px; width: 13px; } -#files .disable{ display: none; } \ No newline at end of file +#thesidebar, #thecontent, #theseparator { vertical-align: top; display: inline-block; } +#thesidebar { width: 35%; float: left; } +#thecontent { width: 58%; } +#theseparator { display: none; } diff --git a/site-media/img/vertical-separator.gif b/site-media/img/vertical-separator.gif new file mode 100644 index 0000000..38fc154 Binary files /dev/null and b/site-media/img/vertical-separator.gif differ diff --git a/templates/apps/name/name.html b/templates/apps/name/name.html index ddaa6d8..cf3e7ee 100644 --- a/templates/apps/name/name.html +++ b/templates/apps/name/name.html @@ -60,7 +60,7 @@
{{m|memberdisplay}} became a member of {{name.shortname}} {{m.timecreated|datehumanize}} {% if m.tags %}

Role{{m.tags|pluralize}}

- {%endif%} + {%endif%}
- {% empty %} diff --git a/templates/base.html b/templates/base.html index 7d44bd8..e784293 100644 --- a/templates/base.html +++ b/templates/base.html @@ -109,7 +109,7 @@
  • diff --git a/templates/tree.html b/templates/tree.html index 9fab51b..f1e45b4 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -3,43 +3,96 @@ {% endblock %} {% block main %} - {% endblock %} \ No newline at end of file -- cgit v1.1