Templates added
This commit is contained in:
18
Templates/heasarc/show_heasarc_xray.html
Normal file
18
Templates/heasarc/show_heasarc_xray.html
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block header %}{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% if heasarc %}
|
||||
<h4>Specific {{ heasarc.description }} fields:</h4>
|
||||
{% if heasarc.count_rate > 0 %}Count_rate: {{ heasarc.count_rate|floatformat:4 }}<br />{% endif %}
|
||||
{% if heasarc.count_rate_error > 0 %}error: {{ heasarc.count_rate_error|floatformat:4 }}<br />{% endif %}
|
||||
{% if heasarc.flux > 0 %}Flux: {{ heasarc.flux }}<br />{% endif %}
|
||||
{% if heasarc.exposure > 0 %}Exposure: {{ heasarc.exposure|floatformat:2 }}<br />{% endif %}
|
||||
Class_id: {{ heasarc.class_id }} {{ heasarc.object_class.class_name }}<br />
|
||||
Observatory: {{ heasarc.observatory }}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user