#from Plugins.Extensions.OpenWebif.local import tstrings
<!-- box_info -->
<div id="content_main" class="ui-widget-content">
	<div id="info">
		<h3 class="ui-widget-header">$tstrings['box_info']</h3>
		<hr />
		<img src="images/boxes/${boximage}" id="box_image" alt="box_info">
		<hr />
		<br/>
		<table width="100%">
			<tr>
				<td width="100%">
					<table cellspacing="0" class="infomain ui-widget-content" >
						<tr>
							<th colspan="2" class="ui-widget-header">$tstrings['box']</th>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['brand'] & $tstrings['model']:</td>
							<td class="inforight">$brand $model</td>
						</tr>
						<tr>
							<td class="infoleft">$friendlychipsetdescription:</td>
							<td class="inforight">$friendlychipsettext</td>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['main_memory']:</td>
							<td class="inforight">$mem3</td>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['box_uptime']:</td>
							<td class="inforight">$uptime</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td width="100%">
					<table cellspacing="0" class="infomain ui-widget-content" >
						<tr>
							<th colspan="2" class="ui-widget-header">$tstrings['software']</th>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['oe_version']:</td>
							<td class="inforight">$oever</td>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['firmware_version']:</td>
							<td class="inforight">$friendlyimagedistro $imagever ($enigmaver)</td>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['kernel_version'] / $tstrings['driver_date']:</td>
							<td class="inforight">$kernelver / $driverdate</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td width="100%">
					<table cellspacing="0" class="infomain ui-widget-content" >
						<tr>
							<th colspan="2" class="ui-widget-header">$tstrings['tuners']</th>
						</tr>
						#for $tuner in $tuners
						<tr>
							<td class="infoleft" style="vertical-align:text-top;">$tuner.name</td>
							<td class="inforight">
								$tuner.type<br>
									#if $tuner.live != ''
										<div class='tled-box'><div class='tled green'></div></div>$tuner.live<br>
									#end if
									#if $tuner.rec != ''
										<div class='tled-box'><div class='tled red'></div></div>$tuner.rec<br>
									#end if
							</div>
							</td>
						</tr>
						#end for
						#if $EX != ''
						<tr><td colspan="2">$EX</td></tr>
						#end if
<!--					<tr><td colspan="2">
						<div class='tled-box'><div class='tled black'></div></div>free
						<div class='tled-box'><div class='tled green'></div></div>Live
						<div class='tled-box'><div class='tled red'></div></div>Record or Stream
						<div class='tled-box'><div class='tled orange'></div></div>Record or Stream and Live
						</td></tr>-->
					</table>
				</td>
			</tr>
			#for $hd in $hdd
			<tr>
				<td width="100%">
					<table cellspacing="0" class="infomain ui-widget-content" >
						<tr>
							<th colspan="2" class="ui-widget-header">$tstrings['hdd_model']: $hd.model</th>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['capacity']:</td>
							<td class="inforight">$hd.friendlycapacity ($hd.mount)</td>
						</tr>
					</table>
				</td>
			</tr>
			#end for
			#if $shares
			<tr>
				<td width="100%">
					<table cellspacing="0" class="infomain ui-widget-content" >
						<tr>
							<th colspan="2" class="ui-widget-header">$tstrings['networkshares']:</th>
						</tr>
						#for $share in $shares
						<tr>
							<td class="infoleft">$share.name:</td>
							<td class="inforight">$share.type $tstrings['using'] $share.method: $share.path ($share.friendlyaddress)</td>
						</tr>
						#end for
					</table>
				</td>
			</tr>
			#end if
			#for $iface in $ifaces
			<tr>
				<td width="100%">
					<table cellspacing="0" class="infomain ui-widget-content" >
						<tr>
							<th colspan="2" class="ui-widget-header">$tstrings['network_interface']: $iface.name ($iface.friendlynic)</th>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['linkspeed']:</td>
							<td class="inforight">$iface.linkspeed</td>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['mac_address']:</td>
							<td class="inforight">$iface.mac</td>
						</tr>
						<tr>
							<td class="infoleft">$tstrings['ipv6_address']:</td>
							<td class="inforight">$iface.ipv6 ($iface.ipmethod)</td>
						</tr>
						#if $iface.ip != "0.0.0.0"
							<tr>
								<td class="infoleft">$tstrings['ipv4_address']:</td>
								<td class="inforight">$iface.ip/$iface.v4prefix $tstrings['via'] $iface.gw ($iface.ipv4method)</td>
							</tr>
						#end if
					</table>
				</td>
			</tr>
			#end for
		</table>
	</div>
</div>	
<!-- /box_info -->
