aboutsummaryrefslogtreecommitdiff
path: root/templates/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user.html')
-rw-r--r--templates/user.html27
1 files changed, 22 insertions, 5 deletions
diff --git a/templates/user.html b/templates/user.html
index 7cb0d11..5e0aa57 100644
--- a/templates/user.html
+++ b/templates/user.html
@@ -7,12 +7,29 @@
<input type="file" name="files" multiple />
<input type="submit" value="Upload" />
</form>
- <ul>
+ <table>
+ <tr>
+ <th></th>
+ <th>Nom du fichier</th>
+ <th>Date de modification</th>
+ <th>Taille</th>
+ </tr>
{{range .Docs}}
- <li>
- <a href="{{.Link}}">{{.Name}}</a>
- </li>
+ <tr>
+ <td>
+ <input type="checkbox">
+ </td>
+ <td>
+ <a href="{{.Link}}">{{.Name}}</a>
+ </td>
+ <td>
+ {{.ModTime}}
+ </td>
+ <td>
+ {{.Size}}
+ </td>
+ </tr>
{{end}}
- </ul>
+ </table>
</div>
{{end}}