-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (40 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>navigator-service</title>
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1">
<link rel="stylesheet" href="bower_components/base/base.css">
<link rel="stylesheet" href="bower_components/gaia-font/style.css">
<link rel="stylesheet" href="bower_components/gaia-theme/gaia-theme.css">
<style>
* {
padding: 0;
margin: 0;
}
body {
padding: 1px var(--base-m);
}
</style>
</head>
<body class="theme-settings">
<gaia-text-input id="input-register" value="some-unique-service-id"></gaia-text-input>
<gaia-button id="button-register">Advertise Service</gaia-button>
<hr/>
<gaia-text-input id="input-discover" value="some-unique-service-id"></gaia-text-input>
<gaia-button id="button-discover">Discover Services</gaia-button>
<hr/>
<gaia-button id="button-get">Get data</gaia-button>
<gaia-dialog id="dialog">
<h1>Nearby Services</h1>
</gaia-dialog>
<script src="bower_components/gaia-component/gaia-component.js"></script>
<script src="bower_components/gaia-text-input/gaia-text-input.js"></script>
<script src="bower_components/gaia-button/gaia-button.js"></script>
<script src="bower_components/gaia-dialog/gaia-dialog.js"></script>
<script src="bower_components/dns-sd.js/dist/dns-sd.js"></script>
<script src="bower_components/httpd.js/httpd.js"></script>
<script src="service.js"></script>
<script src="example/app.js"></script>
</body>
</html>