add all files
This commit is contained in:
55
templates/searchonaud.html
Normal file
55
templates/searchonaud.html
Normal file
@@ -0,0 +1,55 @@
|
||||
{% 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%}
|
||||
Reference in New Issue
Block a user