Making pretty printed log look normal again. Issue #6

This commit is contained in:
Rob Vermaas 2012-04-30 20:22:03 +02:00
parent 437e59c4a8
commit eb51065a16
3 changed files with 9 additions and 3 deletions

View file

@ -12,6 +12,7 @@
<title>Hydra - [% title %]</title> <title>Hydra - [% title %]</title>
<link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css" type="text/css" /> <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css" type="text/css" />
<link rel="stylesheet" href="/static/css/hydra.css" type="text/css" /> <link rel="stylesheet" href="/static/css/hydra.css" type="text/css" />
<link rel="stylesheet" href="/static/css/logfile.css" type="text/css" />
<style> <style>
body { body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */

View file

@ -1,3 +1,8 @@
.buildlog {
border: 1px solid black;
padding: 0.3em;
}
ul.nesting, ul.toplevel { ul.nesting, ul.toplevel {
padding: 0; padding: 0;
margin: 0; margin: 0;
@ -90,6 +95,6 @@ em.storeref:hover span.popup {
font-style: italic; font-style: italic;
} }
code { .code {
white-space: pre-wrap; white-space: pre-wrap;
} }

View file

@ -61,7 +61,7 @@
<xsl:template match="head|line"> <xsl:template match="head|line">
<code> <div class="code">
<xsl:if test="@error"> <xsl:if test="@error">
<xsl:attribute name="class">errorLine</xsl:attribute> <xsl:attribute name="class">errorLine</xsl:attribute>
</xsl:if> </xsl:if>
@ -72,7 +72,7 @@
<xsl:attribute name="class">prio3</xsl:attribute> <xsl:attribute name="class">prio3</xsl:attribute>
</xsl:if> </xsl:if>
<xsl:apply-templates/> <xsl:apply-templates/>
</code> </div>
</xsl:template> </xsl:template>