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

56 lines
1.3 KiB

<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/asset.png" alt="" />
{$lang_assets} ({$assets|@count} / {$assetcount})
</td>
<td align="right">
{if $suser_add}
<a href="assetadd.php"><img src="image.php?icon=add" alt="{$lang_asset_add}" {if $suser_tooltips}title="{$lang_asset_add}" {/if}/></a>
{/if}
</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>