From 31894376c10fc08f9f7a054dcde3b36c3b09f25b Mon Sep 17 00:00:00 2001 From: fschildt Date: Thu, 27 Nov 2025 23:56:22 +0100 Subject: cultivation: add mind stuff --- .../templates/cultivation/mind-event-add.html | 18 ++++++ .../templates/cultivation/mind-materials.html | 69 ++++++++++++++++++++++ .../templates/cultivation/mind-nav.html | 14 +++++ apps/cultivation/templates/cultivation/mind.html | 41 +++++++++++++ 4 files changed, 142 insertions(+) create mode 100644 apps/cultivation/templates/cultivation/mind-event-add.html create mode 100644 apps/cultivation/templates/cultivation/mind-materials.html create mode 100644 apps/cultivation/templates/cultivation/mind-nav.html create mode 100644 apps/cultivation/templates/cultivation/mind.html (limited to 'apps/cultivation/templates') diff --git a/apps/cultivation/templates/cultivation/mind-event-add.html b/apps/cultivation/templates/cultivation/mind-event-add.html new file mode 100644 index 0000000..7f3cdab --- /dev/null +++ b/apps/cultivation/templates/cultivation/mind-event-add.html @@ -0,0 +1,18 @@ +{% extends 'base.html' %} + +{% block title %}Add Mind Event - fsweb{% endblock %} + +{% block content %} + + +{% include "cultivation/mind-nav.html" %} + + +
+ {% csrf_token %} + {{ form.as_p }} + +
+ + +{% endblock %} diff --git a/apps/cultivation/templates/cultivation/mind-materials.html b/apps/cultivation/templates/cultivation/mind-materials.html new file mode 100644 index 0000000..ba5ea06 --- /dev/null +++ b/apps/cultivation/templates/cultivation/mind-materials.html @@ -0,0 +1,69 @@ +{% extends 'base.html' %} + +{% block title %}Mind Materials - fsweb{% endblock %} + +{% block content %} + + +{% include "cultivation/mind-nav.html" %} + + +{% if form.instance.pk %} + +
+ {% csrf_token %} + {{ form.as_p }} + + +
+ +{% else %} + +
+ {% csrf_token %} + {{ form.as_p }} + + +
+ +{% endif %} + + +

Summary

+ + + + + + {% for material in materials %} + + + + + + {% endfor %} +
Material
{{material.name}} +
+ {% csrf_token %} + +
+
+
+ {% csrf_token %} + +
+
+ + + +{% endblock %} + diff --git a/apps/cultivation/templates/cultivation/mind-nav.html b/apps/cultivation/templates/cultivation/mind-nav.html new file mode 100644 index 0000000..9f6cbf6 --- /dev/null +++ b/apps/cultivation/templates/cultivation/mind-nav.html @@ -0,0 +1,14 @@ +{% load static %} + + + + + + + + + + + + + diff --git a/apps/cultivation/templates/cultivation/mind.html b/apps/cultivation/templates/cultivation/mind.html new file mode 100644 index 0000000..a9cbe31 --- /dev/null +++ b/apps/cultivation/templates/cultivation/mind.html @@ -0,0 +1,41 @@ +{% extends 'base.html' %} + +{% block title %}Cultivation - fsweb{% endblock %} + +{% block content %} + + +{% include "cultivation/mind-nav.html" %} + + + + + + + + + + + {% for event in events %} + + + + + + + {% endfor %} +
Summary
DateMaterialDuration
{{event.date|date:"Y-m-d"}}{{event.material.name}}{{event.duration}} +
+ {% csrf_token %} + +
+
+ + +{% endblock %} + -- cgit v1.2.3