facilmap/frontend/src/map/map.ejs

80 wiersze
2.2 KiB
Plaintext
Czysty Zwykły widok Historia

2014-04-07 00:33:49 +00:00
<!DOCTYPE html>
2021-03-01 05:10:28 +00:00
<html>
2014-04-07 00:33:49 +00:00
<head>
<meta charset="utf-8">
2021-03-04 15:45:34 +00:00
<title>FacilMap</title>
<% if(!padData || padData.searchEngines) { %>
2014-04-26 13:04:18 +00:00
<meta name="robots" content="index,nofollow" />
2021-03-04 15:45:34 +00:00
<meta name="description" content="<%= padData && padData.description || "A fully-featured OpenStreetMap-based map where markers and lines can be added with live collaboration." %>" />
<% } else { %>
<meta name="robots" content="noindex,nofollow" />
<% } %>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
2019-02-07 17:04:09 +00:00
<meta name="fmConfig" content="<%=JSON.stringify(config)%>" />
2021-02-28 22:17:26 +00:00
<link rel="shortcut icon" href="../../static/favicon.png">
2016-10-19 15:55:49 +00:00
<link rel="search" type="application/opensearchdescription+xml" title="FacilMap" href="https://facilmap.org/opensearch.xml">
<style type="text/css">
2021-01-23 11:38:26 +00:00
html, body {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
flex-grow: 1;
}
html {
height: 100%;
}
#loading {
padding: 10px;
2021-03-01 05:10:28 +00:00
font-size: 24.5px;
font-weight: 500;
color: #495057;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
#loading.error {
background: #fff;
color: #d00;
}
2021-03-01 05:10:28 +00:00
#spinner {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50% -50%);
width: 28px;
height: 28px;
border: 3.5px solid #495057;
border-right-color: transparent;
border-radius: 50%;
animation: spinner-border .75s linear infinite;
box-sizing: border-box;
}
@keyframes spinner-border {
to { transform: rotate(360deg); }
}
</style>
2014-04-07 00:33:49 +00:00
</head>
<body>
2016-10-18 18:27:57 +00:00
<noscript><p><strong>FacilMap requires JavaScript to work.</strong></p></noscript>
2021-03-01 05:10:28 +00:00
<div id="loading">
Loading...
<div id="spinner"></div>
</div>
2014-04-07 00:33:49 +00:00
<script>
(function() {
window.onload = function() {
var loading = document.getElementById("loading");
if(loading) {
loading.className += " error";
loading.innerHTML = "Could not load FacilMap!";
}
};
})();
</script>
2014-04-07 00:33:49 +00:00
</body>
</html>