Skip to content

Commit bbf6b54

Browse files
committed
Update template
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent 02bbfac commit bbf6b54

File tree

1 file changed

+26
-14
lines changed

1 file changed

+26
-14
lines changed

templates/viewer.php

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,31 @@
5555

5656
<div id="sidebarContainer">
5757
<div id="toolbarSidebar">
58-
<div class="splitToolbarButton toggled">
59-
<button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs">
60-
<span data-l10n-id="thumbs_label">Thumbnails</span>
61-
</button>
62-
<button id="viewOutline" class="toolbarButton" title="Show Document Outline (double-click to expand/collapse all items)" tabindex="3" data-l10n-id="document_outline">
63-
<span data-l10n-id="document_outline_label">Document Outline</span>
64-
</button>
65-
<button id="viewAttachments" class="toolbarButton" title="Show Attachments" tabindex="4" data-l10n-id="attachments">
66-
<span data-l10n-id="attachments_label">Attachments</span>
67-
</button>
68-
<button id="viewLayers" class="toolbarButton" title="Show Layers (double-click to reset all layers to the default state)" tabindex="5" data-l10n-id="layers">
69-
<span data-l10n-id="layers_label">Layers</span>
70-
</button>
58+
<div id="toolbarSidebarLeft">
59+
<div class="splitToolbarButton toggled">
60+
<button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs">
61+
<span data-l10n-id="thumbs_label">Thumbnails</span>
62+
</button>
63+
<button id="viewOutline" class="toolbarButton" title="Show Document Outline (double-click to expand/collapse all items)" tabindex="3" data-l10n-id="document_outline">
64+
<span data-l10n-id="document_outline_label">Document Outline</span>
65+
</button>
66+
<button id="viewAttachments" class="toolbarButton" title="Show Attachments" tabindex="4" data-l10n-id="attachments">
67+
<span data-l10n-id="attachments_label">Attachments</span>
68+
</button>
69+
<button id="viewLayers" class="toolbarButton" title="Show Layers (double-click to reset all layers to the default state)" tabindex="5" data-l10n-id="layers">
70+
<span data-l10n-id="layers_label">Layers</span>
71+
</button>
72+
</div>
73+
</div>
74+
75+
<div id="toolbarSidebarRight">
76+
<div id="outlineOptionsContainer" class="hidden">
77+
<div class="verticalToolbarSeparator"></div>
78+
79+
<button id="currentOutlineItem" class="toolbarButton" disabled="disabled" title="Find Current Outline Item" tabindex="6" data-l10n-id="current_outline_item">
80+
<span data-l10n-id="current_outline_item_label">Current Outline Item</span>
81+
</button>
82+
</div>
7183
</div>
7284
</div>
7385
<div id="sidebarContent">
@@ -216,7 +228,7 @@
216228
<span data-l10n-id="next_label">Next</span>
217229
</button>
218230
</div>
219-
<input type="number" id="pageNumber" class="toolbarField pageNumber" title="Page" value="1" size="4" min="1" tabindex="15" data-l10n-id="page">
231+
<input type="number" id="pageNumber" class="toolbarField pageNumber" title="Page" value="1" size="4" min="1" tabindex="15" data-l10n-id="page" autocomplete="off">
220232
<span id="numPages" class="toolbarLabel"></span>
221233
</div>
222234
<div id="toolbarViewerRight">

0 commit comments

Comments
 (0)