From 33cf1413db064d17318f1553830be0cce1be05c9 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Thu, 6 Apr 2023 09:56:17 +0700 Subject: [PATCH] bring back delete --- ui/ui/hotspot.tpl | 3 ++- ui/ui/pool.tpl | 2 +- ui/ui/pppoe.tpl | 3 ++- ui/ui/prepaid.tpl | 2 +- ui/ui/routers.tpl | 3 ++- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ui/ui/hotspot.tpl b/ui/ui/hotspot.tpl index bdb8bbd7..1c466ce1 100644 --- a/ui/ui/hotspot.tpl +++ b/ui/ui/hotspot.tpl @@ -50,7 +50,8 @@ {$ds['validity']} {$ds['validity_unit']} {$ds['routers']} - {$_L['Edit']} + {$_L['Edit']} + {$_L['Delete']} {/foreach} diff --git a/ui/ui/pool.tpl b/ui/ui/pool.tpl index f631a944..0a83e141 100644 --- a/ui/ui/pool.tpl +++ b/ui/ui/pool.tpl @@ -46,7 +46,7 @@ {$ds['routers']} {$_L['Edit']} + class="btn btn-info btn-xs">{$_L['Edit']} {$_L['Delete']} diff --git a/ui/ui/pppoe.tpl b/ui/ui/pppoe.tpl index 4e59bd84..f71be73e 100644 --- a/ui/ui/pppoe.tpl +++ b/ui/ui/pppoe.tpl @@ -46,7 +46,8 @@ {$ds['pool']} {$ds['routers']} - {$_L['Edit']} + {$_L['Edit']} + {$_L['Delete']} {/foreach} diff --git a/ui/ui/prepaid.tpl b/ui/ui/prepaid.tpl index 65248ff9..dce05ac5 100644 --- a/ui/ui/prepaid.tpl +++ b/ui/ui/prepaid.tpl @@ -49,7 +49,7 @@ {$ds['routers']} {$_L['Edit']} - {* {$_L['Delete']} *} + {$_L['Delete']} {/foreach} diff --git a/ui/ui/routers.tpl b/ui/ui/routers.tpl index 2f4afedc..13345c74 100644 --- a/ui/ui/routers.tpl +++ b/ui/ui/routers.tpl @@ -49,7 +49,8 @@ {if $ds['enabled'] == 1}Enabled{else}Disabled{/if} {$_L['Edit']} + class="btn btn-info btn-xs">{$_L['Edit']} + {$_L['Delete']} {/foreach}