Mercurial > public > sg101
annotate media/css/bio.css @ 145:71cb4208dc98
Tweak to #30, admin dashboard. Because of a bug in Django (9568), my dashboard appears on the login page. To get around this, pass in the user to the templatetag, so it can do a 'if user.is_staff' check. Also tweaked the HTML and CSS to show non-zero pending items in red. Shortened the pending item titles for readability.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 09 Dec 2009 00:03:10 +0000 |
parents | a4635c094f24 |
children |
rev | line source |
---|---|
bgneal@130 | 1 div.user_profile th { |
gremmie@1 | 2 font-weight: bold; |
gremmie@1 | 3 text-align: left; |
gremmie@1 | 4 padding: 5px 5px; |
gremmie@1 | 5 } |
bgneal@130 | 6 div.user_profile td { |
gremmie@1 | 7 font-weight: normal; |
gremmie@1 | 8 text-align: left; |
gremmie@1 | 9 padding: 5px 5px; |
gremmie@1 | 10 } |
gremmie@1 | 11 |
gremmie@1 | 12 div.members-list table { |
gremmie@1 | 13 border-collapse: collapse; |
gremmie@1 | 14 width: 95%; |
gremmie@1 | 15 border: 1px solid black; |
gremmie@1 | 16 margin: 1em auto 1em auto; |
gremmie@1 | 17 } |
gremmie@1 | 18 |
bgneal@130 | 19 div.members-list th { |
gremmie@1 | 20 font-weight: bold; |
gremmie@1 | 21 text-align: center; |
gremmie@1 | 22 padding: 5px 5px; |
gremmie@1 | 23 } |
gremmie@1 | 24 |
bgneal@130 | 25 div.members-list tr { |
gremmie@1 | 26 border-top: 1px solid black; |
gremmie@1 | 27 border-bottom: 1px solid black; |
gremmie@1 | 28 text-align: center; |
gremmie@1 | 29 } |
gremmie@1 | 30 |
bgneal@130 | 31 div.members-list td { |
gremmie@1 | 32 padding: 5px 5px; |
bgneal@130 | 33 text-align: center; |
gremmie@1 | 34 } |
gremmie@1 | 35 |
bgneal@130 | 36 div.members-list tr.odd { |
gremmie@1 | 37 background-color: #ddd; |
gremmie@1 | 38 } |