IP/frontend/index.html

74 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet" />
<title>Main</title>
</head>
<body>
<div id="root-div">
<header>
<div>
<a href="catalog.html" class="text-white">Creator</a>
<a href="search.html" class="text-white">Manga</a>
<a href="search.html" class="text-white">Reader</a>
</div>
</header>
<div class="content">
<h1>Creator</h1>
<form id="calculator-form">
<div class="d-flex justify-content-evenly mt-3">
<div class="col-sm-2">
<label for="creatorId" class="form-label">creatorId</label>
<input type="number" class="form-control" value="0" id="creatorId" />
</div>
<div class="col-sm-2">
<label for="mangaId" class="form-label">mangaId</label>
<input type="number" class="form-control" value="0" id="mangaId" />
</div>
<div class="col-sm-2">
<label for="creatorName" class="form-label">creatorName</label>
<input type="text" class="form-control" value="0" id="creatorName" />
</div>
<div class="col-sm-2">
<label for="password" class="form-label">password</label>
<input type="text" readonly class="form-control" id="password" />
</div>
</div>
<div class="ms-5 me-5">
<label for="operation" class="form-label">Operation</label>
<select class="form-select" id="operation">
<option value="getCreator">find</option>
<option value="string">dinfAll</option>
<option value="int">create</option>
<option value="string">update</option>
<option value="int">delete</option>
</select>
<button type="button" class="mt-3 btn btn-primary" id="apply-button">APPLY</button>
</div>
</form>
<div class="row table-responsive">
<table class="table mt-3">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">creatorName</th>
<th scope="col">password</th>
</tr>
</thead>
<tbody id="tbody">
</tbody>
</table>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>