summaryrefslogtreecommitdiffstats
path: root/app/common/directives/app-header.js
Commit message (Collapse)AuthorAgeFilesLines
* Create profile settings pageHEADmasterYoshie Muranaka2020-02-111-0/+2
| | | | | | | | Adding a profile settings page so readonly and operator roles are able to change their own password. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iee9536255ad47f4df4af8746c1e01da37c407f2b
* Fix app header template rendering in SafariYoshie Muranaka2019-08-221-40/+46
| | | | | | | | | | Add 'connect-src' directive to Content Security Policy to allow WebSocket connection. Added additional error handling when Websocket connection refused. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I83cfaa0b314099aea57ee7f2be75a0658462b2a9
* WebUI system logs implementationAppaRao Puli2019-03-191-0/+13
| | | | | | | | | | | | | | | | | | | | This commit implements the webui logs page which will show all system logs depends on user selection( SEL or Event or Oem). This is based out of redfish systems log services. - View logs with pagination. - Search filter for logs view. - Sort option with Type, Id, Severity, Date. - Clear logs. - Export logs. UnitTest: - Existing bmcweb send the system logs of EntryType "Event". So Loaded UI, selected Type "Event" and validated all the above mentioned operations. Change-Id: I0384e475f7913ca66b6db5d64831583fb382f8d5 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
* Remove multi-server controllerGunnar Mills2018-10-231-4/+0
| | | | | | | | | | | | | | | | | Removed all pages associated with the multi-server feature. Before, this page was visible at /multi-server/overview. This page is not used and there is a lot of work to get multi-server working. There was also a lot of hardcoded values in the multi-server controllers. This code could still be used in the future by looking at the git history or checking out an earlier tag. Removing these controllers saves us a few KBs in the image. Tested: Manual regression testing on a Witherspoon. Change-Id: Ic2f727a80404291338a66cde4857cf1f4ad228b2 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Move to clang-format-6.0Gunnar Mills2018-09-041-1/+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>
* Fixed spelling errorsRebecca Shaw2018-07-191-1/+1
| | | | | Change-Id: I4b668b6246508d3bedda75ca179da1615516bad4 Signed-off-by: Rebecca Shaw <rebecca.shaw@ibm.com>
* Update the server power state dynamically in GUIJayashankar Padath2018-06-281-0/+43
| | | | | | | | | | | | | | | | | | | 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>
* Avoid unexpected error displays from web guiJayashankar Padath2018-06-071-1/+1
| | | | | | | | | | | | | | | | | Unexpected error is seen from the web gui due to the connection loss during below known scenarios: 1. Initiating Reboot BMC from web gui 2. Restart of the nginx service 3. Trying to login to the web gui after a long idle time Fix avoids unexpected error display from web gui. Resolves openbmc/openbmc#3211 Tested: Running GUI locally and verified that unexpected error is not coming when BMC reboots Change-Id: I93974c53ab4fb414b938229d39fdf872b45a3e2c Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
* Format code using clang-format-5.0Andrew Geissler2018-05-241-30/+36
| | | | | | | | 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-80/+84
| | | | | | | | | | | 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 fixes for power operationsCamVan Nguyen2018-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Add fixes for cold rebootIftekharul Islam2018-04-191-1/+3
| | | | | | | | | | | | | | | | 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>
* Refresh current page when refresh hitAndrew Geissler2018-04-121-2/+4
| | | | | | | | | | | | | This will refresh all controller data on the current page. Testing: Verified firmware and network settings were updated when refresh button was hit. Resolves openbmc/openbmc#2927 Change-Id: I1e16c3d4a9cd0947b46bb0c9856062e549e0ba6e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Fix refresh for event log pageIftekharul Islam2018-03-291-1/+1
| | | | | | | | | | | | | | Coded the refresh button in log page so that upon clicking on it will run the rest command to get the latest event log data. This sample code can be used to fetch the relevant data for other pages when refresh button is clicked. Fixes openbmc/openbmc#3009 Change-Id: Iefdc3f77895881df44238142148eb298663c3b5a Signed-off-by: Iftekharul Islam <iffy.ryan@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>
* multi-server changes and prototype additionsMichael Davis2017-10-091-0/+4
| | | | | Change-Id: Icfdf19205bc4123ebd1bea086f01323ec41b4685 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Server health icon status on header fixedIftekharul Islam2017-10-091-6/+15
| | | | | Change-Id: I06100d8ffe9e26129585ca9476fa7097ef34a6b4 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* Updated hostname and mac address with correct api path in server dashboardIftekharul Islam2017-10-091-1/+13
| | | | | Change-Id: I2661a7234a288d7fed60461580fa1845a5d712b6 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Header and nav changes based on user feedback.Michael Davis2017-10-091-0/+8
| | | | | | | | | | - Changed "page last refreshed" label to "Data last refreshed" - Changed "Configuration" label to "Server Configuration" - adding flashing of header timestamp on click of "refresh" button - moved "Server LED" under Server Configuration Change-Id: I9971fd96da94514a7edc8e4977591c4de85f70c9 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Major update to code structureIftekharul Islam2017-09-201-0/+57
* Split files into independent files based on functionality. * Switch to bower/gulp for build. Change-Id: Ibc775dd9b7f6a0a49f63c22162b7582e781e2d9c Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
OpenPOWER on IntegriCloud