summaryrefslogtreecommitdiff
path: root/static/html/gruser.htm
diff options
context:
space:
mode:
authorlost+skunk <[email protected]>2024-08-14 19:18:06 +0300
committerlost+skunk <[email protected]>2024-08-14 19:18:06 +0300
commit2f8c35ba322e3c8c6e0bff8f7818d4eedf002928 (patch)
tree3158276fa91553bc87cbb751204d832b3616bfde /static/html/gruser.htm
parent513543cc7a24330e3d9ce96d3b55e4726397af50 (diff)
downloadskunky-art-2f8c35ba322e3c8c6e0bff8f7818d4eedf002928.tar.gz
skunky-art-2f8c35ba322e3c8c6e0bff8f7818d4eedf002928.tar.bz2
skunky-art-2f8c35ba322e3c8c6e0bff8f7818d4eedf002928.zip
user favourites
Diffstat (limited to 'static/html/gruser.htm')
-rw-r--r--static/html/gruser.htm17
1 files changed, 14 insertions, 3 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>