Reuse index.html template for file upload

git-svn-id: file:///srv/svn/repo/marisa/trunk@51 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
dev
2021-10-20 22:03:58 +00:00
parent 03ca7cb287
commit 16a02e999e
3 changed files with 10 additions and 26 deletions

View File

@@ -33,7 +33,10 @@
</section>
</form>
<p>File size limited to {{.Maxsize}}.</p>
<div id="uploads"></div>
<script src="/dz.js"></script>
<div id="uploads">{{if .Links}}
<ul>
{{range .Links}}<li><a href="{{.}}">{{.}}</a></li>{{end}}
</ul>
{{end}}</div>
</body>
</html>