summaryrefslogtreecommitdiffstats
path: root/app/common/components
Commit message (Collapse)AuthorAgeFilesLines
* Add file upload componentDixsie Wolmers2019-11-271-0/+60
| | | | | | | | | | | | | | | Created reusuable file upload component to be used on updated firmware page. Component can: -Upload file -Display status icon -Clear upload field Made minor style change to file upload on certificate management. Tested in GUI. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I09bf56eee4d670681ea5e95c1807f8177c0e4c08
* Update loading spinnerDixsie Wolmers2019-11-271-1/+7
| | | | | | | | | Loader was updated with loading icon svg. Added inline style for loading icon and added loader svg to status-icon directive. Status icons will be used in file-upload component for firmware page update. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I15e6f9fa39a08fcc8cfe354f8ed4447aab6425a9
* Create alert banner componentYoshie Muranaka2019-11-261-0/+60
| | | | | | | | | This reusuable component will help to make sure banner implementations are consistent and will help reduce redundant code. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I3a16f65d36c2d61abf54c300e2ed5defeadee298
* 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
* Clean up iconsYoshie Muranaka2019-10-021-0/+42
| | | | | | | | | | | | | | | Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files. - Moved/removed on, off, critical, warning svg icons from assets directory - Updated background-image status icons to use <icon> or <status-icon> directive Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
* 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-133-0/+135
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