This repository was archived by the owner on Dec 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/resources/assets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77 <groupId >com.aliensoft</groupId >
88 <artifactId >quickview</artifactId >
9- <version >1.0.0 </version >
9+ <version >1.0.1 </version >
1010 <packaging >jar</packaging >
1111
1212 <name >QuickView Dropwizard</name >
Original file line number Diff line number Diff line change 6464 background-position : 15px 20px ;
6565 float : left;
6666 padding : 25px 0px ;
67- margin-right : 15px ;
68- cursor : pointer;
67+ margin-right : 15px ;
6968}
7069/*
7170******************************************
Original file line number Diff line number Diff line change 33 * Copyright (c) 2016 Alexandr Bobkov <lilalex85@gmail.com>
44 * Licensed under MIT.
55 * @author Alexandr Bobkov
6- * @version 1.0.0
6+ * @version 1.0.1
77 */
88
99 /*
@@ -1688,6 +1688,10 @@ METHODS
16881688 this . append ( getHtmlModalDialog ) ;
16891689
16901690 // assembly nav bar
1691+ if ( options . browse ) {
1692+ $ ( qv_navbar ) . append ( getHtmlBrowsePanel ) ;
1693+ $ ( "#qv-btn-browse" ) . on ( 'click' , openBrowseModal ) ;
1694+ }
16911695 if ( options . zoom ) {
16921696 $ ( qv_navbar ) . append ( getHtmlNavZoomPanel ) ;
16931697 $ ( qv_navbar ) . append ( getHtmlNavSplitter ) ;
@@ -1725,9 +1729,6 @@ METHODS
17251729 // Generate thumbnails
17261730 generatePagesTemplate ( data , data . length , 'thumbnails-' ) ;
17271731 } ) ;
1728- }
1729- if ( options . browse ) {
1730- $ ( "#qv-header-logo" ) . on ( 'click' , openBrowseModal ) ;
17311732 }
17321733 }
17331734 } ;
@@ -1759,8 +1760,7 @@ HTML MARKUP
17591760 '<div class="wrapper">' +
17601761 // header BEGIN
17611762 '<div id="qv-header">' +
1762- '<div id="qv-header-logo">' +
1763- '<span class="qv-tooltip">Browse Files</span>' +
1763+ '<div id="qv-header-logo">' +
17641764 '</div>' +
17651765
17661766 // nav bar BEGIN
@@ -1897,6 +1897,9 @@ HTML MARKUP
18971897 function getHtmlNavUploadPanel ( ) {
18981898 return '<li id="qv-btn-upload"><i class="fa fa-upload"></i><span class="qv-tooltip">Upload</span></li>' ;
18991899 }
1900+ function getHtmlBrowsePanel ( ) {
1901+ return '<li id="qv-btn-browse"><i class="fa fa-folder-open"></i><span class="qv-tooltip">Browse files</span></li>' ;
1902+ }
19001903} ) ( jQuery ) ;
19011904
19021905/*
You can’t perform that action at this time.
0 commit comments