kopia lustrzana https://github.com/FacilMap/facilmap
84 wiersze
9.5 KiB
HTML
84 wiersze
9.5 KiB
HTML
<!DOCTYPE html>
|
|
<html ng-controller="PadCtrl">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title fp-title="padName + ' – FacilPad'">FacilPad</title>
|
|
<meta name="robots" content="index,nofollow" />
|
|
<link rel="shortcut icon" href="assets/img/favicon.png">
|
|
<link rel="stylesheet" href="build/all.css">
|
|
<style type="text/css">
|
|
#loading {
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
padding: 10px;
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
background: #fff url('data:image/gif;base64,R0lGODlhIAAgAOfzAAABAAACAAEEAAIFAQQHAgUIBAcJBQgLBwoMCAsNCgwPCw4QDA8RDRASDxETEBIUERMUEhQVExUWFBYYFRcYFhgZFxkbGBocGRscGhwdGx0fHB4fHR8gHiAhHyEjICIkISMkIiQlIyUnJCYoJScoJigpJykrKCosKSstKiwtKy0uLC4vLS8xLjAyLzEzMDIzMTM0MjQ2MzU3NDY4NTc5Njg5Nzk6ODo7OTs9Ojw+Oz0/PD5APT9APkBBP0FCQEFDQUNFQkRGQ0VHREZIRUdJRkhJR0lKSEpLSUpMSkxOS01PTE5QTU9RTlBST1FTUFJUUVNUUlRVU1VWVFZXVVZYVVdZVllbWFpcWVtdWlxeW11fXF5gXV9hXmBiX2FjYGJkYWNlYmRlY2VmZGZnZWdoZmhpZ2hqZ2lraGpsaWttamxua21vbG5wbW9xbnFzcHJ0cXN1cnR2c3V3dHZ4dXd5dnh6d3l7eHp8eXt9enx+e31/fH6AfX+BfoCCf4GDgIKEgYOFgoSGg4WHhIaIhYeJhoiKh4mLiIqMiYuNioyOi42PjI6QjY+RjpCSj5GTkJKUkZOVkpSWk5WXlJaYlZeZlpial5qbmJudmZyem52fnJ6gnZ+hnqCin6GjoKKkoaOloqSmo6WnpKaopaeppqiqp6mrqKqsqautqqyuq62vrK6wrbCyrrG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11loSTjjKW5GEJMm4BJpc3yMhSyzLgNNNGBMWlAEk4kXpDjY5XJQUZYzapYGkCRbQCp2cREsRtYMnkwcMKR1hSDUw7TvSYNKl8Qks3jC0UEAA7') no-repeat center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="introContainer">
|
|
<h1>FacilPad</h1>
|
|
<p>Welcome to FacilPad.</p>
|
|
<noscript><p><strong>FacilPad requires JavaScript to work.</strong></p></noscript>
|
|
<p><a id="create-pad-link" rel="nofollow">Create a new pad</a></p>
|
|
</div>
|
|
<div id="loading" style="display:none">Loading...</div>
|
|
<div id="mapContainer" style="display:none">
|
|
<fp-map id="map" fp-pad-id="{{padId}}"></fp-map>
|
|
</div>
|
|
|
|
<script>
|
|
(function() {
|
|
var loaded = 0;
|
|
|
|
var l = document.getElementById("create-pad-link");
|
|
|
|
var LETTERS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
|
var LENGTH = 12;
|
|
|
|
var randomPadId = "";
|
|
for(var i=0; i<LENGTH; i++) {
|
|
randomPadId += LETTERS[Math.floor(Math.random() * LETTERS.length)];
|
|
}
|
|
|
|
l.href = randomPadId;
|
|
|
|
l.onclick = function() {
|
|
if(window.history && history.pushState) {
|
|
history.pushState(null, null, randomPadId);
|
|
check();
|
|
return false;
|
|
}
|
|
};
|
|
|
|
var interval = setInterval(check, 100);
|
|
|
|
function check() {
|
|
if(loaded == 0 && !location.pathname.match(/\/$/)) {
|
|
document.getElementById("introContainer").style.display = "none";
|
|
document.getElementById("loading").style.display = "";
|
|
|
|
loaded = 1;
|
|
}
|
|
if(loaded == 1 && window.FacilPad != null && window.io != null && $("#map").css("height") == "100%") {
|
|
$("#introContainer,#loading").remove();
|
|
$("#map").unwrap();
|
|
angular.bootstrap(document, [ "facilpad" ]);
|
|
loaded = 2;
|
|
clearInterval(interval);
|
|
}
|
|
}
|
|
|
|
check();
|
|
})();
|
|
</script>
|
|
<script src="https://api.facilmap.org/facilmap_ol.js"></script>
|
|
<script>
|
|
jQuery = $ = FacilMap.$;
|
|
</script>
|
|
<script src="build/all.js"></script>
|
|
<script src="http://localhost:40829/socket.io/socket.io.js"></script>
|
|
</body>
|
|
</html> |