Minor changes

This commit is contained in:
2016-11-03 00:00:17 +09:00
parent fa848a63ea
commit eacf0e2399
5 changed files with 93 additions and 16 deletions

View File

@ -42,6 +42,7 @@ component Anime(anime *arn.Anime)
each genre in anime.Genres
if genre != ""
a.light-button.ajax(href="/anime/genres/" + arn.FixGenre(genre))
i(class="fa fa-" + GenreIcons[genre] + " fa-fw")
span= genre
if len(anime.Studios) > 0

View File

@ -1,14 +1,17 @@
component Dashboard
section
header
h1 ARN 4.0
p The next version of notify.moe is currently being built here!
h2 ARN 4.0
p Shht! The next version of notify.moe is currently being built here.
hr
p Some test links:
ul
li
a.ajax(href="/anime/21499") Sousei no Onmyouji
li
a.ajax(href="/anime/1000001") RWBY
li
a(href="/api/anime/1000001") RWBY (JSON API)
a(href="/api/anime/1000001") RWBY (JSON API)
li
a.ajax(href="/genres") Genre Overview
li
a(href="/all/anime") All anime titles on notify.moe (text file)

13
pages/genres/genres.pixy Normal file
View File

@ -0,0 +1,13 @@
component GenreOverview
section
header
h2 Genres
each genre in Genres
p
a(href="/genres/" + arn.FixGenre(genre))
Icon(GenreIcons[genre])
span= genre
component Icon(name string)
i(class="fa fa-fw fa-" + name)