From dc570270a5e5972cefd33d86eb523c3aa567b949 Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:24:38 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/user-pages.tpl | 15 +++++ ui/ui/user-phone-update.tpl | 80 +++++++++++++++++++++++ ui/ui/user-profile.tpl | 85 +++++++++++++++++++++++++ ui/ui/users-add.tpl | 123 ++++++++++++++++++++++++++++++++++++ ui/ui/users.tpl | 81 ++++++++++++++++++++++++ 5 files changed, 384 insertions(+) create mode 100644 ui/ui/user-pages.tpl create mode 100644 ui/ui/user-phone-update.tpl create mode 100644 ui/ui/user-profile.tpl create mode 100644 ui/ui/users-add.tpl create mode 100644 ui/ui/users.tpl diff --git a/ui/ui/user-pages.tpl b/ui/ui/user-pages.tpl new file mode 100644 index 0000000..001f812 --- /dev/null +++ b/ui/ui/user-pages.tpl @@ -0,0 +1,15 @@ +{include file="sections/user-header.tpl"} + + +
+
+
+
{$_L[$pageHeader]}
+
+ {include file="$_path/../pages/$PageFile.html"} +
+
+
+
+ +{include file="sections/user-footer.tpl"} diff --git a/ui/ui/user-phone-update.tpl b/ui/ui/user-phone-update.tpl new file mode 100644 index 0000000..65f528c --- /dev/null +++ b/ui/ui/user-phone-update.tpl @@ -0,0 +1,80 @@ +{include file="sections/user-header.tpl"} + + + +
+
+

{Lang::T('Change Phone Number')}

+
+
+
+
+ +
+
+ + + +
+
+
+
+
+ +
+
+ + + + + + +
+
+
+
+
+ +
+ +
+ +
+
+ + + + +
+
+ + Or {Lang::T('Cancel')} +
+
+
+ + +
+
+
+{include file="sections/user-footer.tpl"} \ No newline at end of file diff --git a/ui/ui/user-profile.tpl b/ui/ui/user-profile.tpl new file mode 100644 index 0000000..13963b7 --- /dev/null +++ b/ui/ui/user-profile.tpl @@ -0,0 +1,85 @@ +{include file="sections/user-header.tpl"} + + +
+
+
+
+
{Lang::T('Edit User')}
+
+
+
+ +
+ +
+
+ + + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+ {if $_c['allow_phone_otp'] != 'yes'} +
+ +
+
+ + + +
+
+
+ {else} +
+ +
+
+ + + + + {Lang::T('Change')} + +
+
+
+ {/if} +
+ +
+ +
+
+
+
+ + Or {Lang::T('Cancel')} +
+
+
+
+
+
+
+ +{include file="sections/user-footer.tpl"} \ No newline at end of file diff --git a/ui/ui/users-add.tpl b/ui/ui/users-add.tpl new file mode 100644 index 0000000..8793c90 --- /dev/null +++ b/ui/ui/users-add.tpl @@ -0,0 +1,123 @@ +{include file="sections/header.tpl"} + +
+
+
+
+
+
{Lang::T('Profile')}
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
{Lang::T('Credentials')}
+
+
+ +
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+
+
+
+ + Or {Lang::T('Cancel')} +
+
+
+{literal} + +{/literal} + +{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/users.tpl b/ui/ui/users.tpl new file mode 100644 index 0000000..1dc43b5 --- /dev/null +++ b/ui/ui/users.tpl @@ -0,0 +1,81 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+

{Lang::T('Manage Administrator')}

+
+
+
+
+ +
+   +
+
+ + + + + + + + + + + + + + + + + {foreach $d as $ds} + + + + + + + + + + + + + {/foreach} + +
{Lang::T('Username')}{Lang::T('Full Name')}{Lang::T('Phone')}{Lang::T('Email')}{Lang::T('Type')}{Lang::T('Location')}{Lang::T('Agent')}{Lang::T('Last Login')}{Lang::T('Manage')}ID
{$ds['username']}{$ds['fullname']}{$ds['phone']}{$ds['email']}{$ds['user_type']}{$ds['city']}, {$ds['subdistrict']}, {$ds['ward']}{if $ds['root']} + + {$admins[$ds['root']]}{/if}{if $ds['last_login']}{Lang::timeElapsed($ds['last_login'])}{/if} + {Lang::T('View')} + {Lang::T('Edit')} + {if ($_admin['id']) neq ($ds['id'])} + + {/if} + {$ds['id']}
+
+ {include file="pagination.tpl"} +
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file