From 4fbbc4aec037135d29e59371ae9e476205cd2cf0 Mon Sep 17 00:00:00 2001 From: nataly Date: Fri, 24 May 2024 13:40:54 +0300 Subject: [PATCH] New changes. --- .../add/__pycache__/urls.cpython-312.pyc | Bin 1070 -> 1070 bytes .../add/__pycache__/views.cpython-312.pyc | Bin 12211 -> 12211 bytes .../add-payment-method-modal.html | 2 +- .../edit_templates/edit-payment-method.html | 2 +- .../add_templates/customer-add-ticket.html | 4 +- .../inner-customer-project.html | 2 +- .../inner-customer-ticket.html | 6 +- .../listing_pages/customer-projects.html | 2 +- .../listing_pages/customer-tickets.html | 2 +- osinaweb/db.sqlite3 | Bin 1355776 -> 1355776 bytes .../__pycache__/views.cpython-312.pyc | Bin 39118 -> 39274 bytes .../osinacore/templates/add-edit-main.html | 4 +- .../templates/add_templates/add-business.html | 2 +- .../templates/add_templates/add-customer.html | 2 +- .../templates/add_templates/add-project.html | 2 +- .../templates/add_templates/add-staff.html | 2 +- .../templates/add_templates/add-task.html | 2 +- .../templates/add_templates/add-ticket.html | 4 +- .../details_templates/project-details.html | 403 ++++++++++++------ .../details_templates/task-details.html | 2 +- .../details_templates/ticket-details.html | 6 +- .../edit_templates/edit-business.html | 2 +- .../templates/edit_templates/edit-staff.html | 2 +- .../templates/edit_templates/edit-task.html | 2 +- .../templates/listing_pages/projects.html | 122 +----- .../templates/listing_pages/tickets.html | 127 +++--- osinaweb/osinacore/templates/login.html | 6 +- osinaweb/osinacore/templates/main.html | 10 +- .../templates/projects-by-status.html | 17 +- .../templates/recent-activities-page.html | 6 +- osinaweb/osinacore/views.py | 2 + osinaweb/static/dist/output.css | 56 +++ .../js/{ => api_calls}/fetch-epic-tasks.js | 0 .../fetch-epics-in-edit-task.js | 0 .../get-updated-last-status.js | 0 .../get-updated-user-activity.js | 0 .../js/{ => api_calls}/switch-status.js | 0 .../static/js/{ => inputs}/file-uploader.js | 0 .../static/js/{ => inputs}/text-editor.js | 0 .../js/{ => inputs}/upload-image-tag.js | 0 .../js/{ => inputs}/upload-input-tag.js | 0 .../international-mobile-input-tag.js | 0 .../js/{ => login_register}/login-register.js | 0 .../js/{ => login_register}/registration.js | 0 .../static/js/{ => notes}/notes-pop-modal.js | 0 osinaweb/static/js/{ => notes}/show-notes.js | 0 .../static/js/{ => projects}/add-project.js | 0 .../calculate-all-projects-time.js | 0 .../{ => projects}/calculate-project-time.js | 0 .../js/{ => projects}/projects-filtering.js | 6 +- osinaweb/static/js/tickets-filtering.js | 28 -- .../static/js/{ => tickets}/add-ticket.js | 0 .../regarding-ticket.js | 0 osinaweb/static/js/tickets/share-ticket.js | 26 ++ .../ticket-details.js | 0 .../tickets-filtering.js | 0 56 files changed, 489 insertions(+), 372 deletions(-) rename osinaweb/static/js/{ => api_calls}/fetch-epic-tasks.js (100%) rename osinaweb/static/js/{ => api_calls}/fetch-epics-in-edit-task.js (100%) rename osinaweb/static/js/{ => api_calls}/get-updated-last-status.js (100%) rename osinaweb/static/js/{ => api_calls}/get-updated-user-activity.js (100%) rename osinaweb/static/js/{ => api_calls}/switch-status.js (100%) rename osinaweb/static/js/{ => inputs}/file-uploader.js (100%) rename osinaweb/static/js/{ => inputs}/text-editor.js (100%) rename osinaweb/static/js/{ => inputs}/upload-image-tag.js (100%) rename osinaweb/static/js/{ => inputs}/upload-input-tag.js (100%) rename osinaweb/static/js/{ => login_register}/international-mobile-input-tag.js (100%) rename osinaweb/static/js/{ => login_register}/login-register.js (100%) rename osinaweb/static/js/{ => login_register}/registration.js (100%) rename osinaweb/static/js/{ => notes}/notes-pop-modal.js (100%) rename osinaweb/static/js/{ => notes}/show-notes.js (100%) rename osinaweb/static/js/{ => projects}/add-project.js (100%) rename osinaweb/static/js/{ => projects}/calculate-all-projects-time.js (100%) rename osinaweb/static/js/{ => projects}/calculate-project-time.js (100%) rename osinaweb/static/js/{ => projects}/projects-filtering.js (86%) delete mode 100644 osinaweb/static/js/tickets-filtering.js rename osinaweb/static/js/{ => tickets}/add-ticket.js (100%) rename osinaweb/static/js/{customer_dashboard => tickets}/regarding-ticket.js (100%) create mode 100644 osinaweb/static/js/tickets/share-ticket.js rename osinaweb/static/js/{customer_dashboard => tickets}/ticket-details.js (100%) rename osinaweb/static/js/{customer_dashboard => tickets}/tickets-filtering.js (100%) diff --git a/osinaweb/billing/add/__pycache__/urls.cpython-312.pyc b/osinaweb/billing/add/__pycache__/urls.cpython-312.pyc index f735b665a1d78d6e5f188ffb12946b221cc3020a..0bff3b41d6ed0d6e1a456b6fee823b1188e26057 100644 GIT binary patch delta 19 ZcmZ3-v5tf5G%qg~0}#x0+sLKD0st>K1S|jm delta 19 ZcmZ3-v5tf5G%qg~0}yO<*~q2B0st?j1U>)& diff --git a/osinaweb/billing/add/__pycache__/views.cpython-312.pyc b/osinaweb/billing/add/__pycache__/views.cpython-312.pyc index c252843897de4a83effd880a56b66478cb6515ad..47dffaf331181c70f838eda77121aa6048d3a020 100644 GIT binary patch delta 19 ZcmdlSzd4@kG%qg~0}zDgZRA?14*)yU1$F=c delta 19 ZcmdlSzd4@kG%qg~0}z - + diff --git a/osinaweb/billing/templates/edit_templates/edit-payment-method.html b/osinaweb/billing/templates/edit_templates/edit-payment-method.html index 450e9499..42520df2 100644 --- a/osinaweb/billing/templates/edit_templates/edit-payment-method.html +++ b/osinaweb/billing/templates/edit_templates/edit-payment-method.html @@ -68,6 +68,6 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/customercore/templates/add_templates/customer-add-ticket.html b/osinaweb/customercore/templates/add_templates/customer-add-ticket.html index 851fe552..0123d05a 100644 --- a/osinaweb/customercore/templates/add_templates/customer-add-ticket.html +++ b/osinaweb/customercore/templates/add_templates/customer-add-ticket.html @@ -93,10 +93,10 @@ - + - + {% endblock %} \ No newline at end of file diff --git a/osinaweb/customercore/templates/details_templates/inner-customer-project.html b/osinaweb/customercore/templates/details_templates/inner-customer-project.html index c9e5107a..d51e30dd 100644 --- a/osinaweb/customercore/templates/details_templates/inner-customer-project.html +++ b/osinaweb/customercore/templates/details_templates/inner-customer-project.html @@ -274,5 +274,5 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/customercore/templates/details_templates/inner-customer-ticket.html b/osinaweb/customercore/templates/details_templates/inner-customer-ticket.html index 53c38ea7..1fc596fe 100644 --- a/osinaweb/customercore/templates/details_templates/inner-customer-ticket.html +++ b/osinaweb/customercore/templates/details_templates/inner-customer-ticket.html @@ -335,10 +335,10 @@ - + - + - + {% endblock %} \ No newline at end of file diff --git a/osinaweb/customercore/templates/listing_pages/customer-projects.html b/osinaweb/customercore/templates/listing_pages/customer-projects.html index bf9d3fc8..a08b985a 100644 --- a/osinaweb/customercore/templates/listing_pages/customer-projects.html +++ b/osinaweb/customercore/templates/listing_pages/customer-projects.html @@ -53,6 +53,6 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/customercore/templates/listing_pages/customer-tickets.html b/osinaweb/customercore/templates/listing_pages/customer-tickets.html index 9634f3a1..f50f23ba 100644 --- a/osinaweb/customercore/templates/listing_pages/customer-tickets.html +++ b/osinaweb/customercore/templates/listing_pages/customer-tickets.html @@ -183,6 +183,6 @@ - + {% endblock %} \ No newline at end of file diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 8f26ae9a3bc466816ccf6cc2d1aa963fc4d3f63d..c33e43b38d86f73f272163f5700d1c8862fda2b2 100644 GIT binary patch delta 637 zcmZp85Y+G>Xo57O@kAMCM&peMbF>+KH~-ZRu;#O{GBvX@G14(uG&4MMdXY<#TGSog9{1-gxsm07jLclyLdg2K~3vnXZ93$OF)H1dj9V3Yo(0OxqPS IMIN*P0DFYLg#Z8m delta 476 zcmZp85Y+G>Xo57O{6raNM){2ibF>*fH~-ZRu;w$fGBvj{Fw!$OF*CF<+8mv}iG6xi zn-CX^nUSe!vvhvDbUq^xGXXI(5VHU=D-g2*F*^`*05K;Jb8VN-=l1`EFwWG#z}TX_ zB9Ui%MIvuc9djJJ@^;K`g$yy%Sr_nWPB&P6%5-XK)FUFZV;W>#j^ z7SHJu7YPba|IjAH)*jp@v^}^@ICH)NAxBQXqbjn+)4#~yDl0ED!>1zGGu_ZN&B80f z%iqc0C*04n!p$o+CDhC`HN3zlBgZq!Da)+b$iT=%*T78Iz+Axq9!=nI-L8-+?9Q}Z JK~v;G8vx({oTC5$ diff --git a/osinaweb/osinacore/__pycache__/views.cpython-312.pyc b/osinaweb/osinacore/__pycache__/views.cpython-312.pyc index bd8bf270089665fa91818ed5b69600ef0bb83d92..a85a46c11ee8daa5bfc455e61052a65136079296 100644 GIT binary patch delta 742 zcmXv~OGs2v7{2GuoI7*pb;lS@YoyYN#-@dd3yC5jUuX_i7~v2mUhg#H13Y&unK?S5 zNkWFfkI_RSa1};m7m{dEv=Xdva$$v=a_7Png?7<@3jf7_zVAEV`5))=yu9&B_AYt7 zE(v2yZ!td2d)GV3By4xC%PAk^s*7Q{FaXuD<2K4=C_fp1y4E0!+_AfAq^qVR4LMN$ zaW(+{*8F0}bNd_-rBHY3bV%h+bR9$H;x5Q(LD;R3lKWNOkbXsDy7*MbH@cyBbjH$BE58(BrM4H7&TRg>qVGRg2`b$jka=EwZAW zUe#)ITJ8I;747^;1H6f^dA{ZsZ@U#u8L8j(!;|X^v4~t7oKMFQF)y?L%Lx%6CyoO#G`Zo?K@Tve<71bIG7D9H&F=LAeJbC&4_As zXRq1FAbcF{A{nR{tDqe3E3L#>haKgm+wICQ3M>od6G!PN!X~S2qQOCK!R%Cmj-!yU z^6u@URpPstSe1#Tm{^2~6_^;9i7}XH%?3phO_-?0#vwL+fIPBpOwY)9B_v9AY?55C NB@4I}h0+Iee*qhM%sT)8 delta 696 zcmXv~OK1~O6rDGjH<@HIjYey`P)KXV1V2dVLW-Y7tFfh4jTBMT8uFQ@X%hO9HjunY zloScrMeu?@x^p2#6zWj2l5E6{QbkvOb`=EOG$<{&@;-}qap#psgF zr^uw2Aka&TbeQ?+ebak)*I@ut>)Dmb&pi{uiet0z44J~tKj2xd4^S z5gI{Z#kMma3B82ywS6adR3Vq)Rlb*8f$#a#G>P&%J5>0fk`&N#lZ?a5a;0k;<sqXqP}ZOwWvlVNC919T3BUi(|M<{(9wtR+YZ zR%; - + - + \ No newline at end of file diff --git a/osinaweb/osinacore/templates/add_templates/add-business.html b/osinaweb/osinacore/templates/add_templates/add-business.html index 633a7e5a..4c9878fa 100644 --- a/osinaweb/osinacore/templates/add_templates/add-business.html +++ b/osinaweb/osinacore/templates/add_templates/add-business.html @@ -104,7 +104,7 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/add_templates/add-customer.html b/osinaweb/osinacore/templates/add_templates/add-customer.html index b917c967..ab5c7f95 100644 --- a/osinaweb/osinacore/templates/add_templates/add-customer.html +++ b/osinaweb/osinacore/templates/add_templates/add-customer.html @@ -79,7 +79,7 @@ - + diff --git a/osinaweb/osinacore/templates/add_templates/add-project.html b/osinaweb/osinacore/templates/add_templates/add-project.html index 9d321897..311e7c76 100644 --- a/osinaweb/osinacore/templates/add_templates/add-project.html +++ b/osinaweb/osinacore/templates/add_templates/add-project.html @@ -119,6 +119,6 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/add_templates/add-staff.html b/osinaweb/osinacore/templates/add_templates/add-staff.html index 6fbf1860..f615e3e6 100644 --- a/osinaweb/osinacore/templates/add_templates/add-staff.html +++ b/osinaweb/osinacore/templates/add_templates/add-staff.html @@ -104,7 +104,7 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/add_templates/add-task.html b/osinaweb/osinacore/templates/add_templates/add-task.html index 57e6d4b6..2332e887 100644 --- a/osinaweb/osinacore/templates/add_templates/add-task.html +++ b/osinaweb/osinacore/templates/add_templates/add-task.html @@ -138,7 +138,7 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/add_templates/add-ticket.html b/osinaweb/osinacore/templates/add_templates/add-ticket.html index 817a46e3..652567c1 100644 --- a/osinaweb/osinacore/templates/add_templates/add-ticket.html +++ b/osinaweb/osinacore/templates/add_templates/add-ticket.html @@ -105,10 +105,10 @@ - + - + {% endblock %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/details_templates/project-details.html b/osinaweb/osinacore/templates/details_templates/project-details.html index 3118228f..b58f8022 100644 --- a/osinaweb/osinacore/templates/details_templates/project-details.html +++ b/osinaweb/osinacore/templates/details_templates/project-details.html @@ -7,13 +7,44 @@
-
+ {% if project.projectstatus_set.all.last.status == 'Pending' %}bg-yellow-500{% endif %} bg-opacity-70">

