summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-08-20Add system attention indicatorsSukanya Pandey5-25/+127
- 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-20Move PowerControlStore to ResourceManagement folderDixsie Wolmers2-1/+1
Store module structure should match the view folder structure The Power page is under the Resource management section, so the store should also be in a similarly named folder. This makes it easier to find when looking for the correct store. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Iada30056eb738b91f35dc4c6b9b42b6b2be8d55c
2021-08-19Hide "BMC shell (via SSH)" switch button on Intel environmentMichalX Szopinski2-1/+8
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 Singh2-3/+10
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 Singh11-85/+250
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 Singh39-519/+486
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 Singh25-261/+217
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 Singh51-313/+164
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 Singh33-265/+261
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 Montague21-54/+220
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-08-04docs: guide: fix broken links to guidelines and customizationPaul Fertser1-2/+2
Change-Id: I2165938df5adfd2b3891cb1335364b78e3f9c474 Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2021-07-31Resovle POST code logs missing page messageDerick Montague1-2/+2
Fixed a typo in the router that resulted in the POST code logs page request returning a 404 message. This was a typo in the router.js file only. The IBM router.js file did not have this issue and the Intel has not added this UI to their build. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Icce5d756ad1ce409c77ff67fd63a7759e5f24981
2021-07-28Add export all and delete all buttons to event logsDixsie Wolmers3-12/+67
- 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-28Removed unused keys from en-US translationsDixsie Wolmers1-18/+2
Keys with `@:` in json file or `${key}` in template were manually verified as being used. Keys that were not used were removed. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Icf8f5d48ab58f0da99eaafd8ffb7737bd8322b93
2021-07-28Add missing keys for en-US translationsDixsie Wolmers2-3/+3
- Updated power supplies to use identifyLed key - Updated system store identify LED toasts - Corrected DHCP key capitilization - Did not make changes to factory reset modal keys, they are being used dynamically with `${}` in the key. Same for Power restore policy `$t{powerState}` Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I19eeac4085326a2d18d90945028def88ec5ed991
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 Wolmers2-23/+56
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-27locales: ru-RU: translate countries listPaul Fertser1-0/+251
These strings are used to show details about TLS certificates. The translations were obtained with the following procedure: $ wget https://ru.wikipedia.org/wiki/ISO_3166-2 $ sed -n '/^ "..":/{s/.*"\(..\)": "\(.*\)".*/\1 \2/;p}' src/locales/en-US.json | while read a b; do echo " \"$a\": \"$(sed -n '/ISO_3166-2:'$a'/{N;s/.*>\([^<]\+\).*/\1/;p;q}' ISO_3166-2)\","; done Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: I04c1f0bcf79063e1c8e89cace9b1c7e356edc5fd
2021-07-22Update app nav test spec with post codesDixsie Wolmers1-0/+18
Ran NPM run test:update to update app nav test spec after post codes were merged. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I4d168c80844a32732282a6f42d9cc9288463cf66
2021-07-22docs: expand guide with vue-i18n-extract.js examplesPaul Fertser1-3/+16
This internationalization documentation patch provides the developers with specific recommendations on using vue-i18n-extract.js tool to ensure translations consistency. Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: I506091c97043ad3f50c4753daddd450abe9744fc
2021-07-22Add download additional data functionalityDixsie Wolmers3-2/+16
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-21Fix inconsistent power statusLei YU1-8/+5
The webui was using a websocket to subscribe the events from BMC for server status and logging. It uses a debouncer of 2.5 to limit the events, however, it causes the loss of the events, so the power change status event could be missed by the webui, causing the `Power` status is not really consistent. There was an issue in the property change handler as well that it assumes the `CurrentHostState` is there. However, certain event could be fired without `CurrentHostState` change, e.g. the "ForceWarmReboot" will get an host event of `RequestedHostTransition` without `CurrentHostState`'s change, the code will get an undefined `CurrentHostState` and the `Power` status becomes undetermined. Remove the 2.5 debouncer, and only set the power status when `CurrentHostState` is really received to fix the issue. Tested: Verify the `Power` status is consistent with the server status. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I732069fff954a2b8b1de4848115641903a8bc904
2021-07-21Add POST code logs pageSandeepa Singh10-0/+452
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 Szopinski2-0/+4
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 Zhukov2-0/+817
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-15Fix cross-browser time formatting bugDerick Montague1-1/+1
To format the BMC time as 24 hour time, we used the `hour12` property. In Chrome, the time between 12:00 AM and 1:00 AM is displaye as 24:xx, instead of 00:xx. The cross-browser solution is to replace the `hour12` property with the `hourCycle` property so that all the time is formatted as 00:xx. Reference for Intl.DateTimeFormat constructor https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I68539d9602499dcb1bde9a4b01dd7a66fbc69d1a
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 Pandey3-30/+134
- 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 Singh3-23/+122
- 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 Singh3-57/+146
- 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 Singh6-25/+154
- 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-29Increase the filter menu marginsSandeepa Singh2-2/+5
This will increase readability of filter menu options, by preventing the wrapping up of long options/labels. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I75199b7608b5aeed067530e374e45750e26bb6eb
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 Wolmers3-6/+53
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 Wolmers6-39/+9
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 Singh2-13/+29
-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 Magdziarz2-2/+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 Wolmers6-24/+119
- 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 Wolmers5-10/+185
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 Szopinski2-5/+25
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-06-09Update docs theme section to customizationDerick Montague5-106/+153
The themes section of the webui style guide contained a section named theme. This section also included information about the environmental builds. The name was misleading and confusing, so we determined in the GUI Design Work Group to update the section name. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Iad245199048f65f346e6c033a766605f303b0ade
2021-06-07Virtual Media, change Save image label to Load imageMichalX Szopinski1-1/+1
"Save image in a web browser" should be "Load image in a web browser", this page is unable to "save" any file or data. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I96d38708ecd9f9170334808738c58b1219b8ba76
2021-05-25Add dividers between table batch action buttonsSneha Patel1-0/+20
Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: I54ddce13b1fc02138f42141c636453f499d35b96
2021-05-18Replace use of the term host with serverDerick Montague15-98/+98
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-18Add run-ci shell scriptDerick Montague1-0/+15
The GUI has a set of unit tests that are currrently only being run using a pre-comit hook. This hook can be overridden and we would like to have the unit tests run during the CI build to assure that the GUI unit tests are passing. Adding this shell script so that we can run any GUI unit tests during the CI build. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I1b62f47fb05d4f36796c5cdb4e7529b1f3afd0d5