Sha256: 63ba5b02a994b016a6797254229569eecef640e480474162050292d5227114fc

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= current_site ? current_site.site_name : 'Page Title'   %></title>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<% if current_site %>
		<meta name="description" content="<%= yield(:meta_description).present? ? yield(:meta_description) : current_site.meta_description %>">
		<meta name="keywords" content="<%= yield(:meta_tags).present? ? yield(:meta_tags) : current_site.meta_tags %>">
	<% end %>
</head>
<body>

<%= render 'layouts/pages_cms/header' %>

<% flash.each do |message_type, message| %>
	<div class="message" onclick="$('.message').fadeOut(300, function() { $(this).remove(); });" style="transition: all 0.2s">
		<div class="center-block text-center alert alert-<%= message_type %>" ><%= message %></div>
	</div>
<% end %>

<%= yield %>

<script>
	window.setInterval(function(){
		$(".message").fadeOut(300, function() { $(this).remove(); });
	}, 2000);
</script>

</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_cms-2.1.1 app/views/layouts/pages_cms/application.html.erb
pages_cms-2.1.0 app/views/layouts/pages_cms/application.html.erb
pages_cms-2.0.1 app/views/layouts/pages_cms/application.html.erb
pages_cms-2.0.0 app/views/layouts/pages_cms/application.html.erb