Bug 18040: Updating buttons in Tools -> Upload local cover image
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 2 Feb 2017 22:58:34 +0000 (22:58 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 17 Feb 2017 15:46:39 +0000 (15:46 +0000)
To test:
1) Go to Tools -> Upload local cover image
2) Select an image and click Upload file
3) Notice Process images button looks different to Upload file button
4) Apply patch and refresh page
5) Follow steps 1-3 again and notice the changed styling of the buttons

Sponsored-by: Catalyst IT
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt

index a1300fc..82f5912 100644 (file)
@@ -98,7 +98,7 @@ $(document).ready(function(){
     <span class="required">Required</span>
         </div> </li>
 </ol>
-    <fieldset class="action"><button class="submit">Upload file</button></fieldset>
+    <fieldset class="action"><button class="submit btn btn-default btn-sm">Upload file</button></fieldset>
 </fieldset>
 
     <div id="uploadpanel">
@@ -142,7 +142,7 @@ $(document).ready(function(){
       </li>
     </ol>
   </fieldset>
-  <fieldset class="action"><input type="submit" value="Process images" /></fieldset>
+  <fieldset class="action"><button type="submit" class="btn btn-default btn-sm">Process images</button></fieldset>
 </form>
 
 </div>