diff options
author | francis <francis> | 2008-02-13 15:14:55 +0000 |
---|---|---|
committer | francis <francis> | 2008-02-13 15:14:55 +0000 |
commit | 6ddeee667e4aa9faf6c93d82f72e28887f032bcd (patch) | |
tree | d0f072d332a21b740561703ab93bfa2607720826 | |
parent | 83940607af1876ba8d705ab6bd6c20db160fd4e6 (diff) |
Use CSS for vertical alignment, not old HTML.
-rw-r--r-- | app/views/request/_bubble.rhtml | 2 | ||||
-rw-r--r-- | public/stylesheets/main.css | 6 | ||||
-rw-r--r-- | todo.txt | 12 |
3 files changed, 18 insertions, 2 deletions
diff --git a/app/views/request/_bubble.rhtml b/app/views/request/_bubble.rhtml index f28801688..54c91000f 100644 --- a/app/views/request/_bubble.rhtml +++ b/app/views/request/_bubble.rhtml @@ -6,7 +6,7 @@ <% if not attachments.nil? and attachments.size > 0 %> <p> <% attachments.each do |a| %> <% if ['application/pdf', 'application/msword', 'text/plain', 'image/tiff'].include?(a.content_type) %> - <img alt="Attachment" src="/images/icon_<%=a.content_type.sub('/', '_')%>_large.png" align="absmiddle"> + <img class="attachment_image" alt="Attachment" src="/images/icon_<%=a.content_type.sub('/', '_')%>_large.png"> <% else %> Attachment: <% end %> diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 094ec8d7b..df0feedae 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -298,7 +298,7 @@ table#list_requests .odd { display: none; } -/* /describe_state - user setting status of request */ +/* /describe_state - user setting status of request */ .describe_state_form { clear: both; @@ -323,6 +323,10 @@ table#list_requests .odd { margin-top: 3em; } +img.attachment_image { + vertical-align: middle; +} + /* / - about page */ dt { @@ -14,6 +14,10 @@ BAILII - relationship with law courts, robots.txt ? Status of messages stuff ======================== +On request received /describe page the formatting of the dialogues asking for +state change is broken now. + + Use sent again date when there has been resent?, e.g. for http://foi.mysociety.org/request/16 Make date estimate use follow up time etc. @@ -22,6 +26,8 @@ Status inputting: cope with "other" case when something is both (e.g. received some AND clarify) search for 'classify' and tidy text +Status here is wrong: + http://foi.mysociety.org/request/11 Show proper due date on, e.g. http://foi.mysociety.org/request/4 @@ -177,3 +183,9 @@ FOE site has email addresses of lots of bodies, e.g. http://community.foe.co.uk/app/tc +Visual design ideas +=================== + +Colour/shade requests and responses bubbles differently + + |