69 lines
1.2 KiB
HTML
69 lines
1.2 KiB
HTML
{% extends "mdb.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block header %}
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<br />
|
|
<h2>{% trans 'Back to' %} <a href="{% url 'index' %}">{% trans 'SRG.ArXiV' %}</a></h2>
|
|
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<p>
|
|
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
|
|
<div class="form-group">
|
|
<form action="/srgz/search" method="post">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" class="btn btn-primary" value="Query" />
|
|
</form>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
<p style="text-align:right;">
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
|
|
{% if records %}
|
|
|
|
|
|
|
|
|
|
<table id="srgz" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th class="th-sm">lis_objid</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for record in records %}
|
|
<tr>
|
|
<td>{{ record.lis_objid }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|