rosa-build/app/views/layouts/application.html.haml

33 lines
970 B
Plaintext
Raw Normal View History

!!!
%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
#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")
%li{:class => controller.controller_path == 'platforms' ? 'active' : '' }
2011-03-31 02:25:33 +01:00
%a{:href => platforms_path}= t("layout.menu.platforms")
#wrapper.wat-cf
= render :partial => "layouts/flashes"
#main
= yield
#footer
.block
#sidebar
= yield :sidebar