Revision Date Author Comments
# 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 lon

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 ...


# 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 fil

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 ...


# 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 <yoshi

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 sho

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 ...


# 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
- Replace

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 ...


# 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 st

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 ...


# 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.

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 ...


# 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-

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://git

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 ...


# 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 s

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 ...


# 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 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 w

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 ...


# 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#295

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 ...


# 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/openbm

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 ...


# d80c280b 17-Apr-2018 CamVan Nguyen <ctnguyen@us.ibm.com>

Add fixes for power operations

Fixes applies to 'Power on', 'Warm reboot', 'Orderly shutdown',
and 'Immediate shutdown' power operations. Fixes include:

- Verifying that the cha

Add fixes for power operations

Fixes applies to 'Power on', 'Warm reboot', 'Orderly shutdown',
and 'Immediate shutdown' power operations. Fixes include:

- Verifying that the chassis and host transition through the
expected states for each power operation. During which time
a spinner will be displayed. A timeout of 5 minutes for each
state transition has been added.
- Displaying the current state of the host in the 'Server power'
and 'Current status' bar. The state displayed will change as
the host transition through different states even as the
spinner continues to spin.
- Displaying an error pop-up with reason for failure when the
power operation fails.

Resolves openbmc/openbmc#2758
Resolves openbmc/openbmc#2787
Resolves openbmc/openbmc#2803

Change-Id: I514e030f9df7bd4d8b53634408f0449cd9abada9
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>

show more ...


# a1d238f3 26-Feb-2018 Iftekharul Islam <iffy.ryan@ibm.com>

Add fixes for cold reboot

This fixes the cold reboot issue with the following steps

- It applies the command to shut off the chassis.
- Then verify the chassis is off. It checks

Add fixes for cold reboot

This fixes the cold reboot issue with the following steps

- It applies the command to shut off the chassis.
- Then verify the chassis is off. It checks for every 5 seconds.
During this time the spinner displays. A 5min timeout has been
added.
- Once the chassis is off, it turns on the host.

fixes openbmc/openbmc#2795

Change-Id: I119a1c95e57c10ccee27be1512a1fc38cde307fa
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>

show more ...


# b028b4c2 11-Apr-2018 CamVan Nguyen <ctnguyen@us.ibm.com>

Do not display the 'Last power operation' time

The 'Last power operation' time is incorrect. The time shown is
the last refresh time instead of the last time a power operation
was pe

Do not display the 'Last power operation' time

The 'Last power operation' time is incorrect. The time shown is
the last refresh time instead of the last time a power operation
was performed. We need to implement a REST call and back-end
support to get the correct time of the last power operation.

Change-Id: Ic81edf22bd3450b2558b66b7f911634122f86da0
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>

show more ...


# 7a5ce461 21-Mar-2018 Iftekharul Islam <iffy.ryan@ibm.com>

Changing the text Quiesced to Error

As per discussion here openbmc/openbmc#2925
Changing the text Quiesced to Error

Fixes openbmc/openbmc#2925

Change-Id: Icd360a91335c8

Changing the text Quiesced to Error

As per discussion here openbmc/openbmc#2925
Changing the text Quiesced to Error

Fixes openbmc/openbmc#2925

Change-Id: Icd360a91335c8dd77cfbde4faa868cce6a286e64
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>

show more ...


# 0d028015 23-Feb-2018 Iftekharul Islam <iffy.ryan@ibm.com>

Add appropriate message during server unreachable state

When system state is in Unreachable,
there is no option under "Select a power operation.
Adding the appropriate message accord

Add appropriate message during server unreachable state

When system state is in Unreachable,
there is no option under "Select a power operation.
Adding the appropriate message according
to the discussion in the fixes link below.

fixes openbmc/openbmc#2843

Change-Id: Id0d1d74b2bb7012f1cb085262f5c0d2fece2ea62
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>

show more ...


# bbcf670a 06-Oct-2017 Ed Tanous <ed.tanous@intel.com>

Modernize web GUI and make it installable on BMC

1. Move from gulp server to webpack. This allows the proper
compression to allow the webui to be embedded in the BMC.
2. Update js p

Modernize web GUI and make it installable on BMC

1. Move from gulp server to webpack. This allows the proper
compression to allow the webui to be embedded in the BMC.
2. Update js paths to use requires, not hardcoded paths. This was
required to make the packaging work correctly.
3. Add babel config to do translation.
4. Update angularjs directive calls to use the angular 1.6 syntax for
promises intead of success and fail.

https://docs.angularjs.org/guide/migration#migrate1.5to1.6-ng-services-$http

5. As a consequence of using NPM/webpack, the versions of angular and
associated modules that were checked in have been updated.

Change-Id: Icb71e2eedb0d9a8943fc914f9dc4be11d0983c00
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


# db28a387 02-Nov-2017 Iftekharul Islam <iffy.ryan@ibm.com>

Updating images and stles

Updating images and styles after code merge conflicts

Change-Id: I96490926caa41d13e4d625ff67f6a463d7819d34
Signed-off-by: Iftekharul Islam <iffy.ryan@i

Updating images and stles

Updating images and styles after code merge conflicts

Change-Id: I96490926caa41d13e4d625ff67f6a463d7819d34
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>

show more ...


# 5912f757 11-Sep-2017 Iftekharul Islam <iffy.ryan@ibm.com>

Changing the server name from Quiesced to Standby in header and power operation page

Change-Id: I5a2358fa4783a58d1d6ab73f9901e1f8fa2f54a8
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.c

Changing the server name from Quiesced to Standby in header and power operation page

Change-Id: I5a2358fa4783a58d1d6ab73f9901e1f8fa2f54a8
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>

show more ...


# 6ca92edc 06-Sep-2017 Iftekharul Islam <iffy.ryan@ibm.com>

Add hostname as well as server name in power operations status bar

Change-Id: I5eda360b9528eb9f61dd6783f4a73ee37b697d34
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>


# 78453481 28-Aug-2017 Michael Davis <michael.s.davis@ibm.com>

changed quiesced term to Standby based on user feedback

Change-Id: I16a067362d425e955213c40d698e048c6842647d
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>


# 706b75b3 18-Aug-2017 Michael Davis <michael.s.davis@ibm.com>

accessibility fixes and minor css changes.

- added aria-hidden = "true" to prevent icons to be read by screen readers
- moved code on pages into "page-header" for better consistency

accessibility fixes and minor css changes.

- added aria-hidden = "true" to prevent icons to be read by screen readers
- moved code on pages into "page-header" for better consistency

Change-Id: I3f497b2707991f7f628892a05734eea183a0d01d
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>

show more ...


12