feat(frontend): mount static UI at /app with simple auditories/equipment browser
This commit is contained in:
47
frontend/index.html
Normal file
47
frontend/index.html
Normal file
@@ -0,0 +1,47 @@
|
||||
<!doctype html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>ASU Inventory — Фронт</title>
|
||||
<link rel="stylesheet" href="/app/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>ASU Inventory</h1>
|
||||
<nav>
|
||||
<a href="/docs" target="_blank">API Docs</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section class="panel">
|
||||
<h2>Оборудование по аудитории</h2>
|
||||
<div class="controls">
|
||||
<label for="aud-select">Аудитория:</label>
|
||||
<select id="aud-select">
|
||||
<option value="">— выберите аудиторию —</option>
|
||||
</select>
|
||||
<button id="load-btn">Показать</button>
|
||||
</div>
|
||||
<div id="status" class="status"></div>
|
||||
<table id="ob-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Инв. номер</th>
|
||||
<th>Название</th>
|
||||
<th>Расположение</th>
|
||||
<th>Кол-во</th>
|
||||
<th>Тип</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<script src="/app/app.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user