Skip to content

Commit

Permalink
Fixed bugs in templates for github export
Browse files Browse the repository at this point in the history
  • Loading branch information
sbstjn committed Mar 6, 2012
1 parent 4467ec7 commit 66fc020
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion views/example-walkLED.jade
Expand Up @@ -5,7 +5,7 @@ header#overview
.row
.span12
.hero-unit
img(src="/wiring/walkLED.png")
img(src="wiring/walkLED.png")
p Use the example wiring from above and this interface for getting startet with noduino. Read values from an analog input device like a potentiometer and watch for pressed buttons, all basic functions are shown within this example. The needed
code .fzz
| file for making changes with the awesome
Expand Down
6 changes: 3 additions & 3 deletions views/getting-started.jade
Expand Up @@ -9,16 +9,16 @@
h2 Download Noduino from GitHub
br
.hero-unit
img(src="/images/getting-started/1.png")
img(src="images/getting-started/1.png")
h2 Upload duino to Arduino
br
.hero-unit
img(src="/images/getting-started/2.png")
img(src="images/getting-started/2.png")
h2 Start Noduino and have fun!
p Start Noduino's WebSocket Server with <code>node srv.web.js</code>, connect your prepared Arduino, open <a href="http://localhost:8080">http://localhost:8080</a> with your browser and have fun. If you run into any problems during the provided examples please restart <code>srv.web.js</code>, there are some known issues on getting a connection if your browser has already connected or you are using multiple tabs. Keep in mind that Noduino is highly alpha software…
br
.hero-unit
img(src="/images/getting-started/3.png")
img(src="images/getting-started/3.png")



Expand Down
12 changes: 6 additions & 6 deletions views/home.jade
Expand Up @@ -3,15 +3,15 @@ header.jumbotron.subhead#overview
p.lead A simple and flexible JavaScript and Node.js Framework for accessing basic Arduino controls from Web Applications using HTML5, Socket.IO and Node.js.
.row.marketing#homeBoxes
.span4
img.bs-icon(src="/images/glyphicons_155_show_thumbnails.png")
img.bs-icon(src="images/glyphicons_155_show_thumbnails.png")
h2 Easy Arduino Access
p Initialize your Arduino board, define registered pins and send commands. Use digital and analog read or write to control buttons or switch connected LEDs. <strong>Listen for events</strong> happening on your Arduino to control your Web Application with analog controls…
.span4
img.bs-icon(src="/images/glyphicons_214_resize_small.png")
img.bs-icon(src="images/glyphicons_214_resize_small.png")
h2 Client and Server in JS
p Thanks to Node.js and modern web browsers all server code as well as all client code is written in JavaScript. There is no difference in accessing your Arduino over <strong>WebSocket</strong> or a <strong>Serial</strong> connection. All methods and objects remain the same, written code is highly portable.
.span4
img.bs-icon(src="/images/glyphicons_009_magic.png")
img.bs-icon(src="images/glyphicons_009_magic.png")
h2 JS Proof of Concept
p The first release of
a(href="") noduino
Expand All @@ -31,7 +31,7 @@ section#homeContent
p
a(href="https://github.com/semu/noduino") Download noduino
| , install needed packages with npm, fetch git submodules, upload duino's file <code>duino/src/du.ino</code> to your Arduino and you are good to go. An example on how to catch and fire events with an HTML interface is provided as well. Take a look at
a(href="/example-walkLED.html") LED Walker
a(href="example-walkLED.html") LED Walker
| …
.span9
pre.prettyprint.linenums=examples.node
Expand Down Expand Up @@ -124,7 +124,7 @@ section#homeContent
.row
.span12
.hero-unit
img(src="/wiring/walkLED.png")
img(src="wiring/walkLED.png")
p Use the example wiring from above and the provided code in
code examples/walkLED.js
| for getting started using noduino. Read values from an analog input device like a potentiometer and watch for pressed buttons, all basic functions are shown in the example files. The needed
Expand All @@ -137,7 +137,7 @@ section#homeContent
.row
.span12
p.exampleLinks
a.btn.btn-success(href="/example-walkLED.html")
a.btn.btn-success(href="example-walkLED.html")
i.icon-gift.icon-white
| View Example
.page-header
Expand Down
10 changes: 5 additions & 5 deletions views/layout.jade
Expand Up @@ -14,30 +14,30 @@ html(lang="en")
div.nav-collapse
ul.nav
li(class=(active == 'home' ? 'active' : ''))
a(href="/") Home
a(href="index.html") Home
li(class=(active == 'getting-started' ? 'active' : ''))
a(href="/getting-started.html") Getting Started
a(href="getting-started.html") Getting Started
li.dropdown(class=(active == 'examples' ? 'active' : ''))
a.dropdown-toggle(href="#",data-toggle="dropdown") Example Wirings
b.caret
ul.dropdown-menu
li
a(href="/example-walkLED.html") Adjustable LED Walker
a(href="example-walkLED.html") Adjustable LED Walker
li
a(href="https://github.com/semu/noduino") View on GitHub &raquo;
div.nav-collapse.pull-right
ul.nav
li
a(href="http://semu.mp") semu.mp
a(href="#")
img(style="position: absolute; top: 0; right: 0; border: 0; z-index: 10;",src="/images/forkme.png",alt="Fork me on GitHub")
img(style="position: absolute; top: 0; right: 0; border: 0; z-index: 10;",src="images/forkme.png",alt="Fork me on GitHub")
.container!=body
footer.footer
p.pull-right
a(href="#") Back to top
p.pull-left
a(href="http://arduino.cc")
img(src="/images/arduino.jpg", style="position: relative; margin-right: 18px; top: 5px; margin-left: 4px; border-radius: 3px;")
img(src="images/arduino.jpg", style="position: relative; margin-right: 18px; top: 5px; margin-left: 4px; border-radius: 3px;")
p The
a(href="https://semu.github.com/noduino") noduino
| project was founded in 2012 and is maintained by
Expand Down

0 comments on commit 66fc020

Please sign in to comment.