blob: a76c8308e365104d811ad702f1cf1bed17884a25 (
plain)
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
|
{{define "propose"}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
{{ template "stylesheets" . }}
<title>Freitagsfoo</title>
</head>
<body>
<main role="main">
<div class="container-fluid bg-success text-white p-5">
<div class="container">
<h1 class="display-3">
<a href="/" class="text-decoration-none text-white">Freitagsfoo!</a>
</h1>
<p>Please enter the Details for your talk below:</p>
</div>
</div>
<div class="container mt-5">
<form enctype="multipart/form-data" action="/api/propose" , method="post">
<div class="mb-3 row">
<label for="title" class="col-sm-2 col-form-label">Title</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="title" name="title"
placeholder="So Long, and Thanks for All the CVEs" required>
</div>
</div>
<div class="mb-3 row">
<label for="description" class="col-sm-2 col-form-label">Description</label>
<div class="col-sm-10">
<textarea class="form-control" id="description" name="description" rows="3" required></textarea>
</div>
</div>
<div class="mb-3 row">
<label for="date" class="col-sm-2 col-form-label">Date</label>
<div class="col-sm-10">
<input type="date" id="date" name="date" min="{{ .nextFriday }}" step=7 required>
</div>
</div>
<div class="mb-3 row">
<label for="nickname" class="col-sm-2 col-form-label">Nickname</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="nickname" name="nickname" placeholder="" required>
</div>
</div>
<div class="mb-3 row">
<label for="slides" class="col-sm-2 col-form-label">Slides</label>
<div class="col-sm-10">
<div class="form-group form-file">
<input id="slides" name="slides" type="file" class="form-file-input" multiple
data-show-upload="true" data-show-caption="true" required>
<label class="form-file-label" for="slides">
<span class="form-file-text">Upload your slides</span>
<span class="form-file-button">Browse</span>
</label>
</div>
</div>
</div>
<br>
<div class="form-group row mt-3">
<div class="col-sm-10">
<button type="submit" class="btn btn-primary">Submit Talk</button>
</div>
</div>
</form>
</div>
</main>
</body>
</html>
{{end}}
|