IP Reg is a IPAM tool to keep track of assets, nodes (IP addresses, MAC addresses, DNS aliases) within different subnets, over different locations or even VLAN's. Written in PHP, used with a MySQL-database to have a unique insight in your local network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
ipreg/tpl/asset.tpl

53 lines
1.2 KiB

<table class="title">
<tr>
<td class="header">
{$lang_assets} ({$assets|@count})
</td>
<td align="right">
<a href="assetadd.php"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
</td>
</tr>
</table>
<table class="submenu initials">
<tr>
{foreach item=letter from=$alphabet}
<td>
<a href="asset.php?asset_letter={$letter.asset_letter}">{$letter.asset_letter}</a>&nbsp;
</td>
{/foreach}
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_asset_name}
</td>
<td class="header">
{$lang_assetclass_name}
</td>
<td class="header">
{$lang_asset_info}
</td>
</tr>
{foreach item=asset from=$assets}
<tr>
<td class="label">
<a href="assetview.php?asset.id={$asset.asset_id}">{$asset.asset_name}</a>
</td>
<td class="value">
<a href="assetclassview.php?assetclass_id={$asset.assetclass_id}">{$asset.assetclass_name}</a>
</td>
<td class="value">
{$asset.asset_info}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="3">
{$lang_asset_none}
</td>
</tr>
{/foreach}
</table>