-
{{ user.email }}
+
{{ user.email }}
diff --git a/dhub/urls.py b/dhub/urls.py
index ffc6e4d..e9cec23 100644
--- a/dhub/urls.py
+++ b/dhub/urls.py
@@ -24,5 +24,6 @@ urlpatterns = [
path("evidence/", include("evidence.urls")),
path("device/", include("device.urls")),
path("admin/", include("admin.urls")),
+ path("user/", include("user.urls")),
path("lot/", include("lot.urls")),
]
diff --git a/user/templates/panel.html b/user/templates/panel.html
new file mode 100644
index 0000000..99e22cb
--- /dev/null
+++ b/user/templates/panel.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block content %}
+
+
+
{{ subtitle }}
+
+
+ {{ user.email }}
+
+
+
+
+
+
+
+{% endblock %}
diff --git a/user/urls.py b/user/urls.py
new file mode 100644
index 0000000..da4e507
--- /dev/null
+++ b/user/urls.py
@@ -0,0 +1,8 @@
+from django.urls import path
+from user import views
+
+app_name = 'user'
+
+urlpatterns = [
+ path("panel/", views.PanelView.as_view(), name="panel"),
+]
diff --git a/user/views.py b/user/views.py
index 91ea44a..e0a195a 100644
--- a/user/views.py
+++ b/user/views.py
@@ -1,3 +1,10 @@
-from django.shortcuts import render
+from django.utils.translation import gettext_lazy as _
+from django.views.generic.base import TemplateView
+from dashboard.mixins import DashboardView
-# Create your views here.
+
+class PanelView(DashboardView, TemplateView):
+ template_name = "panel.html"
+ title = _("User")
+ breadcrumb = "User / Panel"
+ subtitle = "User panel"