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 ...
|
b7f0ee19 | 10-Jan-2019 |
beccabroek <beccabroek@gmail.com> |
Add toast to LED page
Toast error notification alerts user if LED light switch was not successful.
Change-Id: I4f7af80276b6fefa93c8d0f0f50f8b28a06bced3 Signed-off-by: beccabroek <beccabroek@gmail.c
Add toast to LED page
Toast error notification alerts user if LED light switch was not successful.
Change-Id: I4f7af80276b6fefa93c8d0f0f50f8b28a06bced3 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
92d13b62 | 08-Jan-2019 |
beccabroek <beccabroek@gmail.com> |
Add toast to Power Operations page
Replaces error messages with tast notifications on the Power Operations page.
Change-Id: If92bcb18fc96e9dbd74807faf27feb9c82b6fc59 Signed-off-by: beccabroek <becc
Add toast to Power Operations page
Replaces error messages with tast notifications on the Power Operations page.
Change-Id: If92bcb18fc96e9dbd74807faf27feb9c82b6fc59 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
2264b42e | 07-Jan-2019 |
beccabroek <beccabroek@gmail.com> |
Add toast to Power Usage page
Replaces success and error messages with tast notifications on the Power Usage page.
Change-Id: Id7c3f8d63f932671a72644a740c5f1da1d2f9777 Signed-off-by: beccabroek <be
Add toast to Power Usage page
Replaces success and error messages with tast notifications on the Power Usage page.
Change-Id: Id7c3f8d63f932671a72644a740c5f1da1d2f9777 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
97195447 | 26-Nov-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Fix Server power operations page style
On the Server power operations page, need a width: 100% for the "Select a power operation" header.
Drop "Row" from power operations div to fix confirm modal b
Fix Server power operations page style
On the Server power operations page, need a width: 100% for the "Select a power operation" header.
Drop "Row" from power operations div to fix confirm modal being cut off.
These are needed because of the move to Bootstrap 4. 84e114a
Resolves openbmc/phosphor-webui#51
Change-Id: I7250daf2aed4ce5af7ed5acdf61a65cc38deac72 Signed-off-by: Gunnar Mills <gmills@us.ibm.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 ...
|
5f0b7767 | 25-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Remove tabs from HTML files
From https://google.github.io/styleguide/htmlcssguide.html "Indentation Indent by 2 spaces at a time.
Don't use tabs or mix tabs and spaces for indentation."
Tested: Ma
Remove tabs from HTML files
From https://google.github.io/styleguide/htmlcssguide.html "Indentation Indent by 2 spaces at a time.
Don't use tabs or mix tabs and spaces for indentation."
Tested: Manual regression testing on a Witherspoon. Change-Id: Ief7137dabc869b73b73f9947337fbb0abb5ca497 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
c3abaa9b | 14-Aug-2018 |
beccabroek <rebecca.shaw@ibm.com> |
Activate image and reboot host
When activating a host image, gives the option to: a) Activate image without booting b) Activate image and boot host. If server is in 'off' status the option
Activate image and reboot host
When activating a host image, gives the option to: a) Activate image without booting b) Activate image and boot host. If server is in 'off' status the option is to power on. If the server is in 'unavailable', 'on', or 'error' status the option is to reboot Also updated polling during boot and reboot to use /subscribe API.
Resolves openbmc/openbmc#3323
Tested: The GUI displays the options and boots / reboots appropriately based on server status.
Change-Id: I62c19e094ecc7112263c26844fcd30b2bf3c2b84 Signed-off-by: beccabroek <rebecca.shaw@ibm.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 ...
|
a788cf01 | 04-Sep-2018 |
beccabroek <beccabroek@gmail.com> |
SOL console in new window button
Created button to open SOL console in new window.
Resolves openbmc/openbmc#3153
Tested: Verified that button brings up new window and that SOL console functio
SOL console in new window button
Created button to open SOL console in new window.
Resolves openbmc/openbmc#3153
Tested: Verified that button brings up new window and that SOL console functions in new window.
Change-Id: Idf8ff314e9a14cba0820823afd1ce60e4b3bbc4f Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
75697f90 | 04-Sep-2018 |
beccabroek <beccabroek@gmail.com> |
Create SOL console directive
Created serial-console directive in order to avoid duplicate code between remote-console-controller and remote-console-window-controller.
Tested: Verified that SOL cons
Create SOL console directive
Created serial-console directive in order to avoid duplicate code between remote-console-controller and remote-console-window-controller.
Tested: Verified that SOL console functions as expected after refactor
Change-Id: I8cfc8e78cc2325c813e5bef608886859df6b3ab8 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
6add8325 | 05-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Have loader wait for Last Power Operation
The loader (blue spinning half circle) should wait for the call to get the Last Power Operation Time.
Change-Id: I105a5742244fb417cd3ab609e2c14771c28792cb
Have loader wait for Last Power Operation
The loader (blue spinning half circle) should wait for the call to get the Last Power Operation Time.
Change-Id: I105a5742244fb417cd3ab609e2c14771c28792cb Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
d089e001 | 04-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Remove 1/0 boolean workaround
With https://github.com/openbmc/phosphor-rest-server/commit/6691e7ca4e2adf52bac1fc3a82ed35adfce4349c and https://github.com/openbmc/bmcweb/commit/b79d4eef01f5fd2a24bb8d
Remove 1/0 boolean workaround
With https://github.com/openbmc/phosphor-rest-server/commit/6691e7ca4e2adf52bac1fc3a82ed35adfce4349c and https://github.com/openbmc/bmcweb/commit/b79d4eef01f5fd2a24bb8dd28792810aa718cdee merged, this is no longer needed.
Change-Id: I73393cdb90b4a5dec2c402235059b5fe49e7ade0 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
4ddda586 | 04-Sep-2018 |
Gunnar Mills <gmills@us.ibm.com> |
Move to clang-format-6.0
The docker image moved from clang-format-5.0 to clang-format-6.0.
Change-Id: I3c615d7df1f21569531b4dc2cb0bc4f425cb43f8 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
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 ...
|
5674425b | 03-Aug-2018 |
beccabroek <rebecca.shaw@ibm.com> |
Last power operation
Displays correct power operation time. In the case that there has not been a power operation, 'not available' is displayed.
Resolves openbmc/openbmc#2957
Tested: The GUI displ
Last power operation
Displays correct power operation time. In the case that there has not been a power operation, 'not available' is displayed.
Resolves openbmc/openbmc#2957
Tested: The GUI displayed 'not available' when it received a 0 value and the correct date when an epoch was recieved.
Signed-off-by: beccabroek <rebecca.shaw@ibm.com> Change-Id: I9573a1cdcd31ba4c02888bd46d195c91fdb916a7
show more ...
|
bfc99907 | 24-Jul-2018 |
beccabroek <rebecca.shaw@ibm.com> |
Add Last Reboot Time
Added last reboot date and time to Reboot BMC Page.
Resolves openbmc/openbmc#2956
Tested: Rebooted and verified the date and time were correct.
Change-Id: I81cf46f0ad7f4e910c
Add Last Reboot Time
Added last reboot date and time to Reboot BMC Page.
Resolves openbmc/openbmc#2956
Tested: Rebooted and verified the date and time were correct.
Change-Id: I81cf46f0ad7f4e910cd6645de9830d2952091770 Signed-off-by: beccabroek <rebecca.shaw@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 ...
|
a4ec4679 | 27-Apr-2018 |
Jayashankar Padath <jayashankar.padath@in.ibm.com> |
Update the server power state dynamically in GUI
This uses websocket mechanism to retrieve the server power state and update the same.
Resolves openbmc/openbmc#3102
Tested: Running GUI locally and
Update the server power state dynamically in GUI
This uses websocket mechanism to retrieve the server power state and update the same.
Resolves openbmc/openbmc#3102
Tested: Running GUI locally and verified the following scenarios: - Power on operation from GUI and host command line - Power off operation from host command line - Warm reboot operation from GUI - Cold reboot operation from GUI - Immediate shutdown operation from GUI - Orderly shutdown operation from GUI In all of the above scenarios state change is notified to GUI at right time.
Change-Id: I1c97ae10419078dfe16a1d097082580c29827fb7 Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
show more ...
|
d27bb135 | 24-May-2018 |
Andrew Geissler <geissonator@yahoo.com> |
Format code using clang-format-5.0
Once merged, this repository will have CI enforce the coding guidelines in the .clang-format file.
Change-Id: I96a05972665f9c67625c6850c3da25edc540be06 Signed-off
Format code using clang-format-5.0
Once merged, this repository will have CI enforce the coding guidelines in the .clang-format file.
Change-Id: I96a05972665f9c67625c6850c3da25edc540be06 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
ba5e3f34 | 24-May-2018 |
Andrew Geissler <geissonator@yahoo.com> |
Run js-beautify and fixjsstyle on code
Found this pointer on stackoverflow: https://stackoverflow.com/a/31660434/5508494
End goal is to get the code formatted well enough that clang format will run
Run js-beautify and fixjsstyle on code
Found this pointer on stackoverflow: https://stackoverflow.com/a/31660434/5508494
End goal is to get the code formatted well enough that clang format will run correctly against it.
Change-Id: I80053e78d253d8eee49233e42d55e5807ae8fdc8 Signed-off-by: Andrew Geissler <geissonator@yahoo.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 ...
|