Robot Framework Integrated Development Environment (RIDE)
htmltemplate.py
Go to the documentation of this file.
1
# Copyright 2008-2015 Nokia Networks
2
# Copyright 2016- Robot Framework Foundation
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
7
#
8
# http://www.apache.org/licenses/LICENSE-2.0
9
#
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15
16
TEMPLATE_START =
"""\
17
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
18
<html>
19
<head>
20
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
21
<style type="text/css">
22
html {
23
font-family: Arial,Helvetica,sans-serif;
24
background-color: white;
25
color: black;
26
}
27
table {
28
border-collapse: collapse;
29
empty-cells: show;
30
margin: 1em 0em;
31
border: 1px solid black;
32
}
33
th, td {
34
border: 1px solid black;
35
padding: 0.1em 0.2em;
36
height: 1.5em;
37
width: 12em;
38
}
39
td.colspan4, th.colspan4 {
40
width: 48em;
41
}
42
td.colspan3, th.colspan3 {
43
width: 36em;
44
}
45
td.colspan2, th.colspan2 {
46
width: 24em;
47
}
48
th {
49
background-color: rgb(192, 192, 192);
50
color: black;
51
height: 1.7em;
52
font-weight: bold;
53
text-align: center;
54
letter-spacing: 0.1em;
55
}
56
td.name {
57
background-color: rgb(240, 240, 240);
58
letter-spacing: 0.1em;
59
}
60
td.name, th.name {
61
width: 10em;
62
}
63
</style>
64
<title>%(NAME)s</title>
65
</head>
66
<body>
67
<h1>%(NAME)s</h1>
68
"""
69
TEMPLATE_END =
"""</body>
70
</html>
71
"""
src
robotide
lib
robot
writer
htmltemplate.py
Generated by
1.9.1