Display a template after closing the server, and standardize the style of other simple templates

This commit is contained in:
Micah Lee 2018-03-14 08:30:14 -07:00
parent 5665b3c313
commit 0734de68ea
7 changed files with 18 additions and 20 deletions

View file

@ -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>

View 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>

View file

@ -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>

View file

@ -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>