From e30f35ea36cd977988401fd077e3e96485316a73 Mon Sep 17 00:00:00 2001
From: Fornax
Date: Tue, 7 Jun 2022 16:31:05 +0200
Subject: [PATCH] Add go-pd to apps page
---
res/template/apps.html | 17 +++++++++++++++++
webcontroller/style.go | 6 ------
2 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/res/template/apps.html b/res/template/apps.html
index c7ddffd..672cc03 100644
--- a/res/template/apps.html
+++ b/res/template/apps.html
@@ -74,6 +74,23 @@
target="_blank">GitHub releases page.
+ go-pd
+
+ Platform: Linux, Mac OS, Windows (CLI) |
+ License: MIT |
+
GitHub
+
+
+ go-pd is a command line interface and client library for
+ pixeldrain created by Manuel Reschke. The CLI supports uploading
+ files anonymously, and uploading to user accounts. The client
+ library supports uploading, downloading and deleting files,
+ creating and viewing lists and user accounts. Compiled binaries
+ are available on the GitHub releases page.
+
+
go-pixeldrain
Platform: Linux, Mac OS, Windows (CLI) |
diff --git a/webcontroller/style.go b/webcontroller/style.go
index a349dec..5ef2905 100644
--- a/webcontroller/style.go
+++ b/webcontroller/style.go
@@ -306,12 +306,6 @@ func BackgroundTiles() template.URL {
}
return template.URL("/res/img/background_patterns/" + file + "_transparent.png")
-
- // var buf = bytes.Buffer{}
- // if err := tpl.ExecuteTemplate(&buf, file+"_transparent.png", nil); err != nil {
- // panic(err)
- // }
- // return template.URL(buf.String())
}
// Following are all the available styles