55 lines
1.9 KiB
HTML
55 lines
1.9 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row no-print">
|
|
<div class="card col-md-10 col-10">
|
|
<div class="card-body">
|
|
|
|
|
|
<select name="auditory" id="auditory">
|
|
|
|
{% for item in aud: %}
|
|
<option name="optauditory" value="{{item.id}}">{{ item.audnazvanie }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
|
|
<button id="searchbutton"> Найти </button>
|
|
<button id="printbutton"> Печать </button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
<div class="card col-md-10 col-10">
|
|
<form method="POST" action="/addoborudtodb">
|
|
<div class="card-body">
|
|
<h3 class="card-title no-print"> Поаудиторно </h3>
|
|
|
|
<table class="table" id="datatable" col-md-10>
|
|
|
|
<td >Инв. номер</td>
|
|
<td >Название</td>
|
|
<td class="no-print">Аудитория</td>
|
|
|
|
{% for item in res: %}
|
|
|
|
<td> <input type="hidden" name="invnomer" value="{{ item[0] }}"> {{ item[0] }} </td>
|
|
<td> {{ item[1] }} </td>
|
|
<td class="no-print"> {{item[2]}} </td>
|
|
<td id="proverka"> Проверено </td>
|
|
|
|
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{%endblock%} |