summaryrefslogtreecommitdiffstats
path: root/app/common/components/table
Commit message (Collapse)AuthorAgeFilesLines
* Fix table-actions errorYoshie Muranaka2019-11-141-5/+2
| | | | | | | | | | | | | When using the table component with table actions enabled, if an icon file name isn't provided, the action type should display in the table. This will fix the webpack error when compiling the table component without an icon to display by changing the ng-if directive to check for falsy values instead of just 'null' to also catch 'undefined' values. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I72daeb035e4e5f0391953f9f2ae042d0b9fc2b99
* Add batch actions to local user tableYoshie Muranaka2019-09-243-3/+5
| | | | | | | | | | Add ability to remove, enable, disable local users in bulk. - Updates to table-actions component to fix flickering issue by including track by $index in ng-repeat Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I67039e9b9d9cf7debe9f6ef87e71210bd4b64251
* Add batch action functionality to table ComponentYoshie Muranaka2019-09-244-123/+449
| | | | | | | | | | | | | | | | These changes aren't currently implemented on any table. It will be added to event logs and local user table. - Create tableCheckbox component to handle custom styles and indeterminate state which needs to be set with JS - Update tableComponent layout to allow transition for toolbar. Updated user-accounts layout and styles to account for these changes Tested on Chrome, Safari, Firefox, Edge, IE Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic57a090db1ef66f9d33facfdc425db868ae8d8c6
* Add expand/collapse functionality to table ComponentYoshie Muranaka2019-09-202-20/+81
| | | | | | | | | | | | This commit will add optional expand/collapse functionality to the shared table component. Expand/collapse is not implemented on any existing table but will be used on the redesigned event log table. Tested on Chrome, Safari, Firefox, Edge, IE Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia7ecde7b5525c11c68ebdf9f609c8d690c312969
* Add sort functionality to table ComponentYoshie Muranaka2019-09-202-54/+153
| | | | | | | | | | | | | | | | | Added optional sort function to the shared table component. Table sort is not implemented on any existing table, but will be used in the redesigned Event Log table. - Changed table model attribute to two separate properties data and header to take advantage of $onChanges lifecycle hook - Update local user table and user role table to account for these updates Tested on Chrome, Safari, Firefox, Edge, IE Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I4fe68e78ae9d1228d7d9350538f61076036b1089
* Add user role privilege tableYoshie Muranaka2019-08-272-6/+9
| | | | | | | | Created a directive to handle display of user privilege roles on the local user management page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I83caea33356012752c7a67301fa2a372f0c28620
* Add tableActions componentYoshie Muranaka2019-08-273-25/+126
| | | | | | | | | Creating a separate table actions component to allow row action customizations like disabling certain actions and rendering different icons. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I85e96045af27701f5ecc4af9bf824e248abccbf5
* Update local user table to new designYoshie Muranaka2019-08-132-0/+126
This commit will introduce a reusable data table component. By creating a reusable component, we can ensure tables in the GUI will look consistent and common table actions (sort, select row) are shared. - Created new components directory to store shared components - Add password-confirmation directive - Remove some error handling from API utils so it can be handled in the UI TODO: - Add show/hide toggle to password fields - Enhance table component with icons - Manual user unlock - Batch table actions - Role table Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I03c95874d2942a2450a5da2f1d2a8bb895aa1746
OpenPOWER on IntegriCloud