From 1f7d4c4d0ee8eba0a1d8084019269a45dfa76be4 Mon Sep 17 00:00:00 2001 From: eska Date: Thu, 12 Jan 2017 14:14:40 +0100 Subject: Improve usability and style in web export presentation - Check for WebGL support, don't load if unsupported - Check for IndexedDB support - Make canvas support check message visible - Colored debug output for warnings and errors - Make it obvious status can be closed by clicking - Don't use status to display non-critical errors - Limit output message count - Add clear output button - Fix setting total memory --- platform/javascript/godot_shell.html | 381 +++++++++++++++++++++-------------- 1 file changed, 225 insertions(+), 156 deletions(-) (limited to 'platform/javascript/godot_shell.html') diff --git a/platform/javascript/godot_shell.html b/platform/javascript/godot_shell.html index 3170d2bb9e..a8b9594935 100644 --- a/platform/javascript/godot_shell.html +++ b/platform/javascript/godot_shell.html @@ -3,14 +3,14 @@ $GODOT_HEAD_TITLE - $GODOT_HEAD_INCLUDE +$GODOT_HEAD_INCLUDE
- HTML5 canvas appears to be unsupported in the current browser.
Please try updating or use a different browser. + HTML5 canvas appears to be unsupported in the current browser.
+ Please try updating or use a different browser.
- Loading page... + Downloading page...
- + - +
- - +
+
+ Output: + +
+
+
+ - {{{ SCRIPT }}} +{{{ SCRIPT }}} + -- cgit v1.2.3