51229f80 | 06-Nov-2020 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
Make SOL layout responsive to the window changes
The current version of a SOL window layout have several downsides: -terminal content doesn't resize with the window changes -when opened in a separat
Make SOL layout responsive to the window changes
The current version of a SOL window layout have several downsides: -terminal content doesn't resize with the window changes -when opened in a separate window terminal content doesn't use full viewport space -when opened in a separate window terminal viewport takes only a small part of the window
Screenshots with the problems descriptions are documented in the github issue: https://github.com/openbmc/phosphor-webui/issues/125
This commit adds responsiveness to the SOL layout. The main SOL tab: -terminal content automatically resizes with the viewport changes
The separate SOL window: -XTERM always use full terminal viewport space -terminal viewport width always equals window space width -terminal viewport automatically resizes on window size changes -terminal content automatically resizes with the viewport changes
As SOL UI is resposive now, this commit also removes fixed size configurations for the SOL terminal via JSON 'customConsoleDisplaySize' variable. It is worth noting that in reality it wasn't really used anyway.
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ia5d929e9a309281366a9d3119ac326ebd73c73f0
show more ...
|
bea45d53 | 27-Sep-2019 |
Dixsie Wolmers <dixsiew@gmail.com> |
Update KVM layout and add open in new window functionality
-Adds heading with new layout consistency class name -Adds open in new window functionality
Resolves: openbmc/phosphor-webui#81
Tested on
Update KVM layout and add open in new window functionality
-Adds heading with new layout consistency class name -Adds open in new window functionality
Resolves: openbmc/phosphor-webui#81
Tested on a Witherspoon with power on and with build that allows up to 4 kvm sessions connected at a time https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/25231.
KVM console loads in firefox, chrome, safari, edge and IE11. Opening new window and returning to parent window is functional across all browsers.
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: I32cda025bdd459740ca2b42d573b431fac687860
show more ...
|
4b366b5a | 24-Sep-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Clean up icons
Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files.
- Moved/removed
Clean up icons
Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files.
- Moved/removed on, off, critical, warning svg icons from assets directory - Updated background-image status icons to use <icon> or <status-icon> directive
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
show more ...
|
418db63c | 19-Sep-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Move Virtual Media files and route
"Virtual media" was already part of the "Server control" submenu but the files were at app/configuration and the route was /configuration.
Marta Mazur did a simil
Move Virtual Media files and route
"Virtual media" was already part of the "Server control" submenu but the files were at app/configuration and the route was /configuration.
Marta Mazur did a similar file and route move here as part of supporting multiple Virtual Media endpoints: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-webui/+/25218
Tested: Built and loaded on a Witherspoon. The VM route is now: #/server-control/virtual-media. Was able to use the VM panel. Change-Id: Iec46a8ece7ddfbc356bc1e71875def70c4418027 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
e368108f | 21-Jun-2019 |
Dixsie Wolmers <dixsiew@gmail.com> |
Add boot option override and TPM enable toggle
- Adds ability to set a bootsource override to allowable target value - Adds ability to enable or disable TPM required policy - Replaces power operatio
Add boot option override and TPM enable toggle
- Adds ability to set a bootsource override to allowable target value - Adds ability to enable or disable TPM required policy - Replaces power operations confirm directive with bootstrap modal
Tested: Confirmed override settings saved to redfish but unable to verify if settings are automatically set to disabled by petitboot after a one time boot. Passes DAP.
Resolves openbmc/phosphor-webui#82 Resolves openbmc/phosphor-webui#90
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: If0ffd6f9328939d70c7958ee11fb90bd20a1e685 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
c652ed18 | 19-Jul-2019 |
Dixsie Wolmers <dixsiew@gmail.com> |
Update toggle component
- Adds text to indicate the current state of the toggle button to meet accessibility guidelines - Update size, color, and focus of toggle component to fix DAP violations
Update toggle component
- Adds text to indicate the current state of the toggle button to meet accessibility guidelines - Update size, color, and focus of toggle component to fix DAP violations - Add page, section, and list-pair layout patterns established on the power usage page to begin a pattern for consistent page layout - Add form__field and form__actions to help with form layout consistency.
Tested: Verified toggle functions in the GUI and tested with screen reader. Passes DAP.
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Iaa8646b1179cc307971065c455f4b9448095d1ec
show more ...
|
6f7ec80e | 24-Jun-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Clean up color values
This update will clean up slight color variations in the code base by creating and using Sass color variables instead of hex values. Available colors are defined in colors.scss
Clean up color values
This update will clean up slight color variations in the code base by creating and using Sass color variables instead of hex values. Available colors are defined in colors.scss. Any usage of CSS color properties should refer to the mapped color variables in colors.scss.
- Removed tags.scss file since tag components no longer used
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I045030a158469e59d07a9fa8cd8aa9f125f0d383
show more ...
|
c86ce3c9 | 05-Jun-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Consolidate button styles
This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes.
This patchset also
Consolidate button styles
This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes.
This patchset also implements a consistent strategy for including icon assets. Currently, svg icons are imported as CSS background images or inlined into the markup. Inlining an svg is preferred, especially when used with buttons or links so the colors can be easily changed for different states (hover, focus, disabled) without having to request variants. The icon provider allows us to inline svgs without cluttering the markup. Webpack config was adjusted to use svg-inline-loader when resolving svgs that are used by the icon provider directive.
- All svgs were optimized to remove unncessary information. - Removed unused svg color variants - Moved icons used by icon provider to separate directory to avoid Webpack parsing the files twice - Small changes to navigation icons
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1ca214b74fc502e6b6e760cfee88b48110237c43
show more ...
|
5bd1dec7 | 16-May-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Change button styles from rounded to straight corners
This will create more visual consistency between the components in the GUI since there are elements, such as text fields and dropdowns that are
Change button styles from rounded to straight corners
This will create more visual consistency between the components in the GUI since there are elements, such as text fields and dropdowns that are styled with straight corners.
- Removes border radius from buttons - Removes some redundant styles - Adds input types that aren't currently inheriting defined styles
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I6ff1bde91e2e57df01484dd20003925cd914ffa2
show more ...
|
e9211cb3 | 22-Apr-2018 |
Ed tanous <ed@tanous.net> |
Implement KVM in webui
This patchset adds the infrastructure to allow KVM sessions through the webui. A websocket capable VNC/RFB connection on the BMC is needed for KVM sessions.
To access, naviga
Implement KVM in webui
This patchset adds the infrastructure to allow KVM sessions through the webui. A websocket capable VNC/RFB connection on the BMC is needed for KVM sessions.
To access, navigate to Server control -> KVM.
Tested: Ran obmc-ikvm on the BMC, added a KVM Handler to Phosphor Rest Server, and was able to establish a KVM session in the webui on a Witherspoon. Change-Id: I7dda5bec41d270ae8d0913697714d4df4ec3a257 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
3bf7b0c8 | 02-Apr-2019 |
dixsie <dixsiew@gmail.com> |
Correct typo on stylesheet comment
Signed-off-by: dixsie <dixsiew@gmail.com> Change-Id: I30023fe18310631132c232e94baba5d0445f5f55 |
edf1ab46 | 15-Feb-2019 |
beccabroek <beccabroek@gmail.com> |
Clean up headers
Updates headers to match style guide and makes them consistent throughout pages in the GUI. Removes instances where a header element existed and a different header style was being a
Clean up headers
Updates headers to match style guide and makes them consistent throughout pages in the GUI. Removes instances where a header element existed and a different header style was being applied. For example, <h2 class="h4">
Tested: Ran GUI locally and verified that headers look consistent and have the appropriate sizing while using Chrome, Firefox and Safari.
Change-Id: I187136298ed2bfd36c40c2b80d5a4f20947cbe56 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
84e114a4 | 14-Nov-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Move to Bootstrap 4
Bootstrap < 4.1.2 has the following CVE: https://nvd.nist.gov/vuln/detail/CVE-2018-14041
Removed bootstrap-theme.css due to "Replaced the separate optional theme with configurab
Move to Bootstrap 4
Bootstrap < 4.1.2 has the following CVE: https://nvd.nist.gov/vuln/detail/CVE-2018-14041
Removed bootstrap-theme.css due to "Replaced the separate optional theme with configurable options via SCSS variables (e.g., $enable-gradients: true)."
Added "width: 100%" to a few places where width 100% was no longer getting inherited. Moved a few elements and adjusted styles to get the same look as before.
See https://getbootstrap.com/docs/4.0/migration/ for more information.
Tested: Manually on a Witherspoon. Change-Id: I0a72665ac1ca6eacd0b553a585b1fb15e14ae62c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
3d0a4d96 | 25-Sep-2018 |
beccabroek <beccabroek@gmail.com> |
Resizing SOL console
Makes no changes to how the console currently looks, but makes overriding the css height of the terminal easier.
Resolves openbmc/phosphor-webui#8
Change-Id: Ie198462eaf42578c
Resizing SOL console
Makes no changes to how the console currently looks, but makes overriding the css height of the terminal easier.
Resolves openbmc/phosphor-webui#8
Change-Id: Ie198462eaf42578c848fe9285c3065ef6e26b1b2 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
457ca040 | 07-Sep-2018 |
beccabroek <beccabroek@gmail.com> |
Switch to xterm
Switch to xterm from hterm in the GUI, as it supports more encoding styles. Was seeing errors in console thrown by hterm during boot. Also resolves the issue of text wrapping observe
Switch to xterm
Switch to xterm from hterm in the GUI, as it supports more encoding styles. Was seeing errors in console thrown by hterm during boot. Also resolves the issue of text wrapping observed in the below issue.
Resolves openbmc/openbmc#3262
Tested: Errors are no longer thrown during boot related to encoding. xterm displaying console messages and delivering messages.
Change-Id: I9f39c3616d7ff2c1045ff1ad29f603c65784ab30 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
006aaa0f | 26-Jun-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Set the power cap
Created toggle button to enable power cap and a text field to set it. This form is similar to the set network form. Moved logic for displaying the power cap as disabled to the over
Set the power cap
Created toggle button to enable power cap and a text field to set it. This form is similar to the set network form. Moved logic for displaying the power cap as disabled to the overview controller.
Resolves openbmc/openbmc#3221
Tested: Set the power cap on a Witherspoon Change-Id: I62346fe3ed123b9df58d159cee2584937d46213c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
52b8bde9 | 21-Jun-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Add Power Usage Page
Created a new page, "Manage Power Usage". This page is under the "Server control" tab. This new page currently just displays the power consumption. Future commits will allow the
Add Power Usage Page
Created a new page, "Manage Power Usage". This page is under the "Server control" tab. This new page currently just displays the power consumption. Future commits will allow the user to set the power cap from this page. One day, things like power consumption trending data could also be on this page.
There was a blank unused controller which was for similar things, removed it.
Tested: See the page and the consumption data. Uploaded screenshots to openbmc/openbmc#3221 Change-Id: I9f97c58a086f34c1c1990c03d5e05b081619bd5c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
4129f402 | 11-Jul-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Rename Server LED files
The menu item is called "Server LED". The title is called "Server LED". The route is server-control/server-led.
Tested: Verified server LED still works. Change-Id: I1c70cfb6
Rename Server LED files
The menu item is called "Server LED". The title is called "Server LED". The route is server-control/server-led.
Tested: Verified server LED still works. Change-Id: I1c70cfb6cd36868a191aa51363437dcdcc6d9a6b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
4b1f24c7 | 11-Jul-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Move server LED files
The WebUI has a main menu with 5 options: Server overview, Server health, Server control, Server Configuration, Users.
These 5 main menu items each have a directory in /app/,
Move server LED files
The WebUI has a main menu with 5 options: Server overview, Server health, Server control, Server Configuration, Users.
These 5 main menu items each have a directory in /app/, although the directory names differ slightly. These 5 main menu items are also modules whose content includes their sub-menu items (again names differ slightly).
E.g. "Firmware" and "Network settings" are sub-menu items of the main menu item "Server configuration" which is located in the app/configuration dir and part of the app.configuration module.
The Server LED sub menu item did not follow this pattern and was under the wrong directory and in the wrong module. Moved it. In a future commit I renamed it from unit-id.
Tested: Verified server LED still works. Change-Id: I02e3a7995cf8ccc5b487c345866651d984c8d70c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
1255e0dc | 13-Jun-2018 |
Jayashankar Padath <jayashankar.padath@in.ibm.com> |
Remove extra scroll bar from the SoL console menu
Two scroll bars are displayed on the right hand side of the SoL console menu as the element exceeds the screen size. Fix removes the unwanted scroll
Remove extra scroll bar from the SoL console menu
Two scroll bars are displayed on the right hand side of the SoL console menu as the element exceeds the screen size. Fix removes the unwanted scroll bar
Resolves openbmc/openbmc#3243
Tested: Running webui locally and verified that extra scroll bar is not showing at the Serial over LAN (SoL) console menu
Change-Id: I25537f8007b81f698d396ef03d6c381e61806bd6 Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
show more ...
|
3490c0fc | 01-May-2018 |
CamVan Nguyen <ctnguyen@us.ibm.com> |
Display red 'error' icon for Error state
- Display a red 'error' icon vs a yellow 'warning' icon when the Server Power is in an Error (Quiesced) state.
Resolves openbmc/openbmc#3149
Change-Id: I
Display red 'error' icon for Error state
- Display a red 'error' icon vs a yellow 'warning' icon when the Server Power is in an Error (Quiesced) state.
Resolves openbmc/openbmc#3149
Change-Id: I0d23d9406370e5b49d554b979aaedb5754601e3b Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
show more ...
|
9632d71c | 28-Aug-2017 |
Michael Davis <michael.s.davis@ibm.com> |
fixed sizes and positioning of icons
Change-Id: Idc6930c87f61217f9bf4daab5b82c418606cdf80 Signed-off-by: Michael Davis <michael.s.davis@ibm.com> |
640d28a8 | 15-Aug-2017 |
Michael Davis <michael.s.davis@ibm.com> |
new icon and pop-out window for Serial over lan
Change-Id: I1722a4fbd1e9ac07162c9732d68dfea283a28aed Signed-off-by: Michael Davis <michael.s.davis@ibm.com> |
7f89fad6 | 31-Jul-2017 |
Michael Davis <michael.s.davis@ibm.com> |
UI changes and fixes based on QA feedback
Change-Id: I13bae30e86330a8831d35f1d8a2f7da821324e37 Signed-off-by: Michael Davis <michael.s.davis@ibm.com> |
cdc3deb7 | 20-Jul-2017 |
Michael Davis <michael.s.davis@ibm.com> |
fixed responsiveness for smaller screens
Change-Id: I1175801c27d66436be257365436bb484515b83c3 Signed-off-by: Michael Davis <michael.s.davis@ibm.com> |