Skip to content

Commit

Permalink
Info added
Browse files Browse the repository at this point in the history
  • Loading branch information
brittnylapierre committed Dec 2, 2023
1 parent 701991a commit e1a8c31
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ footer {
.text-lg-right {
text-align: right !important;
}
.centerPanel > .title {
display: none !important;
}
#page-viewer {
background: black;
}
Expand Down Expand Up @@ -91,4 +94,15 @@ input[type="search"]::-webkit-search-cancel-button {
}
#pvSearchReset {
display: none;
}
.pv-help-icon {
margin-right: 0.4rem;
}
.text-aligned {
display: flex;
align-items: center;
}
#download-help {
margin-top: 0.4rem;
margin-bottom: 0.4rem;
}
11 changes: 11 additions & 0 deletions app/components/viewer_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,15 @@

<%= render(DocumentDownloadsComponent.new(documentId: @documentId, prefix: 'oocihm', pageNum: params[:pageNum])) do %><% end %>

<div id="download-help" class="text-aligned">
<img class="pv-help-icon" src="/help.svg" width="19" height="19" class="" alt=""/>
<span>For help and additional download options, please see our <a href="https://www.crkn-rcdr.ca/en/navigating-collections" target="_blank">documentation</a> <!--Help--></span>
</div>

<div id="pv-images-info" class="text-aligned">
<!--span data-toggle="tooltip" data-placement="right" title="" data-original-title="Canadiana uses OCR (optical character recognition) to provide full-text search for printed documents.">
</span-->
<img class="pv-help-icon" src="/info.svg" width="18" height="18" class="" alt=""/>
<span>57 images, 55 with full-text search</span>
</div>
</div>
1 change: 1 addition & 0 deletions public/help.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e1a8c31

Please sign in to comment.