From 987a6d3c553dbfdfc37bfc9f0f656d107c74f85e Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Mon, 22 Jun 2020 23:03:32 +0200 Subject: Download docs, better preview --- .gitignore | 1 + accounts/templates/accounts/index.html | 656 ++++++++++++++++++--------- accounts/views.py | 48 +- client/migrations/0023_auto_20200622_1708.py | 24 + client/migrations/0024_auto_20200622_1930.py | 23 + client/models.py | 2 + client/templates/client/approve.html | 2 +- client/templates/client/doc_create.html | 8 +- client/templates/client/doc_edit.html | 26 +- client/templates/client/index.html | 218 +++++++-- client/views.py | 20 +- documents_qtCfYLF | 0 manager/settings.py | 1 + server/templates/server/doc_list.html | 205 ++++++++- server/templates/server/download_doc.html | 265 +++++++++++ server/views.py | 34 +- templates/registration/base_client.html | 51 +++ 17 files changed, 1293 insertions(+), 291 deletions(-) create mode 100644 client/migrations/0023_auto_20200622_1708.py create mode 100644 client/migrations/0024_auto_20200622_1930.py create mode 100644 documents_qtCfYLF create mode 100644 server/templates/server/download_doc.html create mode 100644 templates/registration/base_client.html diff --git a/.gitignore b/.gitignore index 7668361..7c35346 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ **/__pycache__ **/*.pyc +documents \ No newline at end of file diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html index c1f4624..a6e6edd 100644 --- a/accounts/templates/accounts/index.html +++ b/accounts/templates/accounts/index.html @@ -4,7 +4,7 @@ {%block nav%}