aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/populations
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/populations')
-rw-r--r--uploader/templates/populations/create-population.html32
-rw-r--r--uploader/templates/populations/index.html8
-rw-r--r--uploader/templates/populations/list-populations.html2
-rw-r--r--uploader/templates/populations/view-population.html9
4 files changed, 48 insertions, 3 deletions
diff --git a/uploader/templates/populations/create-population.html b/uploader/templates/populations/create-population.html
index b57afba..b05ce37 100644
--- a/uploader/templates/populations/create-population.html
+++ b/uploader/templates/populations/create-population.html
@@ -107,7 +107,10 @@
value="{{error_values.population_code or ''}}"
class="form-control" />
<small class="form-text text-muted">
- … document what this field is for …
+ <p class="text-danger">
+ <span class="glyphicon glyphicon-exclamation-sign"></span>
+ What is this field is for? Confirm with Arthur and the rest.
+ </p>
</small>
</div>
@@ -159,7 +162,10 @@
{%endfor%}
</select>
<small class="form-text text-muted">
- <p>… provide some documentation on what this field does …</p>
+ <p>
+ This is a rough grouping of the populations in GeneNetwork into lists
+ of common types of populations.
+ </p>
</small>
</div>
@@ -207,6 +213,28 @@
{%endif%}>{{gtype}}</option>
{%endfor%}
</select>
+ <small class="form-text text-muted text-danger">
+ <p>
+ <span class="glyphicon glyphicon-exclamation-sign"></span>
+ This might be a poorly named field.
+ </p>
+ <p>
+ It probably has more to do with the mating crosses/crossings used to
+ produce the individuals in the population. I am no biologist, however,
+ and I'm leaving this here to remind myself to confirm this.
+ </p>
+ <p>
+ I still don't know what riset is.<br />
+ … probably something to do with Recombinant Inbred Strains
+ </p>
+ <p>
+ Possible resources for this:
+ <ul>
+ <li>https://www.informatics.jax.org/silver/chapters/3-2.shtml</li>
+ <li>https://www.informatics.jax.org/silver/chapters/9-2.shtml</li>
+ </ul>
+ </p>
+ </small>
</div>
<div class="form-group">
diff --git a/uploader/templates/populations/index.html b/uploader/templates/populations/index.html
index 3314516..4354e02 100644
--- a/uploader/templates/populations/index.html
+++ b/uploader/templates/populations/index.html
@@ -11,8 +11,14 @@
{{flash_all_messages()}}
<div class="row">
- To continue, you need to select the species:
+ <p>
+ Your experiment data will relate to a particular population from a
+ particular species. Let us know what species it is you want to work with
+ below.
+ </p>
+</div>
+<div class="row">
{{select_species_form(url_for("species.populations.index"), species)}}
</div>
{%endblock%}
diff --git a/uploader/templates/populations/list-populations.html b/uploader/templates/populations/list-populations.html
index c83c18c..7c7145f 100644
--- a/uploader/templates/populations/list-populations.html
+++ b/uploader/templates/populations/list-populations.html
@@ -51,6 +51,7 @@
<caption>Populations for {{species.FullName}}</caption>
<thead>
<tr>
+ <th>#</th>
<th>Name</th>
<th>Full Name</th>
<th>Description</th>
@@ -60,6 +61,7 @@
<tbody>
{%for population in populations%}
<tr>
+ <td>{{population["sequence_number"]}}</td>
<td>
<a href="{{url_for('species.populations.view_population',
species_id=species.SpeciesId,
diff --git a/uploader/templates/populations/view-population.html b/uploader/templates/populations/view-population.html
index 31db54f..1e2964e 100644
--- a/uploader/templates/populations/view-population.html
+++ b/uploader/templates/populations/view-population.html
@@ -23,6 +23,9 @@
{%block contents%}
<div class="row">
<h2>Population Details</h2>
+
+ {{flash_all_messages()}}
+
<dl>
<dt>Name</dt>
<dd>{{population.Name}}</dd>
@@ -59,6 +62,12 @@
<nav class="nav">
<ul>
<li>
+ <a href="{{url_for('species.populations.genotypes.list_genotypes',
+ species_id=species.SpeciesId,
+ population_id=population.Id)}}"
+ title="Upload genotypes for {{species.FullName}}">Upload Genotypes</a>
+ </li>
+ <li>
<a href="{{url_for('species.populations.samples.list_samples',
species_id=species.SpeciesId,
population_id=population.Id)}}"