From b40f14bb409d54fda957e2d8269f1bc86bd34e58 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 29 Dec 2025 11:42:58 -0600 Subject: Samples: Move feature to new UI templates. --- uploader/templates/samples/list-samples.html | 50 +++++----------------------- 1 file changed, 9 insertions(+), 41 deletions(-) (limited to 'uploader/templates/samples/list-samples.html') diff --git a/uploader/templates/samples/list-samples.html b/uploader/templates/samples/list-samples.html index aed27c3..3aac984 100644 --- a/uploader/templates/samples/list-samples.html +++ b/uploader/templates/samples/list-samples.html @@ -1,53 +1,34 @@ {%extends "samples/base.html"%} {%from "flash_messages.html" import flash_all_messages%} {%from "populations/macro-select-population.html" import select_population_form%} -{%from "populations/macro-display-population-card.html" import display_population_card%} {%block title%}Samples — List Samples{%endblock%} -{%block pagetitle%}Samples — List Samples{%endblock%} - -{%block lvl4_breadcrumbs%} - -{%endblock%} - {%block contents%} -{{flash_all_messages()}} +{{super()}}
-

- You selected the population "{{population.FullName}}" from the - "{{species.FullName}}" species. -

+

manage samples

+ {{flash_all_messages()}}
-

+

- add samples - -

+ class="btn btn-primary">add new samples +
{%if samples | length > 0%}

- This population already has {{total_samples}} - samples/individuals entered. You can explore the list of samples in this - population in the table below. + Population "{{population.FullName}} ({{population.Name}})" already has + {{total_samples}} samples/individuals entered. You can + explore the list of samples in the table below.

@@ -106,15 +87,6 @@ {%endfor%} - -

- - delete all samples - -

{%else%}
@@ -124,7 +96,3 @@ {%endif%} {%endblock%} - -{%block sidebarcontents%} -{{display_population_card(species, population)}} -{%endblock%} -- cgit 1.4.1