Display remaining time until removal
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
<td><a href="/store/{{.FileName}}">{{.ReadableName}}</a></td>
|
||||
<td><span>{{.Perm}}</span></td>
|
||||
<td><span>{{.Modtime}}</span></td>
|
||||
<td><span>{{.TimeLeft}}</span></td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
|
@ -11,19 +11,24 @@
|
||||
<p>
|
||||
Welcome to The Lair's temporary storage service. Use this service to transport files via
|
||||
a temporary remote storage. <br />
|
||||
ONLY WHITELISTED USERS can upload! For access, reach out to <a href="mailto:kamkow256@gmail.com">me</a>.<br />
|
||||
Only 30PLN / 12MON.
|
||||
ONLY WHITELISTED USERS can upload! For access, reach out to <a href="mailto:kamkow256@gmail.com">me</a>.
|
||||
</p>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Upload</h2>
|
||||
<p>
|
||||
<form id="upload-form" method="POST" enctype="multipart/form-data">
|
||||
<label for="myfile">File:</label>
|
||||
<input type="file" name="myfile" id="myfile" required />
|
||||
<label for="user">User:</label>
|
||||
<input type="text" name="user" id="user" required />
|
||||
<label for="pass">Password:</label>
|
||||
<input type="password" name="pass", id="pass" required />
|
||||
<label for="hours">Hours:</label>
|
||||
<input type="number" name="hours" id="hours" min="0" max="24" step="1" value="0" required />
|
||||
<label for="mins">Minutes:</label>
|
||||
<input type="number" name="mins" id="mins" min="0" max="60" step="1" value="0" required />
|
||||
<label for="secs">Seconds:</label>
|
||||
<input type="number" name="secs" id="secs" min="0" max="60" step="1" value="0" required />
|
||||
<input type="submit" value="Upload" />
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user