Skip to content

Commit

Permalink
v0.1.1 released
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshwarpatlolla committed Apr 28, 2015
1 parent ae13582 commit a64db37
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 49 deletions.
2 changes: 1 addition & 1 deletion dist/ionic-timepicker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/ionic-timepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//https://github.com/rajeshwarpatlolla

angular.module('ionic-timepicker', ['ionic', 'ionic-timepicker.templates'])

// Defining `ionicTimepicker` directive
.directive('ionicTimepicker', ['$ionicPopup', function ($ionicPopup) {
return {
restrict: 'AE',
Expand Down Expand Up @@ -91,7 +93,7 @@ angular.module('ionic-timepicker', ['ionic', 'ionic-timepicker.templates'])
subTitle: '',
scope: scope,
buttons: [
{ text: 'Cancel' },
{ text: 'Close' },
{
text: 'Set',
type: 'button-positive',
Expand Down Expand Up @@ -131,7 +133,7 @@ angular.module('ionic-timepicker', ['ionic', 'ionic-timepicker.templates'])
subTitle: '',
scope: scope,
buttons: [
{ text: 'Cancel' },
{ text: 'Close' },
{
text: 'Set',
type: 'button-positive',
Expand Down
54 changes: 27 additions & 27 deletions src/time-picker-12-hour.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<div class="12HourTimePickerChildDiv">
<div class="row">
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseHours()">
<i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.hours" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseHours()">
<i class="icon ion-chevron-down"></i></button>
</span>
<label class="col-10 timePickerColon"> : </label>
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseMinutes()"><i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.minutes" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseMinutes()"><i class="icon ion-chevron-down"></i></button>
</span>
<label class="col-10 timePickerColon"> : </label>
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="changeMeridian()"><i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.meridian" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="changeMeridian()"><i class="icon ion-chevron-down"></i></button>
</span>
</div>
<div class="row">
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseHours()">
<i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.hours" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseHours()">
<i class="icon ion-chevron-down"></i></button>
</span>
<label class="col-10 timePickerColon"> : </label>
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseMinutes()"><i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.minutes" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseMinutes()"><i class="icon ion-chevron-down"></i></button>
</span>
<label class="col-10 timePickerColon"> : </label>
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="changeMeridian()"><i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.meridian" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="changeMeridian()"><i class="icon ion-chevron-down"></i></button>
</span>
</div>
</div>
38 changes: 19 additions & 19 deletions src/time-picker-24-hour.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<div class="24HourTimePickerChildDiv">
<div class="row">
<span class="button-small col-offset-20 col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseHours()">
<i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.hours" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseHours()">
<i class="icon ion-chevron-down"></i></button>
</span>
<label class="col-10 timePickerColon"> : </label>
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseMinutes()"><i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.minutes" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseMinutes()"><i class="icon ion-chevron-down"></i></button>
</span>
</div>
<div class="row">
<span class="button-small col-offset-20 col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseHours()">
<i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.hours" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseHours()">
<i class="icon ion-chevron-down"></i></button>
</span>
<label class="col-10 timePickerColon"> : </label>
<span class="button-small col-25">
<button class="button button-clear button-small button-dark timePickerArrows marginBottom10"
ng-click="increaseMinutes()"><i class="icon ion-chevron-up"></i></button>
<input type="text" placeholder="" ng-model="time.minutes" class="ipBoxes timePickerBoxText" disabled>
<button class="button button-clear button-small button-dark timePickerArrows marginTop10"
ng-click="decreaseMinutes()"><i class="icon ion-chevron-down"></i></button>
</span>
</div>
</div>

0 comments on commit a64db37

Please sign in to comment.