forked from enviPath/enviPy
All html files now prettier formatted and fixes for incompatible blocks applied Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#193 Co-authored-by: Tobias O <tobias.olenyi@envipath.com> Co-committed-by: Tobias O <tobias.olenyi@envipath.com>
80 lines
2.6 KiB
HTML
80 lines
2.6 KiB
HTML
{% extends "framework.html" %}
|
|
|
|
{% block content %}
|
|
|
|
{% block action_modals %}
|
|
{% include "modals/objects/edit_package_modal.html" %}
|
|
{% include "modals/objects/edit_package_permissions_modal.html" %}
|
|
{% include "modals/objects/publish_package_modal.html" %}
|
|
{% include "modals/objects/set_license_modal.html" %}
|
|
{% include "modals/objects/export_package_modal.html" %}
|
|
{% include "modals/objects/generic_delete_modal.html" %}
|
|
{% endblock action_modals %}
|
|
|
|
<div class="panel-group" id="package-detail">
|
|
<div class="panel panel-default">
|
|
<div
|
|
class="panel-heading"
|
|
id="headingPanel"
|
|
style="font-size:2rem;height: 46px"
|
|
>
|
|
{{ package.name|safe }}
|
|
<div
|
|
id="actionsButton"
|
|
style="float: right;font-weight: normal;font-size: medium;position: relative; top: 50%; transform: translateY(-50%);z-index:100;display: none;"
|
|
class="dropdown"
|
|
>
|
|
<a
|
|
href="#"
|
|
class="dropdown-toggle"
|
|
data-toggle="dropdown"
|
|
role="button"
|
|
aria-haspopup="true"
|
|
aria-expanded="false"
|
|
><span class="glyphicon glyphicon-wrench"></span> Actions
|
|
<span class="caret"></span><span style="padding-right:1em"></span
|
|
></a>
|
|
<ul id="actionsList" class="dropdown-menu">
|
|
{% block actions %}
|
|
{% include "actions/objects/package.html" %}
|
|
{% endblock %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
<p>{{ package.description|safe }}</p>
|
|
</div>
|
|
<ul class="list-group">
|
|
<li class="list-group-item">
|
|
<a href="{{ package.url }}/pathway"
|
|
>Pathways ({{ package.pathways.count }})</a
|
|
>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<a href="{{ package.url }}/rule">Rules ({{ package.rules.count }})</a>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<a href="{{ package.url }}/compound"
|
|
>Compounds ({{ package.compounds.count }})</a
|
|
>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<a href="{{ package.url }}/reaction"
|
|
>Reactions ({{ package.reactions.count }})</a
|
|
>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<a href="{{ package.url }}/model"
|
|
>Models ({{ package.models.count }})</a
|
|
>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<a href="{{ package.url }}/scenario"
|
|
>Scenarios ({{ package.scenarios.count }})</a
|
|
>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|