AC-1294 reworked standard out page to support custom scroll bar. Removed use of <pre> elment by parsing the inbound HTML and isolating the style sheet and the job output. Those are now inserted into styled <div> elements, giving the UI better control. The page now listens to the web socket server and refreshes whenver an event happens for the job. On an event the <div> element refreshes and automatically scrolls to the bottom.

This commit is contained in:
chouseknecht
2014-05-21 17:29:16 -04:00
parent 35521cbdc8
commit e5ee7e5383
12 changed files with 103 additions and 46 deletions
+5 -2
View File
@@ -1,6 +1,6 @@
<div class="tab-pane" id="jobs-stdout">
<div ng-cloak id="htmlTemplate">
<div class="row">
<div id="breadcrumb-container" class="col-md-12" style="position: relative;">
<div class="nav-path">
@@ -16,7 +16,10 @@
<div class="row">
<div class="col-md-12">
<iframe id="stdout-iframe"></iframe>
<div id="style-sheet-container"></div>
<div id="pre-container" class="body_background body_foreground pre mono-space" aw-custom-scroll data-scroll-theme="light-thin">
<div id="pre-container-content"></div>
</div>
</div>
</div>
</div>