-
Notifications
You must be signed in to change notification settings - Fork 41
/
default.html
65 lines (55 loc) · 2.23 KB
/
default.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
<!DOCTYPE html>
<html lang="en" xmlns:ng="http://angularjs.org" id="ng-app" ng-app="app">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="description" content="gm.datepickerMultiSelect Example">
<meta name="author" content="Gregory McGee">
<!-- <base href="/ProfessionalFormation.org/"></base>
<link rel="icon" href="">-->
<title>gm.datepickerMultiSelect Example</title>
<!-- Required libs -->
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.11.2/ui-bootstrap-tpls.min.js"></script>
<!-- Polyfills -->
<script src="//getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js"></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Bootstrap -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" />
<!-- App files -->
<script src="dist/gm.datepickerMultiSelect.min.js"></script>
<script src="modules/app.js"></script>
<style>
body { padding:10px; }
td { vertical-align: top }
</style>
</head>
<body ng-controller='AppCtrl as app'>
<table>
<tr>
<td>
<datepicker ng-model='app.activeDate' multi-select='app.selectedDates'></datepicker>
</td>
<td style='width:50px'>
</td>
<td>
<div>Selected Dates:</div>
<div class='well well-sm'>
<div ng-repeat='d in app.selectedDates'>
{{d | date : 'fullDate'}}
<button class='btn btn-xs btn-warning' style='margin:5px' ng-click='app.removeFromSelected(d)'>Remove</button>
</div>
</div>
</td>
</tr>
</table>
</body>
</html>