dorfylegends/backend/templates/structure.html

19 lines
390 B
HTML
Raw Normal View History

2022-04-30 10:45:31 +03:00
{{template "layout.html" .}}
{{define "title"}}{{ title .Name }}{{end}}
{{define "content"}}
<h3>{{ title .Name }}</h3>
2022-05-03 22:39:00 +03:00
{{ .Type_ }} in {{ site .SiteId }}
2022-04-30 10:45:31 +03:00
2022-05-08 10:35:57 +03:00
<div class="object-map">
<div id="map" style="width: 300px; height: 300px"></div>
</div>
{{initMap}}
{{ addSite .SiteId false }}
2022-04-30 10:45:31 +03:00
<h5 class="mt-3">Events</h5>
{{ template "events.html" events . }}
<p>{{ json . }}</p>
{{- end }}