-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (39 loc) · 1.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
</head>
<body>
<div class="row">
<div class="col-6">
<img src={{ .PathToProccessedImage}} width="500" height="500" />
<form method="post" action="/rec">
<input type="submit" name="p" value="Previous" />
<input type="submit" name="n" value="Next">
</form>
</div>
<div class="col-6">
<table>
<thead>
<th>Center</th>
<th>Square</th>
</thead>
<tbody>
{{range .Figures }}
<tr>
<td>{{.Center}} </td>
<td>{{.Square}} </td>
</tr>
{{end}}
</tbody>
</table>
<h6>Max figure square: {{ .MaxSquare }}<br> Min figure square: {{ .MinSquare }}
<br>File name: {{ .FileName }} <br>Execution took: {{ .ExecTime }} <br>Figures found: {{ .FigureFound }}</h6>
</div>
</div>
</body>
</html>