From 795562b3855b2e4dca5632d53a922e84a2859bf0 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 Sep 2024 16:49:36 -0500 Subject: View a specific population's details. --- .../templates/populations/list-populations.html | 4 +- .../templates/populations/view-population.html | 70 ++++++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 uploader/templates/populations/view-population.html (limited to 'uploader/templates') diff --git a/uploader/templates/populations/list-populations.html b/uploader/templates/populations/list-populations.html index c14a28c..c3ba180 100644 --- a/uploader/templates/populations/list-populations.html +++ b/uploader/templates/populations/list-populations.html @@ -59,7 +59,9 @@ {%for population in populations%} - {{population.Name}} diff --git a/uploader/templates/populations/view-population.html b/uploader/templates/populations/view-population.html new file mode 100644 index 0000000..2ab7ca3 --- /dev/null +++ b/uploader/templates/populations/view-population.html @@ -0,0 +1,70 @@ +{%extends "populations/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "species/macro-select-species.html" import select_species_form%} + +{%block title%}Populations{%endblock%} + +{%block pagetitle%}Populations{%endblock%} + +{%block lvl3_breadcrumbs%} + +{%endblock%} + + +{%block contents%} +
+

Population Details

+
+
Name
+
{{population.Name}}
+ +
FullName
+
{{population.FullName}}
+ +
Description
+
{{population.Description or "-"}}
+
+
+ +
+

Actions

+ +

+ Click any of the following links to use this population in performing the + subsequent operations. +

+ + +
+{%endblock%} + +{%block sidebarcontents%} +

… maybe provide species details here, perhaps? …

+

… maybe provide extra population details here, perhaps? …

+{%endblock%} -- cgit v1.2.3