Added improvements for empty database

This commit is contained in:
2023-02-14 13:48:28 +01:00
parent cf27c1377c
commit 23b73a387b
11 changed files with 338 additions and 285 deletions
+44 -38
View File
@@ -1,38 +1,44 @@
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/table.png" alt="" />
{$lang_zones} ({$zones|@count})
</td>
<td align="right">
<a href="zoneadd.php"><img src="image.php?icon=add" alt="{$lang_zone_add}"></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_zone}
</td>
<td class="header">
Hostmaster
</td>
<td class="header">
Serial
</td>
</tr>
{foreach item=zone from=$zones}
<tr>
<td class="label">
<a href="zoneview.php?zone_id={$zone.zone_id}">{$zone.zone_origin}</a>
</td>
<td class="value">
{$zone.zone_hostmaster}
</td>
<td class="value">
{$zone.zone_serial}
</td>
</tr>
{/foreach}
</table>
<table class="title">
<tr>
<td class="header">
<img class="icon" src="images/table.png" alt="" />
{$lang_zones} ({$zones|@count})
</td>
<td align="right">
<a href="zoneadd.php"><img src="image.php?icon=add" alt="{$lang_zone_add}"></a>
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_zone}
</td>
<td class="header">
Hostmaster
</td>
<td class="header">
Serial
</td>
</tr>
{foreach item=zone from=$zones}
<tr>
<td class="label">
<a href="zoneview.php?zone_id={$zone.zone_id}">{$zone.zone_origin}</a>
</td>
<td class="value">
{$zone.zone_hostmaster}
</td>
<td class="value">
{$zone.zone_serial}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="3">
{$lang_zone_none}
</td>
</tr>
{/foreach}
</table>