{{project.name}}

-

{{project.project_id}}

+ {% for type in project.project_type.all %} +

+ {{type.name}} {% if not forloop.last %} | {% endif %} +

+ {% endfor %} + +
+ + + + +
+ +
@@ -52,11 +83,11 @@ class="w-full md:w-fit text-base px-3 py-2 bg-transparent text-osiblue outline-none border border-osiblue duration-300 rounded-md cursor-pointer hover:bg-osiblue hover:text-white">Create Story - - - + + + + +
+
+

Statuses

+
- - +
+ {% for status in statuses %} +
+

{{status.status}}

+

{{status.date}}

+
+ {% endfor %} +
+
-
- {% for member in members %} -
+ - - + +
@@ -625,10 +768,10 @@ - + - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/details_templates/task-details.html b/osinaweb/osinacore/templates/details_templates/task-details.html index 53762fc6..3bd1e5e4 100644 --- a/osinaweb/osinacore/templates/details_templates/task-details.html +++ b/osinaweb/osinacore/templates/details_templates/task-details.html @@ -6,7 +6,7 @@
+ class="w-full rounded-md flex flex-col justify-center items-center py-3 {% if task.status == 'Open' %} bg-osiblue {% endif %} {% if task.status == 'Working On' %} bg-yellow-500 {% endif %} {% if task.status == 'Closed' %} bg-green-700 {% endif %} bg-opacity-70">

{{task.name}}

diff --git a/osinaweb/osinacore/templates/details_templates/ticket-details.html b/osinaweb/osinacore/templates/details_templates/ticket-details.html index e8ba939c..4da65c5d 100644 --- a/osinaweb/osinacore/templates/details_templates/ticket-details.html +++ b/osinaweb/osinacore/templates/details_templates/ticket-details.html @@ -422,9 +422,9 @@ - - + + - + {% endblock %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/edit_templates/edit-business.html b/osinaweb/osinacore/templates/edit_templates/edit-business.html index e4d8f761..0f3c0499 100644 --- a/osinaweb/osinacore/templates/edit_templates/edit-business.html +++ b/osinaweb/osinacore/templates/edit_templates/edit-business.html @@ -133,6 +133,6 @@
- + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/edit_templates/edit-staff.html b/osinaweb/osinacore/templates/edit_templates/edit-staff.html index 0c5912a8..1316e513 100644 --- a/osinaweb/osinacore/templates/edit_templates/edit-staff.html +++ b/osinaweb/osinacore/templates/edit_templates/edit-staff.html @@ -103,7 +103,7 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/edit_templates/edit-task.html b/osinaweb/osinacore/templates/edit_templates/edit-task.html index fcc2251d..760336eb 100644 --- a/osinaweb/osinacore/templates/edit_templates/edit-task.html +++ b/osinaweb/osinacore/templates/edit_templates/edit-task.html @@ -122,6 +122,6 @@ - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/listing_pages/projects.html b/osinaweb/osinacore/templates/listing_pages/projects.html index d15b28d2..39276a7b 100644 --- a/osinaweb/osinacore/templates/listing_pages/projects.html +++ b/osinaweb/osinacore/templates/listing_pages/projects.html @@ -54,114 +54,6 @@
- -
@@ -175,9 +67,12 @@
-
-

{{project.name}}

-
+ +
+

{{project.name}}

+
+
+
@@ -260,7 +155,6 @@
- {% endif %}
@@ -282,9 +176,9 @@ - + - + {% endblock content %} \ No newline at end of file diff --git a/osinaweb/osinacore/templates/listing_pages/tickets.html b/osinaweb/osinacore/templates/listing_pages/tickets.html index 6cbd1be3..9d5636fe 100644 --- a/osinaweb/osinacore/templates/listing_pages/tickets.html +++ b/osinaweb/osinacore/templates/listing_pages/tickets.html @@ -2,11 +2,10 @@ {%load static%} {% block content %} +
-

Tickets

-
@@ -23,7 +22,7 @@
-
+
@@ -31,11 +30,14 @@
- + +
+
-
+
@@ -90,52 +92,51 @@ @@ -145,10 +146,10 @@
-

{{ticket.ticketupdate_set.all.last.added_by.first_name}}

+

{{ticket.ticketupdate_set.all.last.added_by.first_name}} +

-
- + -