Improved page titles
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn.Anime)
|
||||
.widgets.mountable
|
||||
.widget.anime-list-item-view(data-api="/api/animelist/" + viewUser.ID + "/update/" + anime.ID)
|
||||
h2= anime.Title.Canonical
|
||||
h1= anime.Title.Canonical
|
||||
|
||||
InputNumber("Episodes", float64(item.Episodes), "Episodes", "Number of episodes you watched", "0", arn.EpisodeCountMax(anime.EpisodeCount), "1")
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
component EditAnime(anime *arn.Anime)
|
||||
h2= anime.Title.Canonical
|
||||
h1= anime.Title.Canonical
|
||||
|
||||
.widgets
|
||||
.widget(data-api="/api/anime/" + anime.ID)
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Forum(tag string, threads []*arn.Thread, threadsPerPage int)
|
||||
h2.page-title Forum
|
||||
h1.page-title Forum
|
||||
ForumTags
|
||||
.forum
|
||||
ThreadList(threads)
|
||||
|
@ -1,3 +0,0 @@
|
||||
component Forums
|
||||
h2.forum-header Forum
|
||||
ForumTags
|
@ -1,5 +1,5 @@
|
||||
component ImportAnilist(user *arn.User, matches []*arn.AniListMatch)
|
||||
h2= "anilist.co Import (" + user.Accounts.AniList.Nick + ", " + toString(len(matches)) + " anime)"
|
||||
h1= "anilist.co Import (" + user.Accounts.AniList.Nick + ", " + toString(len(matches)) + " anime)"
|
||||
|
||||
table.import-list
|
||||
thead
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Music(tracks []*arn.SoundTrack)
|
||||
h2 Soundtracks
|
||||
h1 Soundtracks
|
||||
|
||||
.music-buttons
|
||||
a.button.ajax(href="/new/soundtrack")
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Thread(thread *arn.Thread, posts []*arn.Post, user *arn.User)
|
||||
h2.thread-title= thread.Title
|
||||
h1.thread-title= thread.Title
|
||||
|
||||
#thread.thread(data-id=thread.ID)
|
||||
.posts
|
||||
|
@ -1,5 +1,5 @@
|
||||
component Track(track *arn.SoundTrack)
|
||||
h2= track.Media[0].Title
|
||||
h1= track.Media[0].Title
|
||||
|
||||
.sound-tracks
|
||||
SoundTrackAllMedia(track)
|
Reference in New Issue
Block a user