web-1/web/index.html

88 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Лабораторная работа №1</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header class="header">
<h1>Лабораторная работа №1</h1>
<p>ФИО студента: Карпов Александр Дмитриевич</p>
<p>Группа: P3213</p>
<p>Вариант: 342585</p>
</header>
<div class="container">
<div class="form-container">
<canvas id="canvas" width="300" height="300"></canvas>
<form id="point-form">
<table>
<tr>
<td><label for="x">X:</label></td>
<td>
<select id="x" name="x" required>
<option value="-5">-5</option>
<option value="-4">-4</option>
<option value="-3">-3</option>
<option value="-2">-2</option>
<option value="-1">-1</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</td>
</tr>
<tr>
<td><label for="y">Y:</label></td>
<td><input type="text" id="y" name="y" required></td>
</tr>
<tr>
<td><label>R:</label></td>
<td>
<label>
<input type="radio" name="r" value="1" required>
</label> 1
<label>
<input type="radio" name="r" value="1.5">
</label> 1.5
<label>
<input type="radio" name="r" value="2">
</label> 2
<label>
<input type="radio" name="r" value="2.5">
</label> 2.5
<label>
<input type="radio" name="r" value="3">
</label> 3
</td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="Check" onclick="submitForm()">
</td>
</tr>
</table>
</form>
</div>
<div class="result-container">
<h2>Results</h2>
<table id="results">
<tr>
<th>X</th>
<th>Y</th>
<th>R</th>
<th>Result</th>
<th>Timestamp</th>
<th>Execution Time (ms)</th>
</tr>
</table>
</div>
</div>
<script src="script.js"></script>
</body>
</html>