More page titles
This commit is contained in:
parent
f0b63aec75
commit
e28b11c322
@ -1,5 +1,5 @@
|
||||
component Admin(user *arn.User)
|
||||
h2.page-title Admin Panel
|
||||
h1.page-title Admin Panel
|
||||
|
||||
h3 Server
|
||||
table
|
||||
|
@ -1,7 +1,7 @@
|
||||
component AnimeLists(animeLists map[string]*arn.AnimeList, viewUser *arn.User, user *arn.User, uri string)
|
||||
ProfileHeader(viewUser, user, uri)
|
||||
|
||||
h2.page-title.anime-list-owner= viewUser.Nick + "'s collection"
|
||||
h1.page-title.anime-list-owner= viewUser.Nick + "'s collection"
|
||||
|
||||
if len(animeLists[arn.AnimeListStatusWatching].Items) == 0 && len(animeLists[arn.AnimeListStatusCompleted].Items) == 0 && len(animeLists[arn.AnimeListStatusPlanned].Items) == 0 && len(animeLists[arn.AnimeListStatusHold].Items) == 0 && len(animeLists[arn.AnimeListStatusDropped].Items) == 0
|
||||
p.no-data.mountable= viewUser.Nick + " hasn't added any anime yet."
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Dashboard(schedule []*arn.UpcomingEpisode, posts []arn.Postable, soundTracks []*arn.SoundTrack, following []*arn.User)
|
||||
h2.page-title Dash
|
||||
h1.page-title Dashboard
|
||||
|
||||
.widgets
|
||||
.widget.mountable
|
||||
|
@ -1,3 +1,3 @@
|
||||
component Airing(animeList []*arn.Anime)
|
||||
h2.page-title(title=toString(len(animeList)) + " anime") Explore
|
||||
h1.page-title(title=toString(len(animeList)) + " anime") Explore
|
||||
AnimeGrid(animeList)
|
@ -1,5 +1,5 @@
|
||||
component Genres(genres []*arn.Genre)
|
||||
h2.page-title Genres
|
||||
h1.page-title Genres
|
||||
|
||||
.genres
|
||||
each genre in genres
|
||||
|
@ -2,7 +2,7 @@ component LatestPosts(postables []arn.Postable, viewUser *arn.User, user *arn.Us
|
||||
ProfileHeader(viewUser, user, uri)
|
||||
|
||||
if len(postables) > 0
|
||||
h2.page-title= len(postables), " latest posts by ", postables[0].Author().Nick
|
||||
h1.page-title= len(postables), " latest posts by ", postables[0].Author().Nick
|
||||
PostableList(postables, user)
|
||||
else
|
||||
p.no-data.mountable= viewUser.Nick + " hasn't written any posts yet."
|
@ -1,7 +1,7 @@
|
||||
component TrackList(tracks []*arn.SoundTrack, viewUser *arn.User, user *arn.User, uri string)
|
||||
ProfileHeader(viewUser, user, uri)
|
||||
|
||||
h2.page-title= "Tracks added by " + viewUser.Nick
|
||||
h1.page-title= "Tracks added by " + viewUser.Nick
|
||||
|
||||
if len(tracks) == 0
|
||||
p.no-data.mountable= viewUser.Nick + " hasn't added any tracks yet."
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Settings(user *arn.User)
|
||||
h2.page-title Settings
|
||||
h1.page-title Settings
|
||||
.widgets
|
||||
.widget.mountable(data-api="/api/user/" + user.ID)
|
||||
h3.widget-title
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Users(users []*arn.User)
|
||||
h2.page-title Users
|
||||
h1.page-title Users
|
||||
|
||||
.user-avatars
|
||||
each user in users
|
||||
|
@ -1,5 +1,5 @@
|
||||
component WebDev
|
||||
h2.page-title WebDev
|
||||
h1.page-title WebDev
|
||||
|
||||
.light-button-group
|
||||
a.light-button(href="https://developers.google.com/speed/pagespeed/insights/?url=https://notify.moe/&tab=desktop", target="_blank", rel="noopener")
|
||||
|
Loading…
Reference in New Issue
Block a user