diff --git a/templates/projects/project_detail.html b/templates/projects/project_detail.html new file mode 100644 index 0000000..2c3799d --- /dev/null +++ b/templates/projects/project_detail.html @@ -0,0 +1,69 @@ +{% extends "shared/base.html" %} +{% load static %} +{% block content %} +{% include "shared/navbar.html" %} + +
+ +
+
+

+ {{ project.name }} + + {{ project.get_status_display }} + +

+

+ {{ project.client.name }} • Due: {{ project.deadline|default:"No deadline" }} +

+ +
+ +
+ + +
+

Description

+

{{ project.description }}

+
+ + +
+
+

Tasks

+
+
+ {% include "projects/partials/kanban_board.html" %} +
+
+
+ + + + + + +{% endblock %} \ No newline at end of file diff --git a/templates/projects/project_form.html b/templates/projects/project_form.html new file mode 100644 index 0000000..7ef868b --- /dev/null +++ b/templates/projects/project_form.html @@ -0,0 +1,106 @@ +{% extends "shared/base.html" %} +{% load static %} +{% block content %} +{% include "shared/navbar.html" %} + +
+

{% if project %}Edit Project{% else %}New Project{% endif %}

+ {% include "projects/partials/project_form.html" %} +
+ + +{% endblock %} \ No newline at end of file diff --git a/templates/projects/project_list.html b/templates/projects/project_list.html new file mode 100644 index 0000000..dea47e1 --- /dev/null +++ b/templates/projects/project_list.html @@ -0,0 +1,69 @@ +{% extends "shared/base.html" %} +{% load static %} +{% block content %} +{% include "shared/navbar.html" %} + +
+
+

Projects

+ + + New Project + +
+ +
+ + + + + + + + + + + + {% for project in projects %} + + + + + + + + {% empty %} + + + + {% endfor %} + +
NameClientStatusDeadlineActions
+ + {{ project.name }} + +
{{ project.description|truncatechars:50 }}
+
{{ project.client.name }} +
+ {{ project.get_status_display }} +
+
{{ project.deadline|default:"-" }} +
+ + + Edit + + +
+
+ No projects found. Create one to get started. +
+
+
+{% endblock %} \ No newline at end of file