<div class="app-header bg-header-1">
    <div class="layout-fixed full-h text-center">
        <div class="full-h v-bottom-i pdB15">
            <div class="app-content-header bg-header-1">
                <div class="text-name-header-1 nowrap">{{usersDetail.dataUser.display_name}}</div>
                <div class="text-title-header-1 nowrap mgT10">New punch time</div>
            </div>
        </div>
    </div>
    <button class="popup-back-button bg-transparent pd0-i biger-3-time" type="button" ng-click="closeTarget('#popupEmployeePunchInOutHistoryAdd')"></button>
</div>
<div class="app-content">
    <div class="app-content-inner content-pd">
        <ion-scroll class="scroll-area" direction="y" has-bouncing="false" overflow-scroll="false" delegate-handle="scrollEmployeePunchInOutHistoryAdd" on-scroll="scrollContent('scrollEmployeePunchInOutHistoryAdd')">
            <div class="box-setting-4 form-field-container">
                <div class="content content-in">
                    <div class="itm">
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : !addPipusData.date }">Date</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : !addPipusData.date }" ng-click="focusHandle($event)">
                                    <input class="h32px" name="addPipusDate" placeholder="" type="text" value="{{addPipusData.date| date: 'MM/dd/yyyy'}}" readonly>
                                    <div class="field-overlay datetime" readonly="true" date ion-datetime-picker id="addPipusDate" name="addPipusDate" ng-model="addPipusData.date" required>
                                        {{addPipusData.date| date: 'MM/dd/yyyy'}}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <div class="layout-fixed input-1-group">
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : !addPipusData.from_hour  }">Punch time</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : !addPipusData.from_hour  }" ng-click="focusHandle($event)">
                                            <input id="addPipusFromHour" name="addPipusFromHour" ng-model="addPipusData.from_hour" class="h32px" type="text" placeholder="In" value="" time-pickker required />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-click="focusHandle($event)">
                                            <input id="addPipusToHour" name="addPipusToHour" ng-model="addPipusData.to_hour" class="h32px" type="text" placeholder="Out" value="" time-pickker />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ion-scroll>
    </div>
</div>
<div class="app-control">
    <div class="layout-fixed full-h pdT2">
        <div class="full-h">
            <button class="button-form-field-1 darkgray position-left full" type="button" ng-click="closeTarget('#popupEmployeePunchInOutHistoryAdd');">
                Cancel
            </button>
        </div>
        <div class="full-h">
            <button class="button-form-field-1 position-right full" ng-click="createPipus()">
                <svg class="icon h14px" viewBox="0 0 28.91 28.91"> <path style="fill:#030104;" d="M4.594,11.533c0,0-3.091,12.141-4.2,16.889l5.937-8.125c-0.539-1.199-0.214-3.018,0.729-4.049   c1.266-1.383,3.52-1.383,4.904-0.117s1.479,3.414,0.213,4.797c-0.959,1.053-2.733,1.477-3.989,1.008L0.771,28.91l15.646-6.059   l6.287-9.42l-8.229-7.705L4.594,11.533z" /> <polygon style="fill:#030104;" points="20.669,0 16.153,4.193 24.241,11.988 28.515,7.555  " /> </svg>
                Add
            </button>
        </div>
    </div>
</div>
