diff --git a/app/assets/javascripts/OQS.js b/app/assets/javascripts/OQS.js new file mode 100644 index 00000000..3009bd15 --- /dev/null +++ b/app/assets/javascripts/OQS.js @@ -0,0 +1,17 @@ +// This is a manifest file that'll be compiled into application.js, which will include all the files +// listed below. +// +// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, +// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. +// +// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the +// compiled file. JavaScript code in this file should be added after the last require_* statement. +// +// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details +// about supported directives. +// +//= require jquery +//= require bootstrap +//= require jquery_ujs +//= require turbolinks +//= require_tree . diff --git a/app/assets/javascripts/orgiami.js b/app/assets/javascripts/orgiami.js new file mode 100644 index 00000000..3009bd15 --- /dev/null +++ b/app/assets/javascripts/orgiami.js @@ -0,0 +1,17 @@ +// This is a manifest file that'll be compiled into application.js, which will include all the files +// listed below. +// +// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, +// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. +// +// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the +// compiled file. JavaScript code in this file should be added after the last require_* statement. +// +// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details +// about supported directives. +// +//= require jquery +//= require bootstrap +//= require jquery_ujs +//= require turbolinks +//= require_tree . diff --git a/app/controllers/base_oqs_controller.rb b/app/controllers/base_oqs_controller.rb new file mode 100644 index 00000000..16fe9b07 --- /dev/null +++ b/app/controllers/base_oqs_controller.rb @@ -0,0 +1,9 @@ +class BaseOqsController < ActionController::Base + include LoginVerification + layout "OQS" + + #before_action :check_installation + protect_from_forgery with: :exception + + +end diff --git a/app/controllers/base_origami_controller.rb b/app/controllers/base_origami_controller.rb new file mode 100644 index 00000000..b250303d --- /dev/null +++ b/app/controllers/base_origami_controller.rb @@ -0,0 +1,9 @@ +class BaseOrigamiController < ActionController::Base + include LoginVerification + layout "origami" + + #before_action :check_installation + protect_from_forgery with: :exception + + +end diff --git a/app/controllers/base_waiter_controller.rb b/app/controllers/base_waiter_controller.rb new file mode 100644 index 00000000..e86433dc --- /dev/null +++ b/app/controllers/base_waiter_controller.rb @@ -0,0 +1,9 @@ +class BaseWaiterController < ActionController::Base + include LoginVerification + layout "waiter" + + #before_action :check_installation + protect_from_forgery with: :exception + + +end diff --git a/app/controllers/oqs/home_controller.rb b/app/controllers/oqs/home_controller.rb new file mode 100644 index 00000000..acf99e41 --- /dev/null +++ b/app/controllers/oqs/home_controller.rb @@ -0,0 +1,6 @@ +class Oqs::HomeController < BaseOqsController + def index + end + def show + end +end diff --git a/app/controllers/origami/home_controller.rb b/app/controllers/origami/home_controller.rb new file mode 100644 index 00000000..8cbc8e55 --- /dev/null +++ b/app/controllers/origami/home_controller.rb @@ -0,0 +1,6 @@ +class Origami::HomeController < BaseOrigamiController + def index + end + def show + end +end diff --git a/app/views/layouts/OQS.html.erb b/app/views/layouts/OQS.html.erb index c6cc4d99..9f736336 100644 --- a/app/views/layouts/OQS.html.erb +++ b/app/views/layouts/OQS.html.erb @@ -9,12 +9,12 @@
Medium, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+Well Done, Fries, Salad
+Order at 12:23, Kyaw Lwin
+This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
+ +
This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.
+ +
This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
+This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+| Order By | +Order At + | Customer + |
|---|---|---|
| Kyaw Lwin | +20/04/17 9:30PM | +John Smith | +
| Table/Room | +Table 4 | +|
| Items | +QTY + |
|---|
|
+ Menu Items Name + Less Sweet, No MSG + |
+ + 5 + | +
This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
+ +
This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.
+ +
This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
+ +
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
+Last updated 3 mins ago
+This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
+ +
This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+++Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.
+ +
This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
+This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+This card has supporting text below as a natural lead-in to additional content.
+Last updated 3 mins ago
+| Items | +QTY + | Price + |
|---|
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +
| + Menu Items Name @ 50.00 + | ++ 5 + | ++ 250.00 + | +