Implemented forum overview
This commit is contained in:
45
layout/layout.pixy
Normal file
45
layout/layout.pixy
Normal file
@ -0,0 +1,45 @@
|
||||
component Layout(content string)
|
||||
html
|
||||
head
|
||||
title ARN 4.0 - Beta
|
||||
meta(name="viewport", content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes")
|
||||
body
|
||||
#container
|
||||
Header
|
||||
Content(content)
|
||||
|
||||
LoadingAnimation
|
||||
|
||||
script(src="/scripts.js")
|
||||
|
||||
component Header
|
||||
#header-container
|
||||
#header.header-logged-in
|
||||
Navigation
|
||||
|
||||
component Content(content string)
|
||||
#content-container
|
||||
main#content.fade!= content
|
||||
|
||||
component Navigation
|
||||
nav#navigation
|
||||
NavigationButton("Dash", "/", "dashboard")
|
||||
NavigationButton("Forum", "/forum", "comment")
|
||||
|
||||
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
|
||||
|
||||
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
|
Reference in New Issue
Block a user