cleanup and demo both working

This commit is contained in:
2015-02-26 06:37:22 +01:00
parent 97f47eb734
commit 6e805fed3e
6 changed files with 2 additions and 52 deletions
-3
View File
@@ -1,3 +0,0 @@
form
input.currency
text-align: right
-23
View File
@@ -1,23 +0,0 @@
table
thead
th
&.currency
text-align: right
&.numeric
text-align: right
&.actions
text-align: right
tbody
td
&.status-icons
&.currency
text-align: right
&.numeric
text-align: right
&.actions
text-align: right
tfoot
td
&.currency
text-align: right
@@ -1,9 +1,3 @@
@import constants
html
background-color: $background-brown
background-image: $wood
body
background-color: transparent
.phone-wrapper
position: absolute
top: 60px
@@ -35,14 +29,3 @@ body
width: 880px
height: 590px
#qr-list
list-style: none
margin: 0
padding: 0
li
float: left
img.home-qr
float: left
margin: 0 20px 20px 0
.clearing
clear: both
-3
View File
@@ -1,3 +0,0 @@
// Place all the styles related to the Users controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
+1 -1
View File
@@ -27,7 +27,7 @@ class DashboardController < ApplicationController
if Rails.env.test?
@tables = Table.all
else
@tables = (Supplier.last || Supplier.first).tables.sample(5) | List.active.map(&:table) | Supplier.find_by_email('supplier2@mozo.bar').tables.sample(3)
@tables = List.active.map(&:table) | Supplier.find_by_name('Bora').tables.sample(3)
end
respond_to do |format|
format.html { render layout: 'phone' }
+1 -5
View File
@@ -10,11 +10,7 @@ html lang="en"
/! Le HTML5 shim, for IE6-8 support of HTML elements
/[if lt IE 9]
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
= stylesheet_link_tag "application", :media => "all"
link href="/images/apple-touch-icon-144x144.png" rel="apple-touch-icon-precomposed" sizes="144x144"
link href="/images/apple-touch-icon-114x114.png" rel="apple-touch-icon-precomposed" sizes="114x114"
link href="/images/apple-touch-icon-72x72.png" rel="apple-touch-icon-precomposed" sizes="72x72"
link href="/images/apple-touch-icon.png" rel="apple-touch-icon-precomposed"
= stylesheet_link_tag "theme1/application", media: "all"
link href="/favicon.ico" rel="shortcut icon"
body class=action_name
.container