summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Fix table row alignment and table head borderDixsie Wolmers9-11/+19
- Aligns content in table rows with expand and action buttons - Adds border to table head Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I403575bedc78d71ad05edcae2f59f7df994d3630
2020-10-26Make copy of single file firmware uploadYoshie Muranaka1-1/+1
Make a copy of single file firmware upload component and store in env directory. Update IBM router to use copied single file firmware components. Update IBM store module to use copied single file firmware store. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I046ce6c69a02b90400058866295b84c5435f5a4b
2020-10-23Fixed event logs pagination on small screenSurenNeware1-1/+3
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ifb3963d416a7e2663af24c3c7b1d2c1876af6788
2020-10-23Add support for mutual TLSYoshie Muranaka1-1/+1
Adding check for 'IsAuthenticated' cookie in AuthenticationStore and adding a check in created hook for AppHeader component because it is visible on all authenticated pages. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic558c9c45fd3f5874c8c516cb6bc005cba4946e2
2020-10-21Show error toast notification on unauthorized accessSukanya Pandey2-14/+0
-When 403 status code which is an unauthorized access occured -show error toast notification. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I55fa7052073f87f28c3584b68fd4e84247a4237e
2020-10-19Update relative path imports to use '@' aliasSurenNeware10-19/+19
- Add '@/' instead of '../../../' Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ida1dc26f2bd62f38914a74b729ee8fd143c360ac
2020-10-14Add consistent save button pattern to LDAPDixsie Wolmers1-1/+0
As a pattern, save buttons should not be disabled Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: If1d327db6d688d54e3068fb9807a49d401d57af0
2020-10-12Add TFTP input label and helper textSurenNeware1-1/+5
- Add TFTP input label and helper text for firmware page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0f1d9f6fda9bf375449da7f8d814953628575775
2020-10-07Add new style guide to global button styleSurenNeware1-2/+1
- Updated new style guide for Primary, Secondary and Link button variants - Changed box-shadow style from outer to inside on focus and active state - Updated font weight from bold to regular for normal buttons and font weight bold for link button. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I38ca94baa9daec3fd03b830fc7b6d676fcce15b0
2020-10-07Add updated table stylesSukanya Pandey15-1/+16
- Refer below link for styles: https://ibm.invisionapp.com/share/D8O06PPE32B#/screens Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I6dcc3b8d0fb7ef19388b5bfeaf87fce78725b638
2020-10-06Add stacked table style for small screenSurenNeware2-1/+2
- Add style to the stacked table type for small screen only. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I79fb44b20c8436df5734f89e60c98966c9c6a591
2020-10-05Fix hardware status expand button accessiblityDixsie Wolmers7-22/+59
- Aria label added to provide screen readers context for button action - Title added to chevron icon to display label on hover Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8c0cef36d7aa61e0b4b0ac7fdabffb7e8a0a17a
2020-10-05Add changes related to SOL pageSukanya Pandey2-43/+111
-Changes incorporated can be referred through below link: -https://github.com/openbmc/webui-vue/issues/25 Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I39d79259e0470d11c15e596908eefee7a799262a
2020-09-30Update name of sensors export fileSurenNeware1-1/+17
- Now the name of exported sensors file will be combination of date and sensors as prefix. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ie30a1b5e61ad47bc2e78f173945b54ed73a873a5
2020-09-30Remove searchFilter property from Sensors pageYoshie Muranaka1-1/+0
The searchFilter data prop is included in the SearchFilterMixin, so can be removed from the Sensors component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iba40439de0aa01458cf95157f25124e0b08669f1
2020-09-29Fix responsiveness of KVMMateusz Gapski2-48/+113
More info: https://github.com/openbmc/webui-vue/issues/24 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I150e7816ea08f462300566276ddbfc117e9f2e0c
2020-09-24Add table search filter clear buttonDixsie Wolmers6-33/+32
- Adds ability to quickly clear a table input search field - Uses similar styling to password toggle icon and datepicker - Button style to be addressed in separate commit to match style guide Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I18f2e01c28c00c7e7b2ad1af924070241caf36a5
2020-09-24Add optional fields to LDAP and CSR formDixsie Wolmers2-40/+52
- Optional fields are indicated on the form field label - Asterisks indicating required were removed Verified with design. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I998485f8928c2c976aa49790c19c9ac247d5ed24
2020-09-22Show total and filtered number of items in a tableSukanya Pandey6-19/+119
-The total number of items and the filtered items will be shown in the EventLogs, Sensors and HardwareStatus table. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0ee6410bf675038a350a71a02ec076f9e8baf004
2020-09-17Auto fill date and time input fields in DateTimeSetting pageSukanya Pandey1-0/+8
-Under manual date and time input field will be auto populated with defalut date and time. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I62dcfe9ad37193d2ab6dfab1aea14eefb595ff37
2020-09-16Add loading image from external serverMateusz Gapski2-10/+213
Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Ie9793b25fdee0f438d64aafe0978d75025800cb8
2020-09-16Update name of file of exported log filesSurenNeware1-2/+15
- The name of exported event log file would be combination of event logs prefix and current date and time. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iaaf46fed5df1942e9cc2e4157dafa8e3e755ecf8
2020-09-16Remove not needed scroll on sensor pageMateusz Gapski1-0/+1
Details: https://github.com/openbmc/webui-vue/issues/17 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I5c76219db954470dc72231e51ea0f202016d6816
2020-09-11Change overview page critical event sort orderDerick Montague1-1/+1
- Set the table to sort by id rather than date to resolve confusion if date stamps are identical. In this use case, the id column will not be sorted correctly based on limitations in the framework. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I51ad712d34aea7da2a4152dfb695c16b5f94b453
2020-09-09Hide loader on Reboot BMC pageYoshie Muranaka1-0/+4
Added beforeRouteLeave component guard to make sure loader bar is hidden before navigating to a new page. This will make sure that the loading bar always starts from 0, if the user navigates to another page before the inital load completes. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I16e57203123069160575f4c288bdbc5bad44e669
2020-09-09Update event log default sort orderDerick Montague1-1/+1
- Set the default sort order to id descending to handle an edge case created by two logs with the same time stamp and the GUI limitation of sorting by one column only. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib07c9b849e043c401e91db720df92feb850e15dd
2020-09-09Add title attribute to all icon only buttonsDixsie Wolmers1-1/+4
- Title attribute allows action text to be displayed on hover - Carets in hardware status table will be addressed in a separate commit as part of Hardware status accessibility updates Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I58a85b6d244d1125f0b43c22d0bb456a36815097
2020-09-03Add 404 pageDixsie Wolmers2-0/+14
- User will be redirected to 404 page when navigating to undefined routes Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5d7bbcfdd279b6f6c993370e3adb39a516dbb1ba
2020-09-01Changed switch to checkbox in boot settings formSurenNeware1-5/+2
- On the Server power operations page changed the switch to checkbox since it has save button. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I9def65f11012c535956b875107c28e351754f4e2
2020-09-01Add table search filter empty text translationSurenNeware6-0/+6
- Added custom text message in global translation. - Added custom message for empty table search filter result. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ida25f9f084fb5c0ff8ed287dbe1476b5396801a1
2020-08-28Add VirtualMedia pageMateusz Gapski2-0/+155
More info: https://github.com/openbmc/webui-vue/issues/7 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I68f2074e77301c68c425f1e661988c751224b713
2020-08-28Add info type alert to the messageSurenNeware1-7/+10
- Add info type alert to the message when Server power operation is in progress. - Changed bootstrap b-alert component to our custom alert component to remove bootstrap dependency. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ic1c02f06303969d81f5d35914c45c5d373b73356
2020-08-28Implement consistent save button patternDixsie Wolmers2-7/+3
- UX audit determined that we will always keep the primary form action (save/submit) enabled Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie340f8deb673463c21149b645d6d5686806ebac9
2020-08-26Format date and time in event log tablesDixsie Wolmers2-2/+4
- Adds line break to format date and time in Event Logs and Overview event log table Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib277a88b80115753bc74dc6dd21bf6a49eef101f
2020-08-21Add default empty table stateSurenNeware2-29/+28
-Add empty table state to High priority events table in Overview page and Processors table in Hardware status page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I68b613cc181c2423c9a8769d26f218ff89a0c834
2020-08-21Add last reset time to reboot bmc pageDixsie Wolmers1-1/+27
- Timestamp is displayed to inform user of last power operation Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ia4d95bced701b04f1099d020ee062f06d16ae8dc
2020-08-21Add last reset time to server power operations pageDixsie Wolmers2-13/+45
- Timestamp is displayed to inform user of last power operation Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I14c23ff56b3a0cf134c0ad2d831290971d93e293
2020-08-21Fix reference to undefined property on Firmware pageYoshie Muranaka1-1/+1
Firmware page template is referencing a property that doesn't exist on the component instance. currentFirmwareVersion should be changed to systemFirmwareVersion. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9e46fead4644ac432e30e67f18b9d9d60e22d555
2020-08-21Fix form properties on Firmware pageYoshie Muranaka1-3/+3
File upload properties were added to the wrong form control, moved browser-text, drop-placeholder and placeholder props from tftp input to workstation file-upload component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0342870b136b2f89da974410444e46dd5dbb28a1
2020-08-19Fix account settings double toast confirmationYoshie Muranaka1-2/+1
Removing extra ok handler for the account policy settings modal on local user management. Currently, saving changes in the modal will trigger two success toasts. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic64529a1860f0b3b47fb87f5ea9d88b1c0d9ff45
2020-08-18Add form input field validation iconsDixsie Wolmers5-9/+8
Updates form validation to match updated style guide: - Datepicker and password toggle form field padding adjusted to accomodate validation icons - Valid form validation icon is hidden - Adds carbon icons and enables validation icons in IBM environment Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I7edff1e9527ad2c2cfec236daacb83ad4864d785
2020-08-18Add processors to hardware status pageSurenNeware2-2/+160
-Add processors status from given API. -Created seperate table with all available details. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iae4346cd0555a9a7d8ec35c0f56f8bce6c4ab653
2020-08-18Add default or empty table stateSurenNeware11-5/+41
-Add appropriate empty text for the table. -Add common default empty state for all tables. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: If4beabc0b1450718095757bbb0803335ccf83ec5
2020-08-13Add Firmware pageYoshie Muranaka5-2/+456
Adds ability to upload a fimware image by local workstation or TFTP. Also adds ability to reboot BMC from the backup image. - Add route definition, component view, and store for Firmware page - Get ActiveSoftwareImage location at /redfish/v1/Managers/bmc - Get backup by checking for an image id that is not the same as the active image /redfish/v1/UpdateService/FirmwareInventory - Switch running firmware image by making PATCH request to /redfish/v1/Managers/bmc Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I04450e5a170d374122908c4c0349ba3b6e93ed2c
2020-08-12Update server power operations viewable actionsYoshie Muranaka1-4/+1
The server power operations page should show power operations if the server is in an error state. This update will make sure options are visible as long as the status is not 'off' or an operation is in progress. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8d1211bd1ccaa8b5ec69a0dda4556eb97fc40e91
2020-08-08Remove bug in date and time settings pageSukanya Pandey1-1/+3
-In UTC preference the month was getting added by +1 and this code will resolve the issue. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I835f62b4151e7429e31d07ff3933f46242e08ec3
2020-08-07Update Date and Time Settings to include UTC/offset labelDixsie Wolmers2-11/+30
Label updates allow the user to easily understand the expectation for entering time by using specific label text for "24 hour time" and removing parenthesis from the helper text as parenthesis are not needed to in the input field. UTC/offset is displayed based on user preference. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I41f98d9d16f0a4a81af39ce9b25768a1c0b89f08
2020-08-04Remove time bug from date and time settings pageSukanya Pandey1-3/+27
-Bug is while setting the UTC time, UTC time is getting saved with offset as per the timezone. -After this commit the UTC time will be saved as UTC time with no offset. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I4731cb1f8e3daae3801059e1653d059c51c26f7d
2020-08-04Remove unnecessary style block from overview pageSurenNeware1-7/+4
- Remove text-transform from Overview Network style block. - This commit will not change the original state of value getting from backend by text transform. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I91db237cc0753e2dc477b2d324d745ea1e387c2b
2020-07-30Delete helpers import on DateTimeSettings SFCYoshie Muranaka1-2/+0
Importing helper Sass files is no longer necessary in SFCs because it is included by the sass loader. It could potentially also cause issues with theming if it is included because SFC styles would override the env partial. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie865c63bdf9a10480242177b4dabe0895edc79f1