code reviews and add bootstrp font

This commit is contained in:
Yan
2017-09-05 10:38:37 +06:30
parent a4884c9bea
commit 4b4f44f37e
4 changed files with 4 additions and 6 deletions

2
.gitignore vendored
View File

@@ -51,7 +51,7 @@ config/deploy/config/*
/dump.rdb /dump.rdb
# Fonts # Fonts
public/fonts/* # public/fonts/*
# Ruby-Mine IDE folder # Ruby-Mine IDE folder
/.idea /.idea

View File

@@ -1,17 +1,15 @@
<div class="row"> <div class="row">
<div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3"> <div class="col-md-4 col-sm-6 col-md-offset-4 col-sm-offset-3">
<% if current_login_employee.role == "admin" %>
<% if current_login_employee.role = "admin" %> <% elsif current_login_employee.role == "cashier" %>
<% elsif current_login_employee.role = "cashier" %>
<%= link_to "Cashier Station", origami_path %> <%= link_to "Cashier Station", origami_path %>
<% elsif current_login_employee = "account" %> <% elsif current_login_employee.role == "account" %>
<%= link_to "Cashier Station", oishi_path %> <%= link_to "Cashier Station", oishi_path %>
<% else %> <% else %>
<%= link_to "Cashier Station", oishi_path %> <%= link_to "Cashier Station", oishi_path %>
<% end %> <% end %>
<% shop = Shop.first %> <% shop = Shop.first %>
</div> </div>
</div> </div>

Binary file not shown.

Binary file not shown.