forked from enviPath/enviPy
...
This commit is contained in:
@@ -2,11 +2,23 @@
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<div class="mx-auto w-full p-8">
|
||||
<h1 class="h1 mb-4 text-3xl font-bold">
|
||||
<h1 class="h1 mb-4 flex items-center gap-2 text-3xl font-bold">
|
||||
Predict a Pathway
|
||||
|
||||
<span class="text-base-content/50 text-xs"
|
||||
>in <strong>{{ meta.current_package.name|safe }}</strong>
|
||||
<span class="inline-flex items-center gap-1 text-base-content/50 text-xs"
|
||||
>in <strong>{{ meta.current_package.name|safe }}</strong>{% if meta.url_contains_package %}
|
||||
{% if meta.current_package.get_classification_level_display == "Restricted" %}
|
||||
<img src="{% static 'images/restricted_mid.png' %}" width="100">
|
||||
{% elif meta.current_package.get_classification_level_display == "Secret" %}
|
||||
<img src="{% static 'images/secret_mid.png' %}" width="60">
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if meta.user.default_package.get_classification_level_display == "Restricted" %}
|
||||
<img src="{% static 'images/restricted_mid.png' %}" width="100">
|
||||
{% elif meta.user.default_package.get_classification_level_display == "Secret" %}
|
||||
<img src="{% static 'images/secret_mid.png' %}" width="60">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user