diff options
author | Micah Lee <micah@micahflee.com> | 2019-09-03 21:46:32 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-09-03 21:46:32 -0700 |
commit | 644b47082a716de9a7e2311b9f3c2a75c4d96fbe (patch) | |
tree | f3af6cf0eee7d8f1c7c071c67231851d9db10aea /share | |
parent | c55925c1ce296ec8fe31bbe1b50c23133eda687a (diff) | |
download | onionshare-644b47082a716de9a7e2311b9f3c2a75c4d96fbe.tar.gz onionshare-644b47082a716de9a7e2311b9f3c2a75c4d96fbe.zip |
Start making IndividualFileHistoryItem widgets appear in the history, and make non-GET requests return 405 Method Not Allowed
Diffstat (limited to 'share')
-rw-r--r-- | share/locale/en.json | 1 | ||||
-rw-r--r-- | share/templates/405.html | 19 |
2 files changed, 19 insertions, 1 deletions
diff --git a/share/locale/en.json b/share/locale/en.json index c26577b2..5fbf88f9 100644 --- a/share/locale/en.json +++ b/share/locale/en.json @@ -178,7 +178,6 @@ "gui_receive_mode_no_files": "No Files Received Yet", "gui_receive_mode_autostop_timer_waiting": "Waiting to finish receiving", "gui_visit_started": "Someone has visited your website {}", - "gui_individual_file_download": "Viewed {}", "receive_mode_upload_starting": "Upload of total size {} is starting", "days_first_letter": "d", "hours_first_letter": "h", diff --git a/share/templates/405.html b/share/templates/405.html new file mode 100644 index 00000000..55493ae7 --- /dev/null +++ b/share/templates/405.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> + +<head> + <title>OnionShare: 405 Method Not Allowed</title> + <link href="{{ static_url_path }}/img/favicon.ico" rel="icon" type="image/x-icon"> + <link rel="stylesheet" rel="subresource" type="text/css" href="{{ static_url_path }}/css/style.css" media="all"> +</head> + +<body> + <div class="info-wrapper"> + <div class="info"> + <p><img class="logo" src="{{ static_url_path }}/img/logo_large.png" title="OnionShare"></p> + <p class="info-header">405 Method Not Allowed</p> + </div> + </div> +</body> + +</html> |