app/views/layouts/application.html.erb in iqvoc-4.3.3 vs app/views/layouts/application.html.erb in iqvoc-4.4.0
- old
+ new
@@ -11,10 +11,11 @@
<%= 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) %>">
@@ -23,20 +24,20 @@
<% end %>
<%= render 'layouts/navigation' %>
<div class="container">
<div class="row">
- <div class="<%= content_for?(:sidebar) ? "span9" : "span12" %>" id="content">
+ <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="span3" id="sidebar">
+ <div class="col-md-3" id="sidebar">
<%= yield :sidebar %>
</div>
<% end %>
</div>
</div>