gitlabhq/app/views/layouts/admin.html.haml

28 lines
1.1 KiB
Plaintext
Raw Normal View History

2011-11-02 16:21:17 +01:00
!!!
%html
%head
2012-01-26 08:50:11 +01:00
%meta{:charset => "utf-8"}
2011-11-02 16:21:17 +01:00
%title
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
2011-12-28 08:18:50 +01:00
= favicon_link_tag 'favicon.ico'
2011-11-02 16:21:17 +01:00
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
= javascript_tag do
REQ_URI = "#{request.env["REQUEST_URI"]}";
REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
2012-01-27 23:51:02 +01:00
%body.admin
= render :partial => "layouts/flash"
2012-01-27 23:51:02 +01:00
= render :partial => "layouts/head_panel"
.container-fluid
.sidebar
.fixed
%aside
= link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
= link_to "Teams", admin_team_members_path, :class => controller.controller_name == "team_members" ? "current" : nil
= link_to "Emails", admin_emails_path, :class => controller.controller_name == "mailer" ? "current" : nil
= link_to "Resque", "/info/resque"
2011-11-02 16:21:17 +01:00
2012-01-27 23:51:02 +01:00
.content= yield