Skip to content
Snippets Groups Projects
Commit 0ccdb786 authored by Eva Schiffer's avatar Eva Schiffer
Browse files

apply css style to gui reports

parent 313537a5
No related branches found
No related tags found
No related merge requests found
......@@ -13,33 +13,37 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved.
<html><head><meta charset="utf-8">
<head>
<title>${self.title()}</title>
<style>
th.l { text-align: left; }
td.n,th.n { text-align: right; }
body { font-family: sans-serif; }
h4 { margin-bottom: 0; }
tr th { background-color: white; }
tr:nth-child(even) { background-color: #EEE; }
table { border-collapse: collapse; }
td, th { padding-left: 0.5em; padding-right: 0.5em; }
.testfail,.testpass {
display: inline-block;
border: 4px solid black;
text-align: center;
width: 1.15em;
max-width: 1.15em;
height: 1.15em;
max-height: 1.15em;
font-size: 3em;
font-weight: bold;
}
.testfail {
color: #F00;
}
.testpass {
color: #0F0;
}
</style>
<%block name="cssStyle">
<style>
th.l { text-align: left; }
td.n,th.n { text-align: right; }
body { font-family: sans-serif; }
h4 { margin-bottom: 0; }
tr th { background-color: white; }
tr:nth-child(even) { background-color: #EEE; }
table { border-collapse: collapse; }
td, th { padding-left: 0.5em; padding-right: 0.5em; }
.testfail,.testpass {
display: inline-block;
border: 4px solid black;
text-align: center;
width: 1.15em;
max-width: 1.15em;
height: 1.15em;
max-height: 1.15em;
font-size: 3em;
font-weight: bold;
}
.testfail {
color: #F00;
}
.testpass {
color: #0F0;
}
</style>
</%block>
</head>
<body>
......
......@@ -23,6 +23,8 @@ Copyright (c) 2021 University of Wisconsin SSEC. All rights reserved.
<%block name="htmlContent">
${self.cssStyle()}
<h2>${self.title()}</h2>
${self.attrsInfo()}
......
......@@ -32,6 +32,8 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved.
<%block name="htmlContent">
${self.cssStyle()}
<h2>${self.title()}</h2>
${self.stats()}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment