<%- include('_layout_start') %><link rel="stylesheet" href="/livechat-mistakes.css?v=8.177"><div class="lm-page" id="leaderRequests" data-kind="<%= requestKind %>" data-admin="<%= requestAdmin %>"><div class="lm-heading"><h1><%= title %></h1><button type="button" id="lrAdd">+ Tambah pengajuan</button></div><section class="lm-panel"><div class="lm-filters"><input id="lrSearch" type="search" placeholder="Cari staff atau alasan…"><select id="lrStatus"><option value="">Semua status</option><option>Menunggu</option><option>Disetujui</option><option>Ditolak</option></select><button id="lrRefresh" type="button">Muat ulang</button></div><p id="lrMessage" role="status"></p><div class="lm-table-wrap"><table><thead><tr><th>Staff</th><th>Dari</th><th>Sampai</th><th>Hari</th><th>Alasan</th><th>Status</th><th>Aksi</th></tr></thead><tbody id="lrRows"></tbody></table></div></section><dialog id="lrDialog"><form id="lrForm"><h2><%= title %></h2><label>Nama staff<input name="staff" required maxlength="160"></label><label>Dari<input name="from" type="date" required></label><label>Sampai<input name="to" type="date" required></label><label>Alasan<textarea name="reason" required maxlength="2000" rows="4"></textarea></label><p id="lrError" role="alert"></p><button type="button" id="lrClose" data-popup-cancel>Batal</button><button type="submit" id="lrSave">Kirim pengajuan</button></form></dialog></div><script src="/leader-requests.js?v=8.114"></script><%- include('_layout_end') %>
