summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)AuthorFilesLines
2020-11-12Delete all selected event logsSukanya Pandey1-1/+13
-Earlier all the event logs were deleted ID wise. -Now when all logs are selected then below API will be called to delete all the logs. -API : '/redfish/v1/Systems/system/LogServices/EventLog/Actions/LogService.ClearLog'. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib7026a4fe3c324e6a998be747325f379a944f1c8
2020-11-06Resolve vue/no-unused-vars lint warningsSukanya Pandey2-2/+2
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I25ca1e451af5e793cd864d484572049e04cf09bc
2020-11-04Fix Safari default dropdown on Local user management pageYoshie Muranaka1-2/+7
Currently when creating a new user on the Local user management page, the 'Administrator' privilege appears to be selected by default but in Safari causes inline validations errors if attempting to submit the form without manually choosing an option from the dropdown. This commit will add a default "Select an option" item from the dropdown to avoid inconsistent default select behavior in Safari. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I779fd62a516faf7dc88fe4992ec36c0c23a44cce
2020-11-04Resolve vue/no-lone-template lint warning messageSukanya Pandey1-25/+23
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib2a7bdff5b4075f56f5beda5eb5861645ffa211b
2020-11-03Resolve firmware accessibility violationDerick Montague1-5/+4
The Bootstrap-vue b-form-group component has two different HTML blocks that are generated depending on what props are present on the component. Neiter of these are correct for wrapping a button since it is not semantically correct to wrap one button alone in a fieldset or to associate a <label> element with a button. - Remove the b-form-group comonent that contains the submit button Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I41d05883f4ca133f44188cb03cb2a44917361709
2020-11-03Fix eslint no-prototype-builtins errorsYoshie Muranaka2-3/+4
Made updates to TableToolbar, ModalAddRoleGroup, and ModalUploadCertificate components. https://eslint.org/docs/rules/no-prototype-builtins Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic143cd244b288bc089a9416699d7c3d4349a500c
2020-11-03Update linting packages to use latestDerick Montague44-794/+783
- 99% of changes were small syntax changes that were changed by the lint command. There were a couple of small manual changes to meet the property order patterns established as part of the vue:recommended guidelines. There are rules that were set from errors to warnings and new stories are being opened to address those issues. Testing: - Successfully ran npm run serve - Successfully ran npm run lint - Verified functionality works as expected, e.g. success and failure use cases - Resolved any JavaScript errors thrown to the console Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2
2020-11-02Update local user management role tableYoshie Muranaka1-2/+2
Updated role table to indicate Operator and Readonly roles are able to "Update password for current user account". Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I38638f007dce3a4077e66e99a2e8b0dd3bc52637
2020-10-30Add two file firmware updateYoshie Muranaka4-146/+133
Adds the ability to upload separate Host and BMC firmware images through the GUI. By default, the two file firmware update page will be shown. Changes to the .env configurations will enable the single file upload page. The IBM env is configured to allow single file firmware update. Two file upload features: - File upload through local workstation or tftp server - Reboot from backup BMC image - Does not have ability to reboot from backup host image - Does not implement checks in GUI for host status, which is the same as what we have in phosphor-webui Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ibf2a2d9ffc3952dd5a5454c723350c61d9f91c3e
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