Use a span instead of a div in the pretty logs

[?]
Apr 30, 2012, 7:32 PM
3JCIP7EZEYCLFC3KGMZDE3DTVX4H4AMLXXBEKSX33BFFZASMYGZQC

Dependencies

  • [2] QU5QJUKC * hydra: add warningLine class to log lines with warning attribute
  • [3] YNHNVV3H Making pretty printed log look normal again. Issue #6
  • [4] GN3JXNQS
  • [5] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [6] 6JGCGK5X
  • [7] BA46C5LN * Pretty-print the logs.
  • [8] 4JPNFWRB * Use jquery for the logfile manipulation.
  • [9] GCHNNFZP
  • [10] D5Z5M4MA
  • [11] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in src/root/layout.tt at line 64
    [4.945][4.945:1027]()
    $(".logTreeToggle", $(this).siblings(".toplevel")).map(function() {
    [4.945]
    [4.1027]
    $(".logTreeToggle", $(this).parent().siblings(".toplevel")).map(function() {
  • replacement in src/root/layout.tt at line 72
    [4.1257][4.1257:1339]()
    $(".logTreeToggle", $(this).siblings(".toplevel")).map(function() {
    [4.1257]
    [4.1339]
    $(".logTreeToggle", $(this).parent().siblings(".toplevel")).map(function() {
  • edit in src/root/static/css/logfile.css at line 84
    [4.1894]
    [4.3478]
    span.code {
    white-space: pre-wrap;
    font-family: monospace;
    }
  • edit in src/root/static/css/logfile.css at line 102
    [4.1484][4.0:1](),[4.1][3.143:151](),[3.151][4.8:35](),[4.8][4.8:35](),[4.35][4.5735:5737]()
    .code {
    white-space: pre-wrap;
    }
  • replacement in src/xsl/log2html.xsl at line 10
    [4.3767][4.1485:1625]()
    [<a href="javascript:" class="logTreeExpandAll">Expand all</a>]
    [<a href="javascript:" class="logTreeCollapseAll">Collapse all</a>]
    [4.3767]
    [4.3767]
    <p>
    <a href="javascript:" class="btn btn-info logTreeExpandAll"><i class="icon-plus icon-white"></i> Expand all</a>
    <xsl:text> </xsl:text>
    <a href="javascript:" class="btn btn-info logTreeCollapseAll"><i class="icon-minus icon-white"></i> Collapse all</a>
    </p>
  • replacement in src/xsl/log2html.xsl at line 67
    [4.5552][3.152:175]()
    <div class="code">
    [4.5552]
    [4.5563]
    <span class="code">
  • replacement in src/xsl/log2html.xsl at line 69
    [4.5592][4.3492:3554]()
    <xsl:attribute name="class">errorLine</xsl:attribute>
    [4.5592]
    [4.5650]
    <xsl:attribute name="class">code errorLine</xsl:attribute>
  • replacement in src/xsl/log2html.xsl at line 72
    [2.31][2.31:95]()
    <xsl:attribute name="class">warningLine</xsl:attribute>
    [2.31]
    [2.95]
    <xsl:attribute name="class">code warningLine</xsl:attribute>
  • replacement in src/xsl/log2html.xsl at line 75
    [4.280][4.280:338]()
    <xsl:attribute name="class">prio3</xsl:attribute>
    [4.280]
    [4.338]
    <xsl:attribute name="class">code prio3</xsl:attribute>
  • replacement in src/xsl/log2html.xsl at line 78
    [4.5695][3.176:187]()
    </div>
    [4.5695]
    [4.5707]
    </span>