Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dtu-enote-pdfjs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enote
dtu-enote-pdfjs
Commits
4927ab70
Commit
4927ab70
authored
Jul 31, 2016
by
Iain Bryson
Browse files
Options
Downloads
Patches
Plain Diff
Create P2 toolbar.
parent
60ed5ed7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
web/viewer.css
+79
-0
79 additions, 0 deletions
web/viewer.css
web/viewer.html
+15
-9
15 additions, 9 deletions
web/viewer.html
with
97 additions
and
9 deletions
.gitignore
+
3
−
0
View file @
4927ab70
...
@@ -5,4 +5,7 @@ tags
...
@@ -5,4 +5,7 @@ tags
.DS_Store
.DS_Store
Makefile
Makefile
node_modules/
node_modules/
tmp/
dtu-core/
log/
examples/node/svgdump/
examples/node/svgdump/
This diff is collapsed.
Click to expand it.
web/viewer.css
+
79
−
0
View file @
4927ab70
...
@@ -1939,3 +1939,82 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
...
@@ -1939,3 +1939,82 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * {
display
:
none
;
display
:
none
;
}
}
}
}
#viewBookmark
{
display
:
none
!important
;
}
#download
{
display
:
none
!important
;
}
#print
{
display
:
none
!important
;
}
#openFile
{
display
:
none
!important
;
}
#previous
,
#next
{
display
:
none
!important
;
}
#pageNumberLabel
,
#pageNumber
,
#numPages
{
display
:
none
!important
;
}
.toolbarViewerLeft
>
.splitToolbarButton
{}
#toolbarViewerMiddle
{
display
:
none
!important
;
}
#sidebarToggle
{
display
:
none
!important
;
}
#toggleHandTool
.toolbarButton
::before
{
content
:
url
(
images
/
secondaryToolbarButton-handTool
.
png
);
}
#documentProperties
.toolbarButton
::before
{
content
:
url
(
images
/
secondaryToolbarButton-documentProperties
.
png
);
}
@media
screen
and
(
min-resolution
:
2dppx
)
{
#toggleHandTool
.toolbarButton
::before
{
content
:
url
(
images
/
secondaryToolbarButton-handTool
@
2
x
.
png
);
}
#documentProperties
.toolbarButton
::before
{
content
:
url
(
images
/
secondaryToolbarButton-documentProperties
@
2
x
.
png
);
}
}
#secondaryToolbarToggle
{
display
:
none
!important
;
}
#toggleHandTool
.toolbarButton
>
span
{
display
:
inline-block
;
width
:
150px
;
height
:
25px
;
overflow
:
hidden
;
}
#documentProperties
.toolbarButton
>
span
{
display
:
inline-block
;
width
:
180px
;
height
:
25px
;
overflow
:
hidden
;
}
#documentPropertiesSpacer
.toolbarButtonSpacer
{
width
:
100px
;
}
#toggleHandToolSpacer
.toolbarButtonSpacer
{
width
:
150px
;
}
This diff is collapsed.
Click to expand it.
web/viewer.html
+
15
−
9
View file @
4927ab70
...
@@ -162,15 +162,6 @@ See https://github.com/adobe-type-tools/cmap-resources
...
@@ -162,15 +162,6 @@ See https://github.com/adobe-type-tools/cmap-resources
<div
class=
"horizontalToolbarSeparator"
></div>
<div
class=
"horizontalToolbarSeparator"
></div>
<button
id=
"toggleHandTool"
class=
"secondaryToolbarButton handTool"
title=
"Enable hand tool"
tabindex=
"60"
data-l10n-id=
"hand_tool_enable"
>
<span
data-l10n-id=
"hand_tool_enable_label"
>
Enable hand tool
</span>
</button>
<div
class=
"horizontalToolbarSeparator"
></div>
<button
id=
"documentProperties"
class=
"secondaryToolbarButton documentProperties"
title=
"Document Properties…"
tabindex=
"61"
data-l10n-id=
"document_properties"
>
<span
data-l10n-id=
"document_properties_label"
>
Document Properties…
</span>
</button>
</div>
</div>
</div>
<!-- secondaryToolbar -->
</div>
<!-- secondaryToolbar -->
...
@@ -185,6 +176,21 @@ See https://github.com/adobe-type-tools/cmap-resources
...
@@ -185,6 +176,21 @@ See https://github.com/adobe-type-tools/cmap-resources
<button
id=
"viewFind"
class=
"toolbarButton group hiddenSmallView"
title=
"Find in Document"
tabindex=
"12"
data-l10n-id=
"findbar"
>
<button
id=
"viewFind"
class=
"toolbarButton group hiddenSmallView"
title=
"Find in Document"
tabindex=
"12"
data-l10n-id=
"findbar"
>
<span
data-l10n-id=
"findbar_label"
>
Find
</span>
<span
data-l10n-id=
"findbar_label"
>
Find
</span>
</button>
</button>
<button
id=
"toggleHandTool"
class=
"toolbarButton handTool"
title=
"Enable hand tool"
tabindex=
"60"
data-l10n-id=
"hand_tool_enable"
>
<span
data-l10n-id=
"hand_tool_enable_label"
>
Enable hand tool
</span>
</button>
<div
class=
"toolbarButtonSpacer"
id=
"toggleHandToolSpacer"
></div>
<button
id=
"documentProperties"
class=
"toolbarButton documentProperties"
title=
"Document Properties…"
tabindex=
"61"
data-l10n-id=
"document_properties"
>
<span
data-l10n-id=
"document_properties_label"
>
Document Properties…
</span>
</button>
<div
class=
"toolbarButtonSpacer"
id=
"documentPropertiesSpacer"
></div>
<div
class=
"splitToolbarButton"
>
<div
class=
"splitToolbarButton"
>
<button
class=
"toolbarButton pageUp"
title=
"Previous Page"
id=
"previous"
tabindex=
"13"
data-l10n-id=
"previous"
>
<button
class=
"toolbarButton pageUp"
title=
"Previous Page"
id=
"previous"
tabindex=
"13"
data-l10n-id=
"previous"
>
<span
data-l10n-id=
"previous_label"
>
Previous
</span>
<span
data-l10n-id=
"previous_label"
>
Previous
</span>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment