summaryrefslogtreecommitdiff
path: root/src/views
AgeCommit message (Collapse)AuthorFilesLines
2021-12-03Network Settings: Add and Delete IPV4 and DNS addressDixsie Wolmers5-22/+363
Adds ability to add or delete static ipv4 and dns addesses per interface. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie143ded2f173dd48f137471a684ba0d35ab0bf69
2021-12-03Network settings redesign - interface settingsDixsie Wolmers5-622/+584
First commit of the network settings redesign: - Adds the global network settings section for DHCP settings - Adds read only hostname, FQDN and MAC address, modal to edit each will be done seperately - Removes interface specific sections to refactor in next commit - Adds tab component to display ethernet data by interface - Ability to edit, delete and add ipv4 addresses and DNS will be done in separate commit Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ibb1db6894ee697fec9e6ea1b8312d041c61faaad
2021-12-01Correct Dump file extensionGunnar Mills1-1/+1
BMC Dump which is implemented in phosphor-debug-collector uses ".tar.xz" https://github.com/openbmc/phosphor-debug-collector/search?q=.tar.xz The Dump page was incorrectly exporting as tar.gz. Fix this. Change-Id: Id0b64a6e0ae92254484170a77e28a01f78c8d368 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2021-12-01Fix DHCPv4 displayKonstantin Aladyshev1-1/+3
Currently UI DHCPv4 element shows list of DHCP address dictionaries. Instead of showing the whole object as it is, display only the address of the first element in the list. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ifc1d8a2400f5eafba435355c3884c35392f73d74
2021-11-09Fix overview errorDixsie Wolmers2-40/+13
Console errors were related to the power and network card components from https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/46511 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib967229b74462ed8d5c28cbac24c2a2fbfc834c2
2021-11-04Fix wrong System Manufacturer in Hardware InventoryThang Q. Nguyen1-1/+1
System Manufacturer inside HardwareStatus -> Inventory mistakenly uses assetTag instead of manufacturer. Fix the issue by using item.manufacturer for Manufacturer. Tested: 1. Login to WebUI and check if System Manufacturer shows correctly. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Ib856e8b66c49dbb71506f45c4c01dbcb79bea52c
2021-11-04Remove tableFormatter and use dataFormatter on assemblies tableDixsie Wolmers1-8/+8
tableFormatter was replaced with dataFormatter in a previous commit Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8d804a635d6773c55e09cb61014f51b74ff9ad5
2021-10-28Add Dimms table missing propertiesSandeepa Singh1-12/+65
- Added the following properties: Model, Description, Spare part number, Location Number, Memory type, Memory size, Identify led - Design has been updated for Dimms table on inventory page Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ife61396bd70c29df1b5ea55091adc8c6813b5cdc
2021-10-19Remove extra link in inventory quicklinksDixsie Wolmers1-6/+0
Extra system quicklink was added during the IA update. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9ec10f853e71e7c287392d5462abe25115855f22
2021-09-24Rename TableDataFormatter mixin to DataFormatterDixsie Wolmers18-168/+165
Mixin was renamed to reflect usage on all components, not only tables. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic962ba879fffa39b9f6f93446771fbf6f67915d0
2021-09-24Update overview layoutDixsie Wolmers10-335/+575
Layout updates uses bootstrap vue cards to display general information. View more links and download or export ability has been added to the overview page. Network settings displays the hostname and the first IP address for the first ethernet interface. Link status was also added. TODO: Add idle power and power mode properties in seperate commit for each story. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Iaf0720d76b2a9416f068a1e779ede59bffda9727
2021-09-23Add Assemblies schema to Hardware Status - Inventory and LEDsSneha Patel2-0/+164
Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: I1a4edae664d008a4f618d03d62e2319d8157ed6d
2021-09-14Remove unnecessary span from toggle componentSneha Patel2-6/+0
A span element was removed that was added to support assistive technology.This element was not needed since it was the same text used in the toggle elements label causing it to be read twice by screen readers. Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: If56d6062c53e7e1ea47a8bf0b2ea17b085ead272
2021-09-09Fix broken link on firmware pageDixsie Wolmers1-1/+1
The route for server power ops was moved from `control` to `operations` during the IA updates. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I01e6c3d06afc39ec752850f584e46305c7d87dfa
2021-09-03Resolve bug for pagination not being updatedSukanya Pandey4-3/+38
- Bug: When a user filters a page, the pagination does not change. - Solution: When a user filters a page, the pagination will be updated based on the filtered results. - This patchset will also add pagination in dumps page. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I189d27b5489c42ac85f25c0a1a4cdb7cf7eae5c2
2021-09-03Update login page layoutDerick Montague2-87/+84
This update will: - Change the positioning of the form to be on the left - Add the built on OpenBMC logo to the bottom right corner of the screen - Add the ability to include a GUI custom name using a .env variable. If the variable is not present, the login page will not include the <h1> section heading element. - Remove the word "logo" from the alt attribute for the company logo image used in the application header and on the login page. Github story: https://github.com/openbmc/webui-vue/issues/63 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I83ac5aecff0b3858c3ab5f38ab1aaa603d59acf1
2021-08-31Update the design of system tableSandeepa Singh1-10/+11
- Add left margins for sections associated with Memory summary and Processor summary Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ie35eeb8ecd2cc373cf3ada8915b267d7770e2916
2021-08-30Resolve bug for batch action on post codes pageSandeepa Singh1-2/+3
- User will be able to export in batches - User will be able sort on the basis of created date Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6477e722f5aa8a2d19621fb3b851a6d2651634b0
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