-
Notifications
You must be signed in to change notification settings - Fork 0
/
telepathy.html
94 lines (88 loc) · 3.95 KB
/
telepathy.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<head>
<title>Telepathy</title>
</head>
<body>
<table width="100%" style="padding:4px;">
<tr>
<td class='controlPanel'>
<div style="width:100%; border: 1px dashed black; padding:8px; margin-bottom:8px;">
<img src="logo.png" alt="">
</div>
<div style="width:100%; border: 1px dashed black; padding:8px;">
<div>
<span class='label'>Device ID:</span>
<input type="text" placeholder="{{deviceID}}" id="device">
<button class="btn btn-default btn-xs changeDeviceId">save</button>
</div>
<div class='btnarea'>
<span class='label'>Step 1:</span>
<span class='requestAdminToken btn'>Request an Admin Token</span>
</div>
<div class='btnarea'>
<span class='label'>Step 2:</span>
<span class='postDocument btn'>Post Documents</span>
</div>
<div class='btnarea'>
<span class='label'>Step 3:</span>
<span class='requestUserToken btn'>Request a User Token</span>
</div>
<div class='btnarea'>
<span class='label'>Step 4:</span>
<span class='joinSession btn'>Join</span>/
<span class='createSession btn'>Create a Session</span>
</div>
<div class='btnarea'>
<span class='label'>Step 5:</span>
<span class='postTextEntry btn'>Post a New Text Entry</span>
</div>
<div class='btnarea'>
<span class='label'>Step 6:</span>
<span class='getDocuments btn'>Get Documents</span>
</div>
<div class='btnarea'>
<span class='label'>Step 7:</span>
<span class='getEntities btn'>Get Entities</span>
</div>
<div class='btnarea'>
<span class='label'>Step 8:</span>
<span class='pushNotify btn'>Push to Phone</span>
</div>
<div class='btnarea'>
<span class='label'>AppID:</span>
<small><span id="appid"></span></small>
</div>
</div>
<!--
<div class='btnarea'>
<span class='label'>Secret:</span>
<span id="appsecret"></span>
</div> -->
<!-- <div class='btnarea'>
<span class='label'>Step 8:</span>
<span class='publishUserEvent btn'>Publish Custom User Event</span>
</div>
<div class='btnarea'>
<span class='label'>Step 9:</span>
<span class='publishSessionEvent btn'>Publish Custom Session Event</span>
</div> -->
</td>
<td>
<div class='log-container' style="height:250px; margin-bottom:8px;">
<div class='label'>STATUS LOG:</div>
<div id='log'>
</div>
</div>
<div style="width:100%; border: 1px dashed black; padding:8px;">
<iframe style="width:100%; height:330px;" src="http://chat-consumer.meteor.com" frameborder="0"></iframe>
</div>
</td>
<td>
<div class='log-container'>
<div class='label'>JSON DATA:</div>
<div id='json'>
</div>
</div>
</td>
</tr>
</table>
</body>