1578b87e | 10-Jun-2020 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Fix layout bugs on server power operations page
Add missing closing div tag that caused strange column layout breaks.
Resolves openbmc/phosphor-webui#112
Tested: No longer see the problem on a Wit
Fix layout bugs on server power operations page
Add missing closing div tag that caused strange column layout breaks.
Resolves openbmc/phosphor-webui#112
Tested: No longer see the problem on a Witherspoon.
Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I87f4947f60f95c7991df3f7c429ac51726a894b9
show more ...
|
4a16a026 | 24-Apr-2020 |
James Feist <james.feist@linux.intel.com> |
Add CSRF check to more websockets
This adds the token to more websockets that were missing it.
Change-Id: I633ce28ec9602d33a79d613f94582ba0ff265368 Signed-off-by: James Feist <james.feist@linux.int
Add CSRF check to more websockets
This adds the token to more websockets that were missing it.
Change-Id: I633ce28ec9602d33a79d613f94582ba0ff265368 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
86c0b94b | 08-Oct-2019 |
Derick Montague <derick.montague@ibm.com> |
Fix icon-warning syntax error
There were a few instances of the icon-warning icon that didn't include the file extenstion needed to when adding the file attribute property in the icon directive.
Si
Fix icon-warning syntax error
There were a few instances of the icon-warning icon that didn't include the file extenstion needed to when adding the file attribute property in the icon directive.
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib25c28c72285fa214f75258b0b09790d52bb6cc1
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 ...
|
198ce1ff | 20-Sep-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Fix SoL and KVM refresh bug
Clicking the refresh button in the app header on the SoL and KVM pages would fail to reload because the wrong element reference is passed to the contructor after the relo
Fix SoL and KVM refresh bug
Clicking the refresh button in the app header on the SoL and KVM pages would fail to reload because the wrong element reference is passed to the contructor after the reload. Angular recommends using directives for any DOM manipulation.
- Use the $element ref availble in serial-console.js directive to select DOM element to open the terminal - Switch kvm controller to directive to be able to use element ref in the link function to select DOM element to pass as target
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia7391e42bf335b8c3558d25df15c052db245ee3d
show more ...
|
54d53c67 | 25-Sep-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Fix rounded button styling
Add 'btn' class on Reboot and Shutdown buttons on power operations page to make sure borders aren't rounded.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Cha
Fix rounded button styling
Add 'btn' class on Reboot and Shutdown buttons on power operations page to make sure borders aren't rounded.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I3369acd52ad1992d4340ef6c194b81b5dc0ce001
show more ...
|
5dac9e15 | 23-Sep-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Update boot override UI messaging visibility
When a user changes the boot setting override option to 'None' on the Server power operations page, the Enable one time boot checkbox should not be check
Update boot override UI messaging visibility
When a user changes the boot setting override option to 'None' on the Server power operations page, the Enable one time boot checkbox should not be checked and 'Pending one time boot' message should not be displayed.
- Removed duplicate id and unused ng-change attributes
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia8771c2984fe41c64dde9b0c702b82a3d8305d7f
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 ...
|
30d7c637 | 31-Jul-2019 |
Derick Montague <derick.montague@ibm.com> |
Update overview page to use new UI patterns
- Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC infor
Update overview page to use new UI patterns
- Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC information to accomodate small screen views - Added chevron icons to create consistency between header and server overview page quick links - Changed edit hostname text to use the standard icon - Added OR operator to short circuit the server model, server serial number, and server manufacturer to display N/A if the information is not available
Change-Id: I6619f5369ff290555142e85aa432e901c4f93d2d Signed-off-by: Derick Montague <derick.montague@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 ...
|
5ff98780 | 18-Jul-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Refactor power operations
Refactored power operations to use checkHostStatus function that checks host_status property provided by dataService, instead of polling for host/chassis status. Added prop
Refactor power operations
Refactored power operations to use checkHostStatus function that checks host_status property provided by dataService, instead of polling for host/chassis status. Added property to check when a power operation is in progress. This property will show/hide the in progress message and make other operations unavailable until the operation completes. We were previously checking whether the server_state property was set to 'Unreachable', which enables the Power on button in the middle of a reboot, since the server_state changes to 'Off' during reboot.
- Removed unused $timeout service
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I234749a9a875c7370b52bd23ed74d6e9617cf5e2
show more ...
|
afcfda7b | 21-Jun-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Fix cold reboot error
Cold reboot will check the host status by referring to the server_state property in the dataService instead of making API requests to check host/chassis status.
TODO: Refactor
Fix cold reboot error
Cold reboot will check the host status by referring to the server_state property in the dataService instead of making API requests to check host/chassis status.
TODO: Refactor other power control options to follow a similar pattern.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I74b1b78fa39caee514fbaea8492c8a5ad6f8145b
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 ...
|
a1b5fb6a | 17-May-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Remove unused interpolate
Interpolate was used prior to the ngToast. https://github.com/openbmc/phosphor-webui/commit/92d13b62f56fa302a8231690e7371c6ae04f50ba#diff-bbc57e73eb8aa4f1c2de7b8e033393e3 m
Remove unused interpolate
Interpolate was used prior to the ngToast. https://github.com/openbmc/phosphor-webui/commit/92d13b62f56fa302a8231690e7371c6ae04f50ba#diff-bbc57e73eb8aa4f1c2de7b8e033393e3 moved to ngToast and removed the use of interpolate.
Tested: Build this and the commits below and loaded onto a Witherspoon system. Did a power on, warm reboot, and immediate shutdown. Change-Id: I99c2f3705df413fc744066dd34ba38a383c174fc Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
aa4734d5 | 17-May-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Added comments to help clarify "confirm"
For the next person digging in this code. :)
Change-Id: Ib6c21da3fb53a4277a90bf2e5cab90ed29496724 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
f61631eb | 17-May-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Remove done TODO
This TODO is complete, remote it.
Change-Id: Ifb775aa932bf54e790ff60352611a716f2d7fb02 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
834eb010 | 17-May-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Remove unused testState
Change-Id: I9235c146fcd1288add4eeaa209d0f7b12f4d394e Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
11f36032 | 17-May-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Remove unused powerOnConfirm and powerConfirm
There is no confirm for Powering on the system. These were unused.
Change-Id: I4f5c3eb0a7676877ccbb0fef687ab525e585e428 Signed-off-by: Gunnar Mills <gm
Remove unused powerOnConfirm and powerConfirm
There is no confirm for Powering on the system. These were unused.
Change-Id: I4f5c3eb0a7676877ccbb0fef687ab525e585e428 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
6af5d294 | 17-May-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Rename variables to follow lowerCamelCase
OpenBMC follows Google JavaScript Style Guide. https://google.github.io/styleguide/jsguide.html#naming-local-variable-names
https://github.com/openbmc/docs
Rename variables to follow lowerCamelCase
OpenBMC follows Google JavaScript Style Guide. https://google.github.io/styleguide/jsguide.html#naming-local-variable-names
https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#javascript
Change-Id: I0be270d8cb8f219f048626591e6b623c4307eef7 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
c57ec32f | 26-Apr-2019 |
Dixsie Wolmers <dixsiew@gmail.com> |
Fix activate image and reboot BMC
- Change bmcReboot callback in apiutils.js to HTTP request that returns a promise that is resolved with response object - Remove emitted 'user-logged-in' as it is n
Fix activate image and reboot BMC
- Change bmcReboot callback in apiutils.js to HTTP request that returns a promise that is resolved with response object - Remove emitted 'user-logged-in' as it is not needed to reboot BMC on firmware controller and bmc reboot controller - Add toast message for visual confirmation of successful BMC reboot
Tested: On Server Configuration > Firmware page uploaded new image to activate and automatically reboot. After 2-3 minutes confirmed image activated and then BMC rebooted after image activation. Tested Server Control > Reboot BMC page by selecting Reboot BMC, confirmed BMC rebooted.
Resolves openbmc/phosphor-webui#79
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Ied6809ad1ed6cc3c73ac5c818c7a06607810c396
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 ...
|
1ffa209e | 01-Apr-2019 |
Derick Montague <derick.montague@ibm.com> |
Resolve accessibility isssues
- Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definiti
Resolve accessibility isssues
- Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definition list when appropriate - Add aria-labels and aria-expanded to accordion triggers
Tested: Accessibility issues tested in using Lighthouse in Chrome Developer tools Audit section and Dequeue Axe extension. Manually tested clicking on labels set focus on the form elements. Visually tested of the Network Settings page in Chrome, Firefox, and Safari to verify layout changes.
Resolves openbmc/phosphor-webui#76
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib974c623e9d3b74e74e1f374c21e8191732ec26a
show more ...
|
511a2bbc | 06-Mar-2019 |
Yang Cheng <cheng.c.yang@linux.intel.com> |
Set SOL Screen dynamically
To make EWS SOL Screen size match the real BIOS console, need to set the screen dynamically. Web page get terminal resolution from config.json and calculate frame width an
Set SOL Screen dynamically
To make EWS SOL Screen size match the real BIOS console, need to set the screen dynamically. Web page get terminal resolution from config.json and calculate frame width and height base on the resolution and fontsize. Web page use this width and height to change the screen size. If no related configuration in config.json the SOL Screen will keep the original size before this code change.
Tested By: Add "customConsoleDisplaySize": {"width": 100, "height": 32} to config.json, and open EWS Server Serial over LAN console page, the size of console client can match 100*32 characters. Set console redirection to 100*32 in BIOS setup page, the page show correctly in this SOL client in EWS. After enter OS, the linux console can show correctly in SOL client. After remove "customConsoleDisplaySize" in config.json, the size of console client in EWS show the same as the code change in this patch.
Change-Id: I09bfe4e67db1387abcd57ee3a13b912957cf95b0 Signed-off-by: Yang Cheng <cheng.c.yang@linux.intel.com>
show more ...
|