2011-03-31 00:10:23 +01:00
|
|
|
!!!
|
|
|
|
%html
|
|
|
|
%head
|
|
|
|
%title= t("layout.global_header")
|
|
|
|
= render :partial => "layouts/stylesheets"
|
|
|
|
= render :partial => "layouts/javascripts"
|
|
|
|
= csrf_meta_tag
|
|
|
|
%body
|
2011-03-09 13:13:36 +00:00
|
|
|
#container
|
2011-03-31 00:10:23 +01:00
|
|
|
#header
|
|
|
|
%h1
|
|
|
|
%a{:href => "/"}= t("layout.global_header")
|
|
|
|
#user-navigation
|
|
|
|
%ul.wat-cf
|
|
|
|
%li
|
|
|
|
= link_to t('layout.logout'), destroy_user_session_path, :class => "logout"
|
|
|
|
#main-navigation
|
|
|
|
%ul.wat-cf
|
|
|
|
%li{:class => controller.controller_path == 'users' ? 'active' : '' }
|
2011-03-31 02:25:33 +01:00
|
|
|
%a{:href => users_path}= t("layout.menu.users")
|
2011-03-31 00:10:23 +01:00
|
|
|
%li{:class => controller.controller_path == 'platforms' ? 'active' : '' }
|
2011-03-31 02:25:33 +01:00
|
|
|
%a{:href => platforms_path}= t("layout.menu.platforms")
|
2011-03-31 00:10:23 +01:00
|
|
|
#wrapper.wat-cf
|
|
|
|
= render :partial => "layouts/flashes"
|
|
|
|
#main
|
|
|
|
= yield
|
|
|
|
#footer
|
|
|
|
.block
|
|
|
|
|
|
|
|
#sidebar
|
|
|
|
= yield :sidebar
|
|
|
|
|