From 553bfa1e8d2d9ac3a7ac202065e7adea1fe3142d Mon Sep 17 00:00:00 2001 From: clsr Date: Fri, 11 Nov 2016 17:35:39 +0100 Subject: Initial commit; forked from installgen2/Flup --- pages/about.html | 45 ++++++++++++++++++++++++++++++++++ pages/deletion_log.html | 56 ++++++++++++++++++++++++++++++++++++++++++ pages/index.html | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 166 insertions(+) create mode 100644 pages/about.html create mode 100644 pages/deletion_log.html create mode 100644 pages/index.html (limited to 'pages') diff --git a/pages/about.html b/pages/about.html new file mode 100644 index 0000000..3e865c9 --- /dev/null +++ b/pages/about.html @@ -0,0 +1,45 @@ + + + + + {{ .SiteName }} - About + + + + + + + + + + + + + + + + + + + + + + + + + + + +

About

+ +

{{ .SiteName }} is a simple file uploading website, written from scratch in Go using net/http and the file system. It has some cool unique features, and it's cyb as fuck.

+ +

The source code is available at git.clsr.net/gomf, it's slightly less shit than the PHP pomf. All the technical details of the software are available there too.

+ +

If you have found a file which you believe should be removed, please email me at {{ .Abuse }}. Please note I will not remove any files unless I am obligated to, for legal reasons, to remain off blacklists, or because I am required to by my hosting providers. A full list of removed files and their reasons will be available on /deletion_log.html.

+ + + + + + diff --git a/pages/deletion_log.html b/pages/deletion_log.html new file mode 100644 index 0000000..ecd72b8 --- /dev/null +++ b/pages/deletion_log.html @@ -0,0 +1,56 @@ + + + + + {{ .SiteName }} - Deleted files + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Deleted files

+

Here is a full list of every file deleted from {{ .SiteName }} and its reason for being removed.

+ +
+ +
+ {{ if false }} +
+
ID: {{ .ID }}
+
Deletion reason: {{ .Reason }}
+
+
Name: {{ .Name }}
+
Hash: {{ .Hash }}
+ {{ if .Desc }}
Desc: {{ .Desc }}
{{ end }} +
+
+ {{ end }} +
+ + + + + + diff --git a/pages/index.html b/pages/index.html new file mode 100644 index 0000000..038fbcd --- /dev/null +++ b/pages/index.html @@ -0,0 +1,65 @@ + + + + + {{ .SiteName }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

wired

+ + {{ with .Result }}{{ if or .Files .Description }} +

{{ if .Description }}Error!{{ else }}Uploaded!{{ end }}

+
+
+ {{ range .Files }} +

{{ .Url }}

+ {{ else }} +

{{ .Description }}

+ {{ end }} +
+
+ {{ end }}{{ end }} + +
+ + +
+ +
+ + +
+ + {{ range $name, $path := .Pages }}{{ if ne $path "index.html" }}
{{ $name }}
{{ end }}{{ end }} + + + + + + -- cgit