UX improvements: Add page title, and display loading text
This commit is contained in:
parent
f3cb472a83
commit
3e96719cf4
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<title>Virtual Metro</title>
|
||||
<style type="text/css">
|
||||
#mainsvg {
|
||||
width: 100vw;
|
||||
@ -25,7 +25,7 @@
|
||||
var svg = document.getElementById("mainsvg").getSVGDocument().querySelector("svg");
|
||||
var template = svg.innerHTML;
|
||||
|
||||
svg.innerHTML = nunjucks.renderString(template, {});
|
||||
svg.innerHTML = nunjucks.renderString(template, {"dest": "Loading..."});
|
||||
|
||||
function tick() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
|
Reference in New Issue
Block a user