refactor and fixes for mobile

This commit is contained in:
2012-08-26 20:50:43 +02:00
parent e56badcbf8
commit c087aa0267
16 changed files with 214 additions and 166 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
.phone-wrapper
iframe.phone-content-frame src=phone_root_path
iframe.phone-content-frame src=user_root_path
.tablet-wrapper
iframe.tablet-content-frame src=supplier_root_path
-11
View File
@@ -1,11 +0,0 @@
ul.nav.nav-tabs.nav-stacked
- if list_open?
li= link_to 'Place order', user_list_products_path(supplier_id: active_list.supplier.id)
li= link_to 'Active list', user_active_list_path
li= link_to 'Request bill', '#'
li= link_to 'Move table', '#'
li= link_to 'I have a question', '#'
- else
li= link_to 'Join table with Qr scan', '/select_qrcode'
li= link_to 'Subscribe to list', '#'
li= link_to 'Check out menu', '#'
+1 -1
View File
@@ -1,4 +1,4 @@
.page-header= title 'Select Qr code'
ul
ul#qr-list
- for table in @tables
li= link_to image_tag(url_for(qrcode_table_path(table, format: :png))), user_create_list_path(table_id: table.id)