Mercurial > public > sg101
view messages/static/css/messages.css @ 629:f4c043cf55ac
Wiki integration. Requests don't always have sessions.
In particular this occurs when a request is made without a trailing slash.
The Common middleware redirects when this happens, and the middleware
process_request() processing stops before a session can get added.
So just set an attribute on the request object for each operation.
This seemed weird to me at first, but there are plenty of examples of this
in the Django code base already.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 13 Nov 2012 13:50:06 -0600 |
parents | ee87ea74d46b |
children | e966d5553955 |
line wrap: on
line source
blockquote { margin-left: 2em; border-left: 3px solid grey; padding-left: 3px; } blockquote ul { margin-left: 1em; } table.messages { border: 1px solid black; border-spacing: 0px; border-collapse: collapse; margin: 1em auto; width: 96%; } table.messages th { color: black; background: #87b6d9; padding: 3px 4px 3px 4px; font-weight: bold; } table.messages td { border: 1px solid black; padding: 10px 8px; } table.message-header { border-spacing: 0px; border-collapse: collapse; border-top: 1px solid black; border-bottom: 1px solid black; } table.message-header tr { border-bottom: 1px solid black; } table.message-header th { text-align: left; font-weight: bold; padding: 3px; } table.message-header td { text-align: left; padding: 3px; } div.message-body { margin: 1em 1em; padding-top: 5px; } div.message-signature { font-size: smaller; margin-left: 1em; } div.message-hr { width: 20%; margin-left: 0; border-top: 1px solid black; } form.messages-button { display: inline; } .unread { font-weight: bold; } .replied_to { font-style: italic; } .pagination { text-align: right; }