htmlreport: remove black background, make the report a bit more space efficient.
This commit is contained in:
parent
275e2501ff
commit
fdc717c6ea
|
@ -21,10 +21,17 @@ with syntax highlighted source code.
|
|||
|
||||
STYLE_FILE = """
|
||||
body {
|
||||
background-color: black;
|
||||
font: 13px Arial, Verdana, Sans-Serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#footer > p {
|
||||
margin: 4px;
|
||||
}
|
||||
|
||||
.error {
|
||||
|
@ -42,18 +49,6 @@ body {
|
|||
padding: 1px;
|
||||
}
|
||||
|
||||
#page {
|
||||
background-color: white;
|
||||
border: 2px solid #aaa;
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
margin: 10px;
|
||||
overflow: auto;
|
||||
padding: 5px 10px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#header {
|
||||
border-bottom: thin solid #aaa;
|
||||
}
|
||||
|
@ -127,7 +122,6 @@ HTML_HEAD = """
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">
|
||||
<div id="header">
|
||||
<h1>Cppcheck report - %s: %s </h1>
|
||||
</div>
|
||||
|
@ -145,14 +139,12 @@ HTML_FOOTER = """
|
|||
</div>
|
||||
<div id="footer">
|
||||
<p>
|
||||
Cppcheck %s - a tool for static C/C++ code analysis
|
||||
</p>
|
||||
<ul>
|
||||
<li>Internet: <a href="http://cppcheck.sourceforge.net">http://cppcheck.sourceforge.net</a></li>
|
||||
<li>Forum: <a href="http://apps.sourceforge.net/phpbb/cppcheck/">http://apps.sourceforge.net/phpbb/cppcheck/</a></li>
|
||||
<li>IRC: <a href="irc://irc.freenode.net/cppcheck">irc://irc.freenode.net/cppcheck</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
Cppcheck %s - a tool for static C/C++ code analysis</br>
|
||||
</br>
|
||||
Internet: <a href="http://cppcheck.sourceforge.net">http://cppcheck.sourceforge.net</a></br>
|
||||
Forum: <a href="http://apps.sourceforge.net/phpbb/cppcheck/">http://apps.sourceforge.net/phpbb/cppcheck/</a></br>
|
||||
IRC: <a href="irc://irc.freenode.net/cppcheck">irc://irc.freenode.net/cppcheck</a></br>
|
||||
<p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue