Bulma list syntax fixes on a couple pages
This commit is contained in:
parent
4623cdca50
commit
a0f41074bd
|
@ -182,84 +182,86 @@
|
|||
</header>
|
||||
|
||||
<div class="card-content">
|
||||
<ul class="menu-list">
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}">
|
||||
<span class="icon"><i class="fa fa-user"></i></span>
|
||||
My Profile
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}/photos">
|
||||
<span class="icon"><i class="fa fa-image"></i></span>
|
||||
My Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/upload">
|
||||
<span class="icon"><i class="fa fa-upload"></i></span>
|
||||
Upload Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/private">
|
||||
<span class="icon"><i class="fa fa-eye"></i></span>
|
||||
Manage Private Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/settings">
|
||||
<span class="icon"><i class="fa fa-edit"></i></span>
|
||||
Edit Profile & Settings
|
||||
</a>
|
||||
</li>
|
||||
{{if .CurrentUser.IsInnerCircle}}
|
||||
<li>
|
||||
<a href="/inner-circle">
|
||||
<span class="icon"><img src="/static/img/circle-16.png"></span>
|
||||
{{PrettyCircle}}
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
<li>
|
||||
<a href="/photo/certification">
|
||||
<span class="icon"><i class="fa fa-certificate"></i></span>
|
||||
Certification Photo
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/users/blocked">
|
||||
<span class="icon"><i class="fa fa-hand"></i></span>
|
||||
Blocked Users
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/notes/me">
|
||||
<span class="icon"><i class="fa fa-pen-to-square mr-1"></i></span>
|
||||
My User Notes
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/logout">
|
||||
<span class="icon"><i class="fa fa-arrow-right-from-bracket"></i></span>
|
||||
Log out
|
||||
</a>
|
||||
</li>
|
||||
{{if .SessionImpersonated}}
|
||||
<li>
|
||||
<a href="/admin/unimpersonate" class="has-text-danger">
|
||||
<span class="icon"><i class="fa fa-ghost"></i></span>
|
||||
<span>Unimpersonate</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
<li>
|
||||
<a href="/settings#deactivate">
|
||||
<span class="icon"><i class="fa fa-trash"></i></span>
|
||||
Delete account
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<aside class="menu">
|
||||
<ul class="menu-list">
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}">
|
||||
<span class="icon"><i class="fa fa-user"></i></span>
|
||||
My Profile
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}/photos">
|
||||
<span class="icon"><i class="fa fa-image"></i></span>
|
||||
My Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/upload">
|
||||
<span class="icon"><i class="fa fa-upload"></i></span>
|
||||
Upload Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/private">
|
||||
<span class="icon"><i class="fa fa-eye"></i></span>
|
||||
Manage Private Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/settings">
|
||||
<span class="icon"><i class="fa fa-edit"></i></span>
|
||||
Edit Profile & Settings
|
||||
</a>
|
||||
</li>
|
||||
{{if .CurrentUser.IsInnerCircle}}
|
||||
<li>
|
||||
<a href="/inner-circle">
|
||||
<span class="icon"><img src="/static/img/circle-16.png"></span>
|
||||
{{PrettyCircle}}
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
<li>
|
||||
<a href="/photo/certification">
|
||||
<span class="icon"><i class="fa fa-certificate"></i></span>
|
||||
Certification Photo
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/users/blocked">
|
||||
<span class="icon"><i class="fa fa-hand"></i></span>
|
||||
Blocked Users
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/notes/me">
|
||||
<span class="icon"><i class="fa fa-pen-to-square mr-1"></i></span>
|
||||
My User Notes
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/logout">
|
||||
<span class="icon"><i class="fa fa-arrow-right-from-bracket"></i></span>
|
||||
Log out
|
||||
</a>
|
||||
</li>
|
||||
{{if .SessionImpersonated}}
|
||||
<li>
|
||||
<a href="/admin/unimpersonate" class="has-text-danger">
|
||||
<span class="icon"><i class="fa fa-ghost"></i></span>
|
||||
<span>Unimpersonate</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
<li>
|
||||
<a href="/settings#deactivate">
|
||||
<span class="icon"><i class="fa fa-trash"></i></span>
|
||||
Delete account
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -121,46 +121,48 @@
|
|||
</header>
|
||||
|
||||
<div class="card-content">
|
||||
<ul class="menu-list">
|
||||
<li>
|
||||
<a href="/admin/photo/certification">
|
||||
<i class="fa fa-certificate mr-2"></i>
|
||||
Certification Photos
|
||||
{{if .NavCertificationPhotos}}<span class="tag is-success ml-1">{{.NavCertificationPhotos}}</span>{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/feedback">
|
||||
<i class="fa fa-message mr-2"></i>
|
||||
Feedback & User Reports
|
||||
{{if .NavAdminFeedback}}<span class="tag is-danger ml-1">{{.NavAdminFeedback}}</span>{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/gallery?admin_view=true">
|
||||
<i class="fa fa-image mr-2"></i>
|
||||
Gallery: Admin View
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/changelog">
|
||||
<i class="fa fa-clipboard-list mr-2"></i>
|
||||
Change Log Viewer
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/scopes">
|
||||
<i class="fa fa-gavel mr-2"></i>
|
||||
Admin Permissions Management
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/maintenance">
|
||||
<i class="fa fa-wrench mr-2"></i>
|
||||
Maintenance Mode
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<aside class="menu">
|
||||
<ul class="menu-list">
|
||||
<li>
|
||||
<a href="/admin/photo/certification">
|
||||
<i class="fa fa-certificate mr-2"></i>
|
||||
Certification Photos
|
||||
{{if .NavCertificationPhotos}}<span class="tag is-success ml-1">{{.NavCertificationPhotos}}</span>{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/feedback">
|
||||
<i class="fa fa-message mr-2"></i>
|
||||
Feedback & User Reports
|
||||
{{if .NavAdminFeedback}}<span class="tag is-danger ml-1">{{.NavAdminFeedback}}</span>{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/gallery?admin_view=true">
|
||||
<i class="fa fa-image mr-2"></i>
|
||||
Gallery: Admin View
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/changelog">
|
||||
<i class="fa fa-clipboard-list mr-2"></i>
|
||||
Change Log Viewer
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/scopes">
|
||||
<i class="fa fa-gavel mr-2"></i>
|
||||
Admin Permissions Management
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/admin/maintenance">
|
||||
<i class="fa fa-wrench mr-2"></i>
|
||||
Maintenance Mode
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -52,56 +52,58 @@
|
|||
</header>
|
||||
|
||||
<div class="card-content p-2">
|
||||
<ul class="menu-list">
|
||||
<li>
|
||||
<a href="/messages"{{if .NavUnreadMessages}} class="has-text-warning"{{end}}>
|
||||
<span class="icon"><i class="fa fa-envelope"></i></span>
|
||||
{{if .NavUnreadMessages}}
|
||||
<span>{{.NavUnreadMessages}} New Message{{Pluralize64 .NavUnreadMessages}}!</span>
|
||||
{{else}}
|
||||
<span>Messages</span>
|
||||
{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/friends{{if .NavFriendRequests}}?view=requests{{end}}"{{if .NavFriendRequests}} class="has-text-warning"{{end}}>
|
||||
<span class="icon"><i class="fa fa-user-group"></i></span>
|
||||
{{if .NavFriendRequests}}
|
||||
<span>{{.NavFriendRequests}} Friend Request{{Pluralize64 .NavFriendRequests}}!</span>
|
||||
{{else}}
|
||||
<span>Friends</span>
|
||||
{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/me{{if .NavUnreadNotifications}}?view=requests{{end}}"{{if .NavUnreadNotifications}} class="has-text-warning"{{end}}>
|
||||
<span class="icon"><i class="fa {{if .NavUnreadNotifications}}fa-bell{{else}}fa-home-user{{end}}"></i></span>
|
||||
{{if .NavUnreadNotifications}}
|
||||
<span>{{.NavUnreadNotifications}} New Notification{{Pluralize64 .NavUnreadNotifications}}!</span>
|
||||
{{else}}
|
||||
<span>Dashboard</span>
|
||||
{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}">
|
||||
<span class="icon"><i class="fa fa-user"></i></span>
|
||||
My Profile
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}/photos">
|
||||
<span class="icon"><i class="fa fa-image"></i></span>
|
||||
My Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/upload">
|
||||
<span class="icon"><i class="fa fa-upload"></i></span>
|
||||
Upload Photos
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<aside class="menu">
|
||||
<ul class="menu-list">
|
||||
<li>
|
||||
<a href="/messages"{{if .NavUnreadMessages}} class="has-text-warning"{{end}}>
|
||||
<span class="icon"><i class="fa fa-envelope"></i></span>
|
||||
{{if .NavUnreadMessages}}
|
||||
<span>{{.NavUnreadMessages}} New Message{{Pluralize64 .NavUnreadMessages}}!</span>
|
||||
{{else}}
|
||||
<span>Messages</span>
|
||||
{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/friends{{if .NavFriendRequests}}?view=requests{{end}}"{{if .NavFriendRequests}} class="has-text-warning"{{end}}>
|
||||
<span class="icon"><i class="fa fa-user-group"></i></span>
|
||||
{{if .NavFriendRequests}}
|
||||
<span>{{.NavFriendRequests}} Friend Request{{Pluralize64 .NavFriendRequests}}!</span>
|
||||
{{else}}
|
||||
<span>Friends</span>
|
||||
{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/me{{if .NavUnreadNotifications}}?view=requests{{end}}"{{if .NavUnreadNotifications}} class="has-text-warning"{{end}}>
|
||||
<span class="icon"><i class="fa {{if .NavUnreadNotifications}}fa-bell{{else}}fa-home-user{{end}}"></i></span>
|
||||
{{if .NavUnreadNotifications}}
|
||||
<span>{{.NavUnreadNotifications}} New Notification{{Pluralize64 .NavUnreadNotifications}}!</span>
|
||||
{{else}}
|
||||
<span>Dashboard</span>
|
||||
{{end}}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}">
|
||||
<span class="icon"><i class="fa fa-user"></i></span>
|
||||
My Profile
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/u/{{.CurrentUser.Username}}/photos">
|
||||
<span class="icon"><i class="fa fa-image"></i></span>
|
||||
My Photos
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/photo/upload">
|
||||
<span class="icon"><i class="fa fa-upload"></i></span>
|
||||
Upload Photos
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user