diff --git a/cp/app/Controllers/DomainsController.php b/cp/app/Controllers/DomainsController.php
new file mode 100644
index 0000000..0065be2
--- /dev/null
+++ b/cp/app/Controllers/DomainsController.php
@@ -0,0 +1,19 @@
+container->get('db'));
+ $users = $userModel->getAllUsers();
+ return view($response,'admin/domains/index.twig', compact('users'));
+ }
+
+}
\ No newline at end of file
diff --git a/cp/resources/views/admin/domains/index.twig b/cp/resources/views/admin/domains/index.twig
new file mode 100644
index 0000000..a385993
--- /dev/null
+++ b/cp/resources/views/admin/domains/index.twig
@@ -0,0 +1,83 @@
+{% extends "layouts/app.twig" %}
+
+{% block title %}Domains{% endblock %}
+
+{% block content %}
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ Actions |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/cp/resources/views/layouts/app.twig b/cp/resources/views/layouts/app.twig
index b6914b3..07b691e 100644
--- a/cp/resources/views/layouts/app.twig
+++ b/cp/resources/views/layouts/app.twig
@@ -153,13 +153,21 @@
- -
+
-
-
-
+
- Home
+ Dashboard
+
+
+
+ -
+
+
+
+
+ Domains
@@ -277,6 +285,8 @@
{% if route_is('dashboard') %}
{% include 'partials/js-dash.twig' %}
+{% elseif route_is('domains') %}
+ {% include 'partials/js-domains.twig' %}
{% else %}
{% include 'partials/js.twig' %}
{% endif %}
diff --git a/cp/resources/views/partials/js-domains.twig b/cp/resources/views/partials/js-domains.twig
new file mode 100644
index 0000000..7369dee
--- /dev/null
+++ b/cp/resources/views/partials/js-domains.twig
@@ -0,0 +1,42 @@
+
+
+
\ No newline at end of file
diff --git a/cp/routes/web.php b/cp/routes/web.php
index ad8b8fa..8e206e7 100644
--- a/cp/routes/web.php
+++ b/cp/routes/web.php
@@ -2,6 +2,7 @@
use App\Controllers\Auth\AuthController;
use App\Controllers\Auth\PasswordController;
use App\Controllers\HomeController;
+use App\Controllers\DomainsController;
use App\Controllers\ProfileController;
use App\Middleware\AuthMiddleware;
use App\Middleware\GuestMiddleware;
@@ -31,6 +32,7 @@ $app->group('', function ($route) {
$app->group('', function ($route) {
$route->get('/dashboard', HomeController::class .':dashboard')->setName('home');
+ $route->get('/domains', DomainsController::class .':view')->setName('domains');
$route->get('/profile', ProfileController::class .':profile')->setName('profile');
$route->get('/profile/notifications', ProfileController::class .':notifications')->setName('notifications');
$route->get('/profile/security', ProfileController::class .':security')->setName('security');