Cleanup for mobile build without errors
This commit is contained in:
@@ -6,6 +6,7 @@ html lang="en"
|
||||
meta name="viewport" content="width=device-width, initial-scale=1.0"
|
||||
title= content_for?(:title) ? yield(:title) : application_title
|
||||
= csrf_meta_tags
|
||||
= javascript_include_tag 'admin/application'
|
||||
|
||||
/! Le HTML5 shim, for IE6-8 support of HTML elements
|
||||
/[if lt IE 9]
|
||||
@@ -18,38 +19,32 @@ html lang="en"
|
||||
link href="images/favicon.ico" rel="shortcut icon"
|
||||
|
||||
body
|
||||
.navbar.navbar-fixed-top
|
||||
.navbar-inner
|
||||
.container
|
||||
a.btn.btn-navbar data-target=".nav-collapse" data-toggle="collapse"
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
a.brand href=admin_root_path = application_title
|
||||
.container.nav-collapse
|
||||
ul.nav
|
||||
li= link_to User.model_name.human_plural, admin_users_path
|
||||
li.dropdown
|
||||
a.dropdown-toggle href="#" data-toggle="dropdown"
|
||||
span = Supplier.model_name.human_plural
|
||||
b.caret
|
||||
ul.child-menu.dropdown-menu
|
||||
li= link_to Supplier.model_name.human_plural, admin_suppliers_path
|
||||
li= link_to Section.model_name.human_plural, admin_sections_path
|
||||
li= link_to Table.model_name.human_plural, admin_tables_path
|
||||
li= link_to Product.model_name.human_plural, admin_products_path
|
||||
li= link_to List.model_name.human_plural, admin_lists_path
|
||||
li= link_to Order.model_name.human_plural, admin_orders_path
|
||||
li= link_to ProductCategory.model_name.human_plural, admin_product_categories_path
|
||||
- if administrator_signed_in?
|
||||
.btn-group.pull-right
|
||||
a.btn.dropdown-toggle[data-toggle="dropdown" href="#"]
|
||||
i.icon-user
|
||||
= current_administrator.email
|
||||
span.caret
|
||||
ul.dropdown-menu
|
||||
li.log-out= link_to t('helpers.links.logout'), destroy_administrator_session_path
|
||||
|
||||
nav.top-bar
|
||||
ul.title-area
|
||||
li.name: h4= link_to application_title, admin_root_path
|
||||
section.top-bar-section
|
||||
ul.left
|
||||
li= link_to User.model_name.human_plural, admin_users_path
|
||||
li.divider
|
||||
ul.left
|
||||
li.has-dropdown.not-click
|
||||
a href="#" = Supplier.model_name.human_plural
|
||||
ul.dropdown
|
||||
li= link_to Supplier.model_name.human_plural, admin_suppliers_path
|
||||
li= link_to Section.model_name.human_plural, admin_sections_path
|
||||
li= link_to Table.model_name.human_plural, admin_tables_path
|
||||
li= link_to Product.model_name.human_plural, admin_products_path
|
||||
li= link_to List.model_name.human_plural, admin_lists_path
|
||||
li= link_to Order.model_name.human_plural, admin_orders_path
|
||||
li= link_to ProductCategory.model_name.human_plural, admin_product_categories_path
|
||||
li.divider
|
||||
- if administrator_signed_in?
|
||||
ul.right
|
||||
li.divider
|
||||
li.has-dropdown.not-click
|
||||
a href="#" = current_administrator.email
|
||||
ul.dropdown
|
||||
li.log-out= link_to t('helpers.links.logout'), destroy_administrator_session_path
|
||||
.container
|
||||
|
||||
.content
|
||||
@@ -62,22 +57,17 @@ html lang="en"
|
||||
a.close data-dismiss="alert" ×
|
||||
div= flash[:notice]
|
||||
.row
|
||||
.span9
|
||||
.large-9.columns
|
||||
= yield
|
||||
.span3
|
||||
.large-3.columns
|
||||
.well.sidebar-nav
|
||||
h3= application_title
|
||||
ul.nav.nav-list
|
||||
li.nav-header Links
|
||||
hr
|
||||
ul.side-nav
|
||||
li.heading Links
|
||||
li= link_to "Qwaiter website", root_path
|
||||
li= link_to "Companytools", 'http://www.companytools.nl/'
|
||||
= yield :sidebar
|
||||
|
||||
footer
|
||||
p © Companytools 2012
|
||||
/!
|
||||
Javascripts
|
||||
\==================================================
|
||||
/! Placed at the end of the document so the pages load faster
|
||||
= javascript_include_tag "application"
|
||||
p © Companytools 2014
|
||||
= yield :footer
|
||||
|
||||
Reference in New Issue
Block a user