@@ -9,18 +9,26 @@ <h4>Inline</h4>
9
9
</ div >
10
10
11
11
< h4 > Popup</ h4 >
12
- < div class ="form-horizontal ">
13
- < p >
14
- < input type ="text " datepicker-popup ="{{format}} " ng-model ="dt " is-open ="opened " min ="minDate " max ="'2015-06-22' " datepicker-options ="dateOptions " date-disabled ="disabled(date, mode) " ng-required ="true " close-text ="Close " />
15
- < button class ="btn " ng-click ="open($event) "> < i class ="icon-calendar "> </ i > </ button >
16
- </ p >
17
- < p > < i > Format options:</ i > < select ng-model ="format " ng-options ="f for f in formats "> < option > </ option > </ select > </ p >
12
+ < div class ="row ">
13
+ < div class ="col-md-6 ">
14
+ < p class ="input-group ">
15
+ < input type ="text " class ="form-control " datepicker-popup ="{{format}} " ng-model ="dt " is-open ="opened " min ="minDate " max ="'2015-06-22' " datepicker-options ="dateOptions " date-disabled ="disabled(date, mode) " ng-required ="true " close-text ="Close " />
16
+ < span class ="input-group-btn ">
17
+ < button class ="btn btn-default " ng-click ="open($event) "> < i class ="glyphicon glyphicon-calendar "> </ i > </ button >
18
+ </ span >
19
+ </ p >
20
+ </ div >
21
+ </ div >
22
+ < div class ="row ">
23
+ < div class ="col-md-6 ">
24
+ < label > Format:</ label > < select class ="form-control " ng-model ="format " ng-options ="f for f in formats "> < option > </ option > </ select >
25
+ </ div >
18
26
</ div >
19
27
20
28
< hr />
21
- < button class ="btn btn-small btn-inverse " ng-click ="today() "> Today</ button >
22
- < button class ="btn btn-small btn-inverse " ng-click ="dt = '2009-08-24' "> 2009-08-24</ button >
23
- < button class ="btn btn-small btn-success " ng-click ="toggleWeeks() " tooltip ="For inline datepicker "> Toggle Weeks</ button >
24
- < button class ="btn btn-small btn-danger " ng-click ="clear() "> Clear</ button >
25
- < button class ="btn btn-small " ng-click ="toggleMin() " tooltip ="After today restriction "> Min date</ button >
29
+ < button class ="btn btn-sm btn-info " ng-click ="today() "> Today</ button >
30
+ < button class ="btn btn-sm btn-default " ng-click ="dt = '2009-08-24' "> 2009-08-24</ button >
31
+ < button class ="btn btn-sm btn-success " ng-click ="toggleWeeks() " tooltip ="For inline datepicker "> Toggle Weeks</ button >
32
+ < button class ="btn btn-sm btn-danger " ng-click ="clear() "> Clear</ button >
33
+ < button class ="btn btn-sm btn-default " ng-click ="toggleMin() " tooltip ="After today restriction "> Min date</ button >
26
34
</ div >
0 commit comments