More styling fixes, and fix the file not found page
This commit is contained in:
@@ -1,19 +1,61 @@
|
||||
{{define "file_not_found"}}<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "meta_tags" "File Not Found"}}
|
||||
{{template "meta_tags" "404, File Not Found"}}
|
||||
{{template "user_style" .}}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body">
|
||||
{{template "menu"}}
|
||||
<h1>File not Found</h1>
|
||||
I'm sorry, but this file does not exist!<br/>
|
||||
It may have expired, or taken down by the owner.<br/>
|
||||
You can <a href='/'>Visit the homepage to upload your own files</a>.
|
||||
<br/><br/>
|
||||
It was fun having you, bye for now!
|
||||
<div id="body" class="body">
|
||||
{{template "menu" .}}
|
||||
<br/>
|
||||
<h1>404, File Not Found!</h1>
|
||||
<p>
|
||||
This file does not exist, or it has been removed. Possible
|
||||
reasons for this are:
|
||||
</p>
|
||||
<ul>
|
||||
<li>The file has not been viewed for 100 days and has expired</li>
|
||||
<li>Something went wrong on the pixeldrain servers causing the file to be temporarily unavailable</li>
|
||||
<li>The file voilated copyright laws and has received a takedown request</li>
|
||||
<li>The content was deemed illegal in some country and censorship was requested by a government organisation</li>
|
||||
</ul>
|
||||
<p>
|
||||
I'm sorry for the inconvenience.
|
||||
</p>
|
||||
|
||||
{{template "footer"}}
|
||||
</div>
|
||||
{{template "analytics"}}
|
||||
</body>
|
||||
</html>
|
||||
{{end}}
|
||||
{{define "list_not_found"}}<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{template "meta_tags" "404, List Not Found"}}
|
||||
{{template "user_style" .}}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="body" class="body">
|
||||
{{template "menu" .}}
|
||||
<br/>
|
||||
<h1>404, List Not Found!</h1>
|
||||
<p>
|
||||
This list does not exist, or it has been removed. Possible
|
||||
reasons for this are:
|
||||
</p>
|
||||
<ul>
|
||||
<li>All files in this list have not been viewed for 100 days and have expired</li>
|
||||
<li>Something went wrong on the pixeldrain servers causing the list to be temporarily unavailable</li>
|
||||
<li>The files in the list voilated copyright laws and have received a takedown request</li>
|
||||
<li>The files in the list were deemed illegal in some country and censorship was requested by a government organisation</li>
|
||||
</ul>
|
||||
<p>
|
||||
I'm sorry for the inconvenience.
|
||||
</p>
|
||||
|
||||
{{template "footer"}}
|
||||
</div>
|
||||
{{template "analytics"}}
|
||||
|
Reference in New Issue
Block a user