-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (71 loc) · 2.77 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lo and Pix server</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
</head>
<body>
<section class="hero is-link">
<div class="hero-body">
<div class="container">
<h1 class="title">
Welcome on Lolo Serv
</h1>
<h2 class="subtitle">
You can put files here if you want...
</h2>
</div>
</div>
</section>
<main class="section">
<div class="container">
<div class="field" style="margin: 15px;">
<form class="form" enctype="multipart/form-data" action="/send" method="POST">
<div class="control">
<div class="file is-link has-name">
<label class="file-label">
<input class="file-input" type="file" name="file">
<span class="file-cta">
<span class="file-icon">
<i class="fas fa-upload"></i>
</span>
<span class="file-label">
choose a file...
</span>
</span>
<span class="file-name">
upload to Loloserv
</span>
</label>
</div>
</div>
<div style="margin: 15px;" class="field is-grouped">
<div class="control">
<button type="submit" class="button is-link">Submit</button>
</div>
<div class="control">
<button type="reset" class="button is-link is-light">Cancel</button>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="section">
<div class="container">
<div class="list is-hoverable">
{{if .}}
{{range $val := .}}
{{$separator := "/download/"}}
<a href={{$separator}}{{$val}} class="list-item" download>{{$val}}</a>
{{end}}
{{end}}
</div>
</div>
</div>
</main>
</body>
</html>