summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)AuthorFilesLines
2020-07-28Update form fields to match style guideDixsie Wolmers1-7/+1
Updates inputs, select, form field background color, validation text size, and field focus state. New styles have a darker form field background color. Form fields on dark backgrounds will remain white. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ifa14a57f764335b196b129e6614d7a1f1c27d7ad
2020-07-28Add timezone to profile settings pageSukanya Pandey1-20/+69
- Users will have two options to select a timezone. - UTC and browser offset timezone are the two options for the application. - date-fns and date-fns-tz is used for date and time manipulations because:- - The package size of library is smaller. - It allows for importing functions to work with the native date object rather than having to create a moment instance that carries a larger payload. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I581803f230f501c0d34d0b53e7c2d89e8466ee60
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 Gapski1-1/+3
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 ability to customize theme stylesYoshie Muranaka4-6/+0
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-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 table responsive layout and fix search icon visibilitySurenNeware14-25/+34
-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 Wolmers1-2/+2
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-23Add the updated icons for critical and exportSukanya Pandey1-1/+1
-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-22Add test hooks to server power operationsSukanya Pandey1-3/+19
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie5d9ffe1bf6ce7850824344cf5c413666fb2071b
2020-07-22KVM consoleMateusz Gapski3-0/+132
- 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 Muranaka2-12/+35
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-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 use of Sass variables for better themingYoshie Muranaka1-1/+1
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 Muranaka2-0/+117
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 Wolmers1-0/+3
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-17Refactor global TableFilter component and mixinYoshie Muranaka2-0/+2
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-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-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 Wolmers2-0/+354
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 Pandey3-0/+131
- 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-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 pageSurenNeware1-4/+8
- 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 Muranaka1-124/+64
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 Muranaka1-2/+20
Adds ability to filter event log table items by text input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie19bd4b3942ae2bec9288c351d4a674b424ae879
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 Muranaka1-5/+8
- 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 Muranaka1-31/+16
- 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 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
2020-06-18Update TableDataFormatter filenameYoshie Muranaka6-12/+12
Changed TableDataFormatter to TableDataFormatterMixin to be consistent with other Mixin files. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iae6528deda3099cf730150164739ee2fb64bbfe3
2020-06-18Add BMC manager table to hardware status pageYoshie Muranaka2-0/+195
Add properties at /redfish/v1/Managers/bmc endpoint in a table with expandable row to view details. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ieb32a9b2a535ddd7d24edcb68761c51eace2e5a8
2020-06-18Add Chassis table to hardware status pageYoshie Muranaka2-1/+118
Add each chassis at /redfish/v1/Chassis endpoint to a table with an expansion row to view property details. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8d4c64fecac3857e0d4ece9fad81d9035e236c92
2020-06-18Add Fans table to hardware status pageYoshie Muranaka2-1/+123
Add Fan items at /redfish/v1/Chassis/chassis/Thermal endpoint to table with expansion row to view details. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1f69e30748f8dec62647468c4fd2e5b3947716d9
2020-06-18Add DIMM slot table to hardware status pageYoshie Muranaka2-4/+121
Add items at /redfish/v1/Systems/system/Memory endpoint to DIMM slot table. The table is sortable and has a row expansion to view details. The code is currently missing most properties needed to match the design. This table will need to be revisited when all properties are available. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I07cacf3403fe84431cb9fe0e4315069fc7baf27d