diff options
| author | lost+skunk <[email protected]> | 2024-08-14 19:18:06 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2024-08-14 19:18:06 +0300 |
| commit | 2f8c35ba322e3c8c6e0bff8f7818d4eedf002928 (patch) | |
| tree | 3158276fa91553bc87cbb751204d832b3616bfde /static/html | |
| parent | 513543cc7a24330e3d9ce96d3b55e4726397af50 (diff) | |
| download | skunky-art-2f8c35ba322e3c8c6e0bff8f7818d4eedf002928.tar.gz skunky-art-2f8c35ba322e3c8c6e0bff8f7818d4eedf002928.tar.bz2 skunky-art-2f8c35ba322e3c8c6e0bff8f7818d4eedf002928.zip | |
user favourites
Diffstat (limited to 'static/html')
| -rw-r--r-- | static/html/gruser.htm | 17 | ||||
| -rw-r--r-- | static/html/head.htm | 11 |
2 files changed, 20 insertions, 8 deletions
diff --git a/static/html/gruser.htm b/static/html/gruser.htm index c8227ef..6593951 100644 --- a/static/html/gruser.htm +++ b/static/html/gruser.htm @@ -3,14 +3,25 @@ {{template "head" . }} <main> <header> - <h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a> - | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type={{if eq .Type 'a'}}gallery">Gallery{{else}}about">About{{end}}</a> - | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type=gallery&atom=true">RSS</a></h1> + <h1> + <a href="{{.BasePath}}">HOME</a> + | <a href="{{.BasePath}}dd">DD</a> + {{if ne .Type 'f'}} + | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type={{if eq .Type 'a'}}gallery">Gallery{{else}}about">About{{end}}</a> + | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type=favourites">Favourites</a> + {{else}} + | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type=about">About</a> + | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type=gallery">Gallery</a> + | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type=favourites">Favourites</a> + {{end}} + | <a href="group_user?q={{.Templates.GroupUser.GR.Owner.Username}}&type=gallery&atom=true">RSS</a> + </h1> <form method="get" action="{{.BasePath}}search"> <input type="gallery" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false"> <input type="hidden" name="usr" value="{{.Templates.GroupUser.GR.Owner.Username}}"> <select name="type"> <option value="gallery">Gallery</option> + <option value="folders">Folders</option> <option value="all">All</option> <option value="tag">Tag</option> <option value="r">Groups</option> diff --git a/static/html/head.htm b/static/html/head.htm index f7f6b91..08ecf45 100644 --- a/static/html/head.htm +++ b/static/html/head.htm @@ -5,12 +5,13 @@ "{{.QueryRaw}}" {{else if eq .Endpoint "post"}} {{.Templates.Deviation.Post.Deviation.Author.Username}} — {{.Templates.Deviation.Post.Deviation.Title}} - {{else if eq .Type 'a'}} - {{if .Templates.GroupUser.GR.Owner.Username}} - {{.Templates.GroupUser.GR.Owner.Username}} - {{else}} - gallery of {{.Templates.GroupUser.GR.Owner.Username}} + {{else if eq .Endpoint "group_user"}} + {{if eq .Type 'g'}} + gallery of + {{else if eq .Type 'f'}} + favourites of {{end}} + {{.Templates.GroupUser.GR.Owner.Username}} {{else}} {{.Endpoint}} {{end}} |
