From 64e8157c1cd501fe29e9141ded0db661f6f22766 Mon Sep 17 00:00:00 2001 From: nestict Date: Sat, 24 May 2025 12:16:20 +0200 Subject: [PATCH] Upload files to "ui/ui" Signed-off-by: nestict --- ui/ui/invoice-print.tpl | 74 ++++++++++++++ ui/ui/language-add.tpl | 31 ++++++ ui/ui/logs-radius.tpl | 71 ++++++++++++++ ui/ui/logs.tpl | 66 +++++++++++++ ui/ui/main.css | 209 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 451 insertions(+) create mode 100644 ui/ui/invoice-print.tpl create mode 100644 ui/ui/language-add.tpl create mode 100644 ui/ui/logs-radius.tpl create mode 100644 ui/ui/logs.tpl create mode 100644 ui/ui/main.css diff --git a/ui/ui/invoice-print.tpl b/ui/ui/invoice-print.tpl new file mode 100644 index 0000000..c3dd5c4 --- /dev/null +++ b/ui/ui/invoice-print.tpl @@ -0,0 +1,74 @@ + + + + + + + + {Lang::T('Login')} - {$_c['CompanyName']} + + + + + + + + +
+
+ + + + +
+ {if $content} +
{$content}
{else} +
{Lang::pad($_c['CompanyName'],' ', 2)}
+                    {Lang::pad($_c['address'],' ', 2)}
+                    {Lang::pad($_c['phone'],' ', 2)}
+                    {Lang::pad("", '=')}
+                    {Lang::pads("Invoice", $in['invoice'], ' ')}
+                    {Lang::pads(Lang::T('Date'), $date, ' ')}
+                    {Lang::pads(Lang::T('Sales'), $_admin['fullname'], ' ')}
+                    {Lang::pad("", '=')}
+                    {Lang::pads(Lang::T('Type'), $in['type'], ' ')}
+                    {Lang::pads(Lang::T('Plan Name'), $in['plan_name'], ' ')}
+                    {Lang::pads(Lang::T('Plan Price'), Lang::moneyFormat($in['price']), ' ')}
+                    {Lang::pad($in['method'], ' ', 2)}
+
+                    {Lang::pads(Lang::T('Username'), $in['username'], ' ')}
+                    {Lang::pads(Lang::T('Password'), '**********', ' ')}
+                    {if $in['type'] != 'Balance'}
+                                    {Lang::pads(Lang::T('Created On'), Lang::dateAndTimeFormat($in['recharged_on'],$in['recharged_time']), ' ')}
+                                    {Lang::pads(Lang::T('Expires On'), Lang::dateAndTimeFormat($in['expiration'],$in['time']), ' ')}
+                    {/if}
+                    {Lang::pad("", '=')}
+                    {Lang::pad($_c['note'],' ', 2)}
+ {/if} +
+ {if $nuxprint} + + + Print Invoice + + +
+