Skip to content
Snippets Groups Projects
Commit d29129af authored by Vermaat's avatar Vermaat
Browse files

Also show information and debug messages on website

parent cd02f57a
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,10 @@ window.onload = initpage;
<p class="alert alert-danger" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "warning" %}
<p class="alert alert-warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "information" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "debug" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% endif %}
{% endfor %}
{% endif %}
......
......@@ -52,7 +52,11 @@ Please supply a reference sequence and an observed sequence.
{% if m.class == "error" %}
<p class="alert alert-danger" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "warning" %}
<p class="alert warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
<p class="alert alert-warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "information" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "debug" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% endif %}
{% endfor %}
......
......@@ -83,6 +83,10 @@
<p class="alert alert-danger" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "warning" %}
<p class="alert alert-warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "information" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "debug" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% endif %}
{% endfor %}
{% endif %}
......
......@@ -43,7 +43,11 @@ normalize it to HGVS. Use the <a href="{{ url_for('.name_checker') }}">Name Chec
{% if m.class == "error" %}
<p class="alert alert-danger" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "warning" %}
<p class="alert warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
<p class="alert alert-warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "information" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "debug" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% endif %}
{% endfor %}
......
......@@ -34,6 +34,10 @@ the reference sequence(s) used by dbSNP.
<p class="alert alert-danger" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "warning" %}
<p class="alert alert-warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "information" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "debug" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% endif %}
{% endfor %}
{% endif %}
......
......@@ -45,6 +45,10 @@ standard variant nomenclature">HGVS</a> format:
<p class="alert alert-danger" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "warning" %}
<p class="alert alert-warning" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "information" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% elif m.class == "debug" %}
<p class="alert alert-info" title="{{ m.level }} (origin: {{ m.origin }})">{{ m.description }}</p>
{% endif %}
{% endfor %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment