blob: 5e0aa578dff27ddf363be8b10b71be57e4b74aa1 (
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
|
{{define "title"}}Acceuil{{end}}
{{define "content"}}
<h1>Espace utilisateur</h1>
<h2>Documents</h2>
<div>
<form action="/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="files" multiple />
<input type="submit" value="Upload" />
</form>
<table>
<tr>
<th></th>
<th>Nom du fichier</th>
<th>Date de modification</th>
<th>Taille</th>
</tr>
{{range .Docs}}
<tr>
<td>
<input type="checkbox">
</td>
<td>
<a href="{{.Link}}">{{.Name}}</a>
</td>
<td>
{{.ModTime}}
</td>
<td>
{{.Size}}
</td>
</tr>
{{end}}
</table>
</div>
{{end}}
|