add abuse file viewer

This commit is contained in:
2020-07-16 17:24:03 +02:00
parent ea2e6fd9c7
commit 615327083e
5 changed files with 55 additions and 1 deletions

21
res/template/451.html Normal file
View File

@@ -0,0 +1,21 @@
{{define "451"}}<!DOCTYPE html>
<html lang="en">
<head>
{{template "meta_tags" "451, Unavailable For Legal Reasons"}}
{{template "user_style" .}}
</head>
<body>
{{template "page_top" .}}
<h1>451, Unavailable For Legal Reasons</h1>
<div class="page_content"><div class="limit_width">
<p>
Hello. This file has received an abuse report and has been taken
down. It cannot be shared anymore.
</p>
</div></div>
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>
{{end}}

View File

@@ -219,6 +219,7 @@
{{template `ListNavigator.js`}}
{{template `Viewer.js`}}
{{template `AbuseViewer.js`}}
{{template `ImageViewer.js`}}
{{template `VideoViewer.js`}}
{{template `AudioViewer.js`}}