mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
better colors
This commit is contained in:
parent
c5c424b447
commit
26a1b3163a
@ -34,6 +34,7 @@ under the License.
|
|||||||
<head>
|
<head>
|
||||||
<title>Test Results</title>
|
<title>Test Results</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font:normal 68% verdana,arial,helvetica;
|
font:normal 68% verdana,arial,helvetica;
|
||||||
color:#000000;
|
color:#000000;
|
||||||
@ -41,10 +42,10 @@ under the License.
|
|||||||
table.details tr th{
|
table.details tr th{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
background:#a6caf0;
|
background:#ffcc00;
|
||||||
}
|
}
|
||||||
table.details tr td{
|
table.details tr td{
|
||||||
background:#eeeee0;
|
background:#eeeeef;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
line-height:1.5em;
|
line-height:1.5em;
|
||||||
@ -57,7 +58,7 @@ under the License.
|
|||||||
margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica
|
margin-top: 1em; margin-bottom: 0.5em; font: bold 125% verdana,arial,helvetica
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
margin-bottom: 0.5em; font: bold 115% verdana,arial,helvetica
|
margin-bottom: 0.5em; color:#0077ff; font: bold 115% verdana,arial,helvetica
|
||||||
}
|
}
|
||||||
h4 {
|
h4 {
|
||||||
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
|
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
|
||||||
@ -69,10 +70,10 @@ under the License.
|
|||||||
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
|
margin-bottom: 0.5em; font: bold 100% verdana,arial,helvetica
|
||||||
}
|
}
|
||||||
.Error {
|
.Error {
|
||||||
font-weight:bold; color:red;
|
font-weight:bold; color:#ff3333;
|
||||||
}
|
}
|
||||||
.Failure {
|
.Failure {
|
||||||
font-weight:bold; color:purple;
|
font-weight:bold; color:#0077ff;
|
||||||
}
|
}
|
||||||
.Properties {
|
.Properties {
|
||||||
text-align:right;
|
text-align:right;
|
||||||
|
@ -10,7 +10,6 @@ def _convert_junit_to_html(junit_path, html_path):
|
|||||||
with open(junit_path) as junit_file:
|
with open(junit_path) as junit_file:
|
||||||
junit_xml = etree.parse(junit_file)
|
junit_xml = etree.parse(junit_file)
|
||||||
transform = etree.XSLT(junit_to_html_xslt)
|
transform = etree.XSLT(junit_to_html_xslt)
|
||||||
print transform(junit_xml)
|
|
||||||
html = etree.tostring(transform(junit_xml), encoding="utf-8")
|
html = etree.tostring(transform(junit_xml), encoding="utf-8")
|
||||||
html_dir = os.path.dirname(html_path)
|
html_dir = os.path.dirname(html_path)
|
||||||
if not os.path.exists(html_dir):
|
if not os.path.exists(html_dir):
|
||||||
|
Loading…
Reference in New Issue
Block a user