2014-09-17 12:42:37 +03:00
|
|
|
doctype html
|
|
|
|
|
|
|
|
html
|
|
|
|
head
|
|
|
|
meta charset="utf-8"
|
|
|
|
meta http-equiv="X-UA-Compatible" content="IE=edge"
|
|
|
|
meta name="viewport" content="width=device-width, initial-scale=1"
|
2014-09-17 13:25:50 +03:00
|
|
|
title Clarion
|
2014-09-17 12:42:37 +03:00
|
|
|
= stylesheet_link_tag "management/application"
|
|
|
|
= csrf_meta_tags
|
|
|
|
body
|
|
|
|
nav.navbar.navbar-default.navbar-fixed-top
|
|
|
|
.container
|
|
|
|
.navbar-header
|
|
|
|
button.navbar-toggle.collapsed type="button" data-toggle="collapse" data-target=".navbar-collapse"
|
|
|
|
span.sr-only Toggle navigation
|
|
|
|
span.icon-bar
|
|
|
|
span.icon-bar
|
|
|
|
span.icon-bar
|
|
|
|
= link_to 'Clarion', root_path, class: 'navbar-brand'
|
|
|
|
.navbar-collapse.collapse
|
|
|
|
ul.nav.navbar-nav
|
2014-09-17 14:36:05 +03:00
|
|
|
li class="#{'active' if controller_name == 'home'}"
|
|
|
|
= link_to 'Home', management_path
|
|
|
|
li class="#{'active' if controller_name == 'users'}"
|
|
|
|
= link_to 'Users', management_users_path
|
2014-09-17 12:42:37 +03:00
|
|
|
div.container
|
|
|
|
== yield
|
|
|
|
= javascript_include_tag "management/application"
|