aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/species/view-species.html
blob: bf5f0c1d439ef11acca9e95a7585c3ce2fd5f78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{%extends "species/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}

{%block title%}View Species{%endblock%}

{%block pagetitle%}View Species{%endblock%}

{%block css%}
<style type="text/css">
  .card {
      margin-top: 0.3em;
      border-width: 1px;
      border-style: solid;
      border-radius: 0.3em;
      border-color: #AAAAAA;
      padding: 0.5em;
  }
</style>
{%endblock%}

{%block lvl2_breadcrumbs%}
<li {%if activelink=="view-species"%}
    class="breadcrumb-item active"
    {%else%}
    class="breadcrumb-item"
    {%endif%}>
  <a href="{{url_for('species.view_species', species_id=species.SpeciesId)}}">View</a>
</li>
{%endblock%}

{%block contents%}
{{flash_all_messages()}}
<div class="row">
  <h2>Details on species {{species.FullName}}</h2>

  <dl>
    <dt>Common Name</dt>
    <dd>{{species.SpeciesName}}</dd>

    <dt>Scientific Name</dt>
    <dd>{{species.FullName}}</dd>

    <dt>Taxonomy ID</dt>
    <dd>{{species.TaxonomyId}}</dd>
  </dl>

  <h3>Actions</h3>

  <p>
    You can proceed to perform any of the following actions for species
    {{species.FullName}}
  </p>

  <ol>
    <li>
      <a href="#"
         title="Upload genotypes for {{species.FullName}}">Upload Genotypes</a>
    </li>
    <li>
      <a href="{{url_for('species.populations.list_species_populations',
               species_id=species.SpeciesId)}}"
         title="Create/Edit populations for {{species.FullName}}">
        Manage populations</a>
    </li>
    <li><a href="#" title="">any other action, perhaps &hellip;</a></li>
  </ol>

  
</div>
{%endblock%}

{%block sidebarcontents%}
<div class="card">
  <div class="card-body">
    <h5 class="card-title">Species Extras</h5>
    <div class="card-text">
      <p>Some extra internal-use details (mostly for UI concerns on GeneNetwork)</p>
      <p>
        <small>
          If you do not understand what the following are about, simply ignore them
          &mdash;
          They have no bearing whatsoever on your data, or its analysis.
        </small>
      </p>
      <dl>
        <dt>Family</dt>
        <dd>{{species.Family}}</dd>

        <dt>FamilyOrderId</dt>
        <dd>{{species.FamilyOrderId}}</dd>

        <dt>OrderId</dt>
        <dd>{{species.OrderId}}</dd>
      </dl>
    </div>
    <a href="{{url_for('species.edit_species_extra',
             species_id=species.SpeciesId)}}"
       class="card-link"
       title="Edit the species' internal-use details.">Edit</a>
  </div>
</div>
{%endblock%}