diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index d0eae15c..aedfdc6a 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/osinacore/__pycache__/models.cpython-311.pyc b/osinaweb/osinacore/__pycache__/models.cpython-311.pyc index 39ed3991..19f13efb 100644 Binary files a/osinaweb/osinacore/__pycache__/models.cpython-311.pyc and b/osinaweb/osinacore/__pycache__/models.cpython-311.pyc differ diff --git a/osinaweb/osinacore/__pycache__/views.cpython-311.pyc b/osinaweb/osinacore/__pycache__/views.cpython-311.pyc index 701e7700..dba2f518 100644 Binary files a/osinaweb/osinacore/__pycache__/views.cpython-311.pyc and b/osinaweb/osinacore/__pycache__/views.cpython-311.pyc differ diff --git a/osinaweb/osinacore/migrations/__pycache__/0010_remove_note_date.cpython-311.pyc b/osinaweb/osinacore/migrations/__pycache__/0010_remove_note_date.cpython-311.pyc new file mode 100644 index 00000000..fd4dc3da Binary files /dev/null and b/osinaweb/osinacore/migrations/__pycache__/0010_remove_note_date.cpython-311.pyc differ diff --git a/osinaweb/osinacore/migrations/__pycache__/0011_note_date_alter_note_color_alter_note_text_and_more.cpython-311.pyc b/osinaweb/osinacore/migrations/__pycache__/0011_note_date_alter_note_color_alter_note_text_and_more.cpython-311.pyc new file mode 100644 index 00000000..7f7f3780 Binary files /dev/null and b/osinaweb/osinacore/migrations/__pycache__/0011_note_date_alter_note_color_alter_note_text_and_more.cpython-311.pyc differ diff --git a/osinaweb/osinacore/views.py b/osinaweb/osinacore/views.py index c18a19a5..7aab4405 100644 --- a/osinaweb/osinacore/views.py +++ b/osinaweb/osinacore/views.py @@ -72,6 +72,15 @@ def my_projects(request, *args, **kwargs): return render(request, 'projects.html', context) +@login_required +def my_tasks(request, *args, **kwargs): + + context = { + + } + return render(request, 'tasks.html', context) + + @login_required def detailed_project(request, project_id): project = get_object_or_404(Project, project_id=project_id) @@ -98,6 +107,26 @@ def create_epic(request): } return render(request, 'create-epic.html', context) +@login_required +def create_task(request): + context = { + + } + return render(request, 'create-task.html', context) + +@login_required +def createtask_project(request): + context = { + + } + return render(request, 'createtask-project.html', context) + +@login_required +def createtask_epic(request): + context = { + + } + return render(request, 'createtask-epic.html', context) def add_note_modal(request, *args, **kwargs): diff --git a/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc b/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc index 4e928823..0cb661db 100644 Binary files a/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc and b/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc differ diff --git a/osinaweb/osinaweb/urls.py b/osinaweb/osinaweb/urls.py index ccd25fc6..6a523166 100644 --- a/osinaweb/osinaweb/urls.py +++ b/osinaweb/osinaweb/urls.py @@ -24,10 +24,13 @@ urlpatterns = [ path('logout/', views.signout, name='signout'), path('', login_required(views.home), name='home'), path('my-projects/', login_required(views.my_projects), name='my-projects'), + path('my-tasks/', login_required(views.my_tasks), name='my-tasks'), path('detailedproject//', views.detailed_project, name='detailed-project'), path('createproject/', views.create_project, name='createproject'), path('createepic/', views.create_epic, name='createepic'), - + path('createtask/', views.create_task, name='createtask'), + path('createtaskproject/', views.createtask_project, name='createtaskproject'), + path('createtaskepic/', views.createtask_epic, name='createtaskepic'), path('addstatus/', views.add_status_modal, name='addstatus'), path('updatestatus/', views.update_status_modal, name='updatestatus'), diff --git a/osinaweb/static/dist/output.css b/osinaweb/static/dist/output.css index 6f9074fc..e9492065 100644 --- a/osinaweb/static/dist/output.css +++ b/osinaweb/static/dist/output.css @@ -534,6 +534,94 @@ video { --tw-backdrop-sepia: ; } +.container { + width: 100%; +} + +@media (min-width: 380px) { + .container { + max-width: 380px; + } +} + +@media (min-width: 500px) { + .container { + max-width: 500px; + } +} + +@media (min-width: 550px) { + .container { + max-width: 550px; + } +} + +@media (min-width: 650px) { + .container { + max-width: 650px; + } +} + +@media (min-width: 798px) { + .container { + max-width: 798px; + } +} + +@media (min-width: 960px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1110px) { + .container { + max-width: 1110px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1200px; + } +} + +@media (min-width: 1300px) { + .container { + max-width: 1300px; + } +} + +@media (min-width: 1350px) { + .container { + max-width: 1350px; + } +} + +@media (min-width: 1390px) { + .container { + max-width: 1390px; + } +} + +@media (min-width: 1536px) { + .container { + max-width: 1536px; + } +} + +@media (min-width: 1750px) { + .container { + max-width: 1750px; + } +} + +@media (min-width: 2400px) { + .container { + max-width: 2400px; + } +} + .visible { visibility: visible; } @@ -591,6 +679,10 @@ video { margin-bottom: 0.5rem; } +.mb-4 { + margin-bottom: 1rem; +} + .mb-5 { margin-bottom: 1.25rem; } @@ -711,10 +803,6 @@ video { height: 50px; } -.h-\[600px\] { - height: 600px; -} - .h-\[60px\] { height: 60px; } @@ -820,6 +908,10 @@ video { width: 35px; } +.w-\[380px\] { + width: 380px; +} + .w-\[40px\] { width: 40px; } @@ -852,10 +944,6 @@ video { width: 55%; } -.w-\[60\%\] { - width: 60%; -} - .w-\[60px\] { width: 60px; } @@ -913,6 +1001,10 @@ video { resize: both; } +.list-decimal { + list-style-type: decimal; +} + .list-disc { list-style-type: disc; } @@ -1005,6 +1097,11 @@ video { border-radius: 0.375rem; } +.rounded-e-md { + border-start-end-radius: 0.375rem; + border-end-end-radius: 0.375rem; +} + .rounded-t-md { border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; @@ -1184,6 +1281,11 @@ video { background-color: rgb(254 202 202 / var(--tw-bg-opacity)); } +.bg-red-400 { + --tw-bg-opacity: 1; + background-color: rgb(248 113 113 / var(--tw-bg-opacity)); +} + .bg-red-500 { --tw-bg-opacity: 1; background-color: rgb(239 68 68 / var(--tw-bg-opacity)); @@ -1228,10 +1330,19 @@ video { background-color: rgb(250 204 21 / var(--tw-bg-opacity)); } +.bg-yellow-500 { + --tw-bg-opacity: 1; + background-color: rgb(234 179 8 / var(--tw-bg-opacity)); +} + .bg-opacity-40 { --tw-bg-opacity: 0.4; } +.stroke-black { + stroke: #000; +} + .object-cover { -o-object-fit: cover; object-fit: cover; @@ -1258,6 +1369,11 @@ video { padding-right: 2.5rem; } +.px-2 { + padding-left: 0.5rem; + padding-right: 0.5rem; +} + .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; @@ -1444,10 +1560,18 @@ video { text-decoration-line: underline; } +.line-through { + text-decoration-line: line-through; +} + .opacity-30 { opacity: 0.3; } +.opacity-40 { + opacity: 0.4; +} + .shadow-lg { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); @@ -1509,6 +1633,11 @@ video { height: 25px; } +.hover\:bg-blue-500:hover { + --tw-bg-opacity: 1; + background-color: rgb(59 130 246 / var(--tw-bg-opacity)); +} + .hover\:bg-transparent:hover { background-color: transparent; } @@ -1533,6 +1662,11 @@ video { color: rgb(30 41 59 / var(--tw-text-opacity)); } +.hover\:text-white:hover { + --tw-text-opacity: 1; + color: rgb(255 255 255 / var(--tw-text-opacity)); +} + .focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; diff --git a/osinaweb/static/js/pop-modals.js b/osinaweb/static/js/pop-modals.js index 6069668e..e0d0c0db 100644 --- a/osinaweb/static/js/pop-modals.js +++ b/osinaweb/static/js/pop-modals.js @@ -107,7 +107,7 @@ document.addEventListener("DOMContentLoaded", function () { const iframe = document.getElementById("popupModalFrame"); iframe.style.height = "450px" - iframe.style.width = "500px" + iframe.style.width = "600px" }); //Show the add point modal @@ -119,8 +119,8 @@ document.addEventListener("DOMContentLoaded", function () { openModal(modalUrl); const iframe = document.getElementById("popupModalFrame"); - iframe.style.height = "160px" - iframe.style.width = "fit-content" + iframe.style.height = "225px" + iframe.style.width = "500px" }); //Show the Timeline modal diff --git a/osinaweb/templates/addpoint-modal.html b/osinaweb/templates/addpoint-modal.html index af62e891..e02c11f8 100644 --- a/osinaweb/templates/addpoint-modal.html +++ b/osinaweb/templates/addpoint-modal.html @@ -2,6 +2,7 @@ + @@ -16,15 +17,73 @@

Add Point

- +
- +
- -
+ + +

+ +

+ +
+ class="w-fit bg-blue-500 border border-blue-500 rounded-md text-white text-xl px-3 py-2 hover:bg-white hover:text-blue-500" + id="addPointsFormButton">Add + + +
+ +
+
+ + + +
+ \ No newline at end of file diff --git a/osinaweb/templates/create-epic.html b/osinaweb/templates/create-epic.html index 164affc2..21a23448 100644 --- a/osinaweb/templates/create-epic.html +++ b/osinaweb/templates/create-epic.html @@ -2,7 +2,7 @@ {%load static%} {% block content %} -
+

Create Epic @@ -33,123 +33,12 @@ class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-1">

-
- -
-
- - - -
diff --git a/osinaweb/templates/create-project.html b/osinaweb/templates/create-project.html index 4ad64dbd..a6e0cfc9 100644 --- a/osinaweb/templates/create-project.html +++ b/osinaweb/templates/create-project.html @@ -2,12 +2,110 @@ {%load static%} {% block content %} -
-
+ +
+
+

+ Create Project +

+ +
+ + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+ + +
+ +
+
+ + Upload + Document(s) + + +
+
+ + + + +
+ +
+
-
+ +{% endblock content %} \ No newline at end of file diff --git a/osinaweb/templates/createtask-epic.html b/osinaweb/templates/createtask-epic.html new file mode 100644 index 00000000..14540654 --- /dev/null +++ b/osinaweb/templates/createtask-epic.html @@ -0,0 +1,109 @@ +{% extends "main.html" %} +{%load static%} +{% block content %} + + + +
+
+

+ Create Task +

+ +
+ + + + + + + + + + + + +
+ + +
+ +
+ + +
+ +
+
+ + Upload + Document(s) + + +
+
+ + + + +
+ +
+
+
+
+ + + + + +
+ +{% endblock content %} \ No newline at end of file diff --git a/osinaweb/templates/createtask-project.html b/osinaweb/templates/createtask-project.html new file mode 100644 index 00000000..4ad059a1 --- /dev/null +++ b/osinaweb/templates/createtask-project.html @@ -0,0 +1,111 @@ +{% extends "main.html" %} +{%load static%} +{% block content %} + + + +
+
+

+ Create Task +

+ +
+ + + + + + + + + + + + +
+ + +
+ +
+ + +
+ +
+
+ + Upload + Document(s) + + +
+
+ + + + +
+ +
+
+
+
+ + + + + + + +{% endblock content %} \ No newline at end of file diff --git a/osinaweb/templates/main.html b/osinaweb/templates/main.html index 7f037eaa..031f4b5e 100644 --- a/osinaweb/templates/main.html +++ b/osinaweb/templates/main.html @@ -73,15 +73,15 @@