forked from rho_n/hpr_generator
		
	Improve look of hosts table
This commit is contained in:
		| @@ -235,7 +235,12 @@ pre { /* Add background, border and scrollbar to <pre> */ | ||||
|     clear: both; | ||||
| } | ||||
|  | ||||
| table.hosts { | ||||
| 	background: white | ||||
| } | ||||
| table.hosts tr:nth-child(even) { background-color:#cccccc; } | ||||
| table.hosts tr:nth-child(odd) { background-color:white; } | ||||
| table.hosts tr td img { vertical-align:middle } | ||||
|  | ||||
| @media only screen and (max-width: 680px) {  | ||||
| 	#container {width: 95%;} | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
| 	<p>For more information on how to become a Correspondent see our <a href="<!--% absolute_path(baseurl) %-->contribute.html">contribute</a></center> page. To add a logo here, either email one to admin at hpr or setup your email on <a href="https://en.gravatar.com/">Gravatar</a>. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.<p /> | ||||
| <!--% USE DBI(constants.driver, constants.user, constants.password) %--> | ||||
| <!--% PROCESS 'shared-avatar.tpl.html' %--> | ||||
| 	<table> | ||||
| 	<table class="hosts"> | ||||
| 	<th >Avatar</th> | ||||
| 	<th >Name & Host ID</th> | ||||
| 	<th >license</th> | ||||
| @@ -16,7 +16,7 @@ | ||||
| 		inner join (select hostid, max(date) as date from eps group by hostid) as e  | ||||
| 		on h.hostid = e.hostid ' | ||||
| 	) %--> | ||||
| 	<tr height="80" bgcolor="#CCCCCC"> | ||||
| 	<tr height="80"> | ||||
| 	<td><img src="<!--% absolute_path(baseurl) %-->images/<!--% get_avatar(host.hostid) %-->" height="80" width="80" alt="avatar" /></td> | ||||
|  | ||||
| 		<td><strong><!--% host.host %--></strong><br> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user