From ccd052ec6b0f4cc2c97fb5dabaf3ff797767fa67 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Wed, 19 Jun 2024 09:55:56 +0700 Subject: [PATCH] add help tooltip --- ui/ui/hotspot-add.tpl | 38 +++++++++++++++++++++++++------- ui/ui/hotspot-edit.tpl | 46 ++++++++++++++++++++++++++++++--------- ui/ui/pppoe-add.tpl | 30 ++++++++++++++++++++----- ui/ui/pppoe-edit.tpl | 37 ++++++++++++++++++++++++------- ui/ui/sections/footer.tpl | 1 + 5 files changed, 121 insertions(+), 31 deletions(-) diff --git a/ui/ui/hotspot-add.tpl b/ui/ui/hotspot-add.tpl index 0758acec..720c88c1 100644 --- a/ui/ui/hotspot-add.tpl +++ b/ui/ui/hotspot-add.tpl @@ -7,14 +7,22 @@
- +
Enable Disable
- +
Prepaid Postpaid @@ -22,7 +30,11 @@
- +
Personal Business @@ -30,7 +42,11 @@
{if $_c['radius_enable']}
- +
{/if}
- +
-

{Lang::T('1 user can be used for many devices?')}

diff --git a/ui/ui/hotspot-edit.tpl b/ui/ui/hotspot-edit.tpl index 91fb0043..de4de430 100644 --- a/ui/ui/hotspot-edit.tpl +++ b/ui/ui/hotspot-edit.tpl @@ -8,14 +8,22 @@
- +
Enable Disable
- +
@@ -25,7 +33,11 @@
- +
@@ -36,14 +48,22 @@
{if $_c['radius_enable'] and $d['is_radius']}
- +
{/if}
- +
@@ -179,7 +203,8 @@ {/if}
-

{Lang::T('1 Period = 1 Month, Expires the 20th of each month')}

+

{Lang::T('1 Period = 1 Month, Expires the 20th of each month')} +

@@ -198,12 +223,13 @@
-

{Lang::T('When Expired, customer will be move to selected internet plan')}

+

+ {Lang::T('When Expired, customer will be move to selected internet plan')}

diff --git a/ui/ui/pppoe-add.tpl b/ui/ui/pppoe-add.tpl index 463caa87..8f0dcf7a 100644 --- a/ui/ui/pppoe-add.tpl +++ b/ui/ui/pppoe-add.tpl @@ -7,14 +7,22 @@
- +
Enable Disable
- +
Prepaid Postpaid @@ -22,7 +30,11 @@
- +
Personal Business @@ -31,7 +43,11 @@ {if $_c['radius_enable']}
- +
Radius Plan
@@ -39,7 +55,11 @@
{/if}
- +
- +
Enable Disable
- +
@@ -25,7 +33,11 @@
- +
@@ -36,14 +48,22 @@
{if $_c['radius_enable'] and $d['is_radius']}
- +
{/if}
- +
{foreach $exps as $exp} - + {/foreach}
-

{Lang::T('When Expired, customer will be move to selected internet plan')}

+

+ {Lang::T('When Expired, customer will be move to selected internet plan')}

diff --git a/ui/ui/sections/footer.tpl b/ui/ui/sections/footer.tpl index 88f63118..c0caf972 100644 --- a/ui/ui/sections/footer.tpl +++ b/ui/ui/sections/footer.tpl @@ -90,6 +90,7 @@ $(function() { $('[data-toggle="tooltip"]').tooltip() }) + $("[data-toggle=popover]").popover(); {/literal}