cleanup and demo both working
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
form
|
|
||||||
input.currency
|
|
||||||
text-align: right
|
|
||||||
@@ -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
|
|
||||||
-17
@@ -1,9 +1,3 @@
|
|||||||
@import constants
|
|
||||||
html
|
|
||||||
background-color: $background-brown
|
|
||||||
background-image: $wood
|
|
||||||
body
|
|
||||||
background-color: transparent
|
|
||||||
.phone-wrapper
|
.phone-wrapper
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 60px
|
top: 60px
|
||||||
@@ -35,14 +29,3 @@ body
|
|||||||
width: 880px
|
width: 880px
|
||||||
height: 590px
|
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
|
|
||||||
@@ -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/
|
|
||||||
@@ -27,7 +27,7 @@ class DashboardController < ApplicationController
|
|||||||
if Rails.env.test?
|
if Rails.env.test?
|
||||||
@tables = Table.all
|
@tables = Table.all
|
||||||
else
|
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
|
end
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html { render layout: 'phone' }
|
format.html { render layout: 'phone' }
|
||||||
|
|||||||
@@ -10,11 +10,7 @@ html lang="en"
|
|||||||
/! Le HTML5 shim, for IE6-8 support of HTML elements
|
/! Le HTML5 shim, for IE6-8 support of HTML elements
|
||||||
/[if lt IE 9]
|
/[if lt IE 9]
|
||||||
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
|
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
|
||||||
= stylesheet_link_tag "application", :media => "all"
|
= stylesheet_link_tag "theme1/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"
|
|
||||||
link href="/favicon.ico" rel="shortcut icon"
|
link href="/favicon.ico" rel="shortcut icon"
|
||||||
body class=action_name
|
body class=action_name
|
||||||
.container
|
.container
|
||||||
|
|||||||
Reference in New Issue
Block a user