From ee93ed8d58d8a4c32832582707286c574cf37dd7 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 10 Dec 2025 13:49:46 -0600 Subject: Improve layout: Use more of the horizontal space for medium screens. --- uploader/static/css/layout-medium.css | 2 +- .../templates/populations/sui-view-population.html | 9 ++-- uploader/templates/species/sui-view-species.html | 57 +++++++++++----------- uploader/templates/sui-index.html | 44 +++++++++++------ 4 files changed, 63 insertions(+), 49 deletions(-) (limited to 'uploader') diff --git a/uploader/static/css/layout-medium.css b/uploader/static/css/layout-medium.css index dcd2dda..2cca711 100644 --- a/uploader/static/css/layout-medium.css +++ b/uploader/static/css/layout-medium.css @@ -54,7 +54,7 @@ grid-gap: 5px; /* Define layout for the children elements */ - max-width: 70%; + max-width: 100%; } #main #sidebar-content { diff --git a/uploader/templates/populations/sui-view-population.html b/uploader/templates/populations/sui-view-population.html index 0f2928e..ebd7ea3 100644 --- a/uploader/templates/populations/sui-view-population.html +++ b/uploader/templates/populations/sui-view-population.html @@ -4,10 +4,7 @@ {%block contents%}
-

{{step_indicator("3")}} select population action

- -

The tabs below present the actions/features available under a population. - Do have a look at each to decide your next option.

+

{{population.FullName}} ({{population.Name}})

@@ -113,6 +110,10 @@ {%endblock%} {%block sidebarcontents%} +
+

Each tab presents a feature that's available at the population level. + Select the tab that allows you to continue with your task.

+
{{display_sui_population_card(species, population)}} {%endblock%} diff --git a/uploader/templates/species/sui-view-species.html b/uploader/templates/species/sui-view-species.html index aa26318..4b6402e 100644 --- a/uploader/templates/species/sui-view-species.html +++ b/uploader/templates/species/sui-view-species.html @@ -6,13 +6,30 @@ {%block title%}View Species{%endblock%} +{%macro add_form_buttons()%} +
+
+ +
+ + +
+{%endmacro%} + {%block contents%}
-

{{step_indicator("2")}} Select Species Action

- -

You can manage species' populations and sequencing platforms here. Select - the tab for the feature you wish to continue working on.

+

{{species.FullName}} ({{species.Name}})

@@ -54,12 +71,10 @@ action="{{url_for('species.view_species', species_id=species.SpeciesId)}}" class="form-horizontal"> {{add_http_feature_flags()}} - {%if populations | length != 0%} - -

Search for, and select the population from the table - below.

+ {{add_form_buttons()}} -
+ {%if populations | length != 0%} +
@@ -79,25 +94,7 @@ ({{species['SpeciesName']}}).

{%endif%} -
-
- -
- -
OR
- - -
+ {{add_form_buttons()}} @@ -117,6 +114,10 @@ {%endblock%} {%block sidebarcontents%} +
+

You can manage species' populations and sequencing platforms here. Select + the tab for the feature you wish to continue working on.

+
{{display_sui_species_card(species)}} {%endblock%} diff --git a/uploader/templates/sui-index.html b/uploader/templates/sui-index.html index 260ec30..888823f 100644 --- a/uploader/templates/sui-index.html +++ b/uploader/templates/sui-index.html @@ -11,24 +11,41 @@ {%block contents%} +{%macro add_form_buttons()%} +
+
+ +
+ +
+{%endmacro%} +
{{flash_all_messages()}}
{%if user_logged_in()%}
-

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

+

Species

-

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

+

Select the species you want to work with.

{{add_http_feature_flags()}} + + {{add_form_buttons()}} + {%if species | length != 0%} -
+
@@ -57,18 +74,7 @@ {%endif%} -
-
- -
-
OR
- -
+ {{add_form_buttons()}} @@ -92,6 +98,12 @@ {%block sidebarcontents%} +
+

The data in Genenetwork is related to one species or another. Use the form + provided to select from existing species, or click on the + "Create a New Species" button if you cannot find the species you want to + work with.

+
Quick Navigation -- cgit 1.4.1