]> source.dussan.org Git - archiva.git/commitdiff
managed repositories bulk save use btn class
authorOlivier Lamy <olamy@apache.org>
Mon, 13 Feb 2012 08:58:36 +0000 (08:58 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 13 Feb 2012 08:58:36 +0000 (08:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1243441 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html

index 37fca25596fa4d2368ef81fedf54c5ae63d43787..bc982558e3a45c7ba12bb6cd6c8a054dea39ed0a 100644 (file)
             </td>
             {{if row.modified()}}
               <td>
-                <a href="#" data-bind="click: function(){ updateManagedRepository(row) }">${$.i18n.prop('save')}</a>
+                <a href="#" class="btn btn-warning" data-bind="click: function(){ updateManagedRepository(row) }">${$.i18n.prop('save')}</a>
               </td>
             {{else}}
               <td></td>
 
 <script id="managed-repositories-bulk-save-tmpl" type='text/x-jquery-tmpl'>
   {{if bulkSave()}}
-    <button data-bind="click: updateModifiedManagedRepositories" class="btn">${$.i18n.prop('save.all')}</button>
+    <a data-bind="click: updateModifiedManagedRepositories" class="btn btn-danger" href="#">${$.i18n.prop('save.all')}</a>
   {{/if}}
 </script>
\ No newline at end of file