d718c5a372
CI / compile_and_lint (push) Failing after 0s
CI / docker_build (linux/amd64, -linux-amd64-duckdb, duckdb) (push) Failing after 0s
CI / docker_build (linux/arm64, -linux-arm64, minimal) (push) Failing after 2s
CI / docker_build (linux/arm64, -linux-arm64-duckdb, duckdb) (push) Failing after 1s
CI / docker_build (linux/amd64, minimal) (push) Failing after 1s
CI / test (, sqlite, sqlite::memory:) (push) Has been skipped
CI / test (mssql, mssql, mssql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (mysql, mysql, mysql://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / test (oracle, oracle, Driver=Oracle 21 ODBC driver;Dbq=//127.0.0.1:1521/FREEPDB1;Uid=root;Pwd=Password123!) (push) Has been skipped
CI / test (postgres, odbc, Driver=PostgreSQL Unicode;Server=127.0.0.1;Port=5432;Database=sqlpage;UID=root;PWD=Password123!, true) (push) Has been skipped
CI / test (postgres, postgres, postgres://root:Password123!@127.0.0.1/sqlpage) (push) Has been skipped
CI / playwright (push) Has been skipped
CI / docker_build (linux/arm/v7, -linux-arm-v7, minimal) (push) Failing after 0s
CI / hurl_examples (push) Failing after 8s
deploy website / deploy_official_site (push) Failing after 1s
CI / hurl (${{ matrix.example }}) (push) Has been skipped
CI / docker_push (duckdb) (push) Has been cancelled
CI / docker_push (minimal) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
58 lines
2.1 KiB
Handlebars
58 lines
2.1 KiB
Handlebars
<div class="card my-3 {{class}}" {{#if id}}id="{{id}}"{{/if}}>
|
|
<div class="card-body">
|
|
<h3 class="card-title">{{title}}</h3>
|
|
<div
|
|
class="leaflet"
|
|
style="height: {{default height 350}}px;"
|
|
{{~#if latitude includeZero=true}} data-center="{{latitude}},{{longitude}}"{{/if}}
|
|
data-zoom="{{default zoom 5}}"
|
|
data-attribution="{{default attribution '© OpenStreetMap'}}"
|
|
{{~#if (ne tile_source false)}} data-tile_source="{{default tile_source 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'}}"{{/if}}
|
|
data-max_zoom="{{default max_zoom 18}}"
|
|
data-pre-init="map"
|
|
>
|
|
<div class="d-flex justify-content-center h-100 align-items-center">
|
|
<div
|
|
class="spinner-border"
|
|
role="status"
|
|
style="width: 3rem; height: 3rem;"
|
|
>
|
|
<span class="visually-hidden">Loading map...</span>
|
|
</div>
|
|
<div class="d-none" hidden>
|
|
{{~#each_row~}}
|
|
<div class="marker"
|
|
{{~#if latitude includeZero=true}} data-coords="{{latitude}},{{longitude}}"{{/if}}
|
|
{{~#if color}} data-color="{{color}}"{{/if}}
|
|
{{~#if size}} data-size="{{size}}"{{/if}}
|
|
{{~#if link}} data-link="{{link}}"{{/if}}
|
|
{{~#if geojson}} data-geojson="
|
|
{{~#if (eq (typeof geojson) 'string')}}{{geojson}}
|
|
{{~else~}}{{stringify geojson}}
|
|
{{~/if~}}
|
|
"{{/if~}}
|
|
>
|
|
<h3>
|
|
{{~#if icon~}}
|
|
<span class="mapicon">{{~icon_img icon size~}}</span>
|
|
{{~/if~}}
|
|
{{~#if link~}}
|
|
<a href="{{link}}">{{title}}</a>
|
|
{{~else~}}
|
|
{{title}}
|
|
{{~/if~}}
|
|
</h3>
|
|
<div class="description">
|
|
{{~#if description}}<p>{{description}}</p>{{/if~}}
|
|
{{~#if description_md~}}
|
|
{{{markdown description_md}}}
|
|
{{~/if~}}
|
|
</div>
|
|
</div>
|
|
{{~/each_row~}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|