summaryrefslogtreecommitdiffstats
path: root/app/common
Commit message (Collapse)AuthorAgeFilesLines
* Create profile settings pageHEADmasterYoshie Muranaka2020-02-116-25/+48
| | | | | | | | Adding a profile settings page so readonly and operator roles are able to change their own password. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iee9536255ad47f4df4af8746c1e01da37c407f2b
* Update navigation to accordian-style menukathy2020-01-134-218/+222
| | | | | | | | | | | | | | - New navigation provides intuitive structure for showing relationship between sections and pages - Menu keeps an open state, which allows easy clicking to sibling pages - Ability to preview all page sections w/o hover over blocking page content - Allows user to see where they are within navigation at all times Tested: Opened each page and confirmed new navigation worked, clicked through to all pages successfully. Change-Id: Ie10dc95d8e15ee9bf89a3bec9ff231c0a7065ed9 Signed-off-by: Kathy Pine <kathryn.elainex.pine@intel.com>
* User logged in when IsAuthenticated cookie is set.Wiktor Gołgowski2019-12-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | Related to https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/27270 Currently the only condition checked when user is logged in was the "LOGIN_ID" value in browser session storage. The only place in the code where it is set is the Basic Authorization flow. In case of mTLS authentication, we are not able to set session storage value. This is why additional 'IsAuthenticated' cookie is added. In the case when user session expires, the failing XHR should cause the page to redirect to the login prompt. Additionally, IsAuthenticated cookie is removed to disable redirection. Tested: verified the flow with the mTLS changes. User is put in the webUI interface without login prompt when using mTLS authentication. If the authentication fails, browser redirects to the login page. Signed-off-by: Wiktor Gołgowski <wiktor.golgowski@intel.com> Change-Id: Ia7061f3e146c6547d4bfdf42940150b1a5c06903
* Add file upload componentDixsie Wolmers2019-11-272-39/+87
| | | | | | | | | | | | | | | 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-273-21/+28
| | | | | | | | | 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
* Fix truncated button icons on SafariYoshie Muranaka2019-11-262-11/+0
| | | | | | | | | Removing margin offset to fix issue with button icons being visually truncated on Safari. Removing additional redundant code around same icon/buttons. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie1ef89023a043a70a0126a21be57febb9afae19a
* Create alert banner componentYoshie Muranaka2019-11-263-1/+92
| | | | | | | | | 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
* Certificate delete API – frontendZbigniew Kurzynski2019-11-064-3/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | With introducing option to add multiple certificates there is a need to give user a possibility to remove selected certificates, for example when they expire. This commit adds implementation of DELETE function to GUI. A new icon will appear in action section on certificate table. The delete icon will be enabled only for TrustStore certificates and disabled for others which does not have support for delete option. When user clicks on the delete icon then ‘user prompt’ is displayed and after confirmation, proper redfish action is used to delete the certificate. Middlewere implementation is here: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/25281 Backend implementation is here: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-certificate-manager/+/25268 Tested on Chrome and Mozilla. New icon appears in action section. The delete option is available only for TrustStore certificates. User is able to delete selected certificate. Depends-On: I9781c5c79288ec5d080e80e42c63a55e471ddb77 Signed-off-by: Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> Change-Id: I68c5f54767d6982ae3cb00830b3a1b4f5e237bea
* Update toast notificationYoshie Muranaka2019-10-223-15/+90
| | | | | | | | | | | | | | Added new toast notification types, warn and info, and updated visual styling. All toasts will need to be manually closed by clicking the 'X' close icon, except a success toast which will be dismissed automatically after 10 secs. - Small updates to critical and success/on icon - Added new colors for toast status background colors Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9077109042621b2d3346b4121d6344da502b6b26
* Update certificate management page consistencyDixsie Wolmers2019-10-215-58/+142
| | | | | | | | | | | | | | | | | | This change applies global styles to improve page layout consistency and modal management - Adds page and section styles - Removes unused styles - Creates individual html files for modals - Updates certificate modals to bootstrap modal - Updates global styles for input file field in file-upload.scss TODO: - Update certificate table with table component in separate commit - Update CSR modal to use global form-field styles in separate commit Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I9b800cb684740da1a9168294433e726efb0f9d0e
* Update object-mapper.md linkGunnar Mills2019-10-211-1/+1
| | | | | | | | | | object-mapper.md is moving under architecture/ as part of https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/26250/ 26250 should merge before this is merged. Change-Id: Ie2372690faf6af9629a15badccb4af31da9041bb Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add tooltip stylesYoshie Muranaka2019-10-181-0/+22
| | | | | | | | | | | | | | Adding styles to make sure the Bootstrap tooltip directive works by adding opacity to 'in' class that is added to the tooltip when triggered. This commit also includes additional custom styles to override defaults. We will need these styles to implement tooltips which are included in upcoming changes like the firmware page redesign. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I08e8f1f1762dcc24f8a803b87348a5bff25bd65b
* Fix IE11 icon alignment on header and system overviewDixsie Wolmers2019-10-182-7/+10
| | | | | | | | | | | | Made height and width changes to icons on app header and system overview to properly align icons in IE11. Removes additional space in system overview quick links. Tested in Chrome, IE11, Safari, Edge. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I7ae24df3fe73ea3502565ed3ee2ccabb2506e098
* Fix IE 11 primary navigation icon positioningDixsie Wolmers2019-10-182-9/+8
| | | | | | | | | | Added height value of 100% to nav-icon in order to properly align in IE11. Tested on Chrome, Firefox, Safari, Edge and IE11. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I66b2d4de1b67f546e0709eab70a780a297efbb7a
* Inventory: Remove old associations interfaceGunnar Mills2019-10-171-8/+0
| | | | | | | | | Moved to the new associations interface here: https://github.com/openbmc/openbmc/issues/3584 Tested: Loaded on a Witherspoon Change-Id: I2065f0919c8cc9d9dd219a1f9d8d0fc75265fa6f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Logs: Move over to new AssociationsGunnar Mills2019-10-171-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | Logging moved over to the new Associations interface here: https://github.com/openbmc/phosphor-logging/commit/27d82814c3e79865221f599b98ce069c31c4d60a Without this change was seeing: TypeError: "r.data[h].associations is undefined" getLogs https://w81.aus.stglabs.ibm.com/app.bundle.js:41 d https://w81.aus.stglabs.ibm.com/app.bundle.js:6 d https://w81.aus.stglabs.ibm.com/app.bundle.js:6 $digest https://w81.aus.stglabs.ibm.com/app.bundle.js:6 $apply https://w81.aus.stglabs.ibm.com/app.bundle.js:6 y https://w81.aus.stglabs.ibm.com/app.bundle.js:6 C https://w81.aus.stglabs.ibm.com/app.bundle.js:6 onload https://w81.aus.stglabs.ibm.com/app.bundle.js:6 Possibly unhandled rejection: {} Added an hasOwnProperty before the foreach. Tested: No longer see the error. See the "Related items:" on the event log panel. Change-Id: I60be885feea72b1388b7cbf4c3a7b9df7dbb9a02 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Fix LDAP service update errorDerick Montague2019-10-092-63/+37
| | | | | | | | | | | | | | | | | | | | | | | | When a service is enabled, it must be disabled prior to changing the service type, e.g change from OpenLDAP to ActiveDirectory. - Add check to determine if a service is already enabled - Make two calls if service is already enabled. First to disable existing service. Second to enable updated service - Remove toast message for ssl check and replace with error message which also keeps submit button disabled if the regex pattern is not met Tested: - Edge - Safari - Firefox - Chrome - IE 11 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I195eeb7d1cd3621681c18f4dd9aa4414eb079c09
* Add searchable properties to event log filterYoshie Muranaka2019-10-081-7/+1
| | | | | | | | | | | The current event log search doesn't match inputs like the event id, severity or priority. This commit will add additional searchable log properties to the search filter so users can enter search terms like 'High' or 'Error' or other visible keywords. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I569112468a9f97034449799f407137f1651cec16
* Clean up iconsYoshie Muranaka2019-10-027-127/+90
| | | | | | | | | | | | | | | 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
* Fix SoL and KVM refresh bugYoshie Muranaka2019-09-301-3/+4
| | | | | | | | | | | | | | | Clicking the refresh button in the app header on the SoL and KVM pages would fail to reload because the wrong element reference is passed to the contructor after the reload. Angular recommends using directives for any DOM manipulation. - Use the $element ref availble in serial-console.js directive to select DOM element to open the terminal - Switch kvm controller to directive to be able to use element ref in the link function to select DOM element to pass as target Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia7391e42bf335b8c3558d25df15c052db245ee3d
* Change navigation submenu transition duration and easeYoshie Muranaka2019-09-301-2/+1
| | | | | | | | | The current submenu navigation expanstion is too fast. This commit will change the speed from 110ms to 400ms and change the timing function from ease to cubic-bezier. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iec1b9ac9dd19aa8ef43bf1845ab4f1d259b9ef0b
* Improve LDAP accessibilityDixsie Wolmers2019-09-263-53/+194
| | | | | | | | | | | | | | -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
* Update users navigation sectionmiramurali232019-09-261-56/+32
| | | | | | | | | | | | - Changed the section name to be access-control - Moved LDAP Settings and Certificate Management to access-control navigation - Changed Manage User Account subsection name to Local User Management Resolves: openbmc/phosphor-webui#619 Signed-off-by: Mira Murali <miramurali23@gmail.com> Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I0d94c80c295b997d94c04330fd87f4fc4d229bf8
* LDAP configuration and user groupsbeccabroek2019-09-265-1/+433
| | | | | | | | | | | | | | | | | 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 error messaging for error log date filtering and Safari supportDerick Montague2019-09-252-56/+83
| | | | | | | | | | | | | | | | | | - Updated filters to use semantic markup (fieldset) - Added check for input date type support and updated expected date format to the legend - Added error message if date format is invalid - Updated layout to support error message Tested the changes in the following browsers: - Safari - IE 11 - Chrome - Edge - Firefox Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If0b874644b80640dc5bfd8211459c012807ea492
* 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-246-124/+584
| | | | | | | | | | | | | | | | 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
* Move Virtual Media files and routeGunnar Mills2019-09-241-2/+2
| | | | | | | | | | | | | | | "Virtual media" was already part of the "Server control" submenu but the files were at app/configuration and the route was /configuration. Marta Mazur did a similar file and route move here as part of supporting multiple Virtual Media endpoints: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-webui/+/25218 Tested: Built and loaded on a Witherspoon. The VM route is now: #/server-control/virtual-media. Was able to use the VM panel. Change-Id: Iec46a8ece7ddfbc356bc1e71875def70c4418027 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Remove Purpose property from inventory itemGunnar Mills2019-09-241-0/+10
| | | | | | | | | | | | | | | | | | | | | The Purpose property is not useful in the inventory item. The field overflows to another line. The Purpose property under a power supply inventory item: PURPOSE xyz.openbmc_project.Software.Version.VersionPurpose.Other When we move to Redfish, this can be removed. An alternatives considered was only using the last part of the purpose property (e.g. Other). Still didn not find this userful to customers so just removed. https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Software/Version.interface.yaml#L14 Tested: Built and loaded on a Witherspoon. Don't see the property. Change-Id: Ie004c90f6a5e625cfa65ba39ab2be97e5e256705 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add expand/collapse functionality to table ComponentYoshie Muranaka2019-09-203-24/+106
| | | | | | | | | | | | 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-203-54/+181
| | | | | | | | | | | | | | | | | 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
* Certificate management alert icons implementation and alignmentDixsie Wolmers2019-09-191-2/+10
| | | | | | | | | | | - Replaces background image icons with icon directive - Sizes and aligns icons in certificate table TODO: - Remove critical icon background image in separate commit Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I2e10bc3f3432331b6dd9354dbcd0e32480894ece
* Fix filter bar clear filter buttonDixsie Wolmers2019-09-111-1/+3
| | | | | | | | | | | | | | | | Makes filter button screen reader friendly and accessible. - Adds icon directive for close icon - Adds button type - Icon is aria-hidden and uses an aria-label attribute with the value set to clear filter Tested: - Filter inputs clear on close button click Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Ifcbe603c2771156fe7a03359b144e0a0acd5e3f1
* Fix missing expiring/expired icons and warnning messages in certificate tablemiramurali232019-09-102-25/+14
| | | | | | | | | | | | | - Confirmed with backend developer that we should be checking certificate expiration date with bmc date/time set - Converted both certificate expiration date and bmc date/time to EPOCH time to fix the bug Tested: Go to Date and Time settings and change BMC time to be after or 30 days before a certificate expiration date. Then either a warning or expiration icon and message will be displayed next to the date and message on top of the table. To remove the expiration or warning date, upload a certificate that has an expiration date greater than 30 days after bmc time set. The icon and warning message should now disappear. Signed-off-by: Mira Murali <miramurali23@gmail.com> Change-Id: I9389fe3cce5a555945adf9c56180897a6be047bf
* Fix certificate management tabbingDixsie Wolmers2019-09-043-8/+32
| | | | | | | | | | | | - Adds focus to "choose file" button when replacing certificate - Adds input-file.scss to elements Tested: - Passes DAP - Tabs correctly in all browsers Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I48c61f4176bc3e3fe55425dafc79e8f2edb934b2
* Fix issue on IE cannot open SOL pageKuiying Wang2019-09-041-0/+10
| | | | | | | | | | | | | | | The root cause is that TextEncoder/TextDecoder does not support IE More detail at https://caniuse.com/#feat=textencoder One workable solution is to include text-encoder lib, as this patch did. Tested: IE visit BMC and navigate to "#/server-control/remote-console" SOL page is working well. Change-Id: I5019c626afcf67916252db4115af7616c7a9759b Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
* Fix SoL open in new tab Safari bugYoshie Muranaka2019-09-041-10/+14
| | | | | | | | Wrapped WebSocket constructor in try/catch block to avoid compile errors in controller. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I38fbc1e5898b0b70d8a16e3f16a244e04e18347e
* Fix IE11 replace certificate buttonDixsie Wolmers2019-08-291-13/+25
| | | | | | | | | | | | | | - Refactored button and icon markup on certificate management in order to trigger click in IE11 Tested: - Confirmed button functionality in Chrome, IE11, Firefox, Edge and Safari - Buttons and icons pass DAP - File upload inaccessible, unable to tab to "choose file" button Will correct in separate commit Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I6b0b9a56386a74b25a7a35d0cc03c9b0d32c3478
* Add user role privilege tableYoshie Muranaka2019-08-274-6/+23
| | | | | | | | 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-275-29/+135
| | | | | | | | | 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
* Add local user manual unlockYoshie Muranaka2019-08-232-1/+38
| | | | | | | | Enables manual unlock from the GUI when a user is locked out due to failed login attempts above allowed threshold. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I63e28a4d6feed9eb6d4d09c0431d31e7bd6924c2
* Enable CA certificate uploadYoshie Muranaka2019-08-223-7/+39
| | | | | | | | This patchset enables CA certificate type to be uploaded in the GUI. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I52953933f6fd3dbd363c42b887996942b99b358e
* Create csr modalmiramurali232019-08-224-2/+277
| | | | | | | | | | | | | | | | | | The CSR Modal allows users to generate a CSR code. Once the user types in the necessary information to generate the CSR code, that modal will then render the code and the user will be able to either copy the code or download the code in a txt file. Tested: loaded onto Witherspoon and able to view on certificate management page. Click on generate csr and type in necessary (or any additional info), then click on generate CSR. The CSR code is then visible and is able to be copied or downloaded. In error state in which CSR code is unable to generate, the modal closes and an error toast message appears. FYI: Sometimes you have to reboot system in order for csr to successfully generate.y Signed-off-by: Mira Murali <miramurali23@gmail.com> Change-Id: I3cca09c494357496166164b5ee8ff99250ef981d
* Fix app header template rendering in SafariYoshie Muranaka2019-08-221-40/+46
| | | | | | | | | | Add 'connect-src' directive to Content Security Policy to allow WebSocket connection. Added additional error handling when Websocket connection refused. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I83cfaa0b314099aea57ee7f2be75a0658462b2a9
* Add boot option override and TPM enable toggleDixsie Wolmers2019-08-213-6/+54
| | | | | | | | | | | | | | | | | - Adds ability to set a bootsource override to allowable target value - Adds ability to enable or disable TPM required policy - Replaces power operations confirm directive with bootstrap modal Tested: Confirmed override settings saved to redfish but unable to verify if settings are automatically set to disabled by petitboot after a one time boot. Passes DAP. Resolves openbmc/phosphor-webui#82 Resolves openbmc/phosphor-webui#90 Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: If0ffd6f9328939d70c7958ee11fb90bd20a1e685 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add password visibility toggleYoshie Muranaka2019-08-192-0/+73
| | | | | | | | | This commit will add a new password visibility toggle directive. The new directive was added to the local user management, user modal password input fields. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I4e2baf53eec04aaff1bba26948779de6e447e3e7
* Update local user table to new designYoshie Muranaka2019-08-1311-22/+272
| | | | | | | | | | | | | | | | | | | | | | 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
* Update overview page to use new UI patternsDerick Montague2019-08-127-88/+122
| | | | | | | | | | | | | | | | | | | | - Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC information to accomodate small screen views - Added chevron icons to create consistency between header and server overview page quick links - Changed edit hostname text to use the standard icon - Added OR operator to short circuit the server model, server serial number, and server manufacturer to display N/A if the information is not available Change-Id: I6619f5369ff290555142e85aa432e901c4f93d2d Signed-off-by: Derick Montague <derick.montague@ibm.com>
* Update toggle componentDixsie Wolmers2019-08-0912-89/+254
| | | | | | | | | | | | | | | | | - Adds text to indicate the current state of the toggle button to meet accessibility guidelines - Update size, color, and focus of toggle component to fix DAP violations - Add page, section, and list-pair layout patterns established on the power usage page to begin a pattern for consistent page layout - Add form__field and form__actions to help with form layout consistency. Tested: Verified toggle functions in the GUI and tested with screen reader. Passes DAP. Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Iaa8646b1179cc307971065c455f4b9448095d1ec
OpenPOWER on IntegriCloud