2016-11-03 07:54:30 +00:00
|
|
|
component Layout(content string)
|
2016-10-28 16:11:25 +00:00
|
|
|
html
|
|
|
|
head
|
2016-11-02 13:47:22 +00:00
|
|
|
title ARN 4.0 - Beta
|
2016-11-03 04:11:00 +00:00
|
|
|
meta(name="viewport", content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes")
|
2016-10-28 16:11:25 +00:00
|
|
|
body
|
2016-11-02 13:47:22 +00:00
|
|
|
#container
|
2016-11-03 04:01:06 +00:00
|
|
|
Header
|
|
|
|
Content(content)
|
2016-11-02 13:47:22 +00:00
|
|
|
|
|
|
|
LoadingAnimation
|
|
|
|
|
|
|
|
script(src="/scripts.js")
|
|
|
|
|
2016-11-03 04:01:06 +00:00
|
|
|
component Header
|
|
|
|
#header-container
|
|
|
|
#header.header-logged-in
|
|
|
|
Navigation
|
|
|
|
|
|
|
|
component Content(content string)
|
|
|
|
#content-container
|
|
|
|
main#content.fade!= content
|
|
|
|
|
|
|
|
component Navigation
|
|
|
|
nav#navigation
|
2016-11-19 14:54:31 +00:00
|
|
|
NavigationButton("Dash", "/", "inbox")
|
2016-11-22 03:34:59 +00:00
|
|
|
NavigationButton("Anime", "/anime", "television")
|
2016-11-18 17:58:00 +00:00
|
|
|
NavigationButton("Forum", "/forum", "comment")
|
2016-11-19 14:54:31 +00:00
|
|
|
NavigationButton("Genres", "/genres", "tags")
|
2016-11-23 03:44:28 +00:00
|
|
|
NavigationButton("Airing", "/airing", "rss")
|
2016-11-18 17:58:00 +00:00
|
|
|
|
|
|
|
component NavigationButton(name string, target string, icon string)
|
|
|
|
a.navigation-link.navigation-link-left.ajax(href=target)
|
|
|
|
.navigation-button
|
|
|
|
i(class="fa fa-" + icon)
|
|
|
|
span.navigation-text= name
|
2016-11-03 04:01:06 +00:00
|
|
|
|
2016-11-02 13:47:22 +00:00
|
|
|
component LoadingAnimation
|
|
|
|
#loading-animation.sk-cube-grid.fade
|
|
|
|
.sk-cube.sk-cube1
|
|
|
|
.sk-cube.sk-cube2
|
|
|
|
.sk-cube.sk-cube3
|
|
|
|
.sk-cube.sk-cube4
|
|
|
|
.sk-cube.sk-cube5
|
|
|
|
.sk-cube.sk-cube6
|
|
|
|
.sk-cube.sk-cube7
|
|
|
|
.sk-cube.sk-cube8
|
|
|
|
.sk-cube.sk-cube9
|