diff options
| author | Julian Hurst <ark@mansus.space> | 2023-01-13 14:50:04 +0100 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2023-01-13 14:50:04 +0100 |
| commit | 7d502441a6bd210aff8a8625ee87ea5a1fbbd7ee (patch) | |
| tree | 43dc38adc610ff20db9054046ab6b39b85f3f397 /templates/user.html | |
| parent | cffe35e0e3acac7dd5b83cd7cbec9bc9ff1d17e4 (diff) | |
| download | docspace-master.tar.gz | |
Diffstat (limited to 'templates/user.html')
| -rw-r--r-- | templates/user.html | 21 |
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}} |
