From 487cfb896bbc9d929253c1faefba6d09a5ac2fed Mon Sep 17 00:00:00 2001 From: akuma06 Date: Wed, 10 May 2017 18:40:09 +0200 Subject: [PATCH 1/3] Added moderation link --- templates/_badgemenu.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/_badgemenu.html b/templates/_badgemenu.html index 7697bc70..ee36c328 100644 --- a/templates/_badgemenu.html +++ b/templates/_badgemenu.html @@ -7,6 +7,7 @@ {{ .Username }} From 0a1bd085ae6aa2e6c8eb1e9c25d971ae428e7213 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Wed, 10 May 2017 18:47:37 +0200 Subject: [PATCH 2/3] Updated listing css --- templates/_badgemenu.html | 2 +- templates/admin/commentlist.html | 2 +- templates/admin/panelindex.html | 8 ++++---- templates/admin/torrent_report.html | 4 ++-- templates/admin/torrentlist.html | 2 +- templates/admin/userlist.html | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/_badgemenu.html b/templates/_badgemenu.html index ee36c328..bb6ed667 100644 --- a/templates/_badgemenu.html +++ b/templates/_badgemenu.html @@ -7,7 +7,7 @@ {{ .Username }} diff --git a/templates/admin/commentlist.html b/templates/admin/commentlist.html index 39cbca0a..e457da87 100644 --- a/templates/admin/commentlist.html +++ b/templates/admin/commentlist.html @@ -1,6 +1,6 @@ {{define "title"}}Comments List{{end}} {{define "content"}} - +
{{ range .Comments}} diff --git a/templates/admin/panelindex.html b/templates/admin/panelindex.html index 5ada9c6c..aac03ffd 100644 --- a/templates/admin/panelindex.html +++ b/templates/admin/panelindex.html @@ -1,7 +1,7 @@ {{define "title"}}Moderation Overview{{end}} {{define "content"}}

Last Torrents

-
{{ .Content }}{{ .User.Username }}
+
{{ range .Torrents}} @@ -14,7 +14,7 @@

Last Torrents Report

-
{{ .Name }}{{ .UploaderID }}
+
{{ range .TorrentReports}} @@ -27,7 +27,7 @@

Last Users

-
{{ .Torrent.Name }}{{.User.Username}}{{.Description}}
+
{{ range .Users}} @@ -42,7 +42,7 @@

Last Comments

-
+
{{ range .Comments}} diff --git a/templates/admin/torrent_report.html b/templates/admin/torrent_report.html index 0874086b..fdc8c1fa 100644 --- a/templates/admin/torrent_report.html +++ b/templates/admin/torrent_report.html @@ -1,7 +1,7 @@ {{define "title"}}Torrents Report{{end}} {{define "content"}} -
{{ .Content }}{{ .User.Username }}
-
+
+
{{ range .Torrents}} {{end}} diff --git a/templates/admin/torrentlist.html b/templates/admin/torrentlist.html index 269bc943..62fd365d 100644 --- a/templates/admin/torrentlist.html +++ b/templates/admin/torrentlist.html @@ -1,6 +1,6 @@ {{define "title"}}Torrents List{{end}} {{define "content"}} -
{{ .Torrent.Name }}{{.User.Username}}{{.Description}}Delete
+
{{ range .Torrents}} diff --git a/templates/admin/userlist.html b/templates/admin/userlist.html index 11b452a5..db67a2d8 100644 --- a/templates/admin/userlist.html +++ b/templates/admin/userlist.html @@ -1,6 +1,6 @@ {{define "title"}}Users List{{end}} {{define "content"}} -
{{ .Name }}{{ .UploaderID }}
+
{{ range .Users}} From b0e359e5040764181a561cb2632488b68ec24f36 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Wed, 10 May 2017 18:50:24 +0200 Subject: [PATCH 3/3] Update torrent_report.html --- templates/admin/torrent_report.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/admin/torrent_report.html b/templates/admin/torrent_report.html index fdc8c1fa..aa1e7f9e 100644 --- a/templates/admin/torrent_report.html +++ b/templates/admin/torrent_report.html @@ -1,9 +1,8 @@ {{define "title"}}Torrents Report{{end}} {{define "content"}} -
{{ range .Torrents}} {{end}}
{{ .Torrent.Name }}{{.User.Username}}{{.Description}}Delete
-{{end}} \ No newline at end of file +{{end}}