layout detail maps

This commit is contained in:
Robert Janetzko 2022-05-08 12:10:43 +00:00
parent 41d54dd5f3
commit bb46a77b21

View File

@ -3,9 +3,6 @@
{{define "title"}}{{ title .Name }}{{end}} {{define "title"}}{{ title .Name }}{{end}}
{{define "content"}} {{define "content"}}
<h3>{{ title .Name }}</h3>
<p>{{ .Type }}</p>
<div class="object-map"> <div class="object-map">
<div id="map" style="width: 300px; height: 300px"></div> <div id="map" style="width: 300px; height: 300px"></div>
</div> </div>
@ -13,6 +10,9 @@
{{ addRegion .Id }} {{ addRegion .Id }}
<script>map.addLayer(regionsLayer);</script> <script>map.addLayer(regionsLayer);</script>
<h3>{{ title .Name }}</h3>
<p>{{ .Type }}</p>
{{- if ne .ForceId -1 -}} {{- if ne .ForceId -1 -}}
<dl class="row"> <dl class="row">
<dt class="col-2 col-lg-1">Force</dt> <dt class="col-2 col-lg-1">Force</dt>