aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/bulk-edit-upload.html
blob: 926bcf5fe7ff44c64197c4544631193aec7928ee (about) (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
{%extends "phenotypes/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}
{%from "macro-table-pagination.html" import table_pagination%}
{%from "populations/macro-display-population-card.html" import display_population_card%}

{%block title%}Phenotypes{%endblock%}

{%block pagetitle%}Phenotypes{%endblock%}

{%block lvl4_breadcrumbs%}
<li {%if activelink=="view-dataset"%}
    class="breadcrumb-item active"
    {%else%}
    class="breadcrumb-item"
    {%endif%}>
  <a href="{{url_for('species.populations.phenotypes.view_dataset',
           species_id=species.SpeciesId,
           population_id=population.Id,
           dataset_id=dataset.Id)}}">View</a>
</li>
{%endblock%}

{%block contents%}
<div class="row">
  <p>Upload the edited file you downloaded and edited.</p>
</div>

<div class="row">
  <form id="frm-bulk-edit-upload"
        class="form-horizontal"
        method="POST"
        action="{{url_for(
                'species.populations.phenotypes.edit_upload_phenotype_data',
                species_id=species.SpeciesId,
                population_id=population.Id,
                dataset_id=dataset.Id)}}"
        enctype="multipart/form-data">

    <div class="form-group row">
      <label for="file-upload-bulk-edit-upload"
             class="form-label col-form-label col-sm-2">
        Edited File</label>
      <div class="col-sm-10">
        <input id="file-upload-bulk-edit-upload"
               name="file_upload_bulk_edit_upload"
               class="form-control"
               type="file"
               required="required" />
      </div>
    </div>

    <input type="submit" class="btn btn-primary"
           value="upload to edit" />

  </form>
</div>
{%endblock%}


{%block javascript%}
{%endblock%}