From 2d0d33d5255a6756399ccc3ed22e8193491e4d77 Mon Sep 17 00:00:00 2001 From: kikimor Date: Wed, 30 Jul 2025 18:42:33 +0300 Subject: [PATCH] Added filter functionality and combined both base.html --- .idea/workspace.xml | 64 ++++++------- accounts/forms.py | 44 ++++++++- .../migrations/0008_populate_permissions.py | 44 +++++++++ accounts/migrations/0009_create_superuser.py | 29 ++++++ accounts/urls.py | 7 +- accounts/views.py | 15 ++- booking/views/employee_views.py | 13 ++- .../migrations/0004_populate_initial_data.py | 91 +++++++++++++++++++ common/models.py | 2 +- common/views/employee_views.py | 18 ++++ containers/views/employee_views.py | 9 +- docker-compose-deploy.yml | 84 +++++++++++++++++ payments/migrations/0004_populate_tariffs.py | 53 +++++++++++ preinfo/views/employee_views.py | 15 ++- static/js/crud-list.js | 87 +++++++++++++----- static/styles/forms.css | 12 +++ templates/client-booking-content.html | 2 +- templates/client-dashboard-content.html | 2 +- templates/client-orders-content.html | 2 +- templates/client-preinfo-content.html | 2 +- templates/client/booking-create.html | 2 +- templates/client/booking-edit.html | 2 +- templates/client/line-create.html | 2 +- templates/client/line-update.html | 2 +- templates/client/preinfo-create.html | 2 +- templates/client/preinfo-edit.html | 2 +- templates/common/base.html | 5 + templates/employee-dashboard-content.html | 2 +- templates/employee/booking-list.html | 8 ++ templates/employee/company-create.html | 2 +- templates/employee/company-list.html | 8 ++ templates/employee/company-update.html | 2 +- templates/employee/containers-list.html | 8 ++ templates/employee/line-create.html | 2 +- templates/employee/line-list.html | 8 ++ templates/employee/line-update.html | 2 +- templates/employee/payment-create.html | 2 +- templates/employee/preinfo-list.html | 8 ++ templates/list-crud.html | 2 +- templates/registration/change_password.html | 10 ++ templates/registration/register.html | 2 +- templates/registration/user-list.html | 9 ++ 42 files changed, 605 insertions(+), 82 deletions(-) create mode 100644 accounts/migrations/0008_populate_permissions.py create mode 100644 accounts/migrations/0009_create_superuser.py create mode 100644 common/migrations/0004_populate_initial_data.py create mode 100644 docker-compose-deploy.yml create mode 100644 payments/migrations/0004_populate_tariffs.py create mode 100644 templates/registration/change_password.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ef5564b..7fdaf53 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -7,47 +7,45 @@ - - - - - + - - - - + - + - - - - - - - - - - - - + + + + + - - - - - - + + + + + + + + + + + + + + + + + + - +