layout detail maps
This commit is contained in:
parent
41d54dd5f3
commit
bb46a77b21
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue