Sha256: c400ebbb689934f93eb614e11c5273687ca3a76becd2e94fe5c1c9455ba5129f

Contents?: true

Size: 1.88 KB

Versions: 1

Compression:

Stored size: 1.88 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= [Contour.application_name, @title].compact.join(' - ').html_safe %></title>
  <%= favicon_link_tag %>
  <%= stylesheet_link_tag    "application", media: "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
</head>
<body>
  <%= javascript_tag "var root_url='#{request.script_name + '/'}';var auth_token='#{form_authenticity_token}';" %>
  <div id="header" class="container" <%= "style='background-image: url(#{request.script_name}/assets/#{Contour.header_background_image});'" unless Contour.header_background_image.blank? %>>
    <%= image_tag(Contour.header_title_image, alt: '', style: 'vertical-align:middle') unless Contour.header_title_image.blank? %>
    <%= link_to (Contour.application_name_html.blank? ? Contour.application_name : Contour.application_name_html.html_safe), root_path, style: 'text-decoration:none;', onmouseover: "$('#version').show();", onmouseout: "$('#version').hide();" %>
      <span id="version" style="display:none;font-size:0.5em;font-variant:normal" class="quiet"><%= Contour.application_version %></span>
  </div>

  <div class="container" style="position:relative">
    <div id="message">
      <%= render partial: 'contour/layouts/message' %>
    </div>
  </div>

  <div style="height:29px">
    <div id="menu" class="container shadow">
      <%= render partial: 'contour/layouts/menu' %>
    </div>
  </div>

  <div id="content" class="container">
    <%= yield %>
  </div>

  <div id="popup" style="overflow-y: hidden;">
    <div id="popup_header" style="padding: 12px;">
      <div style="float:right;margin-right:10px; margin-top:-4px"><%= image_tag(Contour.header_title_image, alt: '') unless Contour.header_title_image.blank?  %></div>
      <a id="popup_close">x</a>
      <h1 id="popup_title"></h1>
    </div>
    <div id="popup_content"></div>
  </div>

  <div id="background_popup"></div>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contour-0.10.0 app/views/contour/layouts/application.html.erb