code reviews and add bootstrp font
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
BIN
public/fonts/glyphicons-halflings-regular.ttf
Normal file
BIN
public/fonts/glyphicons-halflings-regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/glyphicons-halflings-regular.woff
Normal file
BIN
public/fonts/glyphicons-halflings-regular.woff
Normal file
Binary file not shown.
Reference in New Issue
Block a user