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 ...
|
6f4e12e3 | 23-May-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Firmware: Remove unused interpolate
Interpolate was used prior to the ngToast. https://github.com/openbmc/phosphor-webui/commit/90ae95eb6f5f30e3863f24ad364b111258ea4ee4#diff-44385b1119c2cae41d7331ab
Firmware: Remove unused interpolate
Interpolate was used prior to the ngToast. https://github.com/openbmc/phosphor-webui/commit/90ae95eb6f5f30e3863f24ad364b111258ea4ee4#diff-44385b1119c2cae41d7331ab4a5cd5fe moved to ngToast (later toastService) and removed the use of interpolate.
Tested: Build this and the commits below and loaded onto a Witherspoon system. Uploaded an image and activated it.
Change-Id: I161c7860cec006dc434bc00495b25b588f069775 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
44da471f | 20-Mar-2019 |
beccabroek <beccabroek@gmail.com> |
Virtual media page
Adds page to manage virtual media devices. User selects file and pushes 'start' button to establish websocket connection. nbdServerService added to provide ability for user to nav
Virtual media page
Adds page to manage virtual media devices. User selects file and pushes 'start' button to establish websocket connection. nbdServerService added to provide ability for user to navigate away from the page and return with the ability to see the current active sessions.
Currently only supports 1 Virtual Media device.
Resolves openbmc/phosphor-webui#40
Tested: uploaded ubuntu image file, started the connection and mounted virtual media device from host console. Able to see Ubuntu image file. Also uploaded file and navigated away from the page, checking that the websocket remained open and was sending / recieving messages. Finally, tested that when connection was stopped, 'USB disconnect' log was present in host console.
Change-Id: Ia3155d27cbcfef94c2753dde1303a151e08847cc Signed-off-by: beccabroek <beccabroek@gmail.com> Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Derick Montague <derick.montague@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 ...
|
de382089 | 30-Apr-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add dropdown caret to time owner dropdown on Date and Time Settings
- Use background-image strategy to add caret to dropdowns - Standardize implementation by including mixin to dropdown__button cl
Add dropdown caret to time owner dropdown on Date and Time Settings
- Use background-image strategy to add caret to dropdowns - Standardize implementation by including mixin to dropdown__button class and removing styled pseudo element
Resolves ibm-openbmc/dev#478
Tested: Running locally on Chrome only. Ran into network request errors for newly added svg assets when mounting overlay
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I714c2515282676f368eafb2560177d2935680e23
show more ...
|
4733a11b | 10-Apr-2019 |
beccabroek <beccabroek@gmail.com> |
Firmware page upload not working in some cases
Upload was not working in some cases because of two separate issues. Inline onchange is no longer executed in Chrome. This removes the inline onchange
Firmware page upload not working in some cases
Upload was not working in some cases because of two separate issues. Inline onchange is no longer executed in Chrome. This removes the inline onchange event since it was updating a variable not being used anyway. This also updates the click-outside directive as it was missing [ ] brackets that were necessary and throwing an error in the console when loaded onto a witherspoon.
see https://developer.chrome.com/extensions/contentSecurityPolicy
and
https://stackoverflow.com/questions/35126898/error-after-minifica tion-of-angular-js-error-injectorunpr-unknown-provider
Resolves openbmc/phosphor-webui#77
Tested: Able to upload image onto Witherspoon. Click-outside directive worked when GUI was mounted on a Witherspoon
Change-Id: I7b1c385751e114b2d31f516e391dd0737117ab42 Signed-off-by: beccabroek <beccabroek@gmail.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 ...
|
ddda4dec | 28-Jan-2019 |
beccabroek <beccabroek@gmail.com> |
SNMP page visual redesign
Adds form validation to SNMP page. Also adds new icons to page for edit and delete. Validation messages for inputs appear after input has been touched or if the user attemp
SNMP page visual redesign
Adds form validation to SNMP page. Also adds new icons to page for edit and delete. Validation messages for inputs appear after input has been touched or if the user attempts to submit the form with validation errors.
Tested: Add, remove, and update SNMP was successful and functionality unchanged. Form did not allow invalid or empty values to submitted. Used Chrome, Safari, and Firefox to verify that visual design looked as expected.
Resolves openbmc/phosphor-webui#37
Change-Id: I7a97d80724e56d2f22c74ac1251041270bbc35ad Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
d0dbe3b3 | 11-Mar-2019 |
beccabroek <beccabroek@gmail.com> |
Center modals and fix sizing
Previously the modals were not centered on the screen and the size of the modal was set to 50% of the screen, leading to a lot of white space within modals with less con
Center modals and fix sizing
Previously the modals were not centered on the screen and the size of the modal was set to 50% of the screen, leading to a lot of white space within modals with less content. This sizes the modal based on the amount of content within and centers the modal. Also adds the grey modal overlay to the 'confirm network settings' modal to be consistent with the other pages.
Resolves openbmc/phosphor-webui#35
Tested: Viewed all modals currently in GUI (Firmware page, network page, and overview page) and modals were sized correctly and appeared with the modal overlay in the background.
Change-Id: Ie35d179810d36b8bcbbf39dc1302e773387fa788 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
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 ...
|
27ce84d2 | 05-Feb-2019 |
beccabroek <beccabroek@gmail.com> |
Add role alert to toasts
For accessibility reasons, 'role="alert" is required for toast messages. This notifies screen readers that an error or success message has appeared. Adds a service layer for
Add role alert to toasts
For accessibility reasons, 'role="alert" is required for toast messages. This notifies screen readers that an error or success message has appeared. Adds a service layer for toast messages that adds the role attribute to the message.
Change-Id: Ic4dbf5556337eea589de5692c1b4c3323e771813 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
90ae95eb | 15-Jan-2019 |
beccabroek <beccabroek@gmail.com> |
Add toast to Firmware page
Replace error and success messages with toast notifications.
Change-Id: I6c68568b7c9db4fd1f85b3de843289cf1bfba376 Signed-off-by: beccabroek <beccabroek@gmail.com> |
9a3b5422 | 15-Jan-2019 |
beccabroek <beccabroek@gmail.com> |
Add toast to Network Settings page
Displays error message if any settings fail to save and success if all succeed on the Network Settings page.
Change-Id: Ifddf1822ba59753a217d1ec257b8d0ca870cceed
Add toast to Network Settings page
Displays error message if any settings fail to save and success if all succeed on the Network Settings page.
Change-Id: Ifddf1822ba59753a217d1ec257b8d0ca870cceed Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
30444c6c | 10-Jan-2019 |
beccabroek <beccabroek@gmail.com> |
Add toast to Date Time page
Change-Id: I0c0912f9d18fbb170ccf4863366b5973eb25050a Signed-off-by: beccabroek <beccabroek@gmail.com> |
a30394b7 | 14-Dec-2018 |
beccabroek <beccabroek@gmail.com> |
Add toast notifications to SNMP page
Design team proposed that our error and success messages be delivered as 'toast' messages on the right side of the screen. This brings in ngToast and implements
Add toast notifications to SNMP page
Design team proposed that our error and success messages be delivered as 'toast' messages on the right side of the screen. This brings in ngToast and implements notifications on SNMP page. Notifications will fade after 10 seconds or can be dismissed.
https://github.com/tameraydin/ngToast
Change-Id: I1053534cd1ab189ae5c2ac07e2a922acea231c70 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
dbf04811 | 16-Nov-2018 |
Alexander Filippov <a.filippov@yadro.com> |
fix date/time representation in national locales
Added "localeDate" filter to present date and time in preferred format: - the date will be displayed as: 'Dec 3, 2018' - the time will be displayed
fix date/time representation in national locales
Added "localeDate" filter to present date and time in preferred format: - the date will be displayed as: 'Dec 3, 2018' - the time will be displayed in locale preferred format. - the timezone will be displayed as abbrev or GMT+/-offset.
At the 'Date and Time setting' the time zone name will displayed in long format if it is possible.
All text parts of date/time representation will be in English.
Resolves: openbmc/phosphor-webui#42
Change-Id: I2fdbb47c62dfc5000039b0c00a20f64a9a389fc6 Signed-off-by: Alexander Filippov <a.filippov@yadro.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 ...
|
1cc7021c | 05-Nov-2018 |
beccabroek <beccabroek@gmail.com> |
Move more info icon
Currently, the more info icon (...) is positioned too far from the server version on the firmware page. This places the icon 20 px to the right, so that it is clearly associated
Move more info icon
Currently, the more info icon (...) is positioned too far from the server version on the firmware page. This places the icon 20 px to the right, so that it is clearly associated with the version.
Resolves openbmc/phosphor-webui#23
Change-Id: I5d1dc6bf1446c9f10ee0181d9b9fa2eb3e53e498 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
569ccf66 | 29-Oct-2018 |
beccabroek <beccabroek@gmail.com> |
Display log events in user time
Allows user to display events in their timezone or in UTC. Previously allowed either ETC or UTC, but listed ETC as 'user timezone'. Updates date time page from GMT o
Display log events in user time
Allows user to display events in their timezone or in UTC. Previously allowed either ETC or UTC, but listed ETC as 'user timezone'. Updates date time page from GMT offset to UTC offset for overall consistency. Also updates overview page to list critical events in user timezone
Resolves openbmc/phosphor-webui#36
Tested: changed timezone settings locally and validated that correct timezone and UTC offset was presented in the UI.
Change-Id: I89ca5045eeb789527aa07f5b1baebaa3fbd6b1fa Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
35d18cbc | 05-Oct-2018 |
Gunnar Mills <gmills@us.ibm.com> |
SNMP: Use lowerCamelCase for vars
Following https://google.github.io/styleguide/jsguide.html.
Change-Id: Ib7704018622571cf1701d3a525dc01297bed7243 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
8751084c | 18-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Only update SNMP fields if changed
Use ng-change to determine if the SNMP fields, Address and Port, have changed and should be updated.
Tested: Only see the rest calls when the fields have changed.
Only update SNMP fields if changed
Use ng-change to determine if the SNMP fields, Address and Port, have changed and should be updated.
Tested: Only see the rest calls when the fields have changed. Change-Id: I324c9c422a8b6dfb8816925167953e16099f8044 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
022b6cf1 | 18-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Remove SNMP Managers
Allow the user to remove SNMP Managers. If the SNMP Manager being removed exists in the backend, make a call to remove it.
Tested: Removed SNMP Managers on a Witherspoon Change
Remove SNMP Managers
Allow the user to remove SNMP Managers. If the SNMP Manager being removed exists in the backend, make a call to remove it.
Tested: Removed SNMP Managers on a Witherspoon Change-Id: Ib392cda30754adfaa58f6301592c2d666ff2c29e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
854fbba1 | 13-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Add and modify SNMP Managers
This allows the user to add and edit SNMP managers.
Tested: Added SNMP managers on a Witherspoon. Change-Id: Iab8d6463b03de75928e4989135172d93ab0f28a3 Signed-off-by: Gu
Add and modify SNMP Managers
This allows the user to add and edit SNMP managers.
Tested: Added SNMP managers on a Witherspoon. Change-Id: Iab8d6463b03de75928e4989135172d93ab0f28a3 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
2f955bd8 | 13-Oct-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Date-time: Use lowerCamelCase for vars
Following https://google.github.io/styleguide/jsguide.html. Also, added a comment to clarify a variable.
Change-Id: I27dd8c0af6187ccd3f8093b88ebe2674fd42747b
Date-time: Use lowerCamelCase for vars
Following https://google.github.io/styleguide/jsguide.html. Also, added a comment to clarify a variable.
Change-Id: I27dd8c0af6187ccd3f8093b88ebe2674fd42747b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
b60f5be1 | 10-Oct-2018 |
beccabroek <beccabroek@gmail.com> |
Functional version font color
Blue makes the text appear to be a link. Updated text color to dark grey.
Resolves openbmc/phosphor-webui#22
Change-Id: I5950473844d2edfeaf5ede80b46984bc152d7483 Sign
Functional version font color
Blue makes the text appear to be a link. Updated text color to dark grey.
Resolves openbmc/phosphor-webui#22
Change-Id: I5950473844d2edfeaf5ede80b46984bc152d7483 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|