From c954394f5c8cf0931e12d5eb670c9d242ee8f4c8 Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:17:15 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/maintenance-mode.tpl | 106 ++++++++++++++++ ui/ui/maintenance.tpl | 249 +++++++++++++++++++++++++++++++++++++ ui/ui/message-bulk.tpl | 144 +++++++++++++++++++++ ui/ui/message-list.tpl | 74 +++++++++++ ui/ui/message.tpl | 66 ++++++++++ 5 files changed, 639 insertions(+) create mode 100644 ui/ui/maintenance-mode.tpl create mode 100644 ui/ui/maintenance.tpl create mode 100644 ui/ui/message-bulk.tpl create mode 100644 ui/ui/message-list.tpl create mode 100644 ui/ui/message.tpl diff --git a/ui/ui/maintenance-mode.tpl b/ui/ui/maintenance-mode.tpl new file mode 100644 index 0000000..2f94e25 --- /dev/null +++ b/ui/ui/maintenance-mode.tpl @@ -0,0 +1,106 @@ +{include file="sections/header.tpl"} + + +
+
+
+
+
+
{Lang::T('Maintenance Mode')}
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/maintenance.tpl b/ui/ui/maintenance.tpl new file mode 100644 index 0000000..80a79f5 --- /dev/null +++ b/ui/ui/maintenance.tpl @@ -0,0 +1,249 @@ + + + + + {Lang::T('Site is down for maintenance')} + + + + + + + + + + +
+
+
+
+
+
+
+

{Lang::T('Site is temporarily unavailable.')}

+

{Lang::T('Scheduled maintenance is currently in progress. Please check back soon.')}

+

{Lang::T('We apologize for any inconvenience.')}
— {Lang::T('The ')} {$companyName} {Lang::T(' + Team.')}

+
+ {if $date}
+

+

+

+

+
+ {/if} +
+
+ {if $date} + + {/if} + + + \ No newline at end of file diff --git a/ui/ui/message-bulk.tpl b/ui/ui/message-bulk.tpl new file mode 100644 index 0000000..90e2169 --- /dev/null +++ b/ui/ui/message-bulk.tpl @@ -0,0 +1,144 @@ +{include file="sections/header.tpl"} +
+ +
+
+
+
+

{Lang::T('Send Bulk Message')}

+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ {Lang::T('Use 20 and above if you are sending to all customers to avoid server time out')} +
+
+
+ +
+ {Lang::T('Use at least 5 secs if you are sending to all customers to avoid being banned by your message provider')} +
+
+
+ +
+ + {Lang::T('Testing [if checked no real message is sent]')} +
+

+ {Lang::T('Use placeholders:')} +
+ [[name]] - {Lang::T('Customer Name')} +
+ [[user_name]] - {Lang::T('Customer Username')} +
+ [[phone]] - {Lang::T('Customer Phone')} +
+ [[company_name]] - {Lang::T('Your Company Name')} +

+
+
+
+
+ + {Lang::T('Cancel')} +
+
+
+
+ +
+
+
+ + {if $batchStatus} +

Total SMS Sent: {$totalSMSSent} Total SMS + Failed: {$totalSMSFailed} Total WhatsApp Sent: + {$totalWhatsappSent} Total WhatsApp Failed: + {$totalWhatsappFailed}

+ {/if} +
+
+
+

Message Results

+
+ +
+ + + + + + + + + + + {foreach $batchStatus as $customer} + + + + + + + {/foreach} + +
NamePhoneMessageStatus
{$customer.name}{$customer.phone}{$customer.message}{$customer.status}
+
+ +
+
+ +
+ + + + +
+{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/message-list.tpl b/ui/ui/message-list.tpl new file mode 100644 index 0000000..9439880 --- /dev/null +++ b/ui/ui/message-list.tpl @@ -0,0 +1,74 @@ +{include file="sections/header.tpl"} + + +
+
+
+
+
+ {Lang::T('Manage Messages')} +
+
+
  +
+ + + + + + + + + + + + + {foreach $messages as $msg} + + + + + + + + + {/foreach} + +
{Lang::T('From')}{Lang::T('To')}{Lang::T('Title')}{Lang::T('Date')}{Lang::T('Status')}{Lang::T('Actions')}
{$msg.from_user}{$msg.to_user}{$msg.title}{Lang::dateTimeFormat($msg.date)}{if $msg.status == 0}{Lang::T('Not Sent')}{else}{Lang::T('Sent')}{/if} + {Lang::T('View')} +
+
+
+
+
+
+ + + + +
+{include file="sections/footer.tpl"} diff --git a/ui/ui/message.tpl b/ui/ui/message.tpl new file mode 100644 index 0000000..d7ced68 --- /dev/null +++ b/ui/ui/message.tpl @@ -0,0 +1,66 @@ +{include file="sections/header.tpl"} +
+
+
+
+
+

{Lang::T('Send Personal Message')}

+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+

+ {Lang::T('Use placeholders:')} +
+ [[name]] - {Lang::T('Customer Name')} +
+ [[user_name]] - {Lang::T('Customer Username')} +
+ [[phone]] - {Lang::T('Customer Phone')} +
+ [[company_name]] - {Lang::T('Your Company Name')} +

+
+
+
+
+ + {Lang::T('Cancel')} +
+
+
+
+
+
+
+
+
+{include file="sections/footer.tpl"} \ No newline at end of file