Skip to content

Commit

Permalink
Added info box for trait publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Orzu Tursunova committed May 22, 2024
1 parent 6b8dd43 commit 1b47514
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/modules/site-v2/templates/data/trait.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
height: 20px;
width: 20px;
}
#info {
background-color: var(--bs-footerBg);
max-width: 650px;
}
#info i {
color: #0719BC;
font-size: 1.5rem
}
</style>
{% endblock %}

Expand Down Expand Up @@ -158,6 +166,14 @@ <h2 class="text-center">Trait File Content</h2>
</div>
</div>
</div>
<div class="row mt-4">
<div id="info" class="d-flex flex-row p-2 my-4 ">
<i class="bi bi-info-circle-fill p-3 align-self-center"></i>
<div>
<p class="mb-1"><strong>Please Note:</strong> Publishing your trait will post it so that all CaeNDR users can have access to the trait data, create summary plots, and/or compare your trait to other traits also posted publicly on CaeNDR. Please ensure that the data are accurate and be as descriptive as possible in your descriptions of the trait.</p>
</div>
</div>
</div>
<div class="row mt-4">
<a class="col-2 mx-5 btn btn-secondary text-light" href="{{url_for('data.edit_trait', id=trait.name)}}">Edit Trait</a>
{% if user_is_owner %}
Expand Down

0 comments on commit 1b47514

Please sign in to comment.