IntProgLabs/front/index.html

64 lines
3.0 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>App</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<div class="container-sm p-3">
<form id="sum">
<h2 class="text-center mb-3">Sum</h2>
<div class="mb-3">
<div class="input-group mb-1">
<input id="sumVal1" type="number" class="form-control" placeholder="V1" aria-label="First Number" name="v1" autocomplete="off">
<span class="input-group-text">+</span>
<input id="sumVal2" type="number" class="form-control" placeholder="V2" aria-label="Second Number" name="v2" autocomplete="off">
<span id="sumResult" class="input-group-text" id="add_result">0</span>
<button id="sumSubmitButton" type="submit" class="btn btn-primary">Result</button>
</div>
</div>
</form>
<form id="minus">
<h2 class="text-center mb-3">Minus</h2>
<div class="mb-3">
<div class="input-group mb-1">
<input id="minVal1" type="number" class="form-control" placeholder="V1" aria-label="First Number" name="v1" autocomplete="off">
<span class="input-group-text">-</span>
<input id="minVal2" type="number" class="form-control" placeholder="V2" aria-label="Second Number" name="v2" autocomplete="off">
<span id="minResult" class="input-group-text">0</span>
<button id="minSubmitButton" type="submit" class="btn btn-primary">Result</button>
</div>
</div>
</form>
<form id="toLowerCase">
<h2 class="text-center mb-3">To Lower Case</h2>
<div class="mb-3">
<div class="input-group mb-1">
<input id="lowCaseInput" type="text" class="form-control" placeholder="String" aria-label="Your String" name="value" autocomplete="off">
<span id="lowCaseResult" class="input-group-text"></span>
<button id="lowCaseButton" type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
<form id="join">
<h2 class="text-center mb-3">Join</h2>
<div class="mb-3">
<div class="input-group mb-1">
<input id="joinInput1" type="text" class="form-control" placeholder="Number" aria-label="Your Number" name="value" autocomplete="off">
<span class="input-group-text">join</span>
<input id="joinInput2" type="text" class="form-control" placeholder="Number" aria-label="Your Number" name="value" autocomplete="off">
<span id="joinResult" class="input-group-text" id="ntb_result"></span>
<button id="joinButton" type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
<script type="module" src="./xhr.js"></script>
</body>
</html>