-
Notifications
You must be signed in to change notification settings - Fork 4k
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 #445 from DimK10/Feature-request-pdf-reader
Adds navbar logo to pdf viewer
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 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
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 |
---|---|---|
|
@@ -27,6 +27,12 @@ | |
<meta name="google" content="notranslate"> | ||
<title>PDF.js viewer</title> | ||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" | ||
integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" | ||
crossorigin="anonymous"></script> | ||
|
||
<!-- This snippet is used in production (included from view-pdf.html) --> | ||
<link rel="resource" type="application/l10n" href="/pdfjs/locale/locale.properties"> | ||
<script src="/pdfjs/pdf.js"></script> | ||
|
@@ -336,6 +342,14 @@ | |
tabindex="15" | ||
data-l10n-id="page" autocomplete="off"> | ||
<span id="numPages" class="toolbarLabel"></span> | ||
<a class="navbar-brand mt-1 hiddenLargeView" href="/"> | ||
<img class="main-icon" src="favicon.svg" alt="icon" style="max-height: 1.8rem;"> | ||
<span class="icon-text mt-1" style="color: #ffffff;">Stirling PDF</span> | ||
</a> | ||
<a class="navbar-brand mt-1 visibleLargeView" href="/"> | ||
<img class="main-icon" src="favicon.svg" alt="icon" style="max-height: 1.8rem;"> | ||
</a> | ||
|
||
</div> | ||
<div id="toolbarViewerRight"> | ||
|
||
|