Interface count for asset
This commit is contained in:
@@ -46,6 +46,14 @@
|
||||
<textarea name="asset_info" cols="30" rows="10"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_intf}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" size="6" maxlength="6" name="asset_intf" value="1">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
|
||||
@@ -48,6 +48,14 @@
|
||||
<textarea name="asset_info" cols="30" rows="10">{$asset->asset_info}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_intf}
|
||||
</td>
|
||||
<td class="value">
|
||||
<input type="text" size="6" maxlength="6" name="asset_intf" value="{$asset->asset_intf}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
|
||||
@@ -44,6 +44,14 @@
|
||||
{$asset->asset_info}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_asset_intf}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$asset->asset_intf}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
50
tpl/nat.tpl
Normal file
50
tpl/nat.tpl
Normal file
@@ -0,0 +1,50 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat_rules} ({$nats|@count})
|
||||
</td>
|
||||
<td align="right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
{$lang_nat}
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_source} (ext)
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_target} (int)
|
||||
</td>
|
||||
<td class="header">
|
||||
{$lang_nat_type}
|
||||
</td>
|
||||
</tr>
|
||||
{foreach item=nat from=$nats}
|
||||
<tr>
|
||||
<td class="label">
|
||||
Rule #{$nat.id} {$nat.description}
|
||||
</td>
|
||||
<td class="label">
|
||||
<a href="nodeview.php?node_id={$nat.nat_ext}">{$nat.node_ip_ext}</a>
|
||||
{if $nat.port_ext}:{$nat.port_ext}{/if}
|
||||
<td class="label">
|
||||
<a href="nodeview.php?node_id={$nat.nat_int}">{$nat.node_ip_int}</a>
|
||||
{if $nat.port_int}:{$nat.port_int}{/if}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$nat.nat_type}
|
||||
</td>
|
||||
</tr>
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
{$lang_nat_none}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
@@ -47,5 +47,13 @@
|
||||
<input type="text" name="user_password">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_realm}
|
||||
</td>
|
||||
<td class="value">
|
||||
{html_radios name=user_realm values=$realm_ids output=$realm_names selected=$realm_selected}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -19,14 +19,6 @@
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_user_realm}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$user_realm}
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
@@ -49,7 +41,7 @@
|
||||
{$lang_user_realm}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$user_realm}
|
||||
{$user->realm}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user