diff --git a/hourglass/client/main/main.css b/hourglass/client/main/main.css index ea6b831..e900539 100644 --- a/hourglass/client/main/main.css +++ b/hourglass/client/main/main.css @@ -320,7 +320,7 @@ a font-size: 2vh; } -.noScroll .fa-plus, .creWork .fa-plus, .fa-minus, .fa-graduation-cap, .fa-exchange { +.noScroll .fa-plus, .creWork .fa-plus, .fa-minus, .noScroll .fa-graduation-cap, .fa-exchange { font-size: 130%; padding: 5%; } diff --git a/hourglass/lib/constants.js b/hourglass/lib/constants.js index b0fb4b0..be7ec48 100644 --- a/hourglass/lib/constants.js +++ b/hourglass/lib/constants.js @@ -122,9 +122,11 @@ AdminConfig = { { label: 'ID', name: '_id' }, { label: 'Name', name: 'name' } ], - color: 'red' + color: 'red', + label: 'Schools' }, classes: { + icon: 'graduation-cap', tableColumns: [ { label: 'ID', name: '_id' }, { label: 'School', name: 'school' }, @@ -140,9 +142,11 @@ AdminConfig = { { label: 'Banned', name: 'banned', template: 'adminUserDisplay' }, { label: 'Subscribers', name: 'subscribers', template: 'adminUserDisplay'} ], - color: 'purple' + color: 'blue', + label: 'Classes' }, work: { + icon: 'pencil', tableColumns: [ { label: 'ID', name: '_id' }, { label: 'Class', name: 'class' }, @@ -156,16 +160,30 @@ AdminConfig = { { label: 'Done', name: 'done', template: 'adminUserDisplay' }, { label: 'Type', name: 'type' } ], - color: 'yellow' + color: 'yellow', + label: 'Work' }, requests: { - tableColumns: [ + icon: 'exclamation-triangle', + tableColumns: [ { label: 'ID', name: '_id' }, { label: 'User', name: 'requestor', template: 'adminUserDisplay' }, { label: 'Request', name: 'request' }, { label: 'Time', name: 'timeRequested' } ], - color: 'green' + color: 'green', + label: 'Requests' + }, + 'Meteor.users': { + icon: 'user', + tableColumns: [ + { label: 'ID', name: '_id' }, + { label: 'Email', name: 'services.google.email' }, + { label: 'Name', name: 'profile.name' }, + { label: 'Icon', name: '_id', template: 'adminUserDisplay' } + ], + color: 'purple', + label: 'Users' } } }; diff --git a/hourglass/packages/meteor-admin/lib/client/html/admin_layouts.html b/hourglass/packages/meteor-admin/lib/client/html/admin_layouts.html index a53d95c..a92982b 100644 --- a/hourglass/packages/meteor-admin/lib/client/html/admin_layouts.html +++ b/hourglass/packages/meteor-admin/lib/client/html/admin_layouts.html @@ -8,7 +8,7 @@

- {{$.Session.get 'admin_title'}} + {{adminCollectionLabel admin_collection_name}} {{$.Session.get 'admin_subtitle'}}