-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from IUBLibTech/iulrdc-15_header_in_dashboard
Fix header display in dashboard layout
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
body.dashboard { | ||
padding-top: 0 !important; | ||
background-color: white !important; | ||
} |
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,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="<%= I18n.locale.to_s %>" prefix="og:http://ogp.me/ns#"> | ||
<head> | ||
<%= render partial: 'layouts/head_tag_content' %> | ||
<%= content_for(:head) %> | ||
</head> | ||
|
||
<body class="dashboard"> | ||
<div class="skip-to-content"> | ||
<%= link_to "Skip to Content", "#skip-to-content" %> | ||
</div> | ||
<%= render '/masthead', placement_class: nil %> | ||
<%= content_for(:navbar) %> | ||
<div id="content-wrapper" role="main"> | ||
<div class="sidebar maximized"> | ||
<%= render 'hyrax/dashboard/sidebar' %> | ||
</div> | ||
<div class="main-content maximized<%= " admin-stats" if request.fullpath.include? '/admin/stats' %>"> | ||
<%= render_breadcrumbs builder: Hyrax.config.breadcrumb_builder %> | ||
<%= render '/flash_msg' %> | ||
<% if content_for?(:page_header) %> | ||
<div class="row"> | ||
<div class="col-12 main-header"> | ||
<%= yield(:page_header) %> | ||
</div> | ||
</div> | ||
<% end %> | ||
|
||
<a name="skip-to-content" id="skip-to-content"></a> | ||
<%= render 'shared/read_only' if Flipflop.read_only? %> | ||
<%= content_for?(:content) ? yield(:content) : yield %> | ||
|
||
</div> | ||
|
||
</div><!-- /#content-wrapper --> | ||
<%= render 'shared/modal' %> | ||
</body> | ||
</html> |