Simplify the log tree implementation a bit
[?]
Feb 19, 2013, 4:14 PM
O3CGTZFGRKSPLHSOIVYZOWWKF3YTAMIOMDZAMUTQL5R2JQXCK5BQCDependencies
- [2]
3JCIP7EZUse a span instead of a div in the pretty logs - [3]
RP6WDKE2 - [4]
BA46C5LN* Pretty-print the logs. - [5]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [6]
US27ZTX5* HydraFrontend -> Hydra. - [7]
GN3JXNQS - [8]
4JPNFWRB* Use jquery for the logfile manipulation. - [9]
D5QIOJGP* Move everything up one directory. - [10]
QU5QJUKC* hydra: add warningLine class to log lines with warning attribute - [11]
YNHNVV3HMaking pretty printed log look normal again. Issue #6 - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- replacement in src/root/layout.tt at line 37
$(".logTreeToggle").map(function() {$(".tree-toggle").map(function() { - replacement in src/root/layout.tt at line 46
$(".logTreeToggle").click(function() {$(".tree-toggle").click(function() { - replacement in src/root/layout.tt at line 57
$(".logTreeExpandAll").click(function() {$(".logTreeToggle", $(this).parent().siblings(".toplevel")).map(function() {$(".tree-expand-all").click(function() {$(".tree-toggle", $(this).parent().siblings(".tree")).map(function() { - replacement in src/root/layout.tt at line 65
$(".logTreeCollapseAll").click(function() {$(".logTreeToggle", $(this).parent().siblings(".toplevel")).map(function() {$(".tree-collapse-all").click(function() {$(".tree-toggle", $(this).parent().siblings(".tree")).map(function() { - edit in src/root/static/css/logfile.css at line 5
- replacement in src/root/static/css/logfile.css at line 7
ul.nesting, ul.toplevel {ul.tree, ul.subtree { - edit in src/root/static/css/logfile.css at line 10
}ul.toplevel { - edit in src/root/static/css/logfile.css at line 11
}.line, .head {padding-top: 0em; - replacement in src/root/static/css/logfile.css at line 13
ul.nesting li.line, ul.nesting li.lastline {/* Indent each tree level. */li.tree-line { - edit in src/root/static/css/logfile.css at line 16
list-style-type: none;}ul.nesting li.line { - replacement in src/root/static/css/logfile.css at line 19
ul.nesting li.lastline {padding-left: 2.1em; /* for the 0.1em border-left in .lastline > .lineconn */li.tree-line:last-child {padding-left: 2.1em; /* for the 0.1em border-left in the last child */ - replacement in src/root/static/css/logfile.css at line 23
li.line {/* Draw vertical tree lines next to all children except the last. */li.tree-line { - replacement in src/root/static/css/logfile.css at line 28
li.line > span.lineconn, li.lastline > span.lineconn {li.tree-line:last-child {border-left: 0;}/* Draw horizontal tree lines to all children. */span.tree-conn { - replacement in src/root/static/css/logfile.css at line 41
li.lastline > span.lineconn {/* Draw the vertical tree line to the last child. */li.tree-line:last-child > span.tree-conn { - edit in src/root/static/css/logfile.css at line 44
}.tree-toggle {text-decoration: none;font-family: monospace;font-size: larger; - replacement in src/root/static/css/logfile.css at line 55
position: relative;position: relative; - edit in src/root/static/css/logfile.css at line 80
- edit in src/root/static/css/logfile.css at line 81[3.1777]→[3.1464:1481](∅→∅),[3.1481]→[3.1787:1814](∅→∅),[3.1787]→[3.1787:1814](∅→∅),[3.1840]→[3.1840:1893](∅→∅)
.logTreeToggle {text-decoration: none;font-family: monospace;font-size: larger;} - replacement in src/xsl/log2html.xsl at line 11
<a href="javascript:" class="btn btn-info logTreeExpandAll"><i class="icon-plus icon-white"></i> Expand all</a><a href="javascript:" class="btn btn-info tree-expand-all"><i class="icon-plus icon-white"></i> Expand all</a> - replacement in src/xsl/log2html.xsl at line 13
<a href="javascript:" class="btn btn-info logTreeCollapseAll"><i class="icon-minus icon-white"></i> Collapse all</a><a href="javascript:" class="btn btn-info tree-collapse-all"><i class="icon-minus icon-white"></i> Collapse all</a> - replacement in src/xsl/log2html.xsl at line 15
<ul class='toplevel'><ul class='tree'> - replacement in src/xsl/log2html.xsl at line 24
- replacement in src/xsl/log2html.xsl at line 32
- replacement in src/xsl/log2html.xsl at line 37
<a href="javascript:" class="logTreeToggle"></a><a href="javascript:" class="tree-toggle"></a> - replacement in src/xsl/log2html.xsl at line 40
- replacement in src/xsl/log2html.xsl at line 45
<ul class='nesting' style="{$style}"><ul class='subtree' style="{$style}"> - replacement in src/xsl/log2html.xsl at line 48
<!-- Is this the last line? If so, mark it as such so that itcan be rendered differently. --><xsl:variable name="class"><xsl:choose><xsl:when test="position() != last()">line</xsl:when><xsl:otherwise>lastline</xsl:otherwise></xsl:choose></xsl:variable><li class='{$class}'><span class='lineconn' /><span class='linebody'><xsl:apply-templates select='.'/></span><li class='tree-line'><span class='tree-conn' /><xsl:apply-templates select='.'/> - replacement in src/xsl/log2html.xsl at line 55
- replacement in src/xsl/log2html.xsl at line 58
- replacement in src/xsl/log2html.xsl at line 74
- replacement in src/xsl/log2html.xsl at line 81