dorfylegends/backend/templates/region.html

20 lines
387 B
HTML
Raw Normal View History

2022-04-22 18:45:10 +03:00
{{template "layout.html" .}}
{{define "title"}}{{ title .Name }}{{end}}
{{define "content"}}
2022-05-04 15:07:35 +03:00
<h3>{{ title .Name }}</h3>
<p>{{ .Type }}</p>
2022-04-22 18:45:10 +03:00
2022-05-06 17:17:50 +03:00
{{- if ne .ForceId -1 -}}
<dl class="row">
<dt class="col-2 col-lg-1">Force</dt>
<dd class="col-10 col-lg-11">{{ hf .ForceId }}</dd>
</dl>
{{- end -}}
2022-04-22 18:45:10 +03:00
2022-05-06 17:17:50 +03:00
<h5>Events</h5>
2022-04-22 18:45:10 +03:00
{{ template "events.html" events . }}
<p>{{ json . }}</p>
{{- end }}