61 lines
1.4 KiB
HTML
61 lines
1.4 KiB
HTML
{% extends "mdb.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block header %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<big>
|
|
<p>
|
|
<h3><a href="{{ src.get_absolute_url }}">{{ src }}</a></h3>
|
|
<strong>Type:</strong> {{ src.object_class }}{% if src.class_tentative %}<b>?</b>{% endif %},
|
|
<strong>CName:</strong> {{ src.cname }}
|
|
</p>
|
|
</big>
|
|
|
|
<p>
|
|
{% if src.turkish %}
|
|
<b>Turkish</b>
|
|
{% endif %}
|
|
</p>
|
|
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<p>
|
|
<h3>References</h3>
|
|
{% for bibcode in src.ads.all %}
|
|
<a href="https://ui.adsabs.harvard.edu/abs/{{ bibcode }}/abstract" target="_blank">{{ bibcode }} <span class="glyphicon glyphicon-new-window"></span></a> {% if bibcode.owner %}({{ bibcode.owner }}){% endif %}<br>
|
|
{% if bibcode.notes %}<em>"{{ bibcode.notes }}"</em><br>{% endif %}
|
|
{% endfor %}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<p>
|
|
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
|
|
<div class="form-group">
|
|
<form action="/srgz/search" method="post">
|
|
{% csrf_token %}
|
|
<table>
|
|
{{ form }}
|
|
</table>
|
|
<input type="submit" class="btn btn-primary" value="Submit" />
|
|
</form>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|