summaryrefslogtreecommitdiffstats
path: root/app/server-control/controllers/bmc-reboot-controller.html
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate button stylesYoshie Muranaka2019-06-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Clean up headersbeccabroek2019-02-191-1/+1
| | | | | | | | | | | | | | 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>
* 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 tabs from HTML filesGunnar Mills2018-09-251-24/+24
| | | | | | | | | | | | 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>
* Add Last Reboot Timebeccabroek2018-07-271-7/+1
| | | | | | | | | | | Added last reboot date and time to Reboot BMC Page. Resolves openbmc/openbmc#2956 Tested: Rebooted and verified the date and time were correct. Change-Id: I81cf46f0ad7f4e910cd6645de9830d2952091770 Signed-off-by: beccabroek <rebecca.shaw@ibm.com>
* Do not display the 'BMC last reboot' timeCamVan Nguyen2018-04-131-0/+5
| | | | | | | | | The 'BMC last reboot' time is incorrect. The time shown is the last refresh time instead of the last BMC reboot time. We need to implement a REST call to get the real last reboot time from uptime. Change-Id: I4d0f609f4350563a1809ae119f12727ebd0bf1b1 Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
* Accessibility fixes:Michael Davis2017-10-091-2/+1
| | | | | | | | | - 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>
* Copy and design changes based on user feedbackMichael Davis2017-10-091-26/+27
| | | | | Change-Id: I1371711fa8549375b3ae117dfc99b9234e52b33a Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Text style fixesMichael Davis2017-09-201-2/+2
| | | | | | | Numerous minor style corrections (ex. lower vs upper case) Change-Id: I0c77f590847d4978ac3ffbad82fc2acd481b70f9 Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
* Change navigation structureIftekharul Islam2017-09-201-0/+27
Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18 Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
OpenPOWER on IntegriCloud