forked from rajeshwarpatlolla/ionic-timepicker
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f5076d
commit 6d4a57c
Showing
5 changed files
with
37 additions
and
61 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
<div class=""> | ||
<div class="heading">{{time.hours}} : {{time.minutes}} <span ng-show="time.format == 12">{{time.meridian}}</span></div> | ||
<div class="row" ng-class="{'padding_left_15px':time.format == 12}"> | ||
<div class="col col-25" ng-class="{'col-offset-20 col-25':time.format == 24}"> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="increaseHours()"> | ||
<i class="icon ion-chevron-up"></i></button> | ||
<div ng-bind="time.hours" class="time_picker_box_text"></div> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="decreaseHours()"> | ||
<i class="icon ion-chevron-down"></i></button> | ||
</div> | ||
<label class="col col-10 time_picker_colon"> : </label> | ||
<div class="popup-head"> | ||
<h3 class="popup-title">{{time.hours}} : {{time.minutes}} <span ng-show="time.format == 12">{{time.meridian}}</span></h3> | ||
</div> | ||
<div class="row" ng-class="{'padding_left_15px':time.format == 12}"> | ||
<div class="col col-25" ng-class="{'col-offset-20 col-25':time.format == 24}"> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="increaseHours()"> | ||
<i class="icon ion-chevron-up"></i></button> | ||
<div ng-bind="time.hours" class="time_picker_box_text"></div> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="decreaseHours()"> | ||
<i class="icon ion-chevron-down"></i></button> | ||
</div> | ||
<label class="col col-10 time_picker_colon"> : </label> | ||
|
||
<div class="col col-25" ng-class="{'col-25':time.format == 24}"> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="increaseMinutes()"><i class="icon ion-chevron-up"></i></button> | ||
<div ng-bind="time.minutes" class="time_picker_box_text"></div> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="decreaseMinutes()"><i class="icon ion-chevron-down"></i></button> | ||
</div> | ||
<label class="col col-10 time_picker_colon" ng-if="time.format == 12"> : </label> | ||
<div class="col col-25" ng-class="{'col-25':time.format == 24}"> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="increaseMinutes()"><i class="icon ion-chevron-up"></i></button> | ||
<div ng-bind="time.minutes" class="time_picker_box_text"></div> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="decreaseMinutes()"><i class="icon ion-chevron-down"></i></button> | ||
</div> | ||
<label class="col col-10 time_picker_colon" ng-if="time.format == 12"> : </label> | ||
|
||
<div class="col col-25" ng-if="time.format == 12"> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="changeMeridian()"><i class="icon ion-chevron-up"></i></button> | ||
<div ng-bind="time.meridian" class="time_picker_box_text"></div> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="changeMeridian()"><i class="icon ion-chevron-down"></i></button> | ||
</div> | ||
<div class="col col-25" ng-if="time.format == 12"> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="changeMeridian()"><i class="icon ion-chevron-up"></i></button> | ||
<div ng-bind="time.meridian" class="time_picker_box_text"></div> | ||
<button type="button" class="button button-clear button-small button-dark time_picker_arrows" | ||
ng-click="changeMeridian()"><i class="icon ion-chevron-down"></i></button> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
angular.module('ionic-timepicker', [ | ||
'ionic-timepicker.provider', | ||
//'ionic-timepicker.templates' | ||
'ionic-timepicker.templates' | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters