foreman/app/views/layouts/application.html.erb @ d9a2ebac
017e1049 | Ohad Levy | <!DOCTYPE html>
|
|
<html>
|
|||
01984fb7 | Amos Benari | <head>
|
|
<title> <%= h(yield(:title) || "Foreman") %></title>
|
|||
82e47ae0 | Amos Benari | <%= stylesheet_link_tag 'jquery-ui', 'jquery.jnotify', 'bootstrap.min', 'style', 'bootstrap-responsive.min' %>
|
|
<%= javascript_include_tag :defaults, 'jquery_ujs', 'jquery-ui', 'highcharts', 'charts', 'jquery.jnotify', 'jquery.jeditable',
|
|||
d9a2ebac | Ohad Levy | 'bootstrap.min' %>
|
|
017e1049 | Ohad Levy | <%= csrf_meta_tag %>
|
|
52e114a6 | Ohad Levy | <%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %>
|
|
ae746d3a | Amos Benari | <meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0;" />
|
|||
01984fb7 | Amos Benari | <%= yield(:head) %>
|
|
</head>
|
|||
a90f0ee7 | Jason E. Rist | ||
01984fb7 | Amos Benari | <body>
|
|
<div id="wrap">
|
|||
05ab4c16 | Ohad Levy | ||
82e47ae0 | Amos Benari | <div class="navbar navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|||
05ab4c16 | Ohad Levy | <div class="container">
|
|
<%= render 'home/topbar' %>
|
|||
</div>
|
|||
</div>
|
|||
01984fb7 | Amos Benari | </div>
|
|
05ab4c16 | Ohad Levy | ||
01984fb7 | Amos Benari | <div id="main">
|
|
0423daa9 | Ohad Levy | <%= content_tag('div', flash[:error], :class => 'flash error') if flash[:error] -%>
|
|
<%= content_tag('div', flash[:warning], :class => 'flash warning') if flash[:warning] -%>
|
|||
<%= content_tag('div', flash[:notice], :class => 'flash notice') if flash[:notice] -%>
|
|||
01984fb7 | Amos Benari | <%= render 'common/notice' unless @notices.empty? -%>
|
|
05ab4c16 | Ohad Levy | <div id="content" class="container">
|
|
49338863 | Amos Benari | <% unless @page_header.blank? -%>
|
|
82e47ae0 | Amos Benari | <div class="row control-group">
|
|
<h1 class="span12"><%=h @page_header %></h1>
|
|||
49338863 | Amos Benari | </div>
|
|
<% end -%>
|
|||
05ab4c16 | Ohad Levy | <div class="row">
|
|
82e47ae0 | Amos Benari | <div class= <%= searchable? ? "span6" : "span4" %>>
|
|
05ab4c16 | Ohad Levy | <%= render "common/searchbar" if searchable? %>
|
|
e4b5713e | Amos Benari | <%= yield(:search_bar) %>
|
|
05ab4c16 | Ohad Levy | </div>
|
|
e4b5713e | Amos Benari | <div id="title_action" class=<%= searchable? ? "span6" : "span8" %>>
|
|
<div class="btn-toolbar ra"><%=h yield(:title_actions) %></div>
|
|||
6fa93184 | Amos Benari | </div>
|
|
05ab4c16 | Ohad Levy | </div>
|
|
01984fb7 | Amos Benari | <%= yield -%>
|
|
</div>
|
|||
</div>
|
|||
6e50fa1d | Ohad Levy | </div>
|
|
01984fb7 | Amos Benari | <div id="footer">
|
|
05ab4c16 | Ohad Levy | Version <%= SETTINGS[:version] %> © 2009-<script>document.write( (new Date()).getFullYear() );</script> <%= mail_to "paul.ian.kelly@googlemail.com", "Paul Kelly" %> and <%= mail_to "ohadlevy@gmail.com", "Ohad Levy" %>
|
|
<span>
|
|||
017e1049 | Ohad Levy | <%= link_to "Help", :controller => "dashboard", :action => "welcome" %> |
|
|
05ab4c16 | Ohad Levy | <%= link_to 'Wiki', "http://theforeman.org/wiki/foreman", :rel => "external", :rel => "external" %> |
|
|
<%= link_to 'Support', "http://theforeman.org/projects/foreman/wiki/Support", :rel => "external" %>
|
|||
</span>
|
|||
01984fb7 | Amos Benari | </div>
|
|
</body>
|
|||
a944fa00 | Ohad Levy | </html>
|