From 480ee0b657b762f1dd0b1164f98ab13bc9a11f56 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 23 Sep 2024 16:29:25 -0500 Subject: Initialise "Platforms" section. --- uploader/templates/platforms/list-platforms.html | 93 ++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 uploader/templates/platforms/list-platforms.html (limited to 'uploader/templates/platforms/list-platforms.html') diff --git a/uploader/templates/platforms/list-platforms.html b/uploader/templates/platforms/list-platforms.html new file mode 100644 index 0000000..718dd1d --- /dev/null +++ b/uploader/templates/platforms/list-platforms.html @@ -0,0 +1,93 @@ +{%extends "platforms/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "species/macro-display-species-card.html" import display_species_card%} + +{%block title%}Platforms — List Platforms{%endblock%} + +{%block pagetitle%}Platforms — List Platforms{%endblock%} + + +{%block contents%} +{{flash_all_messages()}} + +
+

View the list of the genetic sequencing platforms that are currently + supported by GeneNetwork.

+

If you cannot find the platform you wish to use, you can add it by clicking + the "New Platform" button below.

+

Create Platform

+
+ +
+

Supported Platforms

+ {%if platforms is defined and platforms | length > 0%} +

There are {{total_platforms}} platforms supported by GeneNetwork

+ +
+
+ {%if start_from > 0%} + + + Previous + + {%endif%} +
+
+ Displaying platforms {{start_from+1}} to {{start_from+count if start_from+count < total_platforms else total_platforms}} of + {{total_platforms}} +
+
+ {%if start_from + count < total_platforms%} + + Next + + + {%endif%} +
+
+ + + + + + + + + + + + + {%for platform in platforms%} + + + + + + + {%endfor%} + +
#Platform NameGEO PlatformTitle
{{platform.sequence_number}}{{platform.GeneChipName}}{{platform.GeoPlatform}}{{platform.Title}}
+ {%else%} +

+ + There are no platforms supported at this time!

+ {%endif%} +
+{%endblock%} + +{%block sidebarcontents%} +{{display_species_card(species)}} +{%endblock%} -- cgit v1.2.3