Templates added

This commit is contained in:
2024-06-05 11:33:02 +03:00
parent 69a2160eb7
commit 50c53060bf
117 changed files with 16737 additions and 0 deletions

View File

@@ -0,0 +1,68 @@
{% 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 %}