Confirm changing priority on all priority changes

Before the confirm priority change modal would only appear if
the user is changing the priority from priority "1" to "0"
or priority "0" to "1".

This doesn't work because if two images existed, a
"functional" priority "1" image and an "active" priority
"2" image the confirm would not appear on a priority change
and it should.

I believe this logic came from the belief that the "functional"
image is always priority "0" and therefore only display
this confirm when the "functional" image is affected by the
change. The functional image is not always priority "0" and
with only 2 "active" images supported (only "active" images have
a priority) (the "functional" image is an "active" image) all
priority changes affect the functional image so adding this
confirm for all priority changes.

Tested: See this confirm on every priority change.
Change-Id: Icd113686f15a2e82ead72d04677335ee635cf668
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed
tree: 6a40a4526a1092d8128c826001f1f52c40d20790
  1. app/
  2. gulp_tasks/
  3. .babelrc
  4. .gitignore
  5. bower.json
  6. gulp-options.js
  7. gulpfile.js
  8. karma.conf.js
  9. LICENSE
  10. package.json
  11. postcss.config.js
  12. README.md
  13. sonar-project.properties
  14. webpack.config.js
README.md

openbmc

UX Design repo for OpenBMC

OpenBMC

TODO: Write a project description

Requirement

nodejs npm

Installation

npm install

Running

npm run-script server

This will run it locally in http://localhost:8080.

Example Usage with OpenBMC

  1. Browse to https://<bmc-ip> and bypass the secure warning. You will see a JSON response with Login required message.
  2. In the same session, navigate to http://localhost:8080. Enter the BMC IP, Username and Password (defaults: root/0penBmc).

Now you are logged in.