0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-06-01 16:26:10 +02:00
doodle3d-connect/www/index.html

462 lines
20 KiB
HTML
Raw Normal View History

2014-04-24 12:46:26 +02:00
<!DOCTYPE html>
<html>
<head>
<title>Doodle3D Connect</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">
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="./img/apple-touch-icon-144x144-precomposed.png">
<link rel="shortcut" sizes="144x144" href="./img/apple-touch-icon-144x144-precomposed.png">
<link rel="icon" type="image/ico" href="./img/favicon.ico">
<!-- <link rel="stylesheet" href="js/libs/jquery.mobile/jquery.mobile-1.4.2.min.css" /> -->
<!-- <link rel="stylesheet" href="css/add2home.css" media="screen"> -->
<link rel="stylesheet" href="css/doodle3d-server.min.css"/>
<!-- <script src="jquery/jquery-1.11.0.min.js"></script>
<script src="jquery.mobile/jquery.mobile-1.4.2.min.js"></script>
<script src="js/libs/spin.min.js" type="text/javascript"></script>
<script src="js/libs/add2home.js" type="text/javascript"></script>
<script src="js/libs/jquery.showpassword.js" type="text/javascript"></script>
<script src="js/libs/jquery.stayInWebApp.js" type="text/javascript"></script>
<script src="js/api/NetworkAPI.js" type="text/javascript"></script>
<script src="js/api/ConnectAPI.js" type="text/javascript"></script>
<script src="js/main.js"></script>
<script src="js/boxes.js"></script>
<script src="js/box.js"></script> -->
<script src="js/doodle3d-server.js" type="text/javascript"></script>
</head>
<body>
<!-- Start of first page -->
<div data-role="page" id="boxes">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<p>makes 3D printing very easy</p>
<!-- <p>Please select your Doodle3D WiFi-Box to connect or press search to add your box to this list.</p> -->
<div role="main" class="ui-content">
<ul data-role="listview" id="boxeslist">
<!-- <li><a href="#wifibox">Doodle3D-A4D953</a></li>
<li><a href="#wifibox">Doodle3D-Rick</a></li>
<li><a href="#wifibox">Doodle3D-D63BA4</a></li>
<li><a href="#connect_ap">Wired WiFi-Box</a></li> -->
<li id="findItem"><a href="#find">Find...</a></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="box">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1></h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<p class="intro"></p>
<ul data-role="listview">
<li id="drawItem"><a href="#draw">Draw</a></li>
<li id="updateItem"><a href="#update">Update</a></li>
<li id="joinNetworkItem"><a href="#join_network">Join network</a></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
</body>
<!-- Start of FIND page -->
<div data-role="page" id="find">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Find a WiFi-Box</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<img id = "logo" src="img/Step_1.png">
<h1>Step 1 of 2</h1>
<p>There's a big chance the Doodle3D WiFi-Box you're looking for is running it's own network. Please open your network settings and connect to a network like 'Doodle3D-...'. Once connected return to this page.<small> (<a href="#problems">problems?</a>)</small>
<a href="#find_step2" class="ui-btn">Next</a>
</div><!-- /content -->
</div><!-- /page -->
<!-- Start of FIND_STEP2 page -->
<div data-role="page" id="find_step2">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Find a WiFi-Box</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<h1>Step 2 of 2</h1>
<p>We found your Doodle3D WiFi-Box. Please connect your WiFi-Box to the internet. You can also use it offline but then you aren't able to update.</p>
<br>
<ul data-role="listview">
<li><a href="#network">Connect to the internet</a></li>
<li><a href="#draw">Draw (offline)</a></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<!-- Start of STEP1_PROBLEMS page -->
<div data-role="page" id="problems">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Troubleshooting</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<p>Having troubles getting started with your WiFi-Box?</p>
<h3><p>Make sure that:</p></h3>
<ul>
<li><p>The box gets power (green lights should be on).</p></li>
<li><p>The box has fully started (takes a minute or two)?</p></li>
<li><p>You are looking for the WiFi-Box in your local WiFi list. <a href="#locate_wifibox">more info</a></p></li> <!-- link to explenation how to connect to a WiFi-->
</ul>
<h3><p>That is not the problem?</p></h3>
<ul>
<li><p>Is your box connected to another network? <a href="#reset">more info</a></p></li>
<li><p>If your computer has an ethernet (network) port you can connect it directly to the Doodle3D WiFi-Box using the supplied ethernet cable. <a href="#ethernet">more info</a></p></li> <!-- explain how to connect a ethernet cable and what is next -->
<!-- There should be a point about repeaters as well, for which we do not have a solution yet -->
</ul>
<h3><p>Got stuck?</p></h3>
<ul>
<li><p>If the problems remain please email us at <a href="mailto:help@doodle3d.com">help@doodle3d.com</a></p></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="ethernet">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Troubleshooting</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<p>If your computer has an Ethernet port you are able to connect to the WiFi-Box through the Ethernet cable. Use the Ethernet cable that is provided with the WiFi-Box. Plug one end of the cable in the WiFi-Box and the other in your computer. Usually this forces the connection of your WiFi-Box over the connection of the internet, making you able to connect to the WiFi-Box but unable to connect to the internet.</p> <p>If this is not the case, search for a connection icon (on WINDOWS usually in the lower right corner and for MAC usually in the upper right corner). Click on the icon and search for options to change your current network(probably wireless) to a cable connection.</p><p>Once your computer is connected to the WiFi-Box, return to this page. The 'Find' page will automatically change if you have a connection to a WiFi-Box and will guide you further.</p>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="locate_wifibox">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Troubleshooting</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<h3>Locate WiFi-Box</h3>
<p>If you are able to connect to connect.doodle3d.com through the internet this means you are connected to a network.</p>
<ul>
<li><p>If your device can connect to the internet wirelessly it is able to connect to the WiFi-Box through WiFi.</p></li>
<li><p>If your device is only able to connect to the internet through a cable it is usaully able to connect to the WiFi-Box through the Ethernet cable. In that case you are able to find more info <a href="#ethernet">here</a>.</p></li>
</ul>
<p>If you run the WiFi-Box for the first time it creates its own network. So aside of the network you are using right now to access the internet there is another network named 'Doodle3D-...' followed by the last 6 characters of the code that is printed on the side of the WiFi-Box.</p>
<p>To access this network you have to connect to the WiFi-Box network <strong>instead</strong> of your own network. How you are able to switch between a network differs from device you are using, here is a list of the most common used devices:</p>
<ul>
<li><p>SMARTPHONE/TABLET: Smartphones or tablets usually have a settings option in their main menu. Within the settings menu there usually is an option to change settings about your WiFi connection. Usually you are able to switch between different WiFi-spots (Networks) within these settings. Look for a list with different WiFi-spots, if everything works fine, and your WiFi-Box is on, there should be a WiFi-spot called 'Doodle3D...' followed by the last 6 characters of the code that is printed on the side of the WiFi-Box. Connect to this WiFi-spot and return to this page.</p></li>
<li><p>WINDOWS COMPUTER/LAPTOP: Windows computers usually (from windows Vista and above) have a small icon in the right lower corner of the screen which displays if you are currently connected to the internet (and if your connection is wireless or not). If you click on this icon a list will display with the network you are currently using and the networks that your computer is able to connect to. If everything works fine, and your WiFi-Box is on, there should be a WiFi-spot called 'Doodle3D...' followed by the last 6 characters of the code that is printed on the side of the WiFi-Box within this list. Connect to this WiFi-spot and return to this page.</p></li>
<li><p>MAC COMPUTER/LAPTOP: For most MAC computers there is a small WiFi icon in the upper right corner of their screen. If the WiFi connection is on you can click on the icon and a list with possible networks would appear. If everything works fine, and your WiFi-Box is on, there should be a WiFi-spot called 'Doodle3D...' followed by the last 6 characters of the code that is printed on the side of the WiFi-Box. Connect to this WiFi-spot and return to this page.</p></li>
</ul>
<p>Once you are connect to the WiFi-spot, the 'Find' page will automatically change and will guide you through the next steps.</p>
</div><!-- /content -->
</div><!-- /page -->
<!-- Start of CONNECT AP page -->
<div data-role="page" id="connect_ap">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Doodle3D-987654 (accesspoint)</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<ul data-role="listview">
<li><a href="#network">Join a network</a></li>
<li><a href="#draw">Draw (offline)</a></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<!-- Start of reset page -->
<div data-role="page" id="reset">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Troubleshooting</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<p>If your WiFi-Box is already connected to another network, it is possible to reset the WiFi-Box and make it run it's own network again.</p>
<ul>
<li><p>You can do this by press and holding the green light button on the top of the WiFi-Box. By holding this button for 3 seconds the WiFi-Box will reset its own network.</p></li>
<li><p>If you have a device with an Ethernet port, it is always possible to connect your WiFi-Box through the ethernet cable.</p></li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<!-- Start of first page -->
<div data-role="page" id="status">
<img id="logo" src="img/logo_full.png">
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Ultimaker @ Doodle3D-123456</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<ul data-role="listview">
<li data-role="list-divider">temperature</li>
<li>nozzle: 223</li>
<li>bed: 85</li>
<li data-role="list-divider">progress</li>
<li>printing time: 20m</li>
<li>time left: 2h30</li>
</ul>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="join_network">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Join network</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
2014-04-25 16:24:16 +02:00
<!-- <p>Select your own network from the following list:</p>
<br/> -->
<ul data-role="listview"
data-connecting-target="#connecting_to_network"
data-secured-target="#join_secured_network">
<li data-icon="edit" id="joinOther"><a href="#join_other_network">Other...</a></li>
2014-04-24 12:46:26 +02:00
</ul>
</div><!-- /content -->
</div><!-- /page -->
2014-04-25 16:24:16 +02:00
<div data-role="page" id="join_secured_network">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Connect</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
2014-04-25 16:24:16 +02:00
<h3>Join a secured network</h3>
2014-04-25 18:38:41 +02:00
<form data-ajax="false" data-target="#connecting_to_network">
<input type="password" name="password" placeholder="Password" data-clear-btn="true">
<input type=submit value="Connect">
</form>
2014-04-24 12:46:26 +02:00
</div><!-- /content -->
</div><!-- /page -->
2014-04-25 16:24:16 +02:00
<div data-role="page" id="join_other_network">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Connect</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
2014-04-25 16:24:16 +02:00
<h3>Join a hidden network</h3>
<input type="text" name="textinput-s" id="ssid" placeholder="Network name" value="" data-clear-btn="true">
2014-04-24 12:46:26 +02:00
<input type="password" name="textinput-s" id="textinput-s" placeholder="Password" value="" data-clear-btn="true">
<button class="ui-shadow ui-btn ui-corner-all">Connect</button>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="connecting_to_network">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
2014-04-25 16:24:16 +02:00
<h1>Connecting...</h1>
2014-04-24 12:46:26 +02:00
</div><!-- /header -->
<div role="main" class="ui-content">
<img id="logo" src="img/Connect to home.png">
2014-04-25 16:24:16 +02:00
<h3 id="status"></h3>
<p id="action"></p>
2014-04-24 12:46:26 +02:00
<!-- redirect to connect.doodle3d.com when reconnected to internet -->
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="draw">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div role="main" class="ui-content">
<div id="drawingCanvas"></div>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="settings">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div role="main" class="ui-content">
<p>Settings</p>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="tune">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Ultimaker @ Doodle3D-123456</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<h3>Tune [current value's]</h3>
<div data-role="fieldcontain">
<label for="slider-0">Speed [<div id="divSpeed" style="display: inline;">100</div>%]:</label>
<input type="range" name="slider" id="slider-0" value="100" min="0" max="300" step="1" />
</div>
<div data-role="fieldcontain">
<label for="slider-0">Temp [<div id="divHotend" style="display: inline;"></div>&deg;C/<div id="divHotendTarget" style="display: inline;">0</div>&deg;C]:</label>
<input type="range" name="printer.temperature" id="sliderHotend" value="200" min="0" max="250" step="1" />
</div>
<div data-role="fieldcontain">
<label for="slider-0">Flow [<div id="divFlow" style="display: inline;">100</div>%]:</label>
<input type="range" name="slider" id="slider-0" value="100" min="10" max="300" step="1" />
</div>
<div data-role="fieldcontain">
<label for="slider-0">Fan Speed [<div id="divFan" style="display: inline;">0</div>%]:</label>
<input type="range" name="slider" id="slider-0" value="255" min="0" max="255" step="1" />
</div>
<div data-role="fieldcontain">
<label for="basic">Custom gcode:</label>
<input type="text" name="name" id="basic" value="" />
</div>
<div class="ui-body">
<fieldset class="ui-grid-a">
<div class="ui-block-a"><button type="submit" data-theme="c">Cancel</button></div>
<div class="ui-block-b"><button type="submit" data-theme="b">Submit</button></div>
</fieldset>
</div>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="control">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Ultimaker @ Doodle3D-123456</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
<h3>Control</h3>
<div class="ui-grid-a">
<div class="ui-block-a"><button type="submit" data-theme="c" class="ui-btn ui-icon-arrow-l ui-btn-icon-left">X-</button></div>
<div class="ui-block-b"><button type="submit" data-theme="c" class="ui-btn ui-icon-arrow-r ui-btn-icon-right">X+</button></div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a"><button type="submit" data-theme="c" class="ui-btn ui-icon-arrow-u ui-btn-icon-left">Y-</button></div>
<div class="ui-block-b"><button type="submit" data-theme="c" class="ui-btn ui-icon-arrow-d ui-btn-icon-right">Y+</button></div>
</div>
<div class="ui-grid-a">
<div class="ui-block-a"><button type="submit" data-theme="c" class="ui-btn ui-icon-arrow-u ui-btn-icon-left">Z-</button></div>
<div class="ui-block-b"><button type="submit" data-theme="c" class="ui-btn ui-icon-arrow-d ui-btn-icon-right">Z+</button></div>
</div>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="update">
2014-04-25 16:39:09 +02:00
<a href="#boxes"><img id="logo" src="img/logo_full.png"></a>
2014-04-24 12:46:26 +02:00
<div data-role="header">
<a href="../toolbar/" data-rel="back" class="ui-btn ui-btn-left ui-alt-icon ui-nodisc-icon ui-corner-all ui-btn-icon-notext ui-icon-carat-l">Back</a>
<h1>Update</h1>
</div><!-- /header -->
<div role="main" class="ui-content">
</div><!-- /content -->
</div><!-- /page -->
<script>
$(function(){
$( "[data-role='header'], [data-role='footer']" ).toolbar();
});
</script>
</body>
</html>