summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-07-27Add code to refactor the server LED componentSurenNeware1-10/+20
-Resolved issue with toast notification appearing on page load. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I03e76951bf9e4f92eb6a6a6fcffa09ef1be2f811
2020-07-27Change file input languageMateusz Gapski2-1/+8
If my browser has Polish language then file input has Polish language too. However I would expect English language like whole app. More details: https://github.com/openbmc/webui-vue/issues/20 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I20119fdd29686e1a4e6bed9ddd78a0e559afc694
2020-07-27Add extra margin to bottom of navigationYoshie Muranaka1-1/+1
Adding extra spacing between the last navigation item and the edge of the browser screen. The extra space makes the last item easier to view and click, on shorter screens or when all menu items are expanded. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1776c8aa419480c568533baa92e60cc7d8a68bb0
2020-07-27Add application header test hooksDerick Montague1-8/+29
We are not able to easily pass the data attribute to the markup created by some of the Bootstrap-vue components. In these cases we are adding the data attribute to the parent container. Those elements will use the word container in the data attribute value. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I5f1cb43aaed9233415e9b7b9a7f71580f27f921d
2020-07-27Add ability to customize theme stylesYoshie Muranaka26-39/+57
Showcases how different themes/styles can be supported using .env variables. If an environemnt name is specified during the build process, an overrides file will be pulled in to allow modifications to color and font definitions. This commit includes possible style modifications with the openpower env name as an example. To see the openpower changes, add the variable definition VUE_APP_NAME="openpower" to your .env.development.local file or build using 'npm run build -- --mode openpower' - Moves helper imports into vue config to allow for specific import order - Removed helper imports in SFCs Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iaf7a59c24fda06a7b74e23f2f042fb3300cb2056
2020-07-24Use proper casing for data-test-id valuesDerick Montague1-9/+9
- Used hyphenated words instead of camelCase to represent multiple words Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I66a18adb3b00f642861201b353f9c0051cea4bb7
2020-07-24Change name of menu elementsMateusz Gapski1-2/+2
Convention is lower case for second word. 'SSL certifcates' and 'Access control' name was fixed Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I967e4e29af0be23dd65e2058c205d38859d8b91a
2020-07-24Hide status icon if severity is emptyMateusz Gapski1-1/+1
Status icon was hidden if severity is empty on events log page More details: https://github.com/openbmc/webui-vue/issues/16 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I905b30dfbb71bed8a0874e9fb38ff40c301477e9
2020-07-24Add test hooks to LDAP pageSurenNeware1-1/+13
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I50a7e84b27a1fd1c1211d708213c48537750d580
2020-07-24Add test hooks to SSL certificate pageSurenNeware2-1/+19
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ieb04df80fedd98ed83297916f99d355cb241041f
2020-07-24Add test hooks to primary navigationDerick Montague1-21/+82
The button elements will be labeled using the word button. The data attribute for the anchor elements will be added to the parent container and will use the word container in the data attribute value. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I7967b3ac659b1363a07b7686b874cf044a1a48ad
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