-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsender.html
47 lines (42 loc) · 1.37 KB
/
sender.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
<!DOCTYPE html>
<html data-cast-api-enabled="true">
<head>
<title>Bespoke Google Cast Demo</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="page-header">
<h3>Bespoke Google Cast Demo</h3>
</div>
<form class="form-horizontal">
<p>
<legend>Fields to post to receiver app on the Chromecast</legend>
<div class="control-group">
<label class="control-label" for="name">Name</label>
<div class="controls">
<input type="text" id="name" placeholder="Enter name here" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="email">E-Mail</label>
<div class="controls">
<input type="text" id="email" placeholder="Enter your e-mail here" />
</div>
</div>
</p>
</form>
<form class="form-horizontal">
<p>
<legend>Available Chromecasts near you:</legend>
<ul class="receivers"></ul>
</p>
</form>
<div class="btn btn-success" style="display:none;">Send to Chromecast</div>
</div>
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="http://underscorejs.org/underscore-min.js"></script>
<script type="text/javascript" src="scripts/app.js"></script>
</body>
</html>