]> source.dussan.org Git - archiva.git/commitdiff
sort button only in users grid tab
authorOlivier Lamy <olamy@apache.org>
Sat, 17 Dec 2011 22:43:24 +0000 (22:43 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 17 Dec 2011 22:43:24 +0000 (22:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1220289 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/templates/user-grids.html

index ba4376808b8ec1ccd4b83d3ff3cc52249eb95e45..39d4550de5a63152fceadd73b9fa7ccf1311ded4 100644 (file)
 
 
 <script id="usersGrid"  type="text/x-jquery-tmpl">
-    <h2>Users list</h2>
-
-    <button data-bind='click: sortByName'  class="btn">
-        Sort by name
-    </button>
+    <div class="page-header">
+      <h2>Users list</h2>
+    </div>
     <ul id="users-view-tabs" class="tabs">
       <li class="active" id="users-view-tabs-li-users-grid">
         <a href="#users-view">Users</a>
     </ul>
     <div id="users-view-tabs-content" class="tab-content">
       <div id="users-view">
-          <table class="bordered-table zebra-striped" data-bind="simpleGrid: gridViewModel" id="usersTable"></table>
-          <div id="usersPagination"></div>
+        <button data-bind='click: sortByName'  class="btn">
+          Sort by name
+        </button>
+        <table class="bordered-table zebra-striped" data-bind="simpleGrid: gridViewModel" id="usersTable"></table>
+        <div id="usersPagination"></div>
       </div>
       <div id="createUserForm"></div>
     </div>