mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-12-22 05:03:48 +01:00
Merge branch 'develop' of github.com:Doodle3D/doodle3d-client into develop
This commit is contained in:
commit
27e794876b
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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";
|
||||
|
30
www/404.html
Normal file
30
www/404.html
Normal file
@ -0,0 +1,30 @@
|
||||
<div id="landscape" class="clearfix">
|
||||
|
||||
<!-- background images -->
|
||||
<div class="bgContainer">
|
||||
<img id="bgTop" src="img/bg_top.png" />
|
||||
<img id="bgMiddle" src="img/bg_middle.png" />
|
||||
<img id="bgBottom" src="img/bg_bottom.png" />
|
||||
</div>
|
||||
|
||||
<!-- center panel -->
|
||||
<div id="centerpanel">
|
||||
<div id="logopanel" class="btn">
|
||||
<img id="pencil" src="img/logo/pencil.png"/>
|
||||
<img id="logo" src="img/logo/doodle3d.png"/>
|
||||
</div>
|
||||
</div>
|
||||
<div id="message404">
|
||||
<p>
|
||||
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.<br/>
|
||||
You could:
|
||||
<ul>
|
||||
<li>Reconnect to the WiFi you normally use.</li>
|
||||
<li>Configure the WiFi box to connect to that WiFi in client mode. You can do this trough the settings screen.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="portrait">
|
||||
<img id="vertImage" src="img/bg_vertical.png"/>
|
||||
</div>
|
@ -1,50 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Doodle3D 404</title>
|
||||
<title>Success</title>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||||
<link rel="icon" type="image/ico" href="favicon_alt.ico"/>
|
||||
<link href="./img/webpage_icons/apple-touch-icon-144x144-precomposed.png" rel="apple-touch-icon-precomposed" sizes="144x144" />
|
||||
<meta id="Viewport" name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta id="Viewport" name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
|
||||
|
||||
<link rel="icon" type="image/ico" href="./favicon_alt.ico"/>
|
||||
<link rel="apple-touch-icon-precomposed" href="./img/webpage_icons/apple-touch-icon-144x144-precomposed.png"/>
|
||||
<link rel="apple-touch-icon-precomposed" href="./img/webpage_icons/apple-touch-icon-144x144-precomposed.png" sizes="144x144" />
|
||||
|
||||
<link href="css/styles.min.css" rel="stylesheet" media="screen">
|
||||
<link href="css/debug.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<script src="js/libs/jquery-1-9-1.min.js"></script>
|
||||
|
||||
</head>
|
||||
<body id="page404">
|
||||
|
||||
<div id="landscape" class="clearfix">
|
||||
|
||||
<!-- background images -->
|
||||
<div class="bgContainer">
|
||||
<img class="bgTop" src="img/bg_top.png" />
|
||||
<img class="bgMiddle" src="img/bg_middle.png" />
|
||||
<img class="bgBottom" src="img/bg_bottom.png" />
|
||||
</div>
|
||||
|
||||
<!-- center panel -->
|
||||
<div class="centerpanel">
|
||||
<div class="logopanel">
|
||||
<div class="d3dlogo" onclick="location.reload()"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="message404">
|
||||
<p>
|
||||
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.<br/>
|
||||
You could:
|
||||
<ul>
|
||||
<li>Reconnect to the WiFi you normally use.</li>
|
||||
<li>Configure the WiFi box to connect to that WiFi in client mode. You can do this trough the settings screen.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="portrait">
|
||||
<img class="vertImage" src="img/bg_vertical.png"/>
|
||||
</div>
|
||||
|
||||
Success
|
||||
<script>
|
||||
$(document.body).load("404.html");
|
||||
document.title = "Doodle3D 404"
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user