]> source.dussan.org Git - archiva.git/commitdiff
roles screen: use colors for bulk save
authorOlivier Lamy <olamy@apache.org>
Mon, 13 Feb 2012 08:58:17 +0000 (08:58 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 13 Feb 2012 08:58:17 +0000 (08:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1243440 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/roles-tmpl.html

index bcccfbfd4c0df724c4ee378426bb35416d50270e..243d573d22c1ac56618789e0cd800e11c8d20fa8 100644 (file)
@@ -32,7 +32,8 @@
   <div id="roles-view-tabs-content" class="tab-content">
     <div id="roles-view" class="tab-pane">
         <div data-bind="style: { display: bulkSave() ? '' : 'none' }">
-          <button data-bind="click: updateModifiedRoles" class="btn">${$.i18n.prop('save.all')}</button>
+          <a data-bind="click: updateModifiedRoles" class="btn btn-danger" href="#">${$.i18n.prop('save.all')}</a>
+          <br/>
         </div>
         <table class="table table-striped table-bordered" id="rolesTable"
                data-bind="simpleGrid: gridViewModel,simpleGridTemplate:'ko_rolesGrid',pageLinksId:'rolesPagination'">
               </td>
               <td>
                 {{if row.modified()}}
-                  <a href="#" class="btn" data-bind="click: function(){ updateRole(row) }">${$.i18n.prop('save')}</a>
+                  <a href="#" class="btn btn-warning" data-bind="click: function(){ updateRole(row) }">${$.i18n.prop('save')}</a>
                 {{/if}}
               </td>
           </tr>
       {{/each}}
-  </tbody>
-
 </script>