mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-25 14:34:52 +00:00
lf_report.py: makes header more consistent with ScriptReport.java
- removes hard coded spacing using BRs - corrects h4 styling - report.css styling will allow three rows of H1 before shoving date out of the header Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
@@ -23,6 +23,7 @@ h1 { font-size: 30px;}
|
||||
h2 { font-size: 24px;}
|
||||
h3 { font-size: 18px;}
|
||||
h4 { font-size: 14px;}
|
||||
|
||||
li,pre,tt {
|
||||
text-align: left;
|
||||
}
|
||||
@@ -322,7 +323,7 @@ li {
|
||||
margin-right: auto;
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.2em;
|
||||
font-size: 50px;
|
||||
/* font-size: 50px; Let h1 control */
|
||||
padding-top: 20px;
|
||||
padding-left: 20px;
|
||||
color: darkgreen;
|
||||
@@ -343,6 +344,20 @@ li {
|
||||
.TableFont {}
|
||||
.TableBorder {}
|
||||
.ImgStyle {}
|
||||
div.HeaderStyle>h1.TitleFontPrint {
|
||||
font-size: 50px;
|
||||
height: 150px;
|
||||
max-height: 160px;
|
||||
}
|
||||
div.HeaderStyle>h3.TitleFontPrintSub {
|
||||
padding-top: 5px;
|
||||
font-size: 30px;
|
||||
}
|
||||
div.HeaderStyle>h4.TitleFontPrintSub {
|
||||
padding-top: 5px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
div.Section h1, div.Section h2 {
|
||||
margin: 0 0 0 0em;
|
||||
}
|
||||
|
||||
@@ -390,12 +390,10 @@ class lf_report:
|
||||
<body>
|
||||
<div id='BannerBack'>
|
||||
<div id='Banner'>
|
||||
<br/>
|
||||
<img id='BannerLogo' align='right' src="CandelaLogo2-90dpi-200x90-trans.png" border='0'/>
|
||||
<div class='HeaderStyle'>
|
||||
<br>
|
||||
<h1 class='TitleFontPrint' style='color:darkgreen;'>{title}</h1>
|
||||
<h3 class='TitleFontPrint' style='color:darkgreen;'>{date}</h3>
|
||||
<h4 class='TitleFontPrintSub' style='color:darkgreen;'>{date}</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -417,12 +415,10 @@ class lf_report:
|
||||
<body>
|
||||
<div id='BannerBack'>
|
||||
<div id='BannerLeft'>
|
||||
<br/>
|
||||
<img id='BannerLogo' align='right' src="CandelaLogo2-90dpi-200x90-trans.png" border='0'/>
|
||||
<div class='HeaderStyle'>
|
||||
<br>
|
||||
<h1 class='TitleFontPrint' style='color:darkgreen;'>{title}</h1>
|
||||
<h3 class='TitleFontPrint' style='color:darkgreen;'>{date}</h3>
|
||||
<h4 class='TitleFontPrintSub' style='color:darkgreen;'>{date}</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user