2012-05-11 18:58:51 +01:00
|
|
|
!!!
|
|
|
|
%html
|
|
|
|
%head
|
|
|
|
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
|
|
|
|
%title Сборочная среда
|
|
|
|
%script{:src => "http://html5shiv.googlecode.com/svn/trunk/html5.js", :type => "text/javascript"}
|
|
|
|
= stylesheet_link_tag "tour"
|
|
|
|
%body
|
|
|
|
.wrap
|
2012-05-12 10:09:11 +01:00
|
|
|
%header.top
|
2012-05-11 18:58:51 +01:00
|
|
|
.left
|
|
|
|
.middle
|
|
|
|
%menu
|
|
|
|
.logo= link_to image_tag('logo-mini.png', :alt => 'logo'), root_path
|
|
|
|
= render 'layouts/menu/top', :which_menu => 'top_menu'
|
|
|
|
.information
|
|
|
|
= render 'search/form'
|
|
|
|
- if current_user
|
|
|
|
.user
|
|
|
|
.avatar= image_tag avatar_url(current_user), :alt => 'avatar', :height => "30"
|
|
|
|
.profile
|
|
|
|
%a{:href => "#"}
|
|
|
|
= current_user.uname
|
|
|
|
= image_tag 'expand-white.png', :alt => 'ex'
|
|
|
|
.both
|
|
|
|
.both
|
|
|
|
.droplist-wrap
|
|
|
|
#droplist.droplist
|
|
|
|
.a= link_to current_user.uname, current_user
|
|
|
|
.a= link_to t('layout.settings.label'), profile_settings_path
|
|
|
|
.a= link_to t('layout.logout'), destroy_user_session_path, :method => :delete
|
|
|
|
- else
|
|
|
|
.user
|
|
|
|
.profile= link_to t("layout.devise.shared_links.sign_in"), new_user_session_path
|
|
|
|
.right
|
|
|
|
.both
|
|
|
|
/ Page
|
|
|
|
.tour
|
|
|
|
=image_tag 'tour-top.png', :alt => 'ABF'
|
|
|
|
.both
|
|
|
|
%article
|
|
|
|
= yield
|
|
|
|
.both
|
2012-05-11 21:24:40 +01:00
|
|
|
-# No idea why here was this div...
|
|
|
|
-#.tour-gap
|
2012-05-11 18:58:51 +01:00
|
|
|
%footer= render "layouts/menu/bottom"
|
2012-05-11 21:24:40 +01:00
|
|
|
= render 'layouts/counters' unless current_user.try(:admin?)
|