BlueGit

timfa bluegit

Files

bluegit / internal / server / templates / help.html

help.html

help.html 881 B Download Raw
1{{define "help"}}
2{{template "layout-start" .}}
3{{if .HelpDoc}}
4<p class="crumbs"><a href="/help">{{t "title.help"}}</a> <span aria-hidden="true">/</span> <span>{{.HelpDoc.Title}}</span></p>
5{{if .HelpDoc.Fallback}}<p class="flash">{{t "help.fallback"}}</p>{{end}}
6<article class="readme helpdoc">
7 <div class="mdbody">{{.HelpDoc.HTML}}</div>
8</article>
9{{else}}
10<h1>{{t "title.help"}}</h1>
11<p class="lead muted">{{t "help.lead"}}</p>
12<div class="helpgrid">
13 {{range .HelpDocs}}
14 <a class="panel helpcard" href="/help/{{.Slug}}">
15 <strong>{{.Title}}</strong>
16 {{if .Summary}}<span class="muted">{{.Summary}}</span>{{end}}
17 {{if .Fallback}}<span class="pill">{{t "help.otherLang"}}</span>{{end}}
18 </a>
19 {{end}}
20</div>
21{{end}}
22{{template "layout-end" .}}
23{{end}}
24
25{{define "adminrunner"}}
26{{template "layout-start" .}}
27{{.RunnerUI}}
28{{template "layout-end" .}}
29{{end}}