summaryrefslogtreecommitdiff
path: root/firefoxos/sdremote/index.html
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-04-11 18:17:30 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-04-11 18:17:30 +0100
commit6b3bca32186a59cc3632d3f6eb7f329b739e75b0 (patch)
tree9c8e6dabfe9bea7d4347c7905b097c0e0926ec71 /firefoxos/sdremote/index.html
parent763011690b18cdf47cb23125c98a5bfa5d17b2d6 (diff)
Basic Firefox OS Impress Remote.
Change-Id: Icb62af55a9d117627794852971a20542db51424c
Diffstat (limited to 'firefoxos/sdremote/index.html')
-rw-r--r--firefoxos/sdremote/index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/firefoxos/sdremote/index.html b/firefoxos/sdremote/index.html
new file mode 100644
index 000000000000..4d07d6eac458
--- /dev/null
+++ b/firefoxos/sdremote/index.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+-->
+<html>
+<head>
+ <title>SDRemote Firefox OS Demo</title>
+ <!--<meta name="viewport" content="width=device-width" />-->
+
+ <script>
+ function init() {
+ console.info("Hello world");
+ }
+
+ var mCommunicator;
+ </script>
+ <script src="js/transmitter.js"></script>
+</head>
+<body onLoad="init();">
+ <button id="open_comm" onclick="mCommunicator = new Communicator('127.0.0.1');">Press to Connect (localhost)</button>
+ <button id="transition_next" onclick="if (mCommunicator) mCommunicator.sendMessage('transition_next\n\n');">transition_next</button>
+ <p>Current slide: <span id="current slide">---</span></p>
+</body>
+</html>