2017-06-24 19:07:45 +00:00
|
|
|
component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, content string)
|
2017-06-01 13:38:08 +00:00
|
|
|
html(lang="en")
|
2016-10-28 16:11:25 +00:00
|
|
|
head
|
2017-06-14 15:16:03 +00:00
|
|
|
title= app.Config.Title
|
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")
|
2017-06-17 12:15:33 +00:00
|
|
|
meta(name="theme-color", content=app.Config.Manifest.ThemeColor)
|
2017-06-25 16:06:03 +00:00
|
|
|
link(rel="chrome-webstore-item", href="https://chrome.google.com/webstore/detail/hajchfikckiofgilinkpifobdbiajfch")
|
2017-06-03 23:17:00 +00:00
|
|
|
link(rel="manifest", href="/manifest.json")
|
2016-10-28 16:11:25 +00:00
|
|
|
body
|
2017-06-24 19:07:45 +00:00
|
|
|
#container(class=utils.GetContainerClass(ctx))
|
2016-11-28 16:06:00 +00:00
|
|
|
#header
|
2017-06-15 21:03:55 +00:00
|
|
|
Navigation(user)
|
2016-11-28 16:06:00 +00:00
|
|
|
#content-container
|
|
|
|
main#content.fade!= content
|
2017-06-26 21:41:16 +00:00
|
|
|
LoadingAnimation
|
2017-06-30 15:51:17 +00:00
|
|
|
if user != nil
|
|
|
|
#user(data-id=user.ID)
|
2017-06-21 00:02:30 +00:00
|
|
|
script(src="/scripts")
|
2016-11-02 13:47:22 +00:00
|
|
|
|
|
|
|
component LoadingAnimation
|
2017-06-19 14:20:46 +00:00
|
|
|
#loading.sk-cube-grid.fade
|
2017-06-17 00:33:22 +00:00
|
|
|
.sk-cube.hide
|
|
|
|
.sk-cube
|
|
|
|
.sk-cube.hide
|
|
|
|
.sk-cube
|
|
|
|
.sk-cube.sk-cube-center
|
|
|
|
.sk-cube
|
|
|
|
.sk-cube.hide
|
|
|
|
.sk-cube
|
|
|
|
.sk-cube.hide
|