-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Axa Mei Liauw
committed
Mar 16, 2016
1 parent
eee9265
commit 1e701dc
Showing
8 changed files
with
136 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<html lang="en" class="no-js"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
|
||
<!-- Mobile viewport optimization h5bp.com/ad --> | ||
<meta name="HandheldFriendly" content="True"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
|
||
<!-- Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading --> | ||
<!--[if IEMobile]> | ||
<meta http-equiv="cleartype" content="on"> | ||
<![endif]--> | ||
|
||
<title><%= h(@page_title || application_name) %></title> | ||
<link href="<%= current_exhibit ? spotlight.exhibit_opensearch_catalog_url(current_exhibit, format: 'xml') : main_app.opensearch_catalog_url(format: 'xml') %>" title="<%= application_name %>" type="application/opensearchdescription+xml" rel="search"/> | ||
<%= favicon_link_tag 'favicon.ico' %> | ||
<%= stylesheet_link_tag "application" %> | ||
<%= javascript_include_tag :modernizr %> | ||
<%= javascript_include_tag "application" %> | ||
<%= csrf_meta_tags %> | ||
<%= content_for(:head) %> | ||
<%= description %> | ||
<%= twitter_card %> | ||
<%= opengraph %> | ||
|
||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
|
||
</head> | ||
<body class="<%= render_body_class %>"> | ||
<%= render partial: 'pul-assets/header_navbar' %> | ||
<%= render partial: 'shared/masthead' %> | ||
<%= content_for?(:header_content) ? yield(:header_content) : "" %> | ||
<%= render partial: 'shared/ajax_modal' %> | ||
|
||
<main id="main-content" role="main"> | ||
<div class="container"> | ||
<%= render partial: '/flash_msg', layout: 'shared/flash_messages' %> | ||
|
||
<div class="row"> | ||
<%= content_for?(:content) ? yield(:content) : yield %> | ||
</div> | ||
|
||
<%= render :partial => 'shared/footer' %> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<%= render 'pul-assets/footer' %> | ||
<%= render 'shared/analytics' %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<%= render 'spotlight/shared/report_a_problem' if show_contact_form? %> | ||
|
||
<div class="masthead <%= 'image-masthead' if current_masthead %> <%= 'resource-masthead' if resource_masthead? %>"> | ||
<% if current_masthead %> | ||
<span class='background-container' style="background-image: url('<%= image_path(current_masthead.image.cropped) %>')"></span> | ||
<span class='background-container-gradient'></span> | ||
<% end %> | ||
<%= render 'shared/exhibit_navbar' if current_exhibit && resource_masthead? %> | ||
|
||
<div class="container site-title-container"> | ||
<div class="site-title h1"> | ||
<% if content_for? :masthead %> | ||
<%= content_for :masthead %> | ||
<% elsif current_exhibit %> | ||
<%= current_exhibit.title %> | ||
<% if current_exhibit.subtitle.present? %> | ||
<small><%= current_exhibit.subtitle %></small> | ||
<% end %> | ||
<% else %> | ||
<%= application_name %> | ||
<% if current_site.subtitle.present? %> | ||
<small><%= current_site.subtitle %></small> | ||
<% end %> | ||
<% end %> | ||
</div> | ||
</div> | ||
|
||
<%= render 'shared/exhibit_navbar' if current_exhibit && !resource_masthead? %> | ||
</div> | ||
</header> | ||
|
||
<%= render 'shared/breadcrumbs' unless resource_masthead? %> |