summaryrefslogtreecommitdiffstats
path: root/app/server-control/controllers/remote-console-window-controller.html
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate button stylesYoshie Muranaka2019-06-211-1/+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
* Set SOL Screen dynamicallyYang Cheng2019-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | To make EWS SOL Screen size match the real BIOS console, need to set the screen dynamically. Web page get terminal resolution from config.json and calculate frame width and height base on the resolution and fontsize. Web page use this width and height to change the screen size. If no related configuration in config.json the SOL Screen will keep the original size before this code change. Tested By: Add "customConsoleDisplaySize": {"width": 100, "height": 32} to config.json, and open EWS Server Serial over LAN console page, the size of console client can match 100*32 characters. Set console redirection to 100*32 in BIOS setup page, the page show correctly in this SOL client in EWS. After enter OS, the linux console can show correctly in SOL client. After remove "customConsoleDisplaySize" in config.json, the size of console client in EWS show the same as the code change in this patch. Change-Id: I09bfe4e67db1387abcd57ee3a13b912957cf95b0 Signed-off-by: Yang Cheng <cheng.c.yang@linux.intel.com>
* Remove tabs from HTML filesGunnar Mills2018-09-251-2/+2
| | | | | | | | | | | | 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>
* Switch to xtermbeccabroek2018-09-111-1/+3
| | | | | | | | | | | | | | | | | Switch to xterm from hterm in the GUI, as it supports more encoding styles. Was seeing errors in console thrown by hterm during boot. Also resolves the issue of text wrapping observed in the below issue. Resolves openbmc/openbmc#3262 Tested: Errors are no longer thrown during boot related to encoding. xterm displaying console messages and delivering messages. Change-Id: I9f39c3616d7ff2c1045ff1ad29f603c65784ab30 Signed-off-by: beccabroek <beccabroek@gmail.com>
* SOL console in new window buttonbeccabroek2018-09-101-1/+1
| | | | | | | | | | | | | Created button to open SOL console in new window. Resolves openbmc/openbmc#3153 Tested: Verified that button brings up new window and that SOL console functions in new window. Change-Id: Idf8ff314e9a14cba0820823afd1ce60e4b3bbc4f Signed-off-by: beccabroek <beccabroek@gmail.com>
* Create SOL console directivebeccabroek2018-09-101-4/+3
| | | | | | | | | | | | Created serial-console directive in order to avoid duplicate code between remote-console-controller and remote-console-window-controller. Tested: Verified that SOL console functions as expected after refactor Change-Id: I8cfc8e78cc2325c813e5bef608886859df6b3ab8 Signed-off-by: beccabroek <beccabroek@gmail.com>
* Serial over lan popup functionality addedIftekharul Islam2017-10-091-1/+1
| | | | | Change-Id: If624d4b1858abea7d15ecc54caf78ae1deb38232 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
* new icon and pop-out window for Serial over lanMichael Davis2017-10-091-0/+6
Change-Id: I1722a4fbd1e9ac07162c9732d68dfea283a28aed Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
OpenPOWER on IntegriCloud