From ed031b353078d0b58a67981de4d463c8563a20d7 Mon Sep 17 00:00:00 2001 From: lost+skunk Date: Sun, 30 Jun 2024 14:40:27 +0300 Subject: попытка реализовать галерею. так сыро потому что мне скоро уезжать MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/gruser.htm | 81 +++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 56 insertions(+), 25 deletions(-) (limited to 'html/gruser.htm') diff --git a/html/gruser.htm b/html/gruser.htm index b81ceb1..5a5c801 100644 --- a/html/gruser.htm +++ b/html/gruser.htm @@ -1,43 +1,74 @@ - SkunkyArt | {{.GR.Owner.Username}} + SkunkyArt | + {{if eq .Type 'a'}} + {{.Templates.GroupUser.GR.Owner.Username}} + {{else}} + gallery of {{.Templates.GroupUser.GR.Owner.Username}} + {{end}} +
-

HOME | DD

-
- +

HOME | DD + | Gallery

{{else}}about">About + {{end}} + + +
- {{.GR.Owner.Username}} - {{if (eq .About.A.Gender "male")}} - ♂️ - {{end}} - {{if (eq .About.A.Gender "female")}} - ♀️ - {{end}} - [{{.GR.Gruser.ID}}] - [{{.CreationDate}}] - "{{.GR.Extra.Tag}}" + {{if eq .Type 'a'}} + {{if ne .Templates.GroupUser.About.BG ""}} + + {{end}} -

# Statistics

-

Favourites: {{.GR.Extra.Stats.Favourites}}; Deviations: {{.GR.Extra.Stats.Deviations}}; Watchers: {{.GR.Extra.Stats.Watchers}} -

Watching: {{.GR.Extra.Stats.Watching}}; Pageviews: {{.GR.Extra.Stats.Pageviews}}; Comments Made: {{.GR.Extra.Stats.CommentsMade}}; Friends: {{.GR.Extra.Stats.Friends}}

- -

# Interests

- {{.About.Interests}} + {{.Templates.GroupUser.GR.Owner.Username}} + {{if (eq .Templates.GroupUser.About.A.Gender "male")}} + ♂️ + {{end}} + {{if (eq .Templates.GroupUser.About.A.Gender "female")}} + ♀️ + {{end}} + [{{.Templates.GroupUser.GR.Gruser.ID}}] + [{{.Templates.GroupUser.CreationDate}}] + {{if ne .Templates.GroupUser.GR.Extra.Tag ""}} + "{{.Templates.GroupUser.GR.Extra.Tag}}"{{end}} ({{.Templates.GroupUser.About.A.Country}}) -

# Social Links

- {{.About.Social}} +

# Statistics

+

Favourites: {{.Templates.GroupUser.GR.Extra.Stats.Favourites}}; Deviations: {{.Templates.GroupUser.GR.Extra.Stats.Deviations}}; Watchers: {{.Templates.GroupUser.GR.Extra.Stats.Watchers}} +

Watching: {{.Templates.GroupUser.GR.Extra.Stats.Watching}}; Pageviews: {{.Templates.GroupUser.GR.Extra.Stats.Pageviews}}; Comments Made: {{.Templates.GroupUser.GR.Extra.Stats.CommentsMade}}; Friends: {{.Templates.GroupUser.GR.Extra.Stats.Friends}}

+ + {{if ne .Templates.GroupUser.About.Interests ""}} +

# Interests

+ {{.Templates.GroupUser.About.Interests}} + {{end}} -

# About me

- {{.About.DescriptionFormatted}} + {{if ne .Templates.GroupUser.About.Social ""}} +

# Social Links

+ {{.Templates.GroupUser.About.Social}} + {{end}} + + {{if ne .Templates.GroupUser.About.DescriptionFormatted ""}} +

# About me

+ {{.Templates.GroupUser.About.DescriptionFormatted}} + {{end}} + {{if ne .Templates.GroupUser.About.Comments ""}} +
+

# Comments

+ {{.Templates.GroupUser.About.Comments}} + {{end}} + {{else}} + {{.Templates.GroupUser.Gallery.List}} + {{end}}
- \ No newline at end of file + -- cgit v1.2.3