2016-02-28 22:25:21 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<head>
|
|
|
|
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
|
|
|
|
<script type="text/javascript" src="js/Uri.js">
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="js/gadgetbridge_boilerplate.js">
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<style>
|
|
|
|
<!-- TODO -->
|
|
|
|
</style>
|
|
|
|
</head>
|
2016-03-08 17:45:11 +01:00
|
|
|
<body onload="" style="width: 100%;">
|
2016-02-28 22:25:21 +01:00
|
|
|
<div id="step1">
|
|
|
|
<h2>Url of the configuration:</h2>
|
|
|
|
<div id="config_url" style="height: 100px; width: 100%;"></div>
|
2016-03-08 17:45:11 +01:00
|
|
|
<button name="show config" value="show config" onclick="Pebble.showConfiguration()" >1) showConfig</button>
|
|
|
|
<button name="open config" value="open config" onclick="Pebble.actuallyOpenURL()" >2) Open configuration website</button>
|
2016-02-28 22:25:21 +01:00
|
|
|
</div>
|
|
|
|
<div id="step2">
|
|
|
|
<h2>Incoming configuration data:</h2>
|
|
|
|
<div id="jsondata" style="height: 100px; width: 100%;"></div>
|
|
|
|
<button name="send config" value="send config" onclick="Pebble.actuallySendData()" >Send data to pebble</button>
|
|
|
|
</div>
|
|
|
|
</body>
|