From dea5328d6481ac10898f354f3c30a62c531a757c Mon Sep 17 00:00:00 2001 From: jimi Date: Fri, 22 Oct 2010 15:28:19 -0500 Subject: [PATCH] Minor layout and view updates, add rvmrc --- .rvmrc | 1 + app/views/layouts/application.html.erb | 4 ++-- app/views/loads/index.html.erb | 6 ++++++ public/stylesheets/3_layout.css | 7 ++++++- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .rvmrc diff --git a/.rvmrc b/.rvmrc new file mode 100644 index 0000000..ce9e691 --- /dev/null +++ b/.rvmrc @@ -0,0 +1 @@ +rvm ree@galm diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 0970636..332ef04 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -13,11 +13,11 @@ <%- flash.each do |name, msg| -%> <%= content_tag :div, msg, :id => "flash_#{name}" %> <%- end -%> - + <%- if show_title? -%>

<%=h yield(:title) %>

<%- end -%> - + <%= yield %> diff --git a/app/views/loads/index.html.erb b/app/views/loads/index.html.erb index 60d1317..c49b135 100644 --- a/app/views/loads/index.html.erb +++ b/app/views/loads/index.html.erb @@ -1,6 +1,12 @@ <% title "Load List" %> + + + + + + diff --git a/public/stylesheets/3_layout.css b/public/stylesheets/3_layout.css index c50d7c3..90748e0 100644 --- a/public/stylesheets/3_layout.css +++ b/public/stylesheets/3_layout.css @@ -34,9 +34,14 @@ width: 2em; text-align: right; } +.listing .load_number { + width: 4em; + text-align: right; + padding-right: 0.25em; +} .listing .name { - width: 6em; + width: 6em; } .listing .street {
Number End Date Start Point