-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·70 lines (63 loc) · 1.72 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Starter Kit</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<style>
#popover {
display: none;
z-index: 20;
}
.span4 {
text-align: center;
}
</style>
</head>
<body>
<script type="text/x-handlebars">
<h1>Date picker</h1>
<div class="span3">
{{view App.Datepicker }}
</div>
<div class="span6">
<div id="popover">
{{ outlet }}
</div>
</div>
</script>
<script type="text/x-handlebars" id="calendar">
<div class="row">
<div class="span1"><a href="#" {{ action prev }} class="btn"> Prev </a></div>
<div class="span4"> <h2>{{ month model.month }}</h2> </div>
<div class="span1"><a href="#" {{ action next }} class="btn"> Next </a></div>
</div>
<table class="table table-bordered table-condensed">
<tr>
<td>Sun</td>
<td>Mon</td>
<td>Tue</td>
<td>Wed</td>
<td>Thu</td>
<td>Fri</td>
<td>Sat</td>
</tr>
{{#each model.weeks}}
<tr>
{{#each days}}
<td><a href="#" {{ action select this }}>{{this}}</a></td>
{{/each}}
</tr>
{{/each}}
</table>
</script>
<script src="js/libs/jquery-1.9.1.js"></script>
<script src="js/libs/handlebars-1.0.0-rc.3.js"></script>
<script src="js/libs/ember-1.0.0-rc.2.js"></script>
<script src="js/libs/ember-data.js"></script>
<script src="js/libs/moment.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>