forked from enviPath/enviPy
113 lines
2.9 KiB
HTML
113 lines
2.9 KiB
HTML
{% if meta.can_edit %}
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('add_pathway_node_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-plus"></i> Add Compound</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('add_pathway_edge_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-plus"></i> Add Reaction</a
|
|
>
|
|
</li>
|
|
<li role="separator" class="divider"></li>
|
|
{% endif %}
|
|
<li>
|
|
<a
|
|
role="button"
|
|
onclick="document.getElementById('generic_copy_object_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-duplicate"></i> Copy</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('download_pathway_csv_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-floppy-save"></i> Download Pathway as CSV</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('download_pathway_image_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-floppy-save"></i> Download Pathway as Image</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
role="button"
|
|
onclick="document.getElementById('engineer_pathway_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-cog"></i> Engineer Pathway</a
|
|
>
|
|
</li>
|
|
{% if meta.can_edit %}
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('identify_missing_rules_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-question-sign"></i> Identify Missing
|
|
Rules</a
|
|
>
|
|
</li>
|
|
<li role="separator" class="divider"></li>
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('edit_pathway_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-edit"></i> Edit Pathway</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
role="button"
|
|
onclick="document.getElementById('set_scenario_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-plus"></i> Set Scenarios</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
role="button"
|
|
onclick="document.getElementById('set_aliases_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-plus"></i> Set Aliases</a
|
|
>
|
|
</li>
|
|
<li role="separator" class="divider"></li>
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('delete_pathway_node_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-trash"></i> Delete Compound</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('delete_pathway_edge_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-trash"></i> Delete Reaction</a
|
|
>
|
|
</li>
|
|
<li>
|
|
<a
|
|
class="button"
|
|
onclick="document.getElementById('generic_delete_modal').showModal(); return false;"
|
|
>
|
|
<i class="glyphicon glyphicon-trash"></i> Delete Pathway</a
|
|
>
|
|
</li>
|
|
{% endif %}
|