-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
194 lines (193 loc) · 9.06 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Web Lab #1</title>
<script src="js/jquery-3.6.0.min.js"></script>
<script src="js/main.js"></script>
<script src="js/jquery.svg.js"></script>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/jquery.svg.css">
</head>
<body>
<table id="grid" width="100%">
<tr class="header">
<!--
<th id="header-cell" colspan="3">
<span class="left-alligned">Author: Bogatov Aleksandr Sergeevich</span>
<span class="right-alligned">Group: P3233</span>
</th>
-->
<th class="header-cell">
Bogatov Aleksandr Sergeevich
</th>
<th class="header-cell">
Group: P3233
</th>
<th class="header-cell">
Variant: 33001
</th>
</tr>
<tr class="main-content">
<td width="50%" id="graph-cell" class="graph">
<svg id="graph-svg" width="360" height="360" version="1.1" xmlns="http://www.w3.org/2000/svg">
<line class="graph-base" stroke="white" x1="180" x2="180" y1="0" y2="360" stroke-width="3"/>
<line class="graph-base" stroke="white" x1="0" x2="360" y1="180" y2="180" stroke-width="3"/>
<rect class="paint" x="28" y="182" width="150" height="150" fill-opacity="0.8"/>
<polygon class="paint" points="182 178, 182 30, 257 178" fill-opacity="0.8"/>
<path class="paint" d="M182,182 L330,182 A200,200 0 0,1 182,332 z" fill-opacity="0.8"/>
<polygon class="graph-base" points="180 0, 185 25, 175 25" stroke="white" stroke-width="1"/>
<polygon class="graph-base" points="360 180, 340 185, 340 175" stroke="white" stroke-width="1"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="173" x2="187" y1="30" y2="30"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="173" x2="187" y1="105" y2="105"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="173" x2="187" y1="255" y2="255"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="173" x2="187" y1="331" y2="331"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="30" x2="30" y1="173" y2="187"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="105" x2="105" y1="173" y2="187"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="255" x2="255" y1="173" y2="187"/>
<line class="graph-base" stroke="white" stroke-width="2" x1="330" x2="330" y1="173" y2="187"/>
<text class="graph-base" fill="white" x="350" y="170">X</text>
<text class="graph-base" fill="white" x="160" y="20">Y</text>
<text class="graph-base" fill="white" x="193" y="35">R</text>
<text class="graph-base" fill="white" x="193" y="110">R/2</text>
<text class="graph-base" fill="white" x="193" y="260">-R</text>
<text class="graph-base" fill="white" x="193" y="335">-R/2</text>
<text class="graph-base" fill="white" x="325" y="167">R</text>
<text class="graph-base" fill="white" x="245" y="167">R/2</text>
<text class="graph-base" fill="white" x="100" y="167">-R</text>
<text class="graph-base" fill="white" x="20" y="167">-R/2</text>
<circle cx="180" cy="180" r="5" id="pointer"></circle>
</svg>
</td>
<td width="40%" id="choice-cell" class="choice">
<form method="get" id="input-form">
<table>
<tr>
<td class="input-y">
<fieldset id="y-field">
<label for="y">Input Y value</label>
<input maxlength="10" size="22" type="text" id="y" name="yvalue" placeholder="Y must be in the range of (-5;3)"><br>
</fieldset>
</td>
</tr>
<tr>
<td class="input-x">
<fieldset id="x-field">
<label for="x">Select X value</label>
<select id="x">
<option name="xvalue" value="-3">-3</option>
<option name="xvalue" value="-2">-2</option>
<option name="xvalue" value="-1">-1</option>
<option name="xvalue" value="0">0</option>
<option name="xvalue" value="1">1</option>
<option name="xvalue" value="2">2</option>
<option name="xvalue" value="3">3</option>
<option name="xvalue" value="4">4</option>
<option name="xvalue" value="5">5</option>
</select><br>
</fieldset>
</td>
</tr>
<tr>
<td class="input-r">
<fieldset id="r-field">
<table class="value-button-table">
<tr>
<td colspan="5">
<p>Select R value</p>
</td>
</tr>
<tr>
<td>
<input class="input-button" type="button" name="rvalue" value="1">
</td>
<td>
<input class="input-button" type="button" name="rvalue" value="1.5">
</td>
<td>
<input class="input-button" type="button" name="rvalue" value="2">
</td>
<td>
<input class="input-button" type="button" name="rvalue" value="2.5">
</td>
<td>
<input class="input-button" type="button" name="rvalue" value="3">
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td>
<fieldset>
<table class="comm-button-table">
<tr>
<td colspan="1">
<input class="input-button" type="submit" value="Submit">
</td>
<td colspan="1">
<input id="res" class="input-button" type="reset" value="Reset">
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
</form>
</td>
<td width="10%" id="request-cell" class="request-button-table">
<button class="input-button" id="clean">Clean table</button>
</td>
</tr>
<tr>
<td colspan="3">
<table width="100%" id="result-table" class="result-table">
<tr>
<th>X</th>
<th>Y</th>
<th>R</th>
<th>Current time</th>
<th>Execution time</th>
<th>Hit detect</th>
</tr>
</table>
</td>
</tr>
<tr>
<table>
<!--
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
-->
<tr>
<!--
<td>
<div class="line"></div>
</td>
-->
<td>
<div class="cursor" name="cursed">
<div class="cursor line1" name="cursed"></div>
<div class="cursor line2" name="cursed"></div>
</div>
</td>
<!--
<td>
</td>
-->
</tr>
</table>
</tr>
</table>
</body>
</html>