Add submission page for uploads

* Closes: #13
This commit is contained in:
Las Zenow 2017-09-21 12:09:04 +00:00
parent 26894f1438
commit cc12981a50
12 changed files with 216 additions and 13 deletions

View file

@ -1,5 +1,12 @@
{{template "header.html" .S}}
{{if .SubmissionID}}
<div class="alert alert-success">
<button class="close" data-dismiss="alert">×</button>
<strong>Upload successful!</strong> Thank you for your contribution (<a href="/submission/{{.SubmissionID}}">Review the status of your upload</a>)
</div>
{{end}}
<p>Upload your epubs to help the library.</p>
<form class="well form-inline" method="POST" enctype="multipart/form-data">