summaryrefslogtreecommitdiffstats
path: root/app/common/directives/firmware-list.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue about menu not disappearing on firmware pageRyan Arnell2018-12-211-0/+5
| | | | | | | | | | | In firmware update page "More info” dialog did not disappear until it is clicked again. With this push users can click anywhere outside the menu and it disappears. Resolves openbmc/phosphor-webui#32 Change-Id: I1519caf2428c702af03fb0e4dd8a08d0c0588abf Signed-off-by: Ryan Arnell <iffy.ryan@ibm.com>
* Format code using clang-format-5.0Andrew Geissler2018-05-241-22/+22
| | | | | | | | 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>
* Run js-beautify and fixjsstyle on codeAndrew Geissler2018-05-241-28/+28
| | | | | | | | | | | 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>
* Add server confirm activation modalGunnar Mills2018-03-291-2/+2
| | | | | | | | | | | | | Added text specific to server images that appears in the activation modal when a "server" image is activated. The "server" and "BMC" images use the same modal, but the text and if radio buttons appear differ. Resolves openbmc/openbmc#2967 Tested: Activated both a server and BMC image on a Witherspoon. Change-Id: I83693641ebfef802d403141ade55a950f359ba6e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Move from "Preserve settings" to "Confirm Activation"Gunnar Mills2018-03-291-2/+2
| | | | | | | | | | | | | | | | | The "Preserve settings" popup that showed when a user activated an image was not useful and did not do anything. Saving network settings prior to activation is not needed so moved to a "Confirm Activation" modal. This modal will eventually include an "activate BMC firmware and reboot" selection, openbmc/openbmc#3027, for now it only holds the one selection. The "Preserve settings" and now this "Confirm Activation" modal both appear on "server" and "BMC" images, this is a bug that is fixed in a later commit. Tested: Activated an image on a Witherspoon machine. Change-Id: I7176d5a314ea325e6e94606ef07b32786ede64e9 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Display the version when confirming "Delete"Gunnar Mills2018-03-051-2/+2
| | | | | | | | | | | When confirming an image delete the GUI now displays "Delete firmware v2.0-165-ge571670?" Resolves openbmc/openbmc#2961 Tested: Confirmed text is correct and delete works Change-Id: Iad23908fbafc9514044be7770d269e723b35cb58 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Display Version when confirming changing priorityGunnar Mills2018-03-051-3/+3
| | | | | | | | | | | | | | | | | Before the GUI displayed when changing the priority: "Change firmware e129c45b priority?" It now displays: "Change firmware v2.0-165-ge571670 priority?" This is important since the user never sees the image ID (e.g. e129c45b) and always sees the image version (e.g. v2.0-165-ge571670). Tested: confirmed text is correct and change priority works Change-Id: Ie9403aaade8a307b6de54feef20adc2b04e2b80b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Modernize web GUI and make it installable on BMCEd Tanous2017-11-061-1/+1
| | | | | | | | | | | | | | | | | | | 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>
* Updating login structureIftekharul Islam2017-11-021-0/+4
| | | | | | | Updated login structure with a field where user can manually add server hostname if it is not populated automatically Change-Id: I147c2c15869131540e327bda26c05b59d78e01d5 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Implement firmware upload functionIftekharul Islam2017-09-201-0/+28
Change-Id: Ie89793ec9add1fc9e5241b422cfff64784f7b078 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
OpenPOWER on IntegriCloud