Permalink
Browse files

first attempt for a mobile layout

  • Loading branch information...
1 parent 909cd43 commit 0f78af75d740ad83610c46aeff1b71355a1f04a3 @bhaak bhaak committed May 23, 2012
Showing with 808 additions and 1 deletion.
  1. +2 −0 Gemfile
  2. +3 −0 Gemfile.lock
  3. +5 −0 README.mobile_branch
  4. +719 −0 public/style-mobile.css
  5. +7 −1 sinatra_server.rb
  6. +72 −0 views/layout_mobile.haml
View
@@ -10,6 +10,8 @@ gem "rufus-scheduler"
gem "orderedhash", "~> 0.0.6"
gem "sinatra-cache"
+gem "rack-mobile-detect"
+
gem "thin"
# eventmachine 0.12.10 crashes with:
# undefined method `associate_callback_target' for #<Thin::Connection:0x7f9bcfa666a8>
View
@@ -66,6 +66,8 @@ GEM
json (1.4.6)
orderedhash (0.0.6)
rack (1.4.1)
+ rack-mobile-detect (0.3.0)
+ rack
rake (0.9.2.2)
rcov (1.0.0)
rspec (2.8.0)
@@ -108,6 +110,7 @@ DEPENDENCIES
haml
json
orderedhash (~> 0.0.6)
+ rack-mobile-detect
rake
rcov
rspec
View
@@ -0,0 +1,5 @@
+This branch has some support for better displaying Junethack on mobile devices by using jquery mobile and automatically detecting mobile devices.
+
+TODO:
+1. more adjustment of the CSS in public/style-mobile.css for small screens
+2. better support for viewing large tables
Oops, something went wrong.

0 comments on commit 0f78af7

Please sign in to comment.