-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (30 loc) · 1.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Data Minimization Service</title>
</head>
<body>
<h1>Data Minimization Service</h1>
<p>This service provides a simple mechanism for minimizing and anonymizing different types of data. It may be used
programmatically via the REST API, or directly through this minimalistic web interface.</p>
<form>
<input type="text" name="input" value="{{ .Input }}">
<select name="type">
<option value="" selected disabled hidden>Data Type</option>
{{ range $key := .SupportedTypes }}
<option value="{{ $key }}">{{ $key }}</option>
{{ end }}
</select>
<select name="level">
<option value="" selected disabled hidden>Minimization Level</option>
{{ range $key := .SupportedLevels }}
<option value="{{ $key }}">{{ $key }}</option>
{{ end }}
</select>
<input type="submit" value="Submit">
<br><br>
{{ .Result }}
</form>
</body>
</html>