summaryrefslogtreecommitdiffstats
path: root/app/common/directives/app-header.html
Commit message (Collapse)AuthorAgeFilesLines
* Create profile settings pageHEADmasterYoshie Muranaka2020-02-111-1/+10
| | | | | | | | 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
* Clean up iconsYoshie Muranaka2019-10-021-16/+23
| | | | | | | | | | | | | | | 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
* Update overview page to use new UI patternsDerick Montague2019-08-121-10/+41
| | | | | | | | | | | | | | | | | | | | - Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC information to accomodate small screen views - Added chevron icons to create consistency between header and server overview page quick links - Changed edit hostname text to use the standard icon - Added OR operator to short circuit the server model, server serial number, and server manufacturer to display N/A if the information is not available Change-Id: I6619f5369ff290555142e85aa432e901c4f93d2d Signed-off-by: Derick Montague <derick.montague@ibm.com>
* Consolidate button stylesYoshie Muranaka2019-06-211-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Resolve accessibility isssuesDerick Montague2019-04-081-6/+6
| | | | | | | | | | | | | | | | | | - Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definition list when appropriate - Add aria-labels and aria-expanded to accordion triggers Tested: Accessibility issues tested in using Lighthouse in Chrome Developer tools Audit section and Dequeue Axe extension. Manually tested clicking on labels set focus on the form elements. Visually tested of the Network Settings page in Chrome, Firefox, and Safari to verify layout changes. Resolves openbmc/phosphor-webui#76 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib974c623e9d3b74e74e1f374c21e8191732ec26a
* Fix layout for responsive design: HeaderRyan Arnell2019-02-151-2/+3
| | | | | | | | | Get rid of "BMC host/IP address" & "server info" text, make the buttons tighter and make more buttons visible in header so that the information is more useful to users in tablet view. Change-Id: I6b4166390b1828fca265e7bb56f51106b4e6f21b Signed-off-by: Ryan Arnell <iffy.ryan@ibm.com>
* fix date/time representation in national localesAlexander Filippov2018-12-071-1/+1
| | | | | | | | | | | | | | | | | 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>
* Remove multi-server controllerGunnar Mills2018-10-231-4/+1
| | | | | | | | | | | | | | | | | 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>
* Remove tabs from HTML filesGunnar Mills2018-09-251-29/+29
| | | | | | | | | | | | 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>
* Remove multi-server controllerGunnar Mills2018-05-231-4/+1
| | | | | | | | | | After logging in the GUI was trying to load multi-server-recent-controller.html. Resolves openbmc/openbmc#3194 Change-Id: I109af0a9a94d0e0f3729d383473be43de91bb22f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Remove Web UI versionGunnar Mills2018-05-171-1/+1
| | | | | | | | | No reason to manage a version number separately from the overall project. Remove the version and rename the element. Based on feedback on https://gerrit.openbmc-project.xyz/#/c/10364/. Change-Id: I055445db8bdda36dc408c057132e6e69b8935a6b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Move last refresh time format to 'medium'Gunnar Mills2018-05-041-1/+1
| | | | | | | | | | | | | | | | From https://docs.angularjs.org/api/ng/filter/date: "'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 PM)" This is a similar format as to what was present on the GUI before for en_US. Letting the browser choose the format, is important. Still displayed in user's timezone. Before: 1:52:11 May 01 2018 After: May 1, 2018 1:52:11 PM Change-Id: Iff2769a22125b1ea4f6f375a6b2b6866438149c5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Display red 'error' icon for Error stateCamVan Nguyen2018-05-041-1/+1
| | | | | | | | | | - 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>
* Changing the text Quiesced to ErrorIftekharul Islam2018-03-271-1/+1
| | | | | | | | | | 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>
* BMC IP changed to BMC host/IP and corrected the value truncation in webgui.Jayashankar Padath2018-03-091-1/+1
| | | | | | | | | | Resolves openbmc/openbmc#2894 Tested: Running GUI locally and verified the new texts. Also made sure that value truncation is not happening. Change-Id: Ic3947b36ef83fe5cb37190a848c85156cc072afd Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
* Remove trailing spaces from filesGunnar Mills2018-03-051-1/+1
| | | | | | Tested: Manually tested GUI for any regressions Change-Id: I8c0922b7bd67b03b07e8880bc4dba3b862220b33 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Remove reference to IBM in phosphor-webuiEd Tanous2017-11-071-1/+1
| | | | | | | | | | | | | | | | As phosphor webui is supposed to be the reference implementation, it should not reference IBM, nor have IBM copywritten logos contained within it. If these are neccesary for IBM platforms, they should be done in a bbappend in the bitbake layer, or in a way that doesn't put copywritten materials on BMCs that may not have permission to use and release it. I'm hoping to generate ddiscussion on how the best way to handle this from a build perspective would be, but for now, references should be to the OpenBmc project, not IBM to avoid copyright issues. Change-Id: I73efda399e967ca4446b8df403e94e14ab24aff8 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* Modernize web GUI and make it installable on BMCEd Tanous2017-11-061-2/+2
| | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | 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>
* Updating images and stlesIftekharul Islam2017-11-021-2/+1
| | | | | | | Updating images and styles after code merge conflicts Change-Id: I96490926caa41d13e4d625ff67f6a463d7819d34 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* alignment fix for sensor readingsMichael Davis2017-10-091-0/+1
| | | | | Change-Id: I6316956206b675b931c4ed88fb237928ab3eeecf Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Changing the server name from Quiesced to Standby in header and power ↵Iftekharul Islam2017-10-091-2/+2
| | | | | | | operation page Change-Id: I5a2358fa4783a58d1d6ab73f9901e1f8fa2f54a8 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* changed Quiesced term to Standby based on feedbackMichael Davis2017-10-091-1/+1
| | | | | Change-Id: I8f02249ccdfd0eaddc6c7e566335b706b9542959 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* multi-server changes and prototype additionsMichael Davis2017-10-091-19/+32
| | | | | Change-Id: Icfdf19205bc4123ebd1bea086f01323ec41b4685 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Server health icon status on header fixedIftekharul Islam2017-10-091-1/+1
| | | | | Change-Id: I06100d8ffe9e26129585ca9476fa7097ef34a6b4 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* made server info a slide out drawer at smaller resolutionsMichael Davis2017-10-091-4/+5
| | | | | Change-Id: Ie11792db8bedbf693ba5eea87f84b282a878a16a Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixing minor icon changesMichael Davis2017-10-091-1/+1
| | | | | Change-Id: Ib7840ac31d7e50fbdd19f6663797d8ac2577045b Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Updated hostname and mac address with correct api path in server dashboardIftekharul Islam2017-10-091-1/+1
| | | | | Change-Id: I2661a7234a288d7fed60461580fa1845a5d712b6 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Added loader and updated GUI text and style changes from MichaelIftekharul Islam2017-10-091-1/+1
| | | | | Change-Id: Id4f8d96b10e429ca469c6169741588dbcc4b5c7a Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Accessibility fixes:Michael Davis2017-10-091-2/+2
| | | | | | | | | - changed buttons to spans since not being used in forms - added aria roles to html elements - changed low contrast colors Change-Id: I56e784b226baa7f9b24346446a0a023fcea633d4 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* fixed code to display proper icon when server is in off state.Michael Davis2017-10-091-2/+2
| | | | | Change-Id: Iad633b0986bf37ce63943ab64fdc3279bd419180 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Header and nav changes based on user feedback.Michael Davis2017-10-091-1/+1
| | | | | | | | | | - 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>
* header bar changed to white with gray buttons based from visual design changes.Michael Davis2017-10-091-7/+10
| | | | | Change-Id: I222d6043a1f3fdddb1c6e8aef190b15a00aea2d6 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* removed meaningless comment about status-light classMichael Davis2017-09-201-1/+0
| | | | | Change-Id: I8cafc43a8abd435e657a06d700718e8df9a50d43 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Change navigation structureIftekharul Islam2017-09-201-4/+3
| | | | | Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
* Major update to code structureIftekharul Islam2017-09-201-0/+19
* 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