mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	lf_report.py: updates banner to be centered, adds background color behind banner.
Signed-off-by: Jed Reynolds <jed@candelatech.com>
This commit is contained in:
		| @@ -158,11 +158,22 @@ li { | ||||
| } | ||||
|  | ||||
| /* these styles will get overridden by custom.css */ | ||||
| #BannerBack { | ||||
|    background-color: #e68b15; | ||||
|    height:           205px; | ||||
|    max-height:       205px; | ||||
|    border:           0 none; | ||||
|    margin:           0; | ||||
|    padding:          0; | ||||
|    top:              0; | ||||
|    left:             0; | ||||
|    width:            100%; | ||||
| } | ||||
| #Banner { | ||||
|    background-image:url("banner.png"); | ||||
|    background-repeat:no-repeat; | ||||
|    padding:    0; | ||||
|    margin:     0; | ||||
|    margin:     0 auto; | ||||
|    min-width:  1000px; | ||||
|    min-height: 205px; | ||||
|    width:      1000px; | ||||
|   | ||||
| @@ -286,6 +286,7 @@ class lf_report(): | ||||
|     <title>{title}</title> | ||||
| </head> | ||||
| <body> | ||||
| <div id='BannerBack'> | ||||
|     <div id='Banner'> | ||||
|         <br/> | ||||
|         <img id='BannerLogo' align='right' src="CandelaLogo2-90dpi-200x90-trans.png" border='0' /> | ||||
| @@ -294,6 +295,7 @@ class lf_report(): | ||||
|             <h4 class='TitleFontPrintSub'>{date}</h4> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| """.format( | ||||
|             title=self.title, | ||||
|             date=self.date, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jed Reynolds
					Jed Reynolds