forked from Katello/katello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
katello.haml
56 lines (47 loc) · 1.33 KB
/
katello.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
= content_for(:title) do
= project_name
= "-"
= default_title
= content_for(:stylesheets) do
= include_stylesheets :common
= include_stylesheets controller.section_id
= yield :stylesheets
= content_for(:head) do
= csrf_meta_tag
/ [if lt IE 9]
= include_javascripts :html5
/ [if IE]
= include_stylesheets :ie, :embed_assets => false
= content_for(:body_tag) do
- if controller.respond_to?(:section_id)
- section_id = controller.section_id
- else
- section_id = "generic"
%body{:id => section_id}
= content_for(:content) do
.hidden#remove
= render_main_menu
- if not current_user
#formwindow
= yield
- else
%nav.subnav#subnav
= render_main_sub_menu
.inner.container_16
= yield
= content_for(:footer) do
= render :partial => "common/footer"
= content_for(:extra) do
= include_javascripts :common
%script{ :type => "text/javascript" }
-if protect_against_forgery?
:plain
var AUTH_TOKEN = #{form_authenticity_token.inspect};
= render :partial => "common/common_i18n"
= render :partial => 'common/config'
= render :partial => 'common/ajax_notices'
= render :partial => 'common/notification'
= yield :inline_javascript
= yield :javascripts
= render :partial => 'common/header'
= render :file => 'layouts/converge-ui/shell_layout'