From 6f872fe2f7fa2ee5cae749bdde5ad002d380b556 Mon Sep 17 00:00:00 2001 From: lost+skunk Date: Thu, 13 Jun 2024 23:56:03 +0300 Subject: альфа: работают только посты и поиск MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/about.htm | 23 +++++++++++++++++++++++ html/deviantion.htm | 44 ++++++++++++++++++++++++++++++++++++++++++++ html/index.htm | 20 ++++++++++++++++++++ html/search.htm | 29 +++++++++++++++++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 html/about.htm create mode 100644 html/deviantion.htm create mode 100644 html/index.htm create mode 100644 html/search.htm (limited to 'html') diff --git a/html/about.htm b/html/about.htm new file mode 100644 index 0000000..2c43bbe --- /dev/null +++ b/html/about.htm @@ -0,0 +1,23 @@ + + + + SkunkyArt + + +
+
+

HOME | DD

+
+ + + +
+
+

+ SkunkyArt is an alternative frontend for deviantart.com, written in Go. +

+
+ \ No newline at end of file diff --git a/html/deviantion.htm b/html/deviantion.htm new file mode 100644 index 0000000..8516965 --- /dev/null +++ b/html/deviantion.htm @@ -0,0 +1,44 @@ + + + + SkunkyArt | {{.Post.Deviation.Author.Username}} - {{.Post.Deviation.Title}} + + +
+
+

HOME | DD

+
+ + + +
+
+
+ + {{.Post.Deviation.Author.Username}} — {{if (.Post.Deviation.DD)}} + {{.Post.Deviation.Title}} + {{else}}{{.Post.Deviation.Title}}{{end}} + {{if (ne .Post.Deviation.License "none")}}{{.Post.Deviation.License}}{{end}} {{if (.Post.Deviation.AI)}}[🤖]{{end}} + {{if (.Post.Deviation.NSFW)}}[NSFW]{{end}} + +
+ {{if (ne .Post.IMG "")}} + +
+ {{end}} + {{if (ne .Tags "")}} + {{.Tags}}
+ {{end}} + Published: {{.StringTime}}; Views: {{.Post.Deviation.Stats.Views}}; Favourites: {{.Post.Deviation.Stats.Favourites}}; Downloads: {{.Post.Deviation.Stats.Downloads}} + {{if (ne .Post.Description "")}} + {{.Post.Description}} + {{end}} + {{if (ne .Comments "")}} + {{.Comments}} + {{end}} +
+
+ \ No newline at end of file diff --git a/html/index.htm b/html/index.htm new file mode 100644 index 0000000..e754884 --- /dev/null +++ b/html/index.htm @@ -0,0 +1,20 @@ + + + + SkunkyArt + +
+
+
+ + + +
+

Daily Deviations | About | Source Code

+
+
+ \ No newline at end of file diff --git a/html/search.htm b/html/search.htm new file mode 100644 index 0000000..4ef9fbd --- /dev/null +++ b/html/search.htm @@ -0,0 +1,29 @@ + + + + SkunkyArt | Search + + +
+
+

HOME | DD

+
+ + + +
+
+ {{if (ne .List "")}} + {{if (ne .Search.Total 0)}} +

Total resuls: {{.Search.Total}}

+ {{end}} + {{.List}} + {{.Search.Pages}} + {{else}} +

No results :(

+ {{end}} +
+ \ No newline at end of file -- cgit v1.2.3