cartodb/lib/assets/javascripts/builder/mustache-templates/infowindows_custom/infowindow_light.jst.mustache
2020-06-15 10:58:47 +08:00

31 lines
1.1 KiB
Plaintext
Executable File

<div class="CDB-infowindow CDB-infowindow--light js-infowindow">
<div class="CDB-infowindow-close js-close"></div>
<div class="CDB-infowindow-container">
<div class="CDB-infowindow-bg">
<div class="CDB-infowindow-inner js-inner">
{{#loading}}
<div class="CDB-Loader js-loader is-visible"></div>
{{/loading}}
<ul class="CDB-infowindow-list js-content">
{{#content.fields}}
<li class="CDB-infowindow-listItem">
{{#title}}
{{#alternative_name}}
<h5 class="CDB-infowindow-subtitle">{{alternative_name}}</h5>
{{/alternative_name}}
{{^alternative_name}}
<h5 class="CDB-infowindow-subtitle">{{name}}</h5>
{{/alternative_name}}
{{/title}}
<h4 class="CDB-infowindow-title">{{=<% %>=}}{{<%={{ }}=%>{{{ name }}}{{=<% %>=}}}}<%={{ }}=%></h4>
</li>
{{/content.fields}}
</ul>
</div>
</div>
<div class="CDB-hook">
<div class="CDB-hook-inner"></div>
</div>
</div>
</div>