50 lines
917 B
HTML
50 lines
917 B
HTML
|
|
{% extends "artsurvey/base.html" %}
|
|
{% load heasarc_templates %}
|
|
|
|
{% block header %}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
|
|
<h2>ArtSurvey {{ survey }}</h2>
|
|
|
|
|
|
<table class="table">
|
|
{% for type in types %}
|
|
<tr>
|
|
<td>{{ type.class_id }}</td>
|
|
<td><a href="/artsurvey/type/{{ type.class_id }}/show">{{ type }}</a></td>
|
|
<td>
|
|
{% if survey %}
|
|
{% call_artsurvey_types_count type survey %}
|
|
{% else %}
|
|
{{ type.get_artsurvey_count_all }}
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h3>Full list of HEASARC object <a target="_blank" href="{% url 'heasarc object types' %}">Types<sup><span class="glyphicon glyphicon-new-window"></span> </sup></a></h3>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|