doctype html
html lang="en"
head
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"
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]
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
= stylesheet_link_tag "admin/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="images/favicon.ico" rel="shortcut icon"
body
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= link_to "User Feedback", admin_user_feedbacks_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
- if flash[:alert].present?
.alert-box.alert
a.close data-dismiss="alert" ×
div= flash[:alert]
- if flash[:notice].present?
.alert-box.success
a.close data-dismiss="alert" ×
div= flash[:notice]
.row
.large-9.columns
= yield
.large-3.columns
.well.sidebar-nav
h3= application_title
hr
ul.side-nav
li.heading Links
li= link_to "Mozo.bar website", root_path
li= link_to "Companytools", 'http://www.companytools.nl/'
= yield :sidebar
footer
p © Companytools 2014
= yield :footer