From 47dcf94f51d57b3c4f159cd0edde66a9123bbf82 Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Thu, 12 Dec 2019 20:47:51 +0100 Subject: [PATCH] Dashboard mit Kacheln IHR LAPPEN! --- orga/templates/orga/orga_main.html | 3 + users/templates/users/dashboard.html | 108 ++++++++++++++++----------- 2 files changed, 66 insertions(+), 45 deletions(-) diff --git a/orga/templates/orga/orga_main.html b/orga/templates/orga/orga_main.html index 1cc0381..a8c73fe 100644 --- a/orga/templates/orga/orga_main.html +++ b/orga/templates/orga/orga_main.html @@ -77,6 +77,9 @@ function connectorDefaults(connector) { connector.targetDecorator.shape = 'None'; connector.type = 'Orthogonal'; connector.style.strokeColor = 'gray'; + + console.log(connector); + return connector; } diff --git a/users/templates/users/dashboard.html b/users/templates/users/dashboard.html index f7fba51..6ab7f2f 100644 --- a/users/templates/users/dashboard.html +++ b/users/templates/users/dashboard.html @@ -7,50 +7,68 @@
Agentur: {{ request.user.profile.agency.name }}

-
-
-

News

- - - - - - - - - {% for news_single in news %} - - - - - - {% endfor %} -
TitelVeröffentlicht vonVeröffentlicht am
{{news_single.name }}{{ news_single.created_by.first_name }} {{ news_single.created_by.last_name }}{{ news_single.go_online_on|date:"d.m.Y, H:i" }}
+
-

Neueste Standards

- - - - - - - - - - - {% for standard in standards_of_agency %} - - - - - - - - {% endfor %} -
TitelErstellt amErstellt vonGeändert amGeändert von
{{standard.name}}{{standard.created_standard_date|date:"d.m.Y, H:i"}}{{standard.created_standard_by.first_name}} {{standard.created_standard_by.last_name}}{{standard.last_modified_on|date:"d.m.Y, H:i"}}{{standard.last_modified_by.first_name}} {{standard.last_modified_by.last_name}}
-
-
- -
+ +
+
+
News
+ + + + + + + + + {% for news_single in news %} + + + + + + {% endfor %} +
TitelVeröffentlicht vonVeröffentlicht am
{{news_single.name }}{{ news_single.created_by.first_name }} {{ news_single.created_by.last_name }}{{ news_single.go_online_on|date:"d.m.Y, H:i" }}
+
+
+ +
+ +
+ + +
+
+
Neueste Standards
+ + + + + + + + + {% for standard in standards_of_agency %} + + + + + + {% endfor %} +
TitelErstellt vonErstellt am
{{standard.name}}{{standard.created_standard_by.first_name}} {{standard.created_standard_by.last_name}}{{standard.created_standard_date|date:"d.m.Y, H:i"}}
+
+
+ +
-{% endblock content %} \ No newline at end of file +{% endblock content %} + + + + + {% for standard in standards_of_agency %} + {% if standard.task == task and standard.area == area %} +

{{standard.name}}

+ {% endif %} + {% endfor %} + \ No newline at end of file