diff Applications/StoneWebViewer/WebApplication/index.html @ 2164:952674a812c2

Added a Download button in the PDF viewer toolbar
author Alain Mazy <am@orthanc.team>
date Thu, 03 Oct 2024 17:19:12 +0200
parents 0a2b450cec3a
children
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebApplication/index.html	Thu Oct 03 14:23:14 2024 +0200
+++ b/Applications/StoneWebViewer/WebApplication/index.html	Thu Oct 03 17:19:12 2024 +0200
@@ -898,6 +898,14 @@
 
         <div class="wv-overlay">
           <div class="wv-overlay-bottomleft wvPrintExclude">
+            <button class="btn btn-primary" @click="Download()"
+                    data-toggle="tooltip" data-title="Download">
+              <i class="fa fa-download"></i>
+            </button>
+            <button class="btn btn-primary" @click="Print()"
+                    data-toggle="tooltip" data-title="Print">
+              <i class="fa fa-print"></i>
+            </button>
             <button class="btn btn-primary" @click="FitWidth()"
                     data-toggle="tooltip" data-title="Fit page width">
               <i class="fas fa-text-width"></i>
@@ -923,10 +931,6 @@
                     data-toggle="tooltip" data-title="Show next page">
               <i class="fa fa-chevron-circle-right"></i>
             </button>
-            <button class="btn btn-primary" @click="Print()"
-                    data-toggle="tooltip" data-title="Print">
-              <i class="fa fa-print"></i>
-            </button>
           </div>
         </div>
       </div>