mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 05:42:15 -04:00
Display a template after closing the server, and standardize the style of other simple templates
This commit is contained in:
parent
5665b3c313
commit
0734de68ea
7 changed files with 18 additions and 20 deletions
|
@ -1,9 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Error 404</title>
|
||||
<title>OnionsShare: Error 404</title>
|
||||
<link href="/static/img/favicon.ico" rel="icon" type="image/x-icon" />
|
||||
<link href="/static/css/404.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>404</body>
|
||||
<body>
|
||||
<p>Error 404: You probably typed the OnionShare address wrong</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
10
share/templates/closed.html
Normal file
10
share/templates/closed.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>OnionShare is closed</title>
|
||||
<link href="/static/img/favicon.ico" rel="icon" type="image/x-icon" />
|
||||
</head>
|
||||
<body>
|
||||
<p>Thank you for using OnionShare</p>
|
||||
</body>
|
||||
</html>
|
|
@ -3,7 +3,6 @@
|
|||
<head>
|
||||
<title>OnionShare</title>
|
||||
<link href="/static/img/favicon.ico" rel="icon" type="image/x-icon" />
|
||||
<link href="/static/css/denied.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<p>OnionShare download in progress</p>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<p class="upload-description">Select the files you want to send, then click "Send Files"...</p>
|
||||
<form method="post" enctype="multipart/form-data" action="/{{ slug }}/upload">
|
||||
<p><input type="file" name="file[]" multiple /></p>
|
||||
<p><input type="submit" name="upload" class="button" value="Upload Files" /></p>
|
||||
<p><input type="submit" class="button" value="Send Files" /></p>
|
||||
<div>
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
|
@ -36,7 +36,7 @@
|
|||
</div>
|
||||
|
||||
<form method="post" action="/{{ slug }}/close">
|
||||
<input type="submit" name="close" class="close-button" value="I'm Finished Uploading" />
|
||||
<input type="submit" class="close-button" value="I'm Finished Uploading" />
|
||||
</form>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue