PIbd-22_Artamonova_T.V._IP/front/index.html

73 lines
3.8 KiB
HTML
Raw Normal View History

2023-03-13 22:25:10 +04:00
<!DOCTYPE html>
2023-03-14 10:31:02 +04:00
<html>
2023-03-13 22:25:10 +04:00
<head>
<meta charset="UTF-8">
2023-03-14 10:31:02 +04:00
<title>LabWork01</title>
<script src="/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
2023-05-28 19:46:02 +04:00
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32Om[...]">
2023-03-14 10:31:02 +04:00
<link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.min.css">
2023-03-13 22:25:10 +04:00
</head>
<body>
2023-03-14 10:31:02 +04:00
<div class="container mt-4">
<div class="row justify-content-center">
<div class="col-lg-6">
<h3 class="text-center font-weight-light my-2">Лабораторная работа 1</h3>
<form>
<div class="form-row">
<div class="col">
<div class="form-group">
<label for="input1">Первая строка</label>
<input type="text" class="form-control" id="input1" placeholder="Введите перую строку">
</div>
</div>
<div class="col">
<div class="form-group">
<label for="input2">Вторая строка</label>
<input type="text" class="form-control" id="input2" placeholder="Введите вторую строку">
</div>
</div>
<button type="button" class="btn btn-primary btn-block" onclick="Sum()">Сумма</button>
<div class="col">
<div class="form-group">
<label for="input3">Строка</label>
<input type="text" class="form-control" id="input3" placeholder="Введите строку">
</div>
</div>
<button type="button" class="btn btn-primary btn-block" onclick="ToUpper()">В верхний регистр</button>
<div class="col">
<div class="form-group">
<label for="input4">Строка</label>
<input type="text" class="form-control" id="input4" placeholder="Введите строку">
<label for="input5">Разделитель</label>
<input type="text" class="form-control" id="input5" placeholder="Введите разделитель">
</div>
</div>
<button type="button" class="btn btn-primary btn-block" onclick="Split()">Разделить</button>
<div class="col">
<div class="form-group">
<label for="input6">Строка</label>
<input type="text" class="form-control" id="input6" placeholder="Введите строку">
<label for="input7">Новый символ</label>
<input type="text" class="form-control" id="input7" placeholder="Введите старый символ">
<label for="input8">Старый символ</label>
<input type="text" class="form-control" id="input8" placeholder="Введите новый символ">
</div>
</div>
<button type="button" class="btn btn-primary btn-block" onclick="Replace()">Заменить</button>
</div>
<div class="form-group">
<label for="result">Результат</label>
<input type="text" class="form-control result" id="result" readonly>
</div>
</form>
</div>
</div>
</div>
<script src = "script.js"></script>
2023-03-13 22:25:10 +04:00
</body>
</html>