forked from enviPath/enviPy
[Feature] Add per-package pathway prediction (#195)
## Major Changes - Introduces a new view for per-package predictions Co-authored-by: jebus <lorsbach@envipath.com> Reviewed-on: enviPath/enviPy#195 Co-authored-by: Tobias O <tobias.olenyi@envipath.com> Co-committed-by: Tobias O <tobias.olenyi@envipath.com>
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
{% if meta.can_edit %}
|
||||
<li>
|
||||
<a href="{{ meta.server_url }}/predict">
|
||||
<span class="glyphicon glyphicon-plus"></span> New Pathway</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="{% if meta.current_package %}{{ meta.current_package.url }}/predict{% else %}{{ meta.server_url }}/predict{% endif %}"
|
||||
>
|
||||
<span class="glyphicon glyphicon-plus"></span> New Pathway</a
|
||||
>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
@ -2,7 +2,13 @@
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<div class="mx-auto w-full p-8">
|
||||
<h1 class="h1 mb-4 text-3xl font-bold">Predict a Pathway</h1>
|
||||
<h1 class="h1 mb-4 text-3xl font-bold">
|
||||
Predict a Pathway
|
||||
|
||||
<span class="text-base-content/50 text-xs"
|
||||
>in <strong>{{ meta.current_package.name|safe }}</strong>
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
<form
|
||||
id="predict_form"
|
||||
|
||||
Reference in New Issue
Block a user