Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: scootaah129/whopper
base: master
...
head fork: scootaah129/whopper
compare: updateMichale
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 10 files changed
  • 0 commit comments
  • 1 contributor
View
8 LocalFiles/breakfast.html
@@ -26,19 +26,19 @@
<div id="content">
<div id="breakfastburger">
- <a href="breakfastburger.html" ><img src="images/breakfast_menu/breakfastburger_menu.png" /></a>
+ <a href="breakfast_breakfastburger.html" ><img src="images/breakfast_menu/breakfastburger_menu.png" /></a>
</div>
<div id="donut">
- <a href="donut.html" ><img src="images/breakfast_menu/donut_menu.png" /></a>
+ <a href="breakfast_donuts.html" ><img src="images/breakfast_menu/donut_menu.png" /></a>
</div>
<div id="toastie">
- <a href="toastie.html" ><img src="images/breakfast_menu/toastie_menu.png" /></a>
+ <a href="breakfast_toastie.html" ><img src="images/breakfast_menu/toastie_menu.png" /></a>
</div>
<div id="breakfastwrap">
- <a href="breakfastwrap.html" ><img src="images/breakfast_menu/breakfastwrap_menu.png" /></a>
+ <a href="breakfast_breakfastwrap.html" ><img src="images/breakfast_menu/breakfastwrap_menu.png" /></a>
</div>
View
13 LocalFiles/burgers_whopper.html
@@ -5,10 +5,12 @@
<title>BurgerKing</title>
<link rel="stylesheet" href="style.css" />
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="js/lib/jquery-1.6.4.min.js"></script>
<script src="js/jquery.backstretch.min.js"></script>
<script>
+ //script voor achtergrond plaatje full screen
$(document).ready(function(){
$.backstretch("images/bg2.png");
});
@@ -17,10 +19,10 @@
<script type="text/javascript">
-
+ //gegevens van de backend komen binnen
$.get("http://www.schuttertransport.nl/backend.php", function(data){
-
+ //er wordt in de binnengekomengegevens gezocht naar wat er nodig is
var gewicht = $('span#Gewichtwhopper', data).html();
var kilocalorien = $('span#Kilocalorieenwhopper', data).html();
var koolhydraat = $('span#Koolhydratenwhopper', data).html();
@@ -28,7 +30,7 @@
var suiker = $('span#Suikerwhopper', data).html();
var eiwitten = $('span#Eiwittenwhopper', data).html();
- //document.formulier.tekstvak.value = test;
+ //de uitgesoorteerde gegevens worden in de frontend geplaatst
document.getElementById('gewichtje').value = gewicht;
document.getElementById('kilocalorientje').value = kilocalorien;
document.getElementById('koolhydraatje').value = koolhydraat;
@@ -44,21 +46,24 @@
<body>
<div id="container">
<div id="header_container" >
-
+ <!-- LOGO PLAATJE -->
<img src="images/logo.png" height="100%"/>
</div>
<div id="content">
<div id="textbox">
+ <!-- tekst van de burger -->
<h2>De Whopper® heeft eigenlijk geen uitleg nodig. Zodra je tanden in het versgeroosterde sesambroodje zinken en je de unieke BBQ-smaak van de Flame-Grilled burger proeft, snap je waarom de Whopper® onze concurrenten al sinds 1957 tot waanzin drijft. Het is de absolute Koning onder de burgers. Door velen gekopieerd maar nog nooit verbeterd. De Whopper® wordt samengesteld uit een geroosterd sesambroodje, Flame-Grilled Beef, verse tomaten, knapperige sla, romige mayonaise, ketchup, augurken en uitjes.</h2>
</div>
<div id="imagebox">
+ <!-- plaatje van de burger -->
<img src="images/burgers_menu/whopper.png" />
</div>
<div id="voedingswaardebox">
+ <!-- voedingswaarde -->
<div id="gewicht" ><form name="formulier1" class="transparant"><h2><input type="text" id="gewichtje" name="tekstvakgewicht" class="transparant"></h2></form></div>
<div id="kilocalorien"><form name="formulier2" class="transparant"><h2><input type="text" id="kilocalorientje" name="tekstvakgewicht" class="transparant"></h2></form></div>
View
BIN  LocalFiles/images/snack_menu/kingnuggets.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  LocalFiles/snacks_kingnuggets.html
@@ -55,7 +55,7 @@
</div>
<div id="imagebox">
- <img src="images/snack_menu/kingnuggets.png" />
+ <img src="images/snack_menu/kingnuggets.png" width="100%"/>
</div>
<div id="voedingswaardebox">
View
2  LocalFiles/snacks_kingwings.html
@@ -55,7 +55,7 @@
</div>
<div id="imagebox">
- <img src="images/snack_menu/kingwings.png" />
+ <img src="images/snack_menu/kingwings.png" width="100%"/>
</div>
<div id="voedingswaardebox">
View
2  LocalFiles/snacks_onionrings.html
@@ -55,7 +55,7 @@
</div>
<div id="imagebox">
- <img src="images/snack_menu/onionrings.png" />
+ <img src="images/snack_menu/onionrings.png" width="100%"/>
</div>
<div id="voedingswaardebox">
View
2  LocalFiles/snacks_twisterfries.html
@@ -55,7 +55,7 @@
</div>
<div id="imagebox">
- <img src="images/snack_menu/twisterfries.png" />
+ <img src="images/snack_menu/twisterfries.png" width="100%"/>
</div>
<div id="voedingswaardebox">
View
8 LocalFiles/style.css
@@ -409,8 +409,8 @@ h2
{
position: fixed;
top: 27%;
- height: 27%;
- width: 35%;
+ height: 20%;
+ width: 25%;
float: left;
padding-left: 45%;
}
@@ -439,8 +439,8 @@ h2
{
position: fixed;
top: 58%;
- height: 27%;
- width: 35%;
+ height: 22%;
+ width: 30%;
float: left;
padding-left: 45%;
}
View
BIN  Resources/LocalFiles.bin
Binary file not shown
View
21 main.cpp
@@ -10,6 +10,7 @@
#include <Wormhole/FileUtil.h>
#include <Wormhole/WebViewMessage.h>
+
// Namespaces we want to access.
using namespace MAUtil; // Class Moblet
using namespace NativeUI; // WebView widget.
@@ -25,6 +26,8 @@ class MyMoblet : public WebAppMoblet
MyMoblet()
{
+
+
// Enable message sending from JavaScript to C++.
enableWebViewMessages();
@@ -51,8 +54,26 @@ class MyMoblet : public WebAppMoblet
void handleWebViewMessage(WebView* webView, MAHandle urlData)
{
+ ///Connecter* connectie = new Connecter();
+ // Create message object. This parses the message.
+
+
+
+
+ WebViewMessage message(webView, urlData);
+
+ if (message.is("update"))
+ {
+
+ }
+ // Tell the WebView that we have processed the message, so that
+ // it can send the next one.
+ callJS("bridge.messagehandler.processedMessage()");
}
+
+};
+
/**
* Main function that is called when the program starts.
* Here an instance of the MyMoblet class is created and

No commit comments for this range

Something went wrong with that request. Please try again.