summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-07-24Add table responsive layout and fix search icon visibilitySurenNeware15-25/+35
-Add responsive layout for all the tables. -Fix search icon visibility in search component. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ibb4f77cf322aeb3699b13ab6cbbdb6cc38efbdc4
2020-07-23Update global typographyDixsie Wolmers5-10/+46
Updated the following body, label, and heading styles to match new style guide: - Font sizes - Font weight - Line height - Color Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I014c968f6542b697fec8c3b9af781e64ac10794d
2020-07-23Overlapping search box and toolbar with selected rowsMateusz Gapski1-0/+1
More details: https://github.com/openbmc/webui-vue/issues/19 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I6c84f979baa1d381c8ae62781a2607d3de63169a
2020-07-23Add the updated icons for critical and exportSukanya Pandey2-3/+4
-the critical icon in the header and tables. -the export icon in the event log page. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I5b3beedb8339ba6e6bbd34b43ea7698fc44f9e42
2020-07-23Fix browser warning of non-unique id on Hardware pageYoshie Muranaka1-3/+4
Adds a unique id to the global search component. The search component has an id attribute. When it is reused on the same page, like Hardware status, the id is no longer unique within the document. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1226aa9da69b90b9a7da9ed3d053fde020babcc0
2020-07-22Add test hooks to server power operationsSukanya Pandey1-3/+19
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie5d9ffe1bf6ce7850824344cf5c413666fb2071b
2020-07-22Health icon shows ok while loadingMateusz Gapski1-5/+8
While web UI is loading it is showing controls as "OK" state instead of undetermined which might be confusing. More details: https://github.com/openbmc/webui-vue/issues/11 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I0dc4aa3f00cee5d67c764c1950b4961e59a0a3cd
2020-07-22Intel environmentMateusz Gapski7-6/+128
add environment for Intel add logo as a placeholder Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Iad1ef66ef73e7f9e0857122cc29729543cbf6682
2020-07-22KVM consoleMateusz Gapski6-2/+164
- The kvm console with using novnc library Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Icfb7643595d8c17231ca3671753d6de971525bd3
2020-07-22Add check if password change required at LoginYoshie Muranaka5-13/+44
After successfully authenticating on the Login page, check /redfish/v1/AccountService/Accounts/${username} endpoint for the PasswordChangeRequired property to see whether or not the password is expired. If the password is expired, then navigate to the Change password page, if the password isn't expired navigate to the Overview page. After successfully changing an expired password, navigate to the Overview page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I32de5f71bcfcbe4099c2953a31c05ba0ebe670bc
2020-07-22Add slot for an optional action in Alert componentYoshie Muranaka1-1/+4
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2891eaf6e22c367d3080a9a3cb2eff0a27563bf
2020-07-21Add test hooks to date time settingsSukanya Pandey1-1/+12
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ia2caddb61fa42024812cf15b9834ef6cff478193
2020-07-21Add test hooks to local user managementDixsie Wolmers3-8/+60
Adds test hooks to to all interactive elements: inputs, checkboxes, radio, selects, buttons Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I7f3f6fbe968aeb23acf5a2ace7dbb3d4ed2aae77
2020-07-21Fix validation on date and time settings pageDixsie Wolmers1-1/+1
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Id1770eee060acbf9672439201f089c873cfe9cc9
2020-07-21Update LoadingBar componentDixsie Wolmers1-0/+2
Adds "striped" and "animated" prop to loading component to improve user experience when saving or loading on a page. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie1c3c253172486a5915cdc79952271bad846cfde
2020-07-21Update use of Sass variables for better themingYoshie Muranaka18-61/+63
Use Bootstrap color functions for theme-colors and grays instead of directly referencing Sass variable to allow more flexible theming. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id08b77ff6df3bdf99400dcdfe964853706f1070f
2020-07-21Add ChangePassword componentYoshie Muranaka4-0/+135
Add non-functional Change password page and router definition. The page has a form and some frontend validations but backend functionality and api requests are not tied in yet. Page can be viewed by manually navigating to /change-password. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: If5e6c6a5120b86fc457d8cab4c82333c33ef745f
2020-07-21Resolve import stack order error in build processDerick Montague3-3/+3
The import order for global components are throwing warnings during the build process. The build warnings suggested issues creating the correct order of the CSS chunk groups. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I5979a8070d8003f6192b87ca1c2a2d136146cd4e
2020-07-20Bug fix: Add timeout when setting Manual date & timeDixsie Wolmers2-4/+24
When time mode is initially set to Manual from NTP, the NTP service is disabled. In this process, the NTP service is stopping but not fully stopped therefore setting date/time will return an error. There are no responses from backend to notify when NTP is fully stopped. To work around, a timeout is set to allow NTP to fully stop. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I8873722a72a955c355114567e56205aff7819931
2020-07-20Clear password fields when changed successfullySukanya Pandey1-1/+5
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Iaf3e420bd48597c34c1588855ed69dcb1dbf7523
2020-07-20Add test hooks to manage power usageSukanya Pandey1-1/+7
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ifbbb7b9c23e2be28dec61471db090462272b1ffe
2020-07-17Add test hooks to TableFilter componentYoshie Muranaka1-1/+7
Adding standardized test hooks to filter dropdown component, nested checkbox options and clear all button. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I46d7166f35eb51ebf5eb6a136266591884e93324
2020-07-17Refactor global TableFilter component and mixinYoshie Muranaka4-17/+66
Add key property to TableFilter component to make sure filtering is based on specific row property. Previously, the table filter was checking all row properties for matches. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I589886a0d487ac3ab8def585cc7286e61992afdb
2020-07-17Add min and max password range in profile settingsSukanya Pandey1-14/+20
-Api used to get the min and max value is redfish/v1/AccountService. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0f211496bef85aefe843052a6b6ba72156d2e4c7
2020-07-16Update gray color palette to match style guideDixsie Wolmers1-5/+5
Updated gray palette to match updated design guide - Color changes per page will be addressed in separate commits. Updated sytle guide documentation with new colors. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic771d932ace38d3abbbf65038f00e25391db5dd0
2020-07-16Add test hooks to hardware status pageDixsie Wolmers6-6/+30
Adds test hooks to expand table buttons only. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5222372cc8e324322bdfcd538b98240bb28a39dd
2020-07-15Add test hook to Reboot BMC pageYoshie Muranaka1-1/+6
Adds data attribute test hook to single reboot button on page Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I82b64c69472e31efc866a0c4f10699fe38369694
2020-07-13Restructure Sass filesYoshie Muranaka23-27/+24
- Consolidate all bootstrap partials - Combine all vendor overrides with BMC custom styles - Updated paths for Vuepress docs Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1a9f68bdf90edae0d1e38f36ac670bf6426ec8a5
2020-07-10Fix overview page server information bugDixsie Wolmers1-4/+8
The frontend displays "--" as the default state when static values are null. When backend returns an empty string for server model, serial number, manufacturer or firmware version, then return "--" to follow the current default state pattern. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ica0d864993d7124598c09c5bd33d0313d84059db
2020-07-10Add date and time settingsDixsie Wolmers7-26/+484
Adds ablity to change date and time manually, or configure using NTP servers. - If NTP is selected, user is required to enter at least one NTP address - Date and time are ISO formatted Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I0d67c80487fdd815eacc3539ccd702b23618260e
2020-07-09Add server LED switch calls to Overview pageYoshie Muranaka1-8/+28
The Overview page currently shows a static Server LED switch. It does not accurately display the IndicatorLED state. This commit will add ability to toggle the IndicatorLED value and accurately displays the current value. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I4fc9b18a0c87db421dfa73e51ecc472d0907d323
2020-07-09Add code for Serial Over LANSukanya Pandey7-0/+177
- The output of serial connection of the hosts on the workstation terminal. - The library used is xterm which will provide the terminal to show the data. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I6000cae42f237fffe216e2079cf2a6c39db236fd
2020-07-08Add test hooks to network settings pageDixsie Wolmers1-0/+8
- Adds data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Adds standardized test hooks to all interactive elements: input fields, buttons, and form select Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Id6253ac7355f1da8b73f55ffd2fcc1ea73c63555
2020-07-08Codespell spelling fixesGunnar Mills1-4/+4
These spelling errors were found using https://github.com/codespell-project/codespell Change-Id: I8ec1e482a6eedca0f9c3b0282fa7db85cd4243f3 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-07-08Spelling: sed -i 's/intial/initial/g'Gunnar Mills6-6/+6
Change-Id: I5c6fdb3c4cb4efe337a44286a83a6d269021cb66 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-07-06Add Toast Notification to ServerLED pageSurenNeware3-8/+31
- Added Toast notification when Server LED turning On/Off. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I8dda963275f7083ae5c8804831c1bb676d7bbcc4
2020-07-06Add test hooks to overview pageDixsie Wolmers2-5/+11
- Adds data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Adds standardized test hooks to all interactive buttons - Adds link to SOL console and network settings pages Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I4cb0f4c93cf14377af1fe6d18aa591678c739b45
2020-07-02Create separate LoginLayout componentYoshie Muranaka3-129/+127
Create a separate layout for the login page so it can be reused for first time password reset form. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2da0e8d29f7d6ad77c5277193c7535f2d00a97d
2020-07-02Add search input to event logs pageYoshie Muranaka2-2/+21
Adds ability to filter event log table items by text input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie19bd4b3942ae2bec9288c351d4a674b424ae879
2020-07-02Resolve LoadingBar accessibility issueDerick Montague2-6/+8
- Add an aria-label to the b-progress-bar component to meet accessibility guidelines - Nest b-progess-bar component in b-progress component in order to add aria-label to the correct element Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I3b7d23026d4bcdb607fdbad24170e38116a7eb8a
2020-07-01Resolve hidden focus within closed navigationDerick Montague1-1/+2
When the primary navigation is closed a keyboard user can still tab into the menu. This can be confusing since the user can not visibly determine what element as focus. This occurs because we chose not to hide and show the menu. This simplifies the solution for users relying on assistive technology. This change will show a keyboard user the navigation when they tab into it. This removes any confusion of where the user's keyboard focus is without having to complicate the solution used for assistive technology users. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I17fa9f257610c3c40844660b341ccc6af2ee3b4e
2020-06-29Add test hook data attributesDerick Montague1-0/+4
- Add data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Reduce the possibility of breaking automation tests when/if pages are updated Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Id046b17e9a0232b121c10cc38134e750a8782ed5
2020-06-27Add Search to Power supplies table on Hardware status pageYoshie Muranaka1-2/+13
Adds ability to filter Power supplies table by a search input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9f3131294d316edd70e3b6bcc4fee307ac69f2d5
2020-06-26Add test hooks to event logs pageYoshie Muranaka2-5/+9
- Add data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Reduce the possibility of breaking automation tests when/if pages are updated Adds test hooks to table checkboxes, batch action delete button, inline row delete button. Will add hooks to table filter dropdown separately, because the component needs refactoring. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I84fef897bbe29ea410a3b7d663828ddd7c91aa88
2020-06-26Update Event logs page to use table mixinsYoshie Muranaka1-18/+8
- Use mixins to sort status and display status icons in table Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ieec887b115bbd88b441d2357cfe653fa2a1f6320
2020-06-26Update Sensors page to use table mixinsYoshie Muranaka2-31/+18
- Add number formatting to TableDataFormatter mixin - Use TableDataFormatter mixin to show different status icons for sensor status (OK, Warning, Critical) - Use TableSortMixin to sort by status (OK, Warning, Critical) Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I99899bbc19db3529f0fdfe34be30b09d41456b42
2020-06-26Add search component to DIMM slot table on Hardware status pageYoshie Muranaka1-2/+13
Adds ability to filter DIMM slot table by a search input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0ac6fd26e4af419fdd57d12573aea0abf66a1e0d
2020-06-26Add Search component to Fans table on Hardware status pageYoshie Muranaka1-2/+13
Adds ability to filter Fan table by a search input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0131ad21cc030320e291c79e8801b78c7c7dd668
2020-06-26Fix Search component default prop validationYoshie Muranaka1-1/+1
Changed placeholder prop validation to use a regular function instead of an arrow function to fix undefined errors where 'this' is undefined. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I315542aae3d53a169767fda0407d8379d1b13027
2020-06-26Fix errors on local user management add userYoshie Muranaka1-2/+2
Adding a new user on the local user page created two toasts, one success and one error. Fixed by removing duplicate @ok callback. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I52b2625480cd7705141d99ab55cf30b3073946df