summaryrefslogtreecommitdiffstats
path: root/app/common/styles/components
Commit message (Collapse)AuthorAgeFilesLines
* Create alert banner componentYoshie Muranaka2019-11-262-1/+32
| | | | | | | | | 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
* Improve LDAP accessibilityDixsie Wolmers2019-09-261-2/+0
| | | | | | | | | | | | | | -Fixes accessibility issues for table sort buttons, fieldset legend, checkboxes and radio buttons -Fixes tabbing to checkboxes -Stops tabbing to disabled sort buttons by adding ng-disabled -Removes aria-hidden from modals Tested: Verified no violations using DAP tool. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I9ad240d5ed151a362c0000fdab3ebf1f2997b226
* LDAP configuration and user groupsbeccabroek2019-09-261-1/+6
| | | | | | | | | | | | | | | | | Adds LDAP page and ability to add and change configuration settings. Adds ability to add, remove and edit user groups for LDAP. Resolves openbmc/phosphor-webui#38 Resolves openbmc/phosphor-webui#39 Tested: Loaded on to a witherspoon and able to add initial LDAP config as well us update the configuration and role groups. Appropriate messages displayed to user when required fields are missing or in the incorrect format. Change-Id: If8a21f3f9d9334415ead73472e90b2a0823bf9ea Signed-off-by: beccabroek <beccabroek@gmail.com> Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Signed-off-by: Derick Montague <derick.montague@ibm.com>
* Add batch action functionality to table ComponentYoshie Muranaka2019-09-241-0/+126
| | | | | | | | | | | | | | | | 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-201-4/+25
| | | | | | | | | | | | 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-201-0/+28
| | | | | | | | | | | | | | | | | 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-271-0/+3
| | | | | | | | 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-271-1/+5
| | | | | | | | | 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-131-0/+22
| | | | | | | | | | | | | | | | | | | | | | 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
* Clean up color valuesYoshie Muranaka2019-07-092-45/+44
| | | | | | | | | | | | | This update will clean up slight color variations in the code base by creating and using Sass color variables instead of hex values. Available colors are defined in colors.scss. Any usage of CSS color properties should refer to the mapped color variables in colors.scss. - Removed tags.scss file since tag components no longer used Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I045030a158469e59d07a9fa8cd8aa9f125f0d383
* Add dropdown caret to time owner dropdown on Date and Time SettingsYoshie Muranaka2019-05-071-16/+7
| | | | | | | | | | | | | | - Use background-image strategy to add caret to dropdowns - Standardize implementation by including mixin to dropdown__button class and removing styled pseudo element Resolves ibm-openbmc/dev#478 Tested: Running locally on Chrome only. Ran into network request errors for newly added svg assets when mounting overlay Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I714c2515282676f368eafb2560177d2935680e23
* Fix table headerIftekharul Islam2019-01-301-0/+7
| | | | | | | | | | Makes the table header in sensor page stay fixed after scrolling. Fixes the allignment of filter button. Resolves openbmc/phosphor-webui#28 Change-Id: If9b8b0848169b5924b811e67588ff57c8dae7c5c Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Move to Bootstrap 4Gunnar Mills2018-11-151-0/+5
| | | | | | | | | | | | | | | | | | | | | Bootstrap < 4.1.2 has the following CVE: https://nvd.nist.gov/vuln/detail/CVE-2018-14041 Removed bootstrap-theme.css due to "Replaced the separate optional theme with configurable options via SCSS variables (e.g., $enable-gradients: true)." Added "width: 100%" to a few places where width 100% was no longer getting inherited. Moved a few elements and adjusted styles to get the same look as before. See https://getbootstrap.com/docs/4.0/migration/ for more information. Tested: Manually on a Witherspoon. Change-Id: I0a72665ac1ca6eacd0b553a585b1fb15e14ae62c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* moved table sorting to be globalMichael Davis2017-10-091-1/+28
| | | | | Change-Id: I7d6633ed965693f92bebddb88a5f081102090bdd Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Accessibility fixes:Michael Davis2017-10-091-0/+1
| | | | | | | | | - changed buttons to spans since not being used in forms - added aria roles to html elements - changed low contrast colors Change-Id: I56e784b226baa7f9b24346446a0a023fcea633d4 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* minor QA fixes to marginsMichael Davis2017-10-091-1/+1
| | | | | Change-Id: If3730f75e796f8f48fd036234711efa23e23f794 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Colors darkened for better visual contrast to pass accessibility tests.Michael Davis2017-10-091-1/+1
| | | | | Change-Id: Iedcaaf71a2ac48eb885ac92d9efee0623e949289 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Added hardware sensors functionalityIftekharul Islam2017-09-201-1/+1
| | | | | Change-Id: I99435613bb77fc0ff72f046c2dc047b13962a7a3 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Enhance hardware inventory layoutMichael Davis2017-09-201-0/+2
| | | | | Change-Id: Ie013fdaa03a03682bb415a34e15155091fa3bf4a Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Misc fixes for event log.Michael Davis2017-09-201-1/+2
| | | | | | | | | | | - Fixed single event log overflow. - Fixed incorrect class on log search filter button. - Fixed incorrect nested div. - Removed duplicate accordion trigger class in event log. - Fixed hover for checkboxes to be more prominent. - Fixed margin issue with action header for event log. Change-Id: I156f516316675afde98c233057a8247bc17a1459
* add firmware pageMichael Davis2017-09-201-25/+41
| | | | | Change-Id: I3d9a2ec068e3542a848dada63a6bbebe9869bf2f Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Modify color of gray textsMichael Davis2017-09-201-3/+3
| | | | | Change-Id: I4fa5c805448cc28066c8cb72b24184d541d9af95 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Misc CSS fixesMichael Davis2017-09-202-10/+196
| | | | | | | | | | | | | | | * set max content width to 960px * created mixin for bold font * move app-header content to global header * minor global changes * changed input alignment for network config inputs * added pop-out button class * changed lightgrey color * fixed accordion header actions responsiveness * fixed input box border colors Change-Id: Iffe26d526439d7f2bb6808528a975ab7374ff1b2 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* event-logs: redesign search and filtering functionMichael Davis2017-09-201-3/+3
| | | | | | | Proposed changes were based on user feedback from design team. Change-Id: Idab1418e1b4d11770095c865eb03769f278a03bc Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Additional details on event log templatesMichael Davis2017-09-201-0/+172
| | | | | Change-Id: I634cbc5c4c42150b54ac4f520ff7aed70b4243dc Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Major update to code structureIftekharul Islam2017-09-203-0/+2
* Split files into independent files based on functionality. * Switch to bower/gulp for build. Change-Id: Ibc775dd9b7f6a0a49f63c22162b7582e781e2d9c Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
OpenPOWER on IntegriCloud