public/html/afterHours-add.html
<div class="modal" role="dialog" aria-label="Record New After Hours Attendance">
<div class="modal-background"></div>
<div class="modal-card" style="width:900px">
<div class="modal-card-head">
<h2 class="modal-card-title">Record New After Hours Attendance</h2>
<button
class="delete is-close-modal-button"
aria-label="close"
type="button"
></button>
</div>
<section class="modal-card-body">
<form id="form--afterHoursAdd">
<div class="columns mb-0">
<div class="column">
<div class="field">
<label class="label" for="afterHoursAdd--employeeNumber">Employee Number</label>
<div class="control">
<input
class="input"
id="afterHoursAdd--employeeNumber"
name="employeeNumber"
type="text"
maxlength="20"
/>
</div>
</div>
</div>
<div class="column">
<div class="field">
<label class="label" for="afterHoursAdd--employeeName">Employee Name</label>
<div class="control has-icons-right">
<input class="input" id="afterHoursAdd--employeeName" name="employeeName" type="text" maxlength="200" required />
<span class="icon is-small is-right">
<i class="fas fa-asterisk" aria-hidden="true"></i>
</span>
</div>
</div>
</div>
</div>
<div class="message is-info is-small">
<p class="message-body">
Leave the date and time blank to use the current date and time.
</p>
</div>
<div class="columns">
<div class="column">
<div class="field">
<label class="label" for="afterHoursAdd--attendanceDateString">Attendance Date</label>
<div class="control">
<input class="input" id="afterHoursAdd--attendanceDateString" name="attendanceDateString" type="date" />
</div>
</div>
</div>
<div class="column">
<div class="field">
<label class="label" for="afterHoursAdd--attendanceTimeString">Attendance Time</label>
<div class="control">
<input class="input" id="afterHoursAdd--attendanceTimeString" name="attendanceTimeString" type="time" />
</div>
</div>
</div>
<div class="column">
<div class="field">
<label class="label" for="afterHoursAdd--afterHoursReasonId">Reason for Attendance</label>
<div class="control">
<div class="select is-fullwidth">
<select id="afterHoursAdd--afterHoursReasonId" name="afterHoursReasonId" required>
<option value="">(Select a Reason)</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="field">
<label class="label" for="afterHoursAdd--recordComment">Comments</label>
<div class="control">
<textarea class="textarea" id="afterHoursAdd--recordComment" name="recordComment"></textarea>
</div>
</div>
</form>
</section>
<div class="modal-card-foot justify-right">
<button
class="button is-success"
type="submit"
form="form--afterHoursAdd"
>
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
<span>Record After Hours Attendance</span>
</button>
<button class="button is-close-modal-button" type="button">Cancel</button>
</div>
</div>
</div>