40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta charset="utf-8">
|
|
<style type="text/css">
|
|
.body {
|
|
background: #FFFFFF;
|
|
}
|
|
.spinner
|
|
{
|
|
position: absolute;
|
|
text-align: center;
|
|
margin: auto;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<link rel="localizations" href="/loleaflet/dist/l10n/localizations.json" type="application/vnd.oftn.l10n+json"/>
|
|
</head>
|
|
<body>
|
|
<script src="/loleaflet/dist/l10n/json2.min.js"></script>
|
|
<script src="/loleaflet/dist/l10n/l10n.min.js"></script>
|
|
<div class="spinner">
|
|
<canvas id="spinner" class="leaflet-progress-spinner-canvas"></canvas>
|
|
<h4>Loading...</h4>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
var translatableContent = document.getElementsByTagName("h4");
|
|
for (var i=0, max=translatableContent.length; i < max; i++) {
|
|
translatableContent[i].firstChild.nodeValue = translatableContent[i].firstChild.nodeValue.toLocaleString();
|
|
}
|
|
var spinnerInterval = window.parent.L.LOUtil.startSpinner(document.getElementById('spinner'), 1.5);
|
|
</script>
|
|
</html>
|