From fa43a6ed5eac43206926953fd4f122f5c63cece6 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 8 Dec 2025 11:30:03 -0600 Subject: Improve the streamlined UI for the index page. --- uploader/templates/base2.html | 111 -------------------------------------- uploader/templates/index2.html | 48 ----------------- uploader/templates/sui-base.html | 111 ++++++++++++++++++++++++++++++++++++++ uploader/templates/sui-index.html | 111 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 222 insertions(+), 159 deletions(-) delete mode 100644 uploader/templates/base2.html delete mode 100644 uploader/templates/index2.html create mode 100644 uploader/templates/sui-base.html create mode 100644 uploader/templates/sui-index.html (limited to 'uploader/templates') diff --git a/uploader/templates/base2.html b/uploader/templates/base2.html deleted file mode 100644 index 4c5d613..0000000 --- a/uploader/templates/base2.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - {%block extrameta%}{%endblock%} - - Data Upload and Quality Control: {%block title%}{%endblock%} - - - - - - - - - - {%block css%}{%endblock%} - - - - - - - -
- - -
- {%block contents%}{%endblock%} -
- - -
- - - - - - - - - - - - - - - - - - {%block javascript%}{%endblock%} - - diff --git a/uploader/templates/index2.html b/uploader/templates/index2.html deleted file mode 100644 index 72fea2f..0000000 --- a/uploader/templates/index2.html +++ /dev/null @@ -1,48 +0,0 @@ -{%extends "base2.html"%} -{%from "flash_messages.html" import flash_all_messages%} - -{%block title%}Home{%endblock%} - -{%block pagetitle%}Home{%endblock%} - -{%block extra_breadcrumbs%}{%endblock%} - -{%block contents%} - -
{{flash_all_messages()}}
- -{%if user_logged_in()%} -
-

Select from:

- -
-{%else%} -
-

- Sign in - to continue.

-
-{%endif%} - -{%endblock%} - - - -{%block sidebarcontents%} -
-
- Quick Navigation -
- - -
-
-
-{%endblock%} diff --git a/uploader/templates/sui-base.html b/uploader/templates/sui-base.html new file mode 100644 index 0000000..4c5d613 --- /dev/null +++ b/uploader/templates/sui-base.html @@ -0,0 +1,111 @@ + + + + + + + + + {%block extrameta%}{%endblock%} + + Data Upload and Quality Control: {%block title%}{%endblock%} + + + + + + + + + + {%block css%}{%endblock%} + + + + + + + +
+ + +
+ {%block contents%}{%endblock%} +
+ + +
+ + + + + + + + + + + + + + + + + + {%block javascript%}{%endblock%} + + diff --git a/uploader/templates/sui-index.html b/uploader/templates/sui-index.html new file mode 100644 index 0000000..a589148 --- /dev/null +++ b/uploader/templates/sui-index.html @@ -0,0 +1,111 @@ +{%extends "sui-base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "macro-step-indicator.html" import step_indicator%} + +{%block title%}Home{%endblock%} + +{%block pagetitle%}Home{%endblock%} + +{%block extra_breadcrumbs%}{%endblock%} + +{%block contents%} + +
{{flash_all_messages()}}
+ +{%if user_logged_in()%} + +
+
+

{{step_indicator("1 - a")}} Select the Species

+ +

The data in Genenetwork is related to one species or another. To get + started, please select the species you want to work with.

+
+
+ +
+
+ + + {%if species | length != 0%} +
+ + + + + + + + + +
Species Name
+
+ + {%else%} + + + +
+ +
+ + {%endif%} + +
+
+ +
+
OR
+ +
+ +
+
+ +{%else%} + +
+

The Genenetwork Uploader (gn-uploader) enables upload of new data + into the Genenetwork System. It provides Quality Control over data, and + guidance in case you data does not meet the standards for acceptance.

+

+ Sign in + to get started.

+
+{%endif%} + +{%endblock%} + + + +{%block sidebarcontents%} +
+
+ Quick Navigation +
+ + +
+
+
+{%endblock%} + + +{%block javascript%} + +{%endblock%} -- cgit 1.4.1