2022-04-30 10:45:31 +03:00
|
|
|
{{template "layout.html" .}}
|
|
|
|
|
|
|
|
{{define "title"}}{{ title .Name }}{{end}}
|
|
|
|
|
|
|
|
{{define "content"}}
|
2022-05-10 10:51:04 +03:00
|
|
|
|
|
|
|
{{ if world.MapReady }}
|
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-05-10 10:51:04 +03:00
|
|
|
{{- end }}
|
2022-05-08 10:35:57 +03:00
|
|
|
|
2022-05-08 15:10:59 +03:00
|
|
|
<h3>{{ title .Name }}</h3>
|
|
|
|
{{ .Type_ }} in {{ site .SiteId }}
|
|
|
|
|
2022-04-30 10:45:31 +03:00
|
|
|
<h5 class="mt-3">Events</h5>
|
|
|
|
{{ template "events.html" events . }}
|
|
|
|
|
|
|
|
<p>{{ json . }}</p>
|
|
|
|
{{- end }}
|