forked from enviPath/enviPy
## Changes - All text input fields are now cleaned with nh3 to remove html tags. We allow certain html tags under `settings.py/ALLOWED_HTML_TAGS` so we can easily update the tags we allow in the future. - All names and descriptions now use the template tag `nh_safe` in all html files. - Usernames and emails are a small exception and are not allowed any html tags Co-authored-by: Liam Brydon <62733830+MyCreativityOutlet@users.noreply.github.com> Co-authored-by: jebus <lorsbach@envipath.com> Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#171 Reviewed-by: jebus <lorsbach@envipath.com> Co-authored-by: liambrydon <lbry121@aucklanduni.ac.nz> Co-committed-by: liambrydon <lbry121@aucklanduni.ac.nz>
46 lines
2.0 KiB
HTML
46 lines
2.0 KiB
HTML
{% extends "framework.html" %}
|
|
|
|
{% block content %}
|
|
<div class="panel-group" id="migration-detail">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading" id="headingPanel" style="font-size:2rem;height: 46px">
|
|
Migration Status for {{ bt_rule_name }}
|
|
</div>
|
|
<div class="panel-body">
|
|
<p>A package contains pathways, rules, etc. and can reflect specific experimental
|
|
conditions. <a target="_blank" href="https://wiki.envipath.org/index.php/packages" role="button">Learn
|
|
more >></a></p>
|
|
</div>
|
|
|
|
{% for obj in results %}
|
|
<div class="panel panel-default panel-heading list-group-item" style="background-color:silver">
|
|
{% if obj.status %}
|
|
<span class="glyphicon glyphicon-ok" aria-hidden="true"
|
|
style="float:right" data-toggle="tooltip"
|
|
data-placement="top" title="" data-original-title="Reviewed">
|
|
</span>
|
|
{% else %}
|
|
<span class="glyphicon glyphicon-remove" aria-hidden="true"
|
|
style="float:right" data-toggle="tooltip"
|
|
data-placement="top" title="" data-original-title="Reviewed">
|
|
</span>
|
|
{% endif %}
|
|
<h4 class="panel-title">
|
|
<a id="{{ obj.id }}-link" data-toggle="collapse" data-parent="#migration-detail"
|
|
href="#{{ obj.id }}">{{ obj.name|safe }}</a>
|
|
</h4>
|
|
</div>
|
|
<div id="{{ obj.id }}" class="panel-collapse collapse {% if not obj.status %}in{% endif %}">
|
|
<div class="panel-body list-group-item">
|
|
<pre>{{ obj.detail }}</pre>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
|
|
</script>
|
|
{% endblock content %}
|