76 lines
3.5 KiB
PHP
76 lines
3.5 KiB
PHP
<div class="modal modal-fade-in-scale-up modal-primary" tabindex="-1" id="employee-target-modal">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">toevoegen / wijzigen medewerker uren
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</h5>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="row">
|
|
<div class="col-md-10 col-md-offset-1">
|
|
<table class="table table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>start</th>
|
|
<th>eind</th>
|
|
<th>target per maand</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- ko foreach:employeeTargets -->
|
|
<tr>
|
|
<td>
|
|
<input type="text"
|
|
placeholder="startdatum"
|
|
class="form-control"
|
|
readonly
|
|
data-bind="datepicker:{dateFormat: 'dd-mm-yy' },
|
|
value:startdate">
|
|
</td>
|
|
<td>
|
|
<input type="text"
|
|
placeholder="einddatum"
|
|
class="form-control"
|
|
readonly
|
|
data-bind="datepicker:{dateFormat: 'dd-mm-yy' },
|
|
value:enddate">
|
|
</td>
|
|
<td>
|
|
<input type="text"
|
|
class="form-control"
|
|
data-bind="textInput:target">
|
|
</td>
|
|
<td>
|
|
<button class="btn btn-success"
|
|
data-bind="disable: ! validTarget()">
|
|
opslaan
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<!-- /ko -->
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<th colspan="4">
|
|
<i class="icon fa-plus-square-o pull-right pointer"
|
|
data-bind="click:addEmployeeTarget"></i>
|
|
</th>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button"
|
|
class="btn btn-warning"
|
|
data-dismiss="modal">
|
|
sluiten
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |