From ce746406890f592726a0dfa18258960245069a53 Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:13:20 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/dbstatus.tpl | 61 +++++++++++ ui/ui/deposit.tpl | 44 ++++++++ ui/ui/hotspot-add.tpl | 222 ++++++++++++++++++++++++++++++++++++++++ ui/ui/hotspot.tpl | 95 +++++++++++++++++ ui/ui/hotspot_users.tpl | 69 +++++++++++++ 5 files changed, 491 insertions(+) create mode 100644 ui/ui/dbstatus.tpl create mode 100644 ui/ui/deposit.tpl create mode 100644 ui/ui/hotspot-add.tpl create mode 100644 ui/ui/hotspot.tpl create mode 100644 ui/ui/hotspot_users.tpl diff --git a/ui/ui/dbstatus.tpl b/ui/ui/dbstatus.tpl new file mode 100644 index 0000000..009ad6b --- /dev/null +++ b/ui/ui/dbstatus.tpl @@ -0,0 +1,61 @@ +{include file="sections/header.tpl"} +
+
+
+
+
Backup Database
+
+
+ + + + + + + + + + {foreach $tables as $tbl} + + + + + + {/foreach} + +
{Lang::T('Table Name')}{Lang::T('Rows')}Select
{$tbl['name']}{$tbl['rows']}
+
+
+
+
Dont select logs if it failed
+
+ +
+
+
+
+ +
+
+
+
+
Restore Database
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/deposit.tpl b/ui/ui/deposit.tpl new file mode 100644 index 0000000..ea01c88 --- /dev/null +++ b/ui/ui/deposit.tpl @@ -0,0 +1,44 @@ +{include file="sections/header.tpl"} +
+
+
+
+
{Lang::T('Refill Balance')}
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + Or {Lang::T('Cancel')} +
+
+
+
+
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/hotspot-add.tpl b/ui/ui/hotspot-add.tpl new file mode 100644 index 0000000..97f0095 --- /dev/null +++ b/ui/ui/hotspot-add.tpl @@ -0,0 +1,222 @@ +{include file="sections/header.tpl"} +
+
+
+
+
{Lang::T('Add Service Plan')}
+
+
+
+ +
+ Enable + Disable +
+
+
+ +
+ Prepaid + Postpaid +
+
+ +
+ +
+ Personal + Business +
+
+ {if $_c['radius_enable']} +
+ +
+ +
+

{Lang::T('Cannot be change after saved')}

+
+ {/if} +
+ +
+ +
+
+
+ +
+ + {Lang::T('Unlimited')} + {Lang::T('Limited')} +
+
+ + + +
+ +
+ +
+
+
+ +
+
+ {$_c['currency_code']} + +
+
+
+
+ +
+ +

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

+
+
+
+ +
+ +
+
+ +
+

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

+
+ +
+ +
+ +

{Lang::T('Cannot be change after saved')}

+
+
+
+ {Lang::T('Expired Action')} +
+ +
+ +
+
+ {*
+ +
+ +
+
*} +
+
+
+ + Or {Lang::T('Cancel')} +
+
+
+
+
+
+
+
+ + {if $_c['radius_enable']} + {literal} + + {/literal} + {/if} +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/hotspot.tpl b/ui/ui/hotspot.tpl new file mode 100644 index 0000000..26f5ab1 --- /dev/null +++ b/ui/ui/hotspot.tpl @@ -0,0 +1,95 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+ {Lang::T('Hotspot Plans')} +
+ sync +
+
+
+
+
+ +
+   +
+
+ + + + + + + + + + + + + + + + + + + {foreach $d as $ds} + + + + + + + + + + + + + + + {/foreach} + +
{Lang::T('Plan Name')}{Lang::T('Plan Type')}{Lang::T('Bandwidth Plans')}{Lang::T('Plan Category')}{Lang::T('Plan Price')}{Lang::T('Time Limit')}{Lang::T('Data Limit')}{Lang::T('Plan Validity')}{Lang::T('Routers')}{Lang::T('Expired IP Pool')}{Lang::T('ID')}{Lang::T('Manage')}
{$ds['name_plan']}{$ds['plan_type']}{$ds['name_bw']}{$ds['typebp']}{Lang::moneyFormat($ds['price'])}{$ds['time_limit']} {$ds['time_unit']}{$ds['data_limit']} {$ds['data_unit']}{$ds['validity']} {$ds['validity_unit']} + {if $ds['is_radius']} + RADIUS + {else} + {if $ds['routers']!=''} + {$ds['routers']} + {/if} + {/if} + {$ds['pool_expired']}{if $ds['list_expired']}{if $ds['pool_expired']} | + {/if}{$ds['list_expired']}{/if}{$ds['id']} + {Lang::T('Edit')} + +
+
+ {include file="pagination.tpl"} +
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/hotspot_users.tpl b/ui/ui/hotspot_users.tpl new file mode 100644 index 0000000..b537ed0 --- /dev/null +++ b/ui/ui/hotspot_users.tpl @@ -0,0 +1,69 @@ +{include file="sections/header.tpl"} +
+
+
+
+
{Lang::T('Hotspot Users')}
+
+
+ + + + + + + + + + + + + + + + + + +
{Lang::T('Username')}{Lang::T('Address')}{Lang::T('Uptime')}{Lang::T('Server')}{Lang::T('MAC Address')}{Lang::T('Session Time')}{Lang::T('Upload')}{Lang::T('Download')}{Lang::T('Total')}{Lang::T('Action')}
+
+
+
+ {include file="pagination.tpl"} +
+
+
+{include file="sections/footer.tpl"} + + + + + \ No newline at end of file