summaryrefslogtreecommitdiff
path: root/www/templates/events-date-time-filter.html
blob: 262feed8c257a71476a46524d2b5790da3cb1717 (plain)
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
<ion-view view-title="{{'kFilterEvents' | translate}}">
  <ion-content delegate-handle="none" overflow-scroll="false" mouse-wheel-scroll>
    <label class="item item-input">
      <span class="input-label">{{'kFromDate'|translate}}:</span>
      <input type="date" ng-model="$root.fromDate" max={{today}}>
    </label>
    <label class="item item-input">
      <span class="input-label">{{'kFromTime'|translate}}</span>
      <input type="time" ng-model="$root.fromTime">
    </label>
    <label class="item item-input">
      <span class="input-label">{{'kToDate'|translate}}</span>
      <input type="date" ng-model="$root.toDate" max={{today}}>
    </label>
    <label class="item item-input">
      <span class="input-label">{{'kToTime'|translate}}</span>
      <input type="time" ng-model="$root.toTime">
    </label>
    <br />
    <center>
      <button class="button" ng-click="saveFilters();"> {{'kSave'|translate}}
      </button>
      <button class="button" ng-click="removeFilters();"> {{'kReset'|translate}}
      </button>
    </center>
  </ion-content>
</ion-view>