61 lines
2.2 KiB
HTML
61 lines
2.2 KiB
HTML
<!doctype html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport"
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>REST Client Example</title>
|
|
<script type="module" src="../node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
<link href="../node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<select class="form-select" aria-label="Default select example">
|
|
<option selected>Open this select menu</option>
|
|
<option value="1">Изделия</option>
|
|
<option value="2">Поставщики</option>
|
|
<option value="3">Three</option>
|
|
</select>
|
|
<form id="form">
|
|
<div class="row mt-3">
|
|
<div class="col-sm-6">
|
|
<label for="lastName" class="form-label">Last name</label>
|
|
<input type="text" class="form-control" id="lastName" required>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<label for="firstName" class="form-label">First name</label>
|
|
<input type="text" class="form-control" id="firstName" required>
|
|
</div>
|
|
</div>
|
|
<div class="row mt-3">
|
|
<div class="d-grid col-sm-4 mx-auto">
|
|
<button type="submit" class="btn btn-success">Add</button>
|
|
</div>
|
|
<div class="d-grid col-sm-4 mx-auto mt-3 mt-sm-0">
|
|
<button id="testError" type="button" class="btn btn-danger">Test</button>
|
|
</div>
|
|
<div class="d-grid col-sm-4 mx-auto mt-3 mt-sm-0">
|
|
<button id="testNormal" type="button" class="btn btn-secondary">Test</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="row table-responsive">
|
|
<table class="table mt-3">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">#</th>
|
|
<th scope="col">First name</th>
|
|
<th scope="col">Last name</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="tbody">
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
|
|
</script>
|
|
</html> |