From 21e0e451f70ffb86e9510bea55e8a7c514342e7a Mon Sep 17 00:00:00 2001 From: xenua Date: Sun, 19 Jun 2022 10:50:40 +0200 Subject: [PATCH] add partial lists --- leftists/templates/interface/linkedlist.html | 19 +++++++++++++++++++ leftists/templates/interface/overview.html | 2 +- leftists/urls.py | 3 ++- leftists/views.py | 15 +++++++++++++-- 4 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 leftists/templates/interface/linkedlist.html diff --git a/leftists/templates/interface/linkedlist.html b/leftists/templates/interface/linkedlist.html new file mode 100644 index 0000000..7e229cd --- /dev/null +++ b/leftists/templates/interface/linkedlist.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% block main %} + + + + + + + {% for link in object_list %} + + + + + + {% endfor %} +
linkto
[e] | [d]{{ link.link }}{{ link.to }}
+ +{% endblock %} \ No newline at end of file diff --git a/leftists/templates/interface/overview.html b/leftists/templates/interface/overview.html index c764ebc..90b2ed1 100644 --- a/leftists/templates/interface/overview.html +++ b/leftists/templates/interface/overview.html @@ -5,7 +5,7 @@ managing these domains: