forked from 720kb/angular-datepicker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
twitter-bootstrap.html
37 lines (36 loc) · 1.46 KB
/
twitter-bootstrap.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
<!doctype html>
<html ng-app="720kb">
<head>
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="src/css/angular-datepicker.css">
<style>*:focus{ outline:4px solid red;}</style>
<title>Angularjs Datepicker</title>
</head>
<body>
<div class="separator50"></div>
<div class="col6 offset-left2">
<div class="col5">
<datepicker
date-format="MMMM d, y"
date-min-limit="2014/09/07"
date-max-limit="2018/09/07"
button-prev='<i class="fa fa-arrow-circle-left"></i>'
button-next='<i class="fa fa-arrow-circle-right"></i>'>
<input ng-model="date1" type="text" class="angular-datepicker-input"/>
</datepicker>
Date 1 is: {{date1}}
</div>
<div class="col5">
<datepicker>
<input ng-model="date2" type="text" class="angular-datepicker-input"/>
</datepicker>
Date 2 is: {{date2}}
</div>
</div>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.4/angular.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.4/angular-route.min.js"></script>
<script type="text/javascript" src="src/js/angular-datepicker.js"></script>
<script type="text/javascript" src="assets/js/index.js"></script>
</body>
</html>