[open-ils-commits] r104 - in servres/trunk/conifer: static templates/components
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Jan 11 16:55:39 EST 2009
Author: gfawcett
Date: 2009-01-11 16:55:34 -0500 (Sun, 11 Jan 2009)
New Revision: 104
Modified:
servres/trunk/conifer/static/main.css
servres/trunk/conifer/templates/components/item.xhtml
Log:
about/edit links on left. Better?
I'm not sure it is. I want to keep a copy of the css though.
Modified: servres/trunk/conifer/static/main.css
===================================================================
--- servres/trunk/conifer/static/main.css 2009-01-11 04:04:16 UTC (rev 103)
+++ servres/trunk/conifer/static/main.css 2009-01-11 21:55:34 UTC (rev 104)
@@ -6,7 +6,7 @@
body, html { margin: 0; padding: 0; }
body {
background-color: white;
- font-size: small;
+ font-size: normal;
}
#mainpanel { background-color: white; padding: 0 12 24 12; }
@@ -76,11 +76,20 @@
}
.pagetable thead th { font-size: smaller; text-align: left; padding: 2 8; }
+
+.itemtree { margin-left: 100; }
+.itemtree .itemtree { margin-left: 0;}
+
.itemtree li { width: 400; }
-.metalinks { padding-left: 12; color: gray; }
-.metalinks a { color: navy; }
-.metalinks { position: absolute; left: 500; }
+.itemtree .metalinks { padding-left: 12; color: gray;
+ position: absolute; left: 0;
+ font-size: small;
+ }
+.itemtree .metalinks a { color: navy; }
+
+.itemadd { margin-left: 100; }
+
.instructors {
border: 1px solid #ccc;
float: left;
Modified: servres/trunk/conifer/templates/components/item.xhtml
===================================================================
--- servres/trunk/conifer/templates/components/item.xhtml 2009-01-11 04:04:16 UTC (rev 103)
+++ servres/trunk/conifer/templates/components/item.xhtml 2009-01-11 21:55:34 UTC (rev 104)
@@ -19,12 +19,11 @@
<div py:def="nested_title(item)"
py:with="hier=item.hierarchy()[:-1]; lastnum=len(hier)"
class="nestedtitle">
- <span py:for="n, x in enumerate(hier)"
- style="margin-left: ${n}em;"><a href="${item_url(x)}">${x.title}</a> • </span>
+ <span py:for="n, x in enumerate(hier)"><a href="${item_url(x)}">${x.title}</a> • </span>
<h2>${item.title}</h2>
</div>
- <ul py:def="add_subs(parent=None)">
+ <ul py:def="add_subs(parent=None)" class="itemadd">
<li>Add a new item...</li>
<ul py:with="prefix = (not parent) and 'item/0/' or ''">
<li><a href="${prefix}add?item_type=HEADING">Add subheading</a></li>
More information about the open-ils-commits
mailing list