Files
asutermflask/templates/rasp_group.html
2020-11-08 23:28:54 +03:00

143 lines
4.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<meta charset="UTF-8">
<html lang="ru">
<head>
<title>Терминал АСУ</title>
<link rel="stylesheet" href="css/bootstrap-grid.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<meta name="viewport" content="width=device-width">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="{{ url_for('static', filename='/css/rasp_group.css')}}">
<script src="{{url_for('static', filename='js/js.js')}}"> </script>
</head>
<body style="background-image: url_for('static', filename='img/fon.png');">
<a href="#" class=""><img class="logo align-middle" src="{{url_for('static', filename='img/logo.png')}}"></a>
<nav class="navbar navbar-expand-sm pb-3 navbar-light justify-content-center">
<div class="row">
<div class="col-12 text-center">
<h1 class="" style="float:center"> Расписание занятий по группам</h1>
</div>
</div>
</nav>
<!-- <div class="container bg" id="dropdownMenu">
<div class="row justify-content-around "> -->
<div class="container justify-content-around pt-3 form-group c_form pt-1 text-center">
<form method="post" class="form-control-lg border-0 text-center" action="{{ url_for('rasp_group') }}">
<div class="row justify-content-around text-center ">
<div class="form-group div-select col-lg-4 pt-2 text-center">Группа<p class="pt-1">{{ form.group }}</p>
</div>
<div class="form-group div-select col-lg-4 pt-2 text-center">День недели<p class="pt-1">{{ form.day }}</p>
</div>
<div class="form-group div-select col-lg-4 pt-2 text-center">
<p class="pt-3"></p>{{form.submit }}</p>
</div>
</div>
</form>
</div>
<div class="container" id=table>
<table class="table table-striped table-bordered ">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Время занятий</th>
<th scope="col">Наименование дисциплины</th>
<th scope="col">Вид занятий</th>
<th scope="col">Периодичность занятий</th>
<th scope="col">Аудитория</th>
<th scope="col">Преподаватель</th>
</tr>
</thead>
<tbody>
{% for i in range(countStr) %}
<tr>
<th scope="row">{{i + 1}}</th>
<td class="col-auto">{{table[6 * i]}}</td>
<td class="col-auto">{{table[6 * i + 1]}}</td>
<td class="col-auto">{{table[6 * i + 2]}}</td>
<td class="col-auto">{{table[6 * i + 3]}}</td>
<td class="col-auto">{{table[6 * i + 4]}}</td>
<td class="col-auto">{{table[6 * i + 5]}}</td>
</tr>
<!-- <tr>
<th scope="row">1</th>
<td class="col-auto">{{table[i][0]}}</td>
<td class="col-auto">{{table[i][1]}}</td>
<td class="col-auto">{{table[i][2]}}</td>
<td class="col-auto">{{table[i][3]}}</td>
<td class="col-auto">{{table[i][4]}}</td>
<td class="col-auto"><a data-toggle="modal" data-target="#exampleModal" href="#">{{table[5]}}</a></td>
</tr> -->
{% endfor %}
</tbody>
</table>
<hr>
</div>
</div>
</div>
</body>
<footer class="page-footer justify-content-center mx-auto ">
<div class="container data text-center" id="fotdata">
<div class="row justify-content-around">
<div class="data col-3">
<h5 class="justify-content-center ">{{days}}</h5>
</div>
<div class="data col-3 ">
<h5 class="justify-content-center ">{{day_week}}</h5>
</div>
<div class="data col-3">
<h5 class="justify-content-center ">Числитель</h5>
</div>
<div class="data col-3">
<h5 class="justify-content-center "><a href="index.html"> Назад </a></h5>
</div>
</div>
</div>
</footer>
</body>
</div>
</html>