diff options
author | Will Woods <wwoods@redhat.com> | 2009-09-14 16:40:00 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2009-09-14 16:40:00 -0400 |
commit | 56912ffb491c05402ac78f7fe665ad427c668a29 (patch) | |
tree | 8fcbd0b52bfb46b03e05f77c4ea1aed17c663f4b | |
parent | 5c8522280a9d2be0b0ec0e41bb81428da505892d (diff) | |
download | israwhidebroken-56912ffb491c05402ac78f7fe665ad427c668a29.tar.gz israwhidebroken-56912ffb491c05402ac78f7fe665ad427c668a29.tar.xz israwhidebroken-56912ffb491c05402ac78f7fe665ad427c668a29.zip |
pretty up layout a bit
-rw-r--r-- | israwhidebroken/static/css/layout.css | 17 | ||||
-rw-r--r-- | israwhidebroken/templates/index.html | 12 |
2 files changed, 23 insertions, 6 deletions
diff --git a/israwhidebroken/static/css/layout.css b/israwhidebroken/static/css/layout.css index d5a37ca..76a86fb 100644 --- a/israwhidebroken/static/css/layout.css +++ b/israwhidebroken/static/css/layout.css @@ -32,6 +32,23 @@ a[name] { padding-left: 20px; } +table#results { + margin: auto; + border-spacing: 0; + border-top: 1px solid #000; +} +table#results td { + border-bottom: 1px solid #000; + background-color: #ddd; + padding: 10px 10px; +} +table#results td.pass { + background-color: #9f9; +} +table#results td.fail { + background-color: #f99; +} + #fedora-header { background-color: #fff; height: 62px; diff --git a/israwhidebroken/templates/index.html b/israwhidebroken/templates/index.html index facc4db..ca9bca8 100644 --- a/israwhidebroken/templates/index.html +++ b/israwhidebroken/templates/index.html @@ -12,12 +12,12 @@ </head> <body> - <ol> - <li py:for="test in tests"> - <a href="${test.uri}">${test.name}</a>: NONE - <a py:if="in_qa" href="#in_qa">change result</a> - </li> - </ol> + <table id="results"> + <tr py:for="test in tests" py:with="result='noresult'"> <!--! pass, fail --> + <td class="${result}"><a href="${test.uri}">${test.name}</a></td> + <td class="${result}">${result}<a py:if="in_qa" href="#in_qa">change result</a></td> + </tr> + </table> <div py:if="admin"><a href="#admin">delete this tree</a></div> </body> </html> |