diff --git a/accounts/templates/accounts/customer_list.html b/accounts/templates/accounts/customer_list.html index 2d00356..1b7e103 100644 --- a/accounts/templates/accounts/customer_list.html +++ b/accounts/templates/accounts/customer_list.html @@ -172,12 +172,19 @@ {% empty %} - +
هیچ کاربری یافت نشد
+ + + + + + + {% endfor %} diff --git a/accounts/templates/accounts/login.html b/accounts/templates/accounts/login.html index e5791f3..e43800d 100644 --- a/accounts/templates/accounts/login.html +++ b/accounts/templates/accounts/login.html @@ -16,6 +16,9 @@ layout-wide customizer-hide {% endblock style %} {% block content %} + +{% include '_toasts.html' %} +
@@ -69,7 +72,7 @@ layout-wide customizer-hide {% csrf_token %}
- +
diff --git a/accounts/urls.py b/accounts/urls.py index ac5119d..7c79207 100644 --- a/accounts/urls.py +++ b/accounts/urls.py @@ -4,7 +4,7 @@ from accounts.views import login_view, dashboard, customer_list, add_customer_aj app_name = "accounts" urlpatterns = [ - path('login/', login_view, name='login'), + path('', login_view, name='login'), path('logout/', logout_view, name='logout'), path('dashboard/', dashboard, name='dashboard'), path('customers/', customer_list, name='customer_list'), diff --git a/db.sqlite3 b/db.sqlite3 index 9ffff65..d80d44c 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/wells/templates/wells/well_list.html b/wells/templates/wells/well_list.html index cb55351..2215165 100644 --- a/wells/templates/wells/well_list.html +++ b/wells/templates/wells/well_list.html @@ -163,12 +163,19 @@ {% empty %} - +

چاهی یافت نشد

+ + + + + + + {% endfor %}