Sha256: ccc04caa854ca23ff726ddb376002fc89b887043e47781ab70a09e03fc9f73c1

Contents?: true

Size: 1.28 KB

Versions: 6

Compression:

Stored size: 1.28 KB

Contents

<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<meta charset="utf-8">
<%= csrf_meta_tag %>
<title><%= page_title %></title>
<!-- HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
  <%= javascript_include_tag "html5" %>
<![endif]-->
<%= stylesheet_link_tag "manifest" %>
<!--[if lte IE 8]>
<%= stylesheet_link_tag "iqvoc/ie_fixes" %>
<![endif]-->
<%= yield :head %>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<% if @datasets %> <%# XXX: special-casing matches federation %>
<body data-datasets="<%= @datasets %>"
    data-remote-label-path="<%= remote_label_path(:lang => nil, :format => :json) %>">
<% else %>
<body>
<% end %>
<%= render 'layouts/navigation' %>

<div class="container">
  <div class="row">
    <div class="<%= content_for?(:sidebar) ? "col-md-9" : "col-md-12" %>" id="content">
      <%= yield :page_header %>
      <% flash.each do |type, messages| %>
        <% Array.wrap(messages).each do |msg| %>
          <%= alert(type) { msg } %>
        <% end %>
      <% end %>
      <%= yield %>
    </div>
    <% if content_for?(:sidebar) %>
    <div class="col-md-3" id="sidebar">
      <%= yield :sidebar %>
    </div>
    <% end %>
  </div>
</div>
<%= javascript_include_tag "manifest" %>
<%= yield :scripts %>
</body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iqvoc-4.6.1 app/views/layouts/application.html.erb
iqvoc-4.5.2 app/views/layouts/application.html.erb
iqvoc-4.6.0 app/views/layouts/application.html.erb
iqvoc-4.5.1 app/views/layouts/application.html.erb
iqvoc-4.5.0 app/views/layouts/application.html.erb
iqvoc-4.4.0 app/views/layouts/application.html.erb