aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/default.rhtml9
-rw-r--r--app/views/public_body/_body_listing.rhtml2
-rw-r--r--app/views/public_body/list.rhtml17
-rw-r--r--app/views/public_body/show.rhtml2
-rw-r--r--app/views/request/_sidebar.rhtml2
-rw-r--r--app/views/request/new.rhtml9
-rw-r--r--app/views/request/show.rhtml2
-rw-r--r--app/views/user/_signin.rhtml4
-rw-r--r--app/views/user/_signup.rhtml2
-rw-r--r--app/views/user/show.rhtml37
-rw-r--r--app/views/user/sign.rhtml21
-rw-r--r--public/images/button-awaiting-classification.pngbin2212 -> 0 bytes
-rw-r--r--public/images/button-complete.pngbin1597 -> 0 bytes
-rw-r--r--public/images/button-gradient.pngbin0 -> 329 bytes
-rw-r--r--public/images/button-overdue.pngbin1696 -> 0 bytes
-rw-r--r--public/images/button-preview.pngbin0 -> 1743 bytes
-rw-r--r--public/images/email-16.pngbin593 -> 313 bytes
-rw-r--r--public/images/quote.pngbin1128 -> 470 bytes
-rw-r--r--public/images/status-complete.pngbin0 -> 878 bytes
-rw-r--r--public/images/status-denied.pngbin0 -> 969 bytes
-rw-r--r--public/images/status-error.pngbin0 -> 788 bytes
-rw-r--r--public/images/status-gone-postal.pngbin0 -> 882 bytes
-rw-r--r--public/images/status-internal-review.pngbin0 -> 965 bytes
-rw-r--r--public/images/status-not-held.pngbin0 -> 917 bytes
-rw-r--r--public/images/status-overdue.pngbin0 -> 1049 bytes
-rw-r--r--public/images/status-pending.pngbin0 -> 1031 bytes
-rw-r--r--public/images/status-withdrawn.pngbin0 -> 891 bytes
-rw-r--r--public/images/stripes-70.pngbin0 -> 49397 bytes
-rw-r--r--public/images/stripes.png_bin271 -> 0 bytes
-rw-r--r--public/images/twitter-16.pngbin0 -> 586 bytes
-rw-r--r--public/stylesheets/ie7.css18
31 files changed, 80 insertions, 45 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml
index 61cf1e0ab..91980d9d7 100644
--- a/app/views/layouts/default.rhtml
+++ b/app/views/layouts/default.rhtml
@@ -28,6 +28,9 @@
<!--[if LT IE 7]>
<style type="text/css">@import url("/stylesheets/ie6-custom.css");</style>
<![endif]-->
+ <!--[if LT IE 8]>
+ <style type="text/css">@import url("/stylesheets/ie7.css");</style>
+ <![endif]-->
<%= stylesheet_link_tag 'custom', :title => "Main", :rel => "stylesheet" %>
<% if @feed_autodetect %>
@@ -94,10 +97,10 @@
<div id="topnav">
<ul id="navigation">
- <li class="<%= 'selected' if params[:controller] == 'general' %>"><%= link_to _("Make a request"), frontpage_url %></li>
- <li class="<%= 'selected' if params[:controller] == 'request' %>"><%= link_to _("View requests"), request_list_all_url %></li>
+ <li class="<%= 'selected' if params[:controller] == 'general' and params[:action] != 'blog' %>"><%= link_to _("Make a request"), frontpage_url %></li>
+ <li class="<%= 'selected' if params[:controller] == 'request' %>"><%= link_to _("View requests"), request_list_successful_url %></li>
<li class="<%= 'selected' if params[:controller] == 'public_body' %>"><%= link_to _("View authorities"), list_public_bodies_default %></li>
- <li class="<%= 'selected' if params[:controller] == 'blog' %>"><%= link_to _("Read blog"), blog_url %></li>
+ <li class="<%= 'selected' if params[:controller] == 'general' and params[:action] == 'blog' %>"><%= link_to _("Read blog"), blog_url %></li>
<li class="<%= 'selected' if params[:controller] == 'help' %>"><%= link_to _("Help"), help_about_url %></li>
</ul>
</div>
diff --git a/app/views/public_body/_body_listing.rhtml b/app/views/public_body/_body_listing.rhtml
index 48b6e8245..864ab8c9b 100644
--- a/app/views/public_body/_body_listing.rhtml
+++ b/app/views/public_body/_body_listing.rhtml
@@ -1,5 +1,7 @@
<% if public_bodies.empty? %>
+ <p>
<%= _("None found.")%>
+ </p>
<% else %>
<% for public_body in public_bodies %>
<%= render :partial => 'public_body/body_listing_single', :locals => { :public_body => public_body } %>
diff --git a/app/views/public_body/list.rhtml b/app/views/public_body/list.rhtml
index 65c24430d..e5ccb4fd9 100644
--- a/app/views/public_body/list.rhtml
+++ b/app/views/public_body/list.rhtml
@@ -1,8 +1,7 @@
-<div id="body_sidebar">
+<div id="right_column">
+ <h2><%=_('Show only...')%></h2>
- <h1><%=_('Show only...')%></h1>
-
- <h2><%=_('Alphabet') %></h2>
+ <h3><%=_('Beginning with') %></h3>
<ul><li>
<%= render :partial => 'alphabet' %>
</li></ul>
@@ -19,7 +18,7 @@
<% else %>
<% first_row = false %>
<% end %>
- <h2><%=h row%></h2>
+ <h3><%=h row%></h3>
<ul>
<% end %>
<% end %>
@@ -31,11 +30,10 @@
<p>
<%= link_to _('List of all authorities (CSV)'), all_public_bodies_csv_url() %>
</p>
-
</div>
<% @title = _("Public authorities - {{description}}", :description => @description) %>
-
+<div id="left_column">
<h1>Public authorities</h1>
<h2 class="publicbody_results"><%= _('Found {{count}} public bodies {{description}}', :count=>@public_bodies.size, :description=>@description) %></h2>
@@ -49,5 +47,6 @@
<%= render :partial => 'body_listing', :locals => { :public_bodies => @public_bodies } %>
-<%= will_paginate(@public_bodies) %><br/>
-<%= _('<a href="%s">Can\'t find the one you want?</a>') % [help_requesting_path + '#missing_body'] %>
+ <%= will_paginate(@public_bodies) %><br/>
+ <%= _('<a href="%s">Can\'t find the one you want?</a>') % [help_requesting_path + '#missing_body'] %>
+</div>
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml
index f82ffa41e..ef554c35c 100644
--- a/app/views/public_body/show.rhtml
+++ b/app/views/public_body/show.rhtml
@@ -49,7 +49,7 @@
<% else %>
Make a new <strong>Freedom of Information</strong> request
<% end %>
- <%= _('<a href="{{url}}">{{image_tag}}</a>', :url=>new_request_to_body_url(:url_name => @public_body.url_name), :image_tag=>image_tag('start-button.png'))%>
+ <%= _('&nbsp;<a class="link_button_green" href="{{url}}">{{text}}</a>', :url=>new_request_to_body_url(:url_name => @public_body.url_name), :text=>_("Start"))%>
<% elsif @public_body.has_notes? %>
<%= @public_body.notes_as_html %>
<% elsif @public_body.not_requestable_reason == 'not_apply' %>
diff --git a/app/views/request/_sidebar.rhtml b/app/views/request/_sidebar.rhtml
index 2b9652d9c..4dce18e76 100644
--- a/app/views/request/_sidebar.rhtml
+++ b/app/views/request/_sidebar.rhtml
@@ -1,4 +1,4 @@
-<div id="request_sidebar">
+<div id="right_column">
<h2><%= _('Track this request') %></h2>
<%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => @info_request.user == @user, :location => 'sidebar' } %>
diff --git a/app/views/request/new.rhtml b/app/views/request/new.rhtml
index bf9707c37..9538065ed 100644
--- a/app/views/request/new.rhtml
+++ b/app/views/request/new.rhtml
@@ -28,11 +28,12 @@
<% end %>
<% if !@info_request.public_body.calculated_home_page.nil? %>
<br>
- &nbsp; &nbsp; &nbsp; &nbsp; <%= text_field_tag 'q', params[:q], { :size => 20 } %>
- <%= hidden_field_tag 'as_sitesearch', @info_request.public_body.calculated_home_page %>
- <%= submit_tag _("Search") %>
+ <p>
+ &nbsp; &nbsp; &nbsp; &nbsp; <%= text_field_tag 'q', params[:q], { :size => 20 } %>
+ <%= hidden_field_tag 'as_sitesearch', @info_request.public_body.calculated_home_page %>
+ <%= submit_tag _("Search") %>
+ </p>
<% end %>
- <br>
... <%= _('to check that the info isn\'t already published.') %>
</p>
<% end %>
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml
index 2897a3564..c5d040fb7 100644
--- a/app/views/request/show.rhtml
+++ b/app/views/request/show.rhtml
@@ -22,7 +22,7 @@
<%= render :partial => 'sidebar' %>
-<div id="request_main">
+<div id="left_column">
<h1><%=h(@info_request.title)%></h1>
<% if @info_request.user.profile_photo %>
diff --git a/app/views/user/_signin.rhtml b/app/views/user/_signin.rhtml
index 79628b3a9..6baed3c25 100644
--- a/app/views/user/_signin.rhtml
+++ b/app/views/user/_signin.rhtml
@@ -3,9 +3,9 @@
<% form_tag({:action => "signin"}, {:id => "signin_form"}) do %>
<%= foi_error_messages_for :user_signin %>
- <% if not sign_in_as_existing_user %>
+ <!--<% if not sign_in_as_existing_user %>
<h2><%= _('If you\'ve used {{site_name}} before', :site_name=>site_name)%></h2>
- <% end %>
+ <% end %>-->
<p>
<label class="form_label" for="user_signin_email"><%= _('Your e-mail:')%></label>
diff --git a/app/views/user/_signup.rhtml b/app/views/user/_signup.rhtml
index 6b0a1f8c7..9c228d684 100644
--- a/app/views/user/_signup.rhtml
+++ b/app/views/user/_signup.rhtml
@@ -3,7 +3,7 @@
<% form_tag({:action => "signup"}, {:id => "signup_form"}) do %>
<%= foi_error_messages_for :user_signup %>
- <h2><%= _('If you\'re new to {{site_name}}', :site_name=>site_name)%></h2>
+ <!--<h2><%= _('If you\'re new to {{site_name}}', :site_name=>site_name)%></h2>-->
<p>
<label class="form_label" for="user_signup_email"><%= _('Your e-mail:')%></label>
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index 8fd6c52ad..17fc0c46d 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -24,20 +24,20 @@
</div>
<% end %>
-
-<div id="request_sidebar">
- <h2><%= _('Track this person')%></h2>
- <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %>
-
- <h2><%= _('On this page')%></h2>
- <a href="#foi_requests"><%= _('FOI requests')%></a>
- <br><a href="#annotations"><%= _('Annotations')%></a>
- <% if @is_you %>
- <br><a href="#email_subscriptions"><%= _('Email subscriptions')%></a>
- <% end %>
-</div>
-
-<div class="single_user">
+<div>
+ <div id="header_right">
+ <h2><%= _('Track this person')%></h2>
+ <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %>
+
+ <h2><%= _('On this page')%></h2>
+ <a href="#foi_requests"><%= _('FOI requests')%></a>
+ <br><a href="#annotations"><%= _('Annotations')%></a>
+ <% if @is_you %>
+ <br><a href="#email_subscriptions"><%= _('Email subscriptions')%></a>
+ <% end %>
+ </div>
+
+ <div class="header_left">
<p id="user_photo_on_profile">
<% if @display_user.profile_photo %>
<% if @is_you %>
@@ -113,15 +113,18 @@
<%= _('<a href="%s">Sign in</a> to change password, subscriptions and more ({{user_name}} only)',:user_name=>h(@display_user.name)) % [signin_url(:r => request.request_uri)]%>
</p>
<% end %>
+ </div>
+</div>
+<div style="clear:both"></div>
<% if !@xapian_requests.nil? %>
<% if @xapian_requests.results.empty? %>
<% if @page == 1 %>
- <h2 id="foi_requests"><%= @is_you ? 'Freedom of Information requests made by you' : 'Freedom of Information requests made by this person' %> </h2>
+ <h2 class="foi_results" id="foi_requests"><%= @is_you ? 'Freedom of Information requests made by you' : 'Freedom of Information requests made by this person' %> </h2>
<p><%= @is_you ? _('You have made no Freedom of Information requests using this site.') : _('This person has made no Freedom of Information requests using this site.') %>
<% end %>
<% else %>
- <h2 id="foi_requests">
+ <h2 class="foi_results" id="foi_requests">
<%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @display_user.info_requests.size) % @display_user.info_requests.size : n_('This person\'s %d Freedom of Information request', 'This person\'s %d Freedom of Information requests', @display_user.info_requests.size) % @display_user.info_requests.size %>
<!-- matches_estimated <%=@xapian_requests.matches_estimated%> -->
<%= @page_desc %>
@@ -134,7 +137,7 @@
<%= will_paginate WillPaginate::Collection.new(@page, @per_page, @display_user.info_requests.size) %>
<% end %>
<% else %>
- <h2 id="foi_requests"><%= @is_you ? _('Freedom of Information requests made by you') : _('Freedom of Information requests made by this person') %> </h2>
+ <h2 class="foi_results" id="foi_requests"><%= @is_you ? _('Freedom of Information requests made by you') : _('Freedom of Information requests made by this person') %> </h2>
<p><%= _('The search index is currently offline, so we can\'t show the Freedom of Information requests this person has made.')%></p>
<% end %>
diff --git a/app/views/user/sign.rhtml b/app/views/user/sign.rhtml
index b76edbc64..1140d961a 100644
--- a/app/views/user/sign.rhtml
+++ b/app/views/user/sign.rhtml
@@ -21,17 +21,26 @@
<div id="sign_together">
- <p id="sign_in_reason">
+ <!--<p id="sign_in_reason">
<% if @post_redirect.reason_params[:web].empty? %>
<%= _(' Please sign in or make a new account.') %>
<% else %>
<%= @post_redirect.reason_params[:web] %>, <%= _('please sign in or make a new account.') %>
<% end %>
- </p>
-
- <%= render :partial => 'signin', :locals => { :sign_in_as_existing_user => false } %>
- <%= render :partial => 'signup' %>
-
+ </p>-->
+
+ <div id="left_half">
+ <h1>Sign in</h1>
+ <%= render :partial => 'signin', :locals => { :sign_in_as_existing_user => false } %>
+ </div>
+ <div id="middle_strip">
+ - or -
+ </div>
+ <div id="right_half">
+ <h1>Sign up</h2>
+ <%= render :partial => 'signup' %>
+ </div>
+ <div style="clear:both"></div>
</div>
<% end %>
diff --git a/public/images/button-awaiting-classification.png b/public/images/button-awaiting-classification.png
deleted file mode 100644
index f5a848f60..000000000
--- a/public/images/button-awaiting-classification.png
+++ /dev/null
Binary files differ
diff --git a/public/images/button-complete.png b/public/images/button-complete.png
deleted file mode 100644
index fdc48f01d..000000000
--- a/public/images/button-complete.png
+++ /dev/null
Binary files differ
diff --git a/public/images/button-gradient.png b/public/images/button-gradient.png
new file mode 100644
index 000000000..8b29e89ba
--- /dev/null
+++ b/public/images/button-gradient.png
Binary files differ
diff --git a/public/images/button-overdue.png b/public/images/button-overdue.png
deleted file mode 100644
index 9d6885862..000000000
--- a/public/images/button-overdue.png
+++ /dev/null
Binary files differ
diff --git a/public/images/button-preview.png b/public/images/button-preview.png
new file mode 100644
index 000000000..79b4ccd04
--- /dev/null
+++ b/public/images/button-preview.png
Binary files differ
diff --git a/public/images/email-16.png b/public/images/email-16.png
index 030eafde6..8692748e2 100644
--- a/public/images/email-16.png
+++ b/public/images/email-16.png
Binary files differ
diff --git a/public/images/quote.png b/public/images/quote.png
index d7e679c23..752b7d4cf 100644
--- a/public/images/quote.png
+++ b/public/images/quote.png
Binary files differ
diff --git a/public/images/status-complete.png b/public/images/status-complete.png
new file mode 100644
index 000000000..2ff49770a
--- /dev/null
+++ b/public/images/status-complete.png
Binary files differ
diff --git a/public/images/status-denied.png b/public/images/status-denied.png
new file mode 100644
index 000000000..1f768af5e
--- /dev/null
+++ b/public/images/status-denied.png
Binary files differ
diff --git a/public/images/status-error.png b/public/images/status-error.png
new file mode 100644
index 000000000..5865dd1e1
--- /dev/null
+++ b/public/images/status-error.png
Binary files differ
diff --git a/public/images/status-gone-postal.png b/public/images/status-gone-postal.png
new file mode 100644
index 000000000..00df771ac
--- /dev/null
+++ b/public/images/status-gone-postal.png
Binary files differ
diff --git a/public/images/status-internal-review.png b/public/images/status-internal-review.png
new file mode 100644
index 000000000..639f72797
--- /dev/null
+++ b/public/images/status-internal-review.png
Binary files differ
diff --git a/public/images/status-not-held.png b/public/images/status-not-held.png
new file mode 100644
index 000000000..9d20ac2e7
--- /dev/null
+++ b/public/images/status-not-held.png
Binary files differ
diff --git a/public/images/status-overdue.png b/public/images/status-overdue.png
new file mode 100644
index 000000000..637fed8d9
--- /dev/null
+++ b/public/images/status-overdue.png
Binary files differ
diff --git a/public/images/status-pending.png b/public/images/status-pending.png
new file mode 100644
index 000000000..dcf4009f3
--- /dev/null
+++ b/public/images/status-pending.png
Binary files differ
diff --git a/public/images/status-withdrawn.png b/public/images/status-withdrawn.png
new file mode 100644
index 000000000..d56aa213f
--- /dev/null
+++ b/public/images/status-withdrawn.png
Binary files differ
diff --git a/public/images/stripes-70.png b/public/images/stripes-70.png
new file mode 100644
index 000000000..fda1c339d
--- /dev/null
+++ b/public/images/stripes-70.png
Binary files differ
diff --git a/public/images/stripes.png_ b/public/images/stripes.png_
deleted file mode 100644
index ae45b49f9..000000000
--- a/public/images/stripes.png_
+++ /dev/null
Binary files differ
diff --git a/public/images/twitter-16.png b/public/images/twitter-16.png
new file mode 100644
index 000000000..e848b8f2e
--- /dev/null
+++ b/public/images/twitter-16.png
Binary files differ
diff --git a/public/stylesheets/ie7.css b/public/stylesheets/ie7.css
new file mode 100644
index 000000000..c6e8fe4f2
--- /dev/null
+++ b/public/stylesheets/ie7.css
@@ -0,0 +1,18 @@
+form input[type=submit], a.link_button_green {
+ border: solid 0px #FFF;
+ line-height: 16px;
+ padding-top: 3px
+}
+
+input#navigation_search_query {
+ margin-bottom: -5px;
+}
+
+.request_left span.head {
+ line-height: 35px;
+}
+
+#header_left,
+#left_column {
+ margin-top: 20px;
+} \ No newline at end of file