summaryrefslogtreecommitdiffstats
path: root/htdocs/nfc/index.html
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2017-10-23 10:51:37 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2017-10-23 10:51:37 +0200
commit44096523e0c45c6b02840f2fe2aca337510fac28 (patch)
treedc9c7b2be0750c011fd7c581df65f7b2e0a9ec16 /htdocs/nfc/index.html
parent5441251cae0eea3786c327b3b3386eae5bf687db (diff)
add nfc binding
Change-Id: I1ebf8e803436430490201db533c2a5a04c04295e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'htdocs/nfc/index.html')
-rw-r--r--htdocs/nfc/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/htdocs/nfc/index.html b/htdocs/nfc/index.html
new file mode 100644
index 0000000..999dc0d
--- /dev/null
+++ b/htdocs/nfc/index.html
@@ -0,0 +1,31 @@
+<!doctype html>
+<html>
+ <head>
+ <title>nfc-binding</title>
+ <meta charset="UTF-8">
+
+ <!--
+ <link rel="stylesheet" type="text/css" href="prettify.css">
+ <script type="text/javascript" src="prettify.js"></script>
+ -->
+
+ <script type="text/javascript" src="AFB-websock.js"></script>
+ <script type="text/javascript" src="nfc-binding.js"></script>
+ <link rel="stylesheet" type="text/css" href="binding-debug.css" />
+ </head>
+
+ <body onload="init();" id="app-body">
+ <div id="debug-panel-container"></div>
+ <h1>hl-persistence-binding</h1>
+ <p>
+ <ul>
+ <li><button onclick="subscribe();">Subscribe</button></li>
+ <li><button onclick="unsubscribe();">Unsubscribe</button></li>
+ <li><button onclick="list_devices();">list-devices</button></li>
+ <li><button onclick="list_devices_capabilities();">list-device-capabilities</button></li>
+ <li><button onclick="start_polling();">start-polling</button></li>
+ <li><button onclick="stop_polling();">stop-polling</button></li>
+ </ul>
+ </p>
+ </body>
+</html>