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