23 lines
No EOL
518 B
HTML
23 lines
No EOL
518 B
HTML
{{template "layout.html" .}}
|
|
|
|
{{define "title"}}{{ title .Name }}{{end}}
|
|
|
|
{{define "content"}}
|
|
<h3>{{ title .Name }}</h3>
|
|
<p>{{ if .IsVolcano }}volcano{{else}}mountain{{end}}</p>
|
|
|
|
<div class="object-map">
|
|
<div id="map" style="width: 300px; height: 300px"></div>
|
|
</div>
|
|
{{initMap}}
|
|
{{ addMountain .Id false }}
|
|
|
|
<dl class="row">
|
|
<dt class="col-2 col-lg-1">Height</dt>
|
|
<dd class="col-10 col-lg-11">{{ .Height }}</dd>
|
|
</dl>
|
|
|
|
<h5>Events</h5>
|
|
{{ template "events.html" events . }} <p>{{ json . }}</p>
|
|
|
|
{{- end }} |