forked from stammy/dnscrypt-osx-client
/
feedback.tpl
69 lines (61 loc) · 1.6 KB
/
feedback.tpl
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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>DNSCrypt feedback form</title>
<style type='text/css'>
body {
font-family: arial, helvetica, sans-serif;
margin: 0; }
h1 {
margin: 0; }
form {
margin: 0 auto;
width: 500px; }
form p {
margin: 0.25em 0; }
form .error {
background: #ffbbbb;
color: black; }
fieldset {
border: none;
padding: 0; }
label {
float: left;
width: 100px;
text-align: right;
padding-right: 1em; }
input {
width: 200px; }
input[type=submit] {
width: auto; }
textarea {
width: 300px;
height: 170px; }
#submit {
text-align: center; }
</style>
</head>
<body>
<form action='{{form_url}}' method='post'>
<h1>Feedback</h1>
<fieldset>
<p>
<label for='name'>Name:</label>
<input autofocus='autofocus' class='{{class_name}}' name='name' required='required' type='text' value='{{name}}' />
</p>
<p>
<label for='email'>Email:</label>
<input class='{{class_email}}' name='email' placeholder='email@example.com' required='required' type='email' value='{{email}}' />
</p>
<p>
<label for='feedback'>Feedback:</label>
<textarea class='{{class_feedback}}' name='feedback'>{{feedback}}</textarea>
</p>
</fieldset>
<fieldset id='submit'>
<input type='submit' />
</fieldset>
</form>
</body>
</html>