summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)AuthorFilesLines
2021-08-27boot: Send current settings on every boot operationLei YU1-10/+2
In the boot page, it did not allowed to send the same options. However, there is a case that it is needed to send the boot options anyway. In typical x86 systems, when the BIOS is rebooted, it will clear the boot options during the boot, so the settings in the web page does not reflect to the BMC's boot option settings. This patch allows to send the options anyway, so as long as user "applies" the settings, the boot options are set to BMC. Tested: Verify the same boot options settings are set to BMC after BIOS boots. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I18ce341bbf9d968a78e8d818b005d1774936a48b
2021-08-20Add system attention indicatorsSukanya Pandey3-8/+102
- Different LEDs and statuses will be added to hardware status page - Status for power will be shown and LED included is System identify Led Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I8689f7bf3cc02a7a90379ec50b005bf344c091e4
2021-08-19Hide "BMC shell (via SSH)" switch button on Intel environmentMichalX Szopinski1-1/+7
Add environment variable to control visibility of "BMC shell" switch button on "Policies" tab. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I824e942cabbbb9da61343ebdbea8c93f1fe2b246
2021-08-16Resolve the download bug on postcode logs pageSandeepa Singh1-0/+1
The design has been updated to hide the download button when the key 'AdditionalDataURI' is not present in the redfish API response. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: If78968ad72e62348b4b81967a3b61c2af53fa020
2021-08-16Fix translation bug in bmc manager tableSandeepa Singh1-9/+3
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I873a2892ce9d65a87e421d68347aa2d9dd8a95e9
2021-08-10IA update: Add resource management sectionSandeepa Singh3-14/+12
This is the sixth commit for information architecture changes and has the following changes: - Resource management section has been added - Carbon icon used for resource management section is data--base--alt - Manage power usage page from operations has been moved to resource management - Manage power usage page has been updated to power page Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: If3feb994dbad19dd6cfb1507d976d09643c8e4d6
2021-08-10IA update: Update access and control sectionSandeepa Singh24-220/+198
This is the fifth commit of the information architecture changes and has the following changes: - The icon for access and control has been updated - Access and control section has been updated to security and access section - Security settings page has been updated to policies page and moved to security and access section - Client sessions page has been updated to sessions page - Local user management page has been updated to user management page - SSL certificates page has been updated to certificates page Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ie93cee9002742ecf7d33615636f4f159f4395fc4
2021-08-10IA update: Update configuration to settingsSandeepa Singh12-84/+75
This is the fourth update to information architecture changes and has the following changes: - The configuration section is updated to settings - The date and time settings page is updated to date and time - The network settings page is updated to network - The power restore policy page in operations section is moved to settings section Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6f5ab25f5227530be430bd39a4d9629b3bf09d8b
2021-08-10IA update: Update control section to operationsSandeepa Singh32-75/+1
This is the third update to the information architecture changes and has the following changes: - The control section has been updated to operations - The server led page has been removed - The firmware page is moved to operations section Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I2e23da447890d7bee51892e1f782d5f2db6dded4
2021-08-10IA update: Update health sectionSandeepa Singh14-152/+148
This is the second update to information architecture changes and has the following changes: - Health section is updated to hardware status section - Hardware status page is updated to inventory and LEDs page - Route for sensors page has been updated Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1ba3a15a243a00f59a2ec646132436eb355a999
2021-08-10IA update: Add logs and update overview iconDerick Montague7-1/+1
This is the first patchset of the information architecture changes. These changes are the result of several months of design research with users to improve the existing information architecture (IA). More information can we found in the Github story. This patchset will add a Logs section and move event logs and dumps from the Health section to the new Logs section. It will also update the icon used for the Overview page. Github story: https://github.com/openbmc/webui-vue/issues/56 Testing: 1. IBM build: - Logs contained Event logs and dumps - Both pages rendered when clicking link 2. Intel build - Logs contained Event logs only - Logs page rendered when clicking link 3. Tested default build - Logs contained Event logs only - Logs page rendered when clicking link Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4621837202cf5ad3469d6ea460d9a5bdc79c8816
2021-07-28Add export all and delete all buttons to event logsDixsie Wolmers1-4/+55
- Uses new table action button style above table. - Adds ability to export all and delete all logs. - Disables toolbar table action buttons when table is empty. - Event logs file name is not translated to avoid potential translation issues in the future, users can rename the file - Adds toast messages for delete all - Updates resolve logs toast messages to use `tc` count Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Idda2ae309e4248db60f89f68669e6e3b9f2cb832
2021-07-28Update the design of BMC tableSandeepa Singh1-9/+13
- Add left margins for sections associated with Graphic console and Serial console Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Iebb9f91fca76a40e5096aec4d551453d62cd0aae
2021-07-27Add hardware status power supply missing propertiesDixsie Wolmers1-20/+47
Adds efficiency percent, identify LED, manufacturer, hardware type, health and spare part number. Adds section divider in expanded row. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I74e146a233f5d3dda849db11e937cb9dea5bcbd7
2021-07-22Add download additional data functionalityDixsie Wolmers1-2/+13
Adds ability to download event log additional data data by row. The download attribute is not used to rename the file because it causes the download to fail in Chrome (Chromium bug for base64 files). Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I92164adc0a8ccf1bd6ed23cc5891a04fac47685b
2021-07-21Add POST code logs pageSandeepa Singh2-0/+346
This page will be included in the Health section of the primary navigation. The user will be able to export and download POST code logs. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I26cf1e01bfdfcf298f24f2c7dd9633ab7d31f1b5
2021-07-20Hide "Switch to running" button on Intel environmentMichalX Szopinski1-0/+3
Add environment variable to control visibility of "Switch to running" button. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: If1d118ffd8c1e425f2f33eb0a54fff579bf8b6b4
2021-07-20Add full russian translationPavel Zhukov1-0/+4
This localisation was performed by a native speaker well familiar with server administration and passed internal reviews by other GAGAR>IN administrators. Signed-off-by: Pavel Zhukov <p.zhukov@gagar-in.com> Signed-off-by: Andrei Tutolmin <a.tutolmin@gagar-in.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: Iea6a22351dcd999bd094e530229c7aee7e8e9629
2021-07-15Update user privilege table for the operator roleDerick Montague1-1/+1
The operator role has the ability to configure components, but that was missing from the privilege table. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie0d19df93a2b84553d1664ce019115b423721327
2021-07-13Firmware: Remove redundant label handlingMaciej Magdziarz1-3/+0
In https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/42455 we decieded not to set a file type to upload. We have removed label but not label handling. Signed-off-by: Maciej Magdziarz <maciejx.magdziarz@intel.com> Change-Id: Ide0558a3df4c1d3c7eb3fe9872eb8914c80f11a7
2021-07-08Add system table missing propertiesSukanya Pandey1-28/+98
- Design is updated for system table. - Missing properties are added, added properties are: Hardware type, Location number, Memory summary data, Processor summary data and submodel. - Also adding functionality of toggling identify led switch Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0e5143638ce2254f9b4fd2c8c520544c1db8d342
2021-07-01Add chassis table missing propertiesSandeepa Singh1-23/+86
- Added the following properties: Name, Location number, Identify led, Manufacturer, Chassis type, Asset tag, Max power watts, Min power watts - Design has been updated for chassis table Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Id2ef82573a4d17059dc9f4929155aa05cabef2aa
2021-07-01Add BMC table missing propertiesSandeepa Singh1-54/+108
- Added the following properties: Name, Spare part number, Manufacturer type, Manager type, BMC date and time, Last reset time, Identify led Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6d84f867f3c272f3989f76c86f054f143b8b1bbd
2021-06-29Add processors table missing propertiesSandeepa Singh1-22/+92
- Add following missing properties: Name, Spare part number, Model, Processor type, Processor architechure, Version, Health rollup, Asset tag, Min speed MHz, Max speed MHz, Total cores, Total threads, Instruction set, Identify Led - Design of the table has been updated - Waiting for the following to be merged to test the Identify Led: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/37045 Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: If6eeb3b0afea6510f7ea53e2d66cbf1d123b3217
2021-06-29Reorder VPD QuicklinksDixsie Wolmers1-6/+6
Reordered hardware status quicklinks in order of appearance on the page. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9cb9742f4a21704d3ec856cbe423868b34a572a2
2021-06-28Add fans hardware status missing propertiesDixsie Wolmers1-5/+33
Adds identify LED, name - hardware type, health rollup, fan speed, and location number properties to table. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5f209b853ab70becf4c4289e871da1ce279d1ac3
2021-06-28Remove <br /> from hardware status tablesDixsie Wolmers5-37/+6
Break tags are not semantic for definition lists. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I1ecbd7100044da4aa7749888faab962e115e2564
2021-06-28Resolve a bug in LDAP pageSandeepa Singh1-3/+7
-Issue was, while the Enable checkbox is disabled, click on the save settings button, and then the page is getting disabled. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ib7cab16d99dab5296e7bafff1cdb936a4a535c6b
2021-06-23kvm: Disconnect on page unload/refreshLei YU1-0/+5
Disconnect the VNC when page is unloaded. Otherwise, it creates a new VNC connection on every page load/refresh, and it causes the KVM failure when it reaches the max connections. Tested: Refresh the KVM page, go to other pages and go back to KVM page, verify the KVM works fine and the connection is closed and re-connected, and verify there is no extra connections. obmc-ikvm[233]: 18/06/2021 10:46:26 Got connection from client 127.0.0.1 obmc-ikvm[233]: 18/06/2021 10:46:26 0 other clients Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Iffb3cf34a357e247d4b2aabe8dc17080b50c8da4
2021-06-22Firmware: Remove .tar referencesMaciej Magdziarz1-1/+0
Remove the accept prop in the file upload component on the firmware page. Remove the helper text that indicates to the user to upload a .tar file. Signed-off-by: Maciej Magdziarz <maciejx.magdziarz@intel.com> Change-Id: I781bd316ce591809b35ae5990d0f7b02af288e41
2021-06-09Dump download file nameSneha Patel1-1/+6
Change the pattern of the download file name Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: If1e7cf609c4a278e3fb7b98d19d7071ddbb534fd
2021-06-09Add quicklinks to hardware status pageDixsie Wolmers1-8/+87
- Renames SetFocusMixin to JumpLinkMixin to better describe what the mixin is for: jump links like quick links and skip to main content - Adds scrollToOffset method to JumpLinkMixin methods to scroll to selected page elements - Scroll offset is required to show table header below the nav header - Setting focus is required for accessibility Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I500a2d70727c5a78aeae4a6193ba22a38e4f0b6f
2021-06-09Add event log resolve and unresolve log functionalityDixsie Wolmers2-8/+79
Displays resolved or unresolved status, adds ability to filter by resolved or unresolved, and adds ability to resolve or unresolve one or more logs. Move event type table field to expanded row. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie5761753a7660a714f98c238d8d89aa018719dcf
2021-06-09Remove hardcoded chassis in power suppliesMichalX Szopinski1-1/+1
According to our conversation on community meeting we want to remove all hardcoded chassis names in request URL. This change corrects the "Power supplies" table in "Hardware Status" view. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I5219c68b71477adee5f6785c58808eeaa5d35986
2021-05-18Replace use of the term host with serverDerick Montague8-49/+49
This patchset focuses on the global store use for server power operations and impacts several pages in the interface. For consistency, both in the UI and the code base, we are replacing the term host with server. This change impacts both the user and the developer experience. Maintaining consistency in naming allows both developers and users to form a mental model of the overall system and will help remove confusion when interacting with the UI and editing the interface. Testing: 1. Tested shutdown, power on, and reboot and verified the icons and page sections in the site header and the server power operations page update as expected during power operations. 2. Verified the one-time boot operations alert is displayed to the user when changing the boot settings on the server power operations page 3 Tested factory reset and validated the correct information message is displayed to the user with the server power off and on when performing the factory reset functions. 4. Verified the SOL Console status icon updates correctly during power operations. 5. Verified the alert message is displayed on the firmware update page when the server is powered on. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I88499a746364ab80f16a8b350d550407d094e95d
2021-05-18Resolve bug in date and time settings pageSukanya Pandey1-31/+25
-Issue was while selecting manual setting -While clicking the radio button for manual setting, the button was not getting selected. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I2f855dc1ea6a92e5325c7657be18613143a60eaf
2021-05-11Hide and show boot settings override fieldSukanya Pandey2-7/+13
-Hide and show boot settings override field as this field will be available in few systems. -Visibility of this field is dependent on API value which is "BootSourceOverrideTarget@Redfish.AllowableValues" from API "/redfish/v1/Systems/system/" Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ibfd5d6b1f08e23ddc8d7deb0f6943ab6dd5b3756
2021-05-06Fix toast message for VM Legacy successful mountAlicja Rybak1-1/+1
Add new toast message string serverConnectionEstablished for succesfully mounted image in Legacy mode. Previously serverClosedSuccessfully toast was showed. Tested: Verified that Server connection established toast message shows in webui after mounting image in legacy mode. Signed-off-by: Alicja Rybak <alicja.rybak@intel.com> Change-Id: I79b8bc3243ecc1a29a28f2441d499454747676c2
2021-04-09RW checkbox in "Load image from external server" works opposite wayMichalX Szopinski1-1/+1
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I1670aa0775a2276963f72ea8a7e8bb0b15c27ee0
2021-04-06Fix network setting validations bugDixsie1-21/+16
Removed regex vuelidate validation helpers for IP address and MAC address and used builtin vuelidate validators for each. Using builtin validators reduces human error when using custom validators. The regex helpers were incorrect and causing validation errors. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I4c8a21bbb9fec696c91a5cf3d2a7bf2e389cd566
2021-03-23Add event log detailsSukanya Pandey1-0/+50
- Add ability to expand and collapse table rows to show event log entry details - Add the following properties to display in the UI, Name, Modified date Change-Id: I3c90ce301878947e402eb87ca135dba0c47e84d5 Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com>
2021-03-18Increase SOL console columnsSukanya Pandey1-33/+2
- Terminal window will occupy the full space of its container. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib739b0dc492c7bbd946e49b21815fc8038179163
2021-03-09Add factory reset pageDerick Montague3-0/+232
This new page will be included in the Control section of the primary navigation. The user will be able to choose between two different reset actions. The user can make the following calls: - /redfish/v1/Systems/system/Bios/Actions/Bios.ResetBios - /redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I32a10dbce27a03fb84e24d7eae7c44eef9cffea5
2021-03-01Move Dumps page components to main view and store directoriesYoshie Muranaka4-0/+504
This commit will move away from storing env specific component views and store modules in the env directory. This will help simplify the file structure for dotenv customizations. The env directory will only store modifications to the main store register, router definitions, and app navigation. Pages that are "hidden" by default, like dumps, would still need to be imported and registered in the specific environments. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia5ad76235e00127281f3fa564cb89ec2ca2e0f25
2021-03-01Update the default firmware pageYoshie Muranaka10-409/+599
- Minor updates made to the general layout and styles - Changes to some page copy - Moves update firmware form to bottom of page - Adds dynamic TFTP upload option - Adds dynamic card layout for BMC and host firmwre - 2 cards for combined - 4 cards for separate - Removes FirmwareSingleImage components that were used for IBM builds Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ib5465ecc30dd1505824bf41c82d33b7655d5e598
2021-02-25Added test hook for SSL certificates page.Sandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1647adcf2499cafe749b91e444c1fc97401cd7a
2021-02-23Reduce amount of calls for the KVM window 'resize' functionKonstantin Aladyshev1-2/+8
-Use 'beforeDestroy' hook to stop listening on the route change, -Use lodash to throttle the calls. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I08781417e3e789dcf3532fbe697efb1403f81fda
2021-02-23Refit SoL terminal on window resizeKonstantin Aladyshev1-0/+14
'xterm' addon used in the "Serial over LAN (SOL) console" page doesn't resize terminal screen on window size change. If the initial window is small after its increase in size there would be gaps in the terminal screen workspace. To solve this use fit addon when window size is changed. For optimization add throttle for the event function and remove listener on page destroy. See https://github.com/openbmc/webui-vue/issues/53 for details. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Id3895d43012e8c711a182026cb40aaa64234f9bf
2021-02-23Added test hook for event logs pageSandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6464c2108d50364dbc068fa361e582d11d4a9a13
2021-02-23Add test hooks to Power server operations pageSurenNeware1-3/+12
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I541bbf5d75bd1316f1ba3182c6fb37b24894430a