aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/index.html
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2019-08-09 20:56:49 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2019-08-09 20:56:49 +0100
commit2bbcde7dd370f0f6eb6d8733aab697917f5a8963 (patch)
tree53478f00d7a0c95ff2c2b4a703456aba7422a087 /src/main/resources/index.html
parent3b1d5f080b013ab306fb9d356d6e3337c75c40c6 (diff)
downloadterrain-2bbcde7dd370f0f6eb6d8733aab697917f5a8963.tar.xz
terrain-2bbcde7dd370f0f6eb6d8733aab697917f5a8963.zip
Add loading overlay during terrain gen
Diffstat (limited to 'src/main/resources/index.html')
-rw-r--r--src/main/resources/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/resources/index.html b/src/main/resources/index.html
index 20e95b7..cc41b60 100644
--- a/src/main/resources/index.html
+++ b/src/main/resources/index.html
@@ -12,16 +12,16 @@
<script type="text/javascript" src="kotlin/kotlin.js"></script>
<script type="text/javascript" src="kotlin/threejs-wrapper.js"></script>
<script type="text/javascript" src="kotlin/terrain.js"></script>
- <style>
- body {
- padding: 0;
- margin: 0;
- }
- </style>
+
+ <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container"></div>
+ <div id="loading-overlay" class="hidden">
+ hello
+ <div id="spinner"></div>
+ </div>
<script>
new terrain.Terrain().animate()