Code

nicer style for class list
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 4 Sep 2002 05:22:37 +0000 (05:22 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 4 Sep 2002 05:22:37 +0000 (05:22 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1063 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/templates/classic/html/home.classlist
roundup/templates/classic/html/style.css

index f79ce5480152f0e490819e78f72bb180eedc14b7..2eb1304ad883d975de2e9be62354344db77001d0 100644 (file)
@@ -1,14 +1,14 @@
-<table border=0 cellspacing=0 cellpadding=2>
+<table class="classlist">
 
 <tal:block tal:repeat="cl db/classes">
- <tr class="list-header">
-  <th colspan="2" align="left">
+ <tr>
+  <th class="header" colspan="2" align="left">
    <a tal:attributes="href string:${cl/classname}"
       tal:content="python:cl.classname.capitalize()">classname</a>
   </th>
  </tr>
  <tr tal:repeat="prop cl/properties">
-  <th align="left" tal:content="prop/name">name</th>
+  <th tal:content="prop/name">name</th>
   <td tal:content="prop/prop">type</td>
  </tr>
 </tal:block>
index 1191bbb117a1f78a98d1571ac3d31de78823b7f0..0859796e965207e56cd3ef4ea94eb425868e3fc2 100644 (file)
@@ -216,3 +216,24 @@ table.otherinfo th {
   text-align: left;
 }
 
+
+/* style for class list */
+table.classlist {
+  border-spacing: 0px;
+  border-collapse: separate;
+  width: 100%;
+}
+
+table.classlist th.header{
+  padding-top: 10px;
+  border-bottom: 1px solid gray;
+  font-weight: bold;
+  background-color: white;
+  color: #707040;
+}
+
+table.classlist th {
+  font-weight: bold;
+  text-align: left;
+}
+