26 lines
868 B
Plaintext
26 lines
868 B
Plaintext
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title><%= @title || APP_CONFIG['orbit'] %></title>
|
||
|
<%= render 'layouts/meta' %>
|
||
|
<%= render 'layouts/google_font' %>
|
||
|
<%= stylesheet_link_tag "basic" %>
|
||
|
<%= stylesheet_link_tag params[:controller] if Rails.application.assets.find_asset "#{params[:controller]}.css" %>
|
||
|
<%= render 'layouts/ie_html5_fix' %>
|
||
|
<%= javascript_include_tag "basic" %>
|
||
|
<%= javascript_include_tag params[:controller] if Rails.application.assets.find_asset "#{params[:controller]}.js" %>
|
||
|
<%= yield :page_specific_css %>
|
||
|
<%= yield :page_specific_javascript %>
|
||
|
<%= csrf_meta_tag %>
|
||
|
</head>
|
||
|
<body id="dashboards">
|
||
|
<%= render 'layouts/orbit_bar' unless @no_orbit_bar %>
|
||
|
<% if !(yield :side_bar).blank? %>
|
||
|
<%= yield :side_bar %>
|
||
|
<% else %>
|
||
|
<%= render 'layouts/side_bar' %>
|
||
|
<% end unless @no_side_bar %>
|
||
|
<%= yield %>
|
||
|
</body>
|
||
|
</html>
|