From 7651697ae735c94c81c3f499dd2654644e2d1ebb Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Thu, 17 Nov 2022 12:36:32 +0700 Subject: [PATCH] change table --- system/vendors/mpdf/utils/UnicodeData.txt | 4 +- ui/ui/hotspot.tpl | 2 +- ui/ui/pool.tpl | 120 +++++++++++----------- ui/ui/pppoe.tpl | 2 +- ui/ui/prepaid.tpl | 6 +- ui/ui/print-by-date.tpl | 2 +- ui/ui/print-by-period.tpl | 2 +- ui/ui/routers.tpl | 4 +- ui/ui/scripts/main.min.js | 1 - 9 files changed, 73 insertions(+), 70 deletions(-) delete mode 100644 ui/ui/scripts/main.min.js diff --git a/system/vendors/mpdf/utils/UnicodeData.txt b/system/vendors/mpdf/utils/UnicodeData.txt index 3da6aca..f76d12b 100644 --- a/system/vendors/mpdf/utils/UnicodeData.txt +++ b/system/vendors/mpdf/utils/UnicodeData.txt @@ -2890,8 +2890,8 @@ 0DCF;SINHALA VOWEL SIGN AELA-PILLA;Mc;0;L;;;;;N;;;;; 0DD0;SINHALA VOWEL SIGN KETTI AEDA-PILLA;Mc;0;L;;;;;N;;;;; 0DD1;SINHALA VOWEL SIGN DIGA AEDA-PILLA;Mc;0;L;;;;;N;;;;; -0DD2;SINHALA VOWEL SIGN KETTI IS-PILLA;Mn;0;NSM;;;;;N;;;;; -0DD3;SINHALA VOWEL SIGN DIGA IS-PILLA;Mn;0;NSM;;;;;N;;;;; +0DD2;SINHALA VOWEL SIGN KETTI table-PILLA;Mn;0;NSM;;;;;N;;;;; +0DD3;SINHALA VOWEL SIGN DIGA table-PILLA;Mn;0;NSM;;;;;N;;;;; 0DD4;SINHALA VOWEL SIGN KETTI PAA-PILLA;Mn;0;NSM;;;;;N;;;;; 0DD6;SINHALA VOWEL SIGN DIGA PAA-PILLA;Mn;0;NSM;;;;;N;;;;; 0DD8;SINHALA VOWEL SIGN GAETTA-PILLA;Mc;0;L;;;;;N;;;;; diff --git a/ui/ui/hotspot.tpl b/ui/ui/hotspot.tpl index faa857c..bdb8bbd 100644 --- a/ui/ui/hotspot.tpl +++ b/ui/ui/hotspot.tpl @@ -24,7 +24,7 @@  
- +
diff --git a/ui/ui/pool.tpl b/ui/ui/pool.tpl index 82114b2..f631a94 100644 --- a/ui/ui/pool.tpl +++ b/ui/ui/pool.tpl @@ -1,60 +1,64 @@ {include file="sections/header.tpl"} + +
+
+
+
{$_L['Pool']}
+
+
+
+ +
+
+ +
+ +
+ +
+
+ +
+   +
+
+
{$_L['Plan_Name']}
+ + + + + + + + + + + {$no = 1} + {foreach $d as $ds} + + + + + + + + {/foreach} + +
#{$_L['Pool_Name']}{$_L['Range_IP']}{$_L['Routers']}{$_L['Manage']}
{$no++}{$ds['pool_name']}{$ds['range_ip']}{$ds['routers']} + {$_L['Edit']} + {$_L['Delete']} +
+
+ {$paginator['contents']} + + + + -
-
-
-
{$_L['Pool']}
-
-
-
- -
-   -
-
- - - - - - - - - - - - {$no = 1} - {foreach $d as $ds} - - - - - - - - {/foreach} - -
#{$_L['Pool_Name']}{$_L['Range_IP']}{$_L['Routers']}{$_L['Manage']}
{$no++}{$ds['pool_name']}{$ds['range_ip']}{$ds['routers']} - {$_L['Edit']} - {$_L['Delete']} -
-
- {$paginator['contents']} -
-
-
-
- -{include file="sections/footer.tpl"} +{include file="sections/footer.tpl"} \ No newline at end of file diff --git a/ui/ui/pppoe.tpl b/ui/ui/pppoe.tpl index a0ed186..4e59bd8 100644 --- a/ui/ui/pppoe.tpl +++ b/ui/ui/pppoe.tpl @@ -24,7 +24,7 @@  
- +
diff --git a/ui/ui/prepaid.tpl b/ui/ui/prepaid.tpl index fcde4cd..bbab67a 100644 --- a/ui/ui/prepaid.tpl +++ b/ui/ui/prepaid.tpl @@ -24,7 +24,7 @@  
-
{$_L['Plan_Name']}
+
@@ -48,8 +48,8 @@ {/foreach} diff --git a/ui/ui/print-by-date.tpl b/ui/ui/print-by-date.tpl index 2f988e4..92f5bee 100644 --- a/ui/ui/print-by-date.tpl +++ b/ui/ui/print-by-date.tpl @@ -24,7 +24,7 @@

{$_L['All_Transactions_at_Date']}: {date($_c['date_format'], strtotime($mdate))}

-
{$_L['Username']}{$ds['method']} {$ds['routers']} - {$_L['Edit']} - {$_L['Delete']} + {$_L['Edit']} + {* {$_L['Delete']} *}
+
diff --git a/ui/ui/print-by-period.tpl b/ui/ui/print-by-period.tpl index 5ca10ee..5384d83 100644 --- a/ui/ui/print-by-period.tpl +++ b/ui/ui/print-by-period.tpl @@ -24,7 +24,7 @@

{$_L['All_Transactions_at_Date']}: {date( $_c['date_format'], strtotime($fdate))} - {date( $_c['date_format'], strtotime($tdate))}

-
{$_L['Username']} {$_L['Plan_Name']} {$_L['Type']}
+
diff --git a/ui/ui/routers.tpl b/ui/ui/routers.tpl index d37d4a8..2f4afed 100644 --- a/ui/ui/routers.tpl +++ b/ui/ui/routers.tpl @@ -28,7 +28,7 @@  
-
{$_L['Username']} {$_L['Plan_Name']} {$_L['Type']}
+
@@ -49,7 +49,7 @@ {/foreach} diff --git a/ui/ui/scripts/main.min.js b/ui/ui/scripts/main.min.js deleted file mode 100644 index a5be2eb..0000000 --- a/ui/ui/scripts/main.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";Array.from(document.getElementsByClassName("menu is-menu-main")).forEach(function(e){Array.from(e.getElementsByClassName("has-dropdown-icon")).forEach(function(e){e.addEventListener("click",function(e){var t=e.currentTarget.getElementsByClassName("dropdown-icon")[0].getElementsByClassName("mdi")[0];e.currentTarget.parentNode.classList.toggle("is-active"),t.classList.toggle("mdi-plus"),t.classList.toggle("mdi-minus")})})}),Array.from(document.getElementsByClassName("jb-aside-mobile-toggle")).forEach(function(e){e.addEventListener("click",function(e){e=e.currentTarget.getElementsByClassName("icon")[0].getElementsByClassName("mdi")[0];document.documentElement.classList.toggle("has-aside-mobile-expanded"),e.classList.toggle("mdi-forwardburger"),e.classList.toggle("mdi-backburger")})}),Array.from(document.getElementsByClassName("jb-navbar-menu-toggle")).forEach(function(e){e.addEventListener("click",function(e){var t=e.currentTarget.getElementsByClassName("icon")[0].getElementsByClassName("mdi")[0];document.getElementById(e.currentTarget.getAttribute("data-target")).classList.toggle("is-active"),t.classList.toggle("mdi-dots-vertical"),t.classList.toggle("mdi-close")})}),Array.from(document.getElementsByClassName("jb-modal")).forEach(function(e){e.addEventListener("click",function(e){e=e.currentTarget.getAttribute("data-target");document.getElementById(e).classList.add("is-active"),document.documentElement.classList.add("is-clipped")})}),Array.from(document.getElementsByClassName("jb-modal-close")).forEach(function(e){e.addEventListener("click",function(e){e.currentTarget.closest(".modal").classList.remove("is-active"),document.documentElement.classList.remove("is-clipped")})}),Array.from(document.getElementsByClassName("jb-notification-dismiss")).forEach(function(e){e.addEventListener("click",function(e){e.currentTarget.closest(".notification").classList.add("is-hidden")})}); \ No newline at end of file
{$_L['Router_Name']}{if $ds['enabled'] == 1}Enabled{else}Disabled{/if} {$_L['Edit']} + class="btn btn-info btn-xs btn-block">{$_L['Edit']}