From 58fac4b4f951264a6a62869852284ed5f9028ef0 Mon Sep 17 00:00:00 2001 From: Elikill58 Date: Wed, 11 Oct 2023 21:00:41 +0200 Subject: [PATCH] Upgrade to Azuriom V1 (Fix #1) --- README.md | 4 + plugin.json | 10 +- resources/views/admin/settings.blade.php | 24 +- resources/views/elements/navbar.blade.php | 46 +-- resources/views/history.blade.php | 321 +++++++----------- resources/views/index.blade.php | 94 ++--- resources/views/kick.blade.php | 4 +- resources/views/mute.blade.php | 4 +- resources/views/warn.blade.php | 4 +- routes/web.php | 5 +- src/Controllers/Admin/SettingsController.php | 2 +- src/Controllers/LitebansController.php | 10 +- src/Controllers/LitebansHistoryController.php | 4 +- src/Models/Ban.php | 2 +- src/Models/Kick.php | 2 +- src/Models/Mute.php | 2 +- src/Models/Warning.php | 2 +- src/Providers/LitebansServiceProvider.php | 41 +-- 18 files changed, 230 insertions(+), 351 deletions(-) diff --git a/README.md b/README.md index 6a00f31..35d3a58 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # Plugin-LiteBans Display the LiteBans punishments on your website. + +Now updated by Elikill58. + +If you have an issue or want to ask for suggestion, it's [here](https://github.com/AzuriomCommunity/Plugin-LiteBans/issues). \ No newline at end of file diff --git a/plugin.json b/plugin.json index f1c2570..6d4ce91 100644 --- a/plugin.json +++ b/plugin.json @@ -2,13 +2,15 @@ "id": "litebans", "name": "LiteBans", "description": "Display the LiteBans punishments on your website.", - "version": "1.0.2", - "url": "https://azuriom.com", + "version": "1.0.7", + "url": "https://market.azuriom.com/resources/99", "authors": [ - "Bryan M." + "Elikill58", "Bryan M." ], + "azuriom_api": "1.0.0", "providers": [ "\\Azuriom\\Plugin\\Litebans\\Providers\\LitebansServiceProvider", "\\Azuriom\\Plugin\\Litebans\\Providers\\RouteServiceProvider" - ] + ], + "apiId": 99 } \ No newline at end of file diff --git a/resources/views/admin/settings.blade.php b/resources/views/admin/settings.blade.php index 83e5a34..fb1eab2 100644 --- a/resources/views/admin/settings.blade.php +++ b/resources/views/admin/settings.blade.php @@ -11,31 +11,31 @@
-
- +
+
-
- +
+
-
- +
+
-
- +
+
-
+
-
@@ -46,8 +46,8 @@
{{ trans('litebans::admin.settings.other-settings') }}
-
- +
+
diff --git a/resources/views/elements/navbar.blade.php b/resources/views/elements/navbar.blade.php index 06225e8..ea9025a 100644 --- a/resources/views/elements/navbar.blade.php +++ b/resources/views/elements/navbar.blade.php @@ -1,34 +1,16 @@

{{ trans('litebans::messages.title') }}

-