diff --git a/js/settings/NetworkPanel.js b/js/settings/NetworkPanel.js index 63f2e2c..9745d20 100644 --- a/js/settings/NetworkPanel.js +++ b/js/settings/NetworkPanel.js @@ -145,6 +145,9 @@ function NetworkPanel() { this.retrieveNetworkStatus = function(connecting) { //console.log("NetworkPanel:retrieveNetworkStatus"); _api.status(function(data) { + if(data.status === "") { + data.status = NetworkAPI.STATUS.CREATED.toString(); + } if(typeof data.status === 'string') { data.status = parseInt(data.status); } diff --git a/less/404.less b/less/404.less index d2defa4..9105c50 100644 --- a/less/404.less +++ b/less/404.less @@ -6,9 +6,12 @@ position: absolute; top: 50%; left: 50%; - height: 250px; + height: 200px; width: 500px; - margin: -125px 0 0 -250px; + margin: -85px 0px 0px -250px; + + background-color: #FCFCFC; + padding: 0px 1em; } } diff --git a/less/base.less b/less/base.less index 560dfa7..a837a7b 100644 --- a/less/base.less +++ b/less/base.less @@ -47,18 +47,20 @@ body { left: 0px; //z-index: -5; } - #bgTop { top: 0px; } - #bgMiddle { top: 30%; } - #bgBottom { bottom: 0px; } +@media only screen and (max-height: 700px) { + #bgMiddle { + display: none; + } +} @import "base_centerpanel.less"; @import "base_leftpanel.less"; diff --git a/www/404.html b/www/404.html new file mode 100644 index 0000000..26a57e7 --- /dev/null +++ b/www/404.html @@ -0,0 +1,30 @@ +
+ You're probably trying to go to a website on the internet, but you're currently only connected to the Doodle3D WiFi box, which means you're not connected to the internet.
+ You could:
+
- You're probably trying to go to a website on the internet, but you're currently only connected to the Doodle3D WiFi box, which means you're not connected to the internet.
- You could:
-