const classfantorepo302::Templating

sys::Obj
  fantorepo302::Templating

Templating helper to render mustache templates

bottom

const static Str bottom := Templating.read(`/res/tpl/bottom.html`)

docBottom

const static Str docBottom := ...

docTop

const static Str docTop := Templating.read(`/res/tpl/doc_top.html`)

formatSize

const static Func formatSize := |Str,|Str->Obj?|,Func->Obj?| { ... }

formatTimestamp

const static Func formatTimestamp := |Str,|Str->Obj?|,Func->Obj?| { ... }

help

const static Str help := Templating.read(`/res/tpl/help.html`)

home

const static Str home := Templating.read(`/res/tpl/home.html`)

login

const static Str login := Templating.read(`/res/tpl/login.html`)

myPods

const static Str myPods := Templating.read(`/res/tpl/mypods.html`)

notFound

const static Str notFound := Templating.read(`/res/tpl/404.html`)

pod

const static Str pod := Templating.read(`/res/tpl/pod.html`)

podList

const static Str podList := Templating.read(`/res/tpl/podlist.html`)

read

static Str read(Uri template)

renderPage

Void renderPage(WebOutStream out, Str template, Str title, [Str:Obj]? params := ([Str:Obj]?)[:])

write the whole page

results

const static Str results := Templating.read(`/res/tpl/results.html`)

settings

const SettingsService settings := Service.find(SettingsService#)

showMeta

const static Func showMeta := |Str,|Str->Obj?|,Func->Obj?| { ... }

top

const static Str top := Templating.read(`/res/tpl/top.html`)

user

const static Str user := Templating.read(`/res/tpl/user.html`)

version

const static Str version := Templating.read(`/res/tpl/version.html`)