aboutsummaryrefslogtreecommitdiff
path: root/templates/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user.html')
-rw-r--r--templates/user.html21
1 files changed, 12 insertions, 9 deletions
diff --git a/templates/user.html b/templates/user.html
index f37c2fb..f116286 100644
--- a/templates/user.html
+++ b/templates/user.html
@@ -1,16 +1,16 @@
{{define "title"}}Acceuil{{end}}
{{define "content"}}
-<h1>Espace utilisateur</h1>
-<h2>Documents</h2>
-{{if .Error}}
-<p class="error">{{.Error}}</p>
-{{end}}
-<div>
+ <h1>Espace utilisateur</h1>
+ <h2>Documents</h2>
+ {{if .Error}}
+ <p class="error">{{.Error}}</p>
+ {{end}}
<form action="/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="files" multiple />
<input type="submit" value="Upload" />
</form>
- <form action="/download" method="POST">
+ <form action="/download" method="POST" class="inline">
+ <div class="docs">
<table>
<tr>
<th></th>
@@ -23,7 +23,7 @@
<td>
<input type="checkbox" name="selection" value="{{.Link}}">
</td>
- <td>
+ <td class="filename">
<a href="{{.Link}}">{{.Name}}</a>
</td>
<td>
@@ -35,8 +35,11 @@
</tr>
{{end}}
</table>
+ </div>
<br/>
<input type="submit" value="Télécharger les fichiers sélectionnés">
</form>
-</div>
+ <form action="/download" method="GET" class="inlineblk">
+ <input type="submit" value="Télécharger tous les fichiers">
+ </form>
{{end}}