From c1183c22ea5538ed48a69e045021b61f43d95090 Mon Sep 17 00:00:00 2001 From: kikimor Date: Tue, 29 Jul 2025 18:51:09 +0300 Subject: [PATCH] switch from ownCloud to minIO buttons in table are buttons and do edit and delete properly --- .idea/workspace.xml | 74 +++--- DepoT/settings.py | 29 ++- accounts/urls.py | 1 + accounts/views.py | 20 +- booking/templatetags/__init__.py | 0 booking/templatetags/custom_filters.py | 11 + booking/urls.py | 3 +- common/urls.py | 3 + common/utils/minio_utils.py | 73 ++++++ common/utils/owncloud_utls.py | 41 +++- containers/forms.py | 15 +- containers/urls.py | 2 + containers/views/common.py | 129 ++++++++++ damages_api/urls.py | 1 + damages_api/views.py | 95 +++++--- docker-compose.minio.yml | 70 ++++++ docker-compose.yml | 77 +++++- dockerfile | 2 +- preinfo/urls.py | 11 +- preinfo/views/client_views.py | 21 ++ requirements.txt | Bin 698 -> 1194 bytes static/js/container-details.js | 23 ++ static/js/crud-list.js | 90 ++++++- static/styles/details.css | 97 ++++++++ static/styles/forms.css | 9 + templates/client-base.html | 47 +--- templates/client/booking-list.html | 11 +- templates/client/line-list.html | 17 +- templates/client/preinfo-list.html | 13 +- templates/common/base.html | 48 ++++ templates/common/container-details.html | 303 ++++++++++++++++++++++++ templates/employee-base.html | 39 +-- templates/employee-sidebar.html | 7 + templates/employee/booking-list.html | 14 +- templates/employee/company-list.html | 11 +- templates/employee/line-list.html | 11 +- templates/employee/preinfo-list.html | 5 +- templates/landing-page.html | 35 ++- templates/list-crud.html | 45 ++++ templates/registration/user-list.html | 9 +- 40 files changed, 1267 insertions(+), 245 deletions(-) create mode 100644 booking/templatetags/__init__.py create mode 100644 booking/templatetags/custom_filters.py create mode 100644 common/utils/minio_utils.py create mode 100644 containers/views/common.py create mode 100644 docker-compose.minio.yml create mode 100644 static/js/container-details.js create mode 100644 static/styles/details.css create mode 100644 templates/common/base.html create mode 100644 templates/common/container-details.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0cd9f48..ef5564b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,58 +5,50 @@ + + + + + + + + + + + + + - - + - - - - - + + + - - - - - - - - - - - + - - + - - - - - + - - - - - - - - + + + + + - +