From c424cdf0f9820e0fee8b17291c8c63d434a5864e Mon Sep 17 00:00:00 2001 From: tim madden Date: Fri, 13 Apr 2012 17:33:39 -0500 Subject: [PATCH] mobile tuning change to make nav links even and consistent looking to make text bigger for fat fingers change to project nav adding images for arrows --- app/helpers/projects_helper.rb | 12 ++-- app/views/layouts/mobile.m.erb | 24 +++---- public/stylesheets/images/next.png | Bin 0 -> 366 bytes public/stylesheets/images/previous.png | Bin 0 -> 347 bytes public/stylesheets/mobile.css | 85 ++++++++++++++++++++----- 5 files changed, 89 insertions(+), 32 deletions(-) create mode 100644 public/stylesheets/images/next.png create mode 100644 public/stylesheets/images/previous.png diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 0eb972eb..638bfba0 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -32,16 +32,20 @@ module ProjectsHelper end def project_next_prev_mobile - html = '' + html = '' html end diff --git a/app/views/layouts/mobile.m.erb b/app/views/layouts/mobile.m.erb index 15d340b2..583d51b1 100644 --- a/app/views/layouts/mobile.m.erb +++ b/app/views/layouts/mobile.m.erb @@ -14,21 +14,21 @@ <% if current_user && !current_user.prefs.nil? -%>

<% if @down_count -%><%= @down_count %><% end -%> <%= l(Date.today, :format => current_user.prefs.title_date_format) -%>

-
+
<%= render_flash -%><%= yield -%>

<% if current_user && !current_user.prefs.nil? -%> - + <% end -%> <%= render :partial => "shared/mobile_footer" -%> diff --git a/public/stylesheets/images/next.png b/public/stylesheets/images/next.png new file mode 100644 index 0000000000000000000000000000000000000000..62e10cfed120816342b7a5924e82a3019b3e8855 GIT binary patch literal 366 zcmeAS@N?(olHy`uVBq!ia0vp^LO{&J!3HGrh2HJ~QY^(zo*^7SP{WbZ0pxQQctjQh z)n5l;MkkHg6+l7B64!{5;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq=1TEd%8G= zXiPjiX|*47qCo5Zn+yw+LYY^I$#5O#7T{@`S^rlnhF8B~&AR3{c^Q2?V= zIm=!iG&&*guJlPPS>{@4?d$!%Yw!HswQAM%(2Gy*oBo!rz3HdJneKHA=xqj1S3j3^ HP6^eP*AeOHKHUqKdq!Zu_%?Hyu4g5GcUV1Ik6yBFTW^#_B$IXprRX|E{-7* zQ*$S*_iHVXIcgt2V+Z%|vu8ca{B+rxk7gY!NaacUEEaz-!SIFli#O+3T)Jatce)$g zKemIj&vEZ=XMfxD=kq<2dTh=wKTsGs?K(r`wA|`><@u{0Ez&4!ORQkxYy7_M^|C;b zyA0DOIZbw%r1CmZ;vSQ60=I$j?+GHzh6aq!>MolscNEyeq<(-cp=Nb*f^fud&bSKg z(6|0S1^4V)7eA-?_W@>u|Eemc2h=x2?CNEE_qFzaP8$1x*~RbH