From 8fd0324ef75ab614228acf8197eb7b07fbcdb769 Mon Sep 17 00:00:00 2001 From: Patrick Stoica Date: Fri, 18 Apr 2014 21:59:28 -0400 Subject: [PATCH] [#45] formatting changes --- app/assets/javascripts/controllers/adminUserCtrl.js | 2 +- app/views/admin/users/index.html.slim | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/controllers/adminUserCtrl.js b/app/assets/javascripts/controllers/adminUserCtrl.js index 161c4fe..55be45e 100644 --- a/app/assets/javascripts/controllers/adminUserCtrl.js +++ b/app/assets/javascripts/controllers/adminUserCtrl.js @@ -15,7 +15,7 @@ angular.module("wrektranet.adminUserCtrl", []) // pagination $scope.currentPage = 1; - $scope.maxSize = 5; + $scope.maxSize = 11; $scope.itemsPerPage = 20; $scope.category = null; diff --git a/app/views/admin/users/index.html.slim b/app/views/admin/users/index.html.slim index 75aa254..9c5a62c 100644 --- a/app/views/admin/users/index.html.slim +++ b/app/views/admin/users/index.html.slim @@ -53,12 +53,12 @@ div ng-controller="adminUserCtrl" table.table.table-striped thead tr - th Username - th Name - th Phone - th Status - th Admin - th Exec Staff + th style="width: 15%;" Username + th style="width: 25%;" Name + th style="width: 15%;" Phone + th style="width: 8%;" Status + th style="width: 5%;" Admin + th style="width: 5%;" Exec th Roles tbody tr ng-repeat="user in filtered = (users | filter:status:true | filter:search) | startFrom:(currentPage-1)*itemsPerPage | limitTo:itemsPerPage"