<%- include('_layout_start') %>
<div class="op-page"><div class="ca-note"><svg class="ui-icon"><use href="#i-info"/></svg><span><%= overview %></span></div><div class="ca-stats"><% metrics.forEach(m=>{ %><article class="card"><span><%= m.label %></span><strong><%= m.value %></strong><small><%= m.detail %></small></article><% }) %></div><div class="op-actions"><% links.forEach(l=>{ %><a class="btn" href="<%= l.href %>"><svg class="ui-icon"><use href="#<%= l.icon||'i-chevron-right' %>"/></svg><%= l.label %></a><% }) %></div><section class="card ca-table-card"><div class="ca-table-heading"><h2><%= tableTitle %></h2><button id="opExport" type="button" class="btn"><svg class="ui-icon"><use href="#i-download"/></svg>Export CSV</button></div><div class="op-search"><svg class="ui-icon"><use href="#i-search"/></svg><input id="opSearch" type="search" placeholder="Cari pada tabel…" aria-label="Cari data"></div><div class="ca-table-scroll"><table id="opTable"><thead><tr><% columns.forEach(c=>{ %><th><%= c %></th><% }) %></tr></thead><tbody><% if(rows.length){rows.forEach(row=>{ %><tr><% row.forEach(value=>{ %><td><%= value %></td><% }) %></tr><% })}else{ %><tr><td colspan="<%= columns.length %>">Belum ada data untuk ditampilkan.</td></tr><% } %></tbody></table></div><p id="opResult" class="op-result" role="status"><%= rows.length %> baris</p></section></div><script src="/operations.js?v=8.114"></script>
<%- include('_layout_end') %>
