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.
197 lines
4.7 KiB
197 lines
4.7 KiB
<table class="title">
|
|
<tr>
|
|
<td class="header">
|
|
<img class="icon" src="images/plugin.png" alt="" />
|
|
{$subnet->address}/{$subnet->mask}
|
|
</td>
|
|
<td align="right">
|
|
{if $suser_edit}
|
|
<a href="subnet.php?f=edit&id={$subnet->id}"><img src="images/edit.png" alt="{$lang_subnet_edit}"{if $suser_tooltips} title="{$lang_subnet_edit}"{/if}></a>
|
|
{/if}
|
|
{if $suser_delete}
|
|
<a href="subnet.php?f=del&id={$subnet->id}"><img src="images/delete.png" alt="{$lang_subnet_del}"{if $suser_tooltips} title="{$lang_subnet_del}"{/if}></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_subnet}
|
|
</td>
|
|
<td class="header" align="right">
|
|
{if $noselect eq TRUE}
|
|
{$subnet->address}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label" colspan="2">
|
|
{if $subnet->proto_vers eq 4}
|
|
{foreach name=iptable item=adr from=$subnetdata}
|
|
<a href="{$adr.url}" onMouseOver="changetext('remotetext','{$adr.remotetext}')" onMouseOut="changetext('remotetext',' ')"><img src="image.php?color={$adr.assetclassgroup_color}" alt="{$adr.remotetext}"></a>
|
|
{if $smarty.foreach.iptable.iteration % $imagewrap eq 0}
|
|
<br />
|
|
{/if}
|
|
{/foreach}
|
|
{else}
|
|
Für IPv6 steht keine Graphik zur Verfügung.
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{if $subnet->proto_vers eq 4}
|
|
<tr>
|
|
<td colspan="2">
|
|
<a id="remotetext"> </a>
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_subnet_subnetaddress}
|
|
</td>
|
|
<td class="value">
|
|
{if $subnet->proto_vers eq 4}
|
|
<a href="subnet.php?f=view&id={$subnet->id}">{$subnet->address}</a>
|
|
{else}
|
|
{$subnet->address} / {$subnet->mask}
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_proto_vers}
|
|
</td>
|
|
<td class="value">
|
|
{$subnet->proto_vers}
|
|
</td>
|
|
</tr>
|
|
{if $subnet->proto_vers eq 4}
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_subnet_mask}
|
|
</td>
|
|
<td class="value">
|
|
{$subnetmask1}.{$subnetmask2}.{$subnetmask3}.{$subnetmask4}
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
{if $subnet->dhcp_start}
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_subnet_dhcp}
|
|
</td>
|
|
<td class="value">
|
|
{$subnet->dhcp_start} - {$subnet->dhcp_end}
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_subnet_nodesinsubnet}
|
|
</td>
|
|
<td class="value">
|
|
{if $subnet->proto_vers eq 4}
|
|
<a href="node.php?subnet_id={$subnet->id}">{$node_counter}</a> / {$host_counter} ({$subnet_usedpercentage}%)
|
|
{else}
|
|
<a href="node.php?subnet_id={$subnet->id}">{$node_counter}</a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{if $subnet->ntp_server}
|
|
<tr>
|
|
<td class="label">
|
|
NTP Server
|
|
</td>
|
|
<td class="value">
|
|
{$subnet->ntp_server}
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_subnet_info}
|
|
</td>
|
|
<td class="value">
|
|
{$subnet->info}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_assetclasses}
|
|
</td>
|
|
<td class="header_right">
|
|
|
|
</td>
|
|
</tr>
|
|
{if $subnet->proto_vers eq 4}
|
|
<tr>
|
|
<td class="label">
|
|
<img src="image.php?color={$config_color_unused}" alt="{$lang_unassigned}"> {$lang_unassigned}
|
|
</td>
|
|
<td>
|
|
{$free_counter}
|
|
</td>
|
|
</tr>
|
|
{/if}
|
|
{foreach item=assetclass from=$assetclasses}
|
|
<tr>
|
|
<td class="label">
|
|
<img src="image.php?color={$assetclass.color}" alt="{$assetclass.name}"> <a href="assetclass.php?f=view&id={$assetclass.id}">{$assetclass.name}</a>
|
|
</td>
|
|
<td>
|
|
{$assetclass.counter}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_vlans}
|
|
</td>
|
|
<td class="header_right">
|
|
{if $suser_edit}
|
|
<a href="subnet.php?f=vedit&id={$subnet->id}"><img src="images/edit.png" alt="{$lang_subnetvlan_edit}"{if $suser_tooltips} title="{$lang_subnetvlan_edit}"{/if}></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_vlans} ({$vlans|@count})
|
|
</td>
|
|
<td class="value">
|
|
{foreach item=vlan from=$vlans}
|
|
<a href="vlan.php?f=view&id={$vlan.id}">{$vlan.name} ({$vlan.number})</a><br>
|
|
{/foreach}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table class="info">
|
|
<tr>
|
|
<td class="header">
|
|
{$lang_locations}
|
|
</td>
|
|
<td class="header" align="right">
|
|
{if $suser_edit}
|
|
<a href="subnet.php?f=ledit&id={$subnet->id}"><img src="images/edit.png" alt="{$lang_location_edit}"{if $suser_tooltips} title="{$lang_location_edit}"{/if}></a>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">
|
|
{$lang_locations} ({$locations|@count})
|
|
</td>
|
|
<td class="value">
|
|
{foreach item=location from=$locations}
|
|
<a href="location.php?f=view&id={$location.location_id}">{$location.location_name}</a><br>
|
|
{/foreach}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|