2023-07-06 07:32:59 +04:00
|
|
|
|
<!DOCTYPE html>
|
2023-07-07 23:34:24 +04:00
|
|
|
|
<html lang="en" class="h-100">
|
2023-07-08 09:44:50 +04:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
|
<title>Анализ аудиторий</title>
|
|
|
|
|
<link
|
|
|
|
|
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css"
|
|
|
|
|
rel="stylesheet"
|
|
|
|
|
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"
|
|
|
|
|
crossorigin="anonymous"
|
|
|
|
|
/>
|
|
|
|
|
<script
|
|
|
|
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
|
|
|
|
|
integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
|
|
|
|
|
crossorigin="anonymous"
|
|
|
|
|
></script>
|
|
|
|
|
<link rel="stylesheet" href="style.css" />
|
|
|
|
|
<script src="site.js"></script>
|
|
|
|
|
</head>
|
2023-07-06 07:32:59 +04:00
|
|
|
|
|
2023-07-08 09:44:50 +04:00
|
|
|
|
<body class="bg-body-secondary h-100 d-flex align-items-center">
|
|
|
|
|
<div class="container py-3">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg">
|
2023-07-09 00:02:26 +04:00
|
|
|
|
<p class="alert alert-info">Загрузите изображение и, если требуется, собственную онтологию для анализа.</p>
|
2023-07-08 09:44:50 +04:00
|
|
|
|
<form id="uploadForm" action="analyze">
|
2023-07-09 00:02:26 +04:00
|
|
|
|
<div class="my-3">
|
|
|
|
|
<label for="image" class="form-label">Изображение для анализа</label>
|
2023-07-08 09:44:50 +04:00
|
|
|
|
<input type="file" class="form-control" name="image" id="image" />
|
|
|
|
|
</div>
|
2023-07-09 00:02:26 +04:00
|
|
|
|
<div class="my-3">
|
2023-07-08 09:44:50 +04:00
|
|
|
|
<label for="ontology" class="form-label">Онтология предметной области</label>
|
2023-07-09 00:02:26 +04:00
|
|
|
|
<input type="file" class="form-control" name="ontology" id="ontology" aria-describedby="ontologyHelp" />
|
|
|
|
|
<div id="ontologyHelp" class="form-text">Для анализа заполненности аудиторий оставьте это поле пустым.</div>
|
2023-07-08 09:44:50 +04:00
|
|
|
|
</div>
|
2023-07-09 00:02:26 +04:00
|
|
|
|
<div class="my-3">
|
2023-07-08 09:44:50 +04:00
|
|
|
|
<label for="queries" class="form-label">Набор запросов для запуска</label>
|
2023-07-09 00:02:26 +04:00
|
|
|
|
<input
|
|
|
|
|
type="text"
|
|
|
|
|
class="form-control"
|
|
|
|
|
name="queries"
|
|
|
|
|
id="queries"
|
|
|
|
|
aria-describedby="queriesHelp"
|
|
|
|
|
value="QueryGetNotEmpty,QueryGetCheck,QueryGetEmpty"
|
|
|
|
|
/>
|
|
|
|
|
<div id="queriesHelp" class="form-text">Для анализа заполненности аудиторий не изменяйте это поле.</div>
|
2023-07-08 09:44:50 +04:00
|
|
|
|
</div>
|
|
|
|
|
<div class="my-3">
|
|
|
|
|
<button type="submit" class="btn btn-primary">Отправить</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-lg">
|
2023-07-08 10:18:50 +04:00
|
|
|
|
<div id="loaderWrapper" class="d-none">
|
|
|
|
|
<div class="spinner-border text-primary" role="status">
|
|
|
|
|
<span class="visually-hidden">Загрузка...</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-08 09:44:50 +04:00
|
|
|
|
<img src="none.png" alt="Результат" id="imgslot" class="w-100" />
|
|
|
|
|
<div id="queriesResult"></div>
|
|
|
|
|
</div>
|
2023-07-07 23:34:24 +04:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-08 09:44:50 +04:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|