Skip to content

Commit

Permalink
Fixing issue #50
Browse files Browse the repository at this point in the history
  • Loading branch information
afsheenam committed Dec 14, 2018
1 parent e9a92dc commit 1ea5646
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 1 deletion.
97 changes: 97 additions & 0 deletions arduinobot/arduinobot-login.html
@@ -0,0 +1,97 @@
<html>
<head><title>Connecting to your Craftbot</title>
<link rel="stylesheet" href="../libraries/css/metro-all.css">
<!--<style>
input[type=text] {
background-color: #3CBC8D;
color: white;
padding: 4px 4px;
margin: 4px 0;
box-sizing: border-box;
}
input[type=button], input[type=submit], input[type=reset] {
background-color: #3CBC8D;
border: none;
color: white;
padding: 4px 4px;
text-decoration: none;
margin: 4px 0px;
cursor: pointer;
box-sizing: border-box;
}
</style>-->
</head>

<body class="m-2">
<div class="grid">
<div class="row p-10">
<div class="cell-8">

<h2>Do you have a Craftbot for Arduino connected?</h2>
<p>
<b>Yes I do</b>, I'll log in using the domain or IP address of the Craftbot below:
</p>
<br>
<form name="forward">
<div class="form-group">
<div class="grid">
<div class="row">
<div class="cell">
<label><b>Adress</b></label>
<input name="url" size="16" type="text" placeholder="Enter adress" value="raspberrypi.local" />
</div>
<div class="cell">
<label><b>Port</b></label>
<input name="port" size="6" type="text" placeholder="Enter port" value="8080" />
</div>
<div class="cell">
<br>
<input class="button success" type="button" value="Submit" onClick="window.open('http://' + document.forward.url.value + ':' + document.forward.port.value + '/index.html', '_self', 'height=500,width=800,toolbars=yes');" />
</div>
</div>
</div>
</div>
</form>
</div>
<div class="cell-4">
<div class="img-container"><img src="https://evomedia.evothings.com/2017/11/IMG_4265-4.jpg" width="300" /></div>
</div>
</div>
<div class="row p-10">
<div class="cell">
<hr />

<p>
<b>Not yet</b>, but I do want to learn more about <a href="https://evothings.com/decoupling-an-embedded-development-environment/">the Arduinobot</a>

<!--img width="500" src="https://evomedia.evothings.com/2017/11/Screen-Shot-2017-11-07-at-15.17.05.png" /-->
</p>
</div>
</div>
</div>
</body>

<!--<body>
<img src="https://evomedia.evothings.com/2017/11/IMG_4265-4.jpg" align="right" width="300" />
<h2>Do you have an Arduinobot connected?<h2>
<p>
<b>Yes I do</b>, I'll log in using the domain or IP address of my Craftbot below:
</p>
<form name="forward">
adress <input name="url" size="16" type="text" value="raspberrypi.local" />&nbsp;&nbsp;
port <input name="port" size="6" type="text" value="8080" />
<input type="button" value="Submit" onClick="window.open('http://' + document.forward.url.value + ':' + document.forward.port.value + '/index.html', 'arduinobot', 'height=500,width=800,toolbars=yes');" />
</form><br clear="all" />
<hr />
<p>
<b>Not yet</b>, but I do want to learn more about <a href="https://evothings.com/decoupling-an-embedded-development-environment/">the Craftbot</a>
<!--img width="500" src="https://evomedia.evothings.com/2017/11/Screen-Shot-2017-11-07-at-15.17.05.png" /--
</p>
</body>-->
</html>
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -1228,7 +1228,7 @@
<div class="slide-front" onclick="tileClick('./about/arduinobot-login.html', undefined, event);">
<img class="icon" src="./images/arduinobot-only.png">
</div>
<div class="slide-back text-extra-small d-flex flex-justify-center flex-align-center p-3" onclick="tileClick('./about/arduinobot-login.html', undefined, event);">
<div class="slide-back text-extra-small d-flex flex-justify-center flex-align-center p-3" onclick="tileClick('./arduinobot/arduinobot-login.html', 'Craftbot for Arduino', event);">
Craftbot
</div>
</div>
Expand Down

0 comments on commit 1ea5646

Please sign in to comment.