This repository has been archived by the owner on Jun 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
46 lines (35 loc) · 1.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, target-densityDpi=device-dpi">
<meta name="description" content="neard NDEF reader / writer web application"/>
<title>Cloud neard</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script src="js/lib/autobahn.min.js"></script>
<script src="js/lib/cloudeebus.js"></script>
<script src="js/lib/nfc.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<h1>Near Field Communication</h1>
<hr>
<form name="tagManagement">
<h2>Read NDEF Message</h2>
<select id="tagListener" class="button" onchange="nfcListen(this.selectedIndex)" >
<option selected="selected">Not listening</option>
<option>Listening</option>
</select>
<input type="button" class="button" value="Clear results" onClick="clearResults()">
<hr>
<h2>Write NDEF Message</h2>
<input type="text" class="textField gridCell" name="recordContent" id="recordContentText"/><br>
<input type="button" class="button" style="width:47%" value="write URL" onClick="writeRecordURL(recordContent.value)"/>
<input type="button" class="button" style="width:47%" value="write Text" onClick="writeRecordText(recordContent.value)"/><br>
<div id="writeLog" class="content" style="min-height:40px"></div>
</form>
<hr>
<h2>Messages log</h2>
<div id="outLog" class="content" style="min-height:120px"></div>
</body>
</html>