<?= $this->extend('layouts/app') ?>

<?= $this->section('content') ?>

<h3>History Restore</h3>

<table class="table table-bordered table-striped">

<thead>

<tr>

<th>ID</th>

<th>Nama File</th>

<th>User</th>

<th>Tanggal Restore</th>

<th>Status</th>

</tr>

</thead>

<tbody>

<?php if(empty($restores)): ?>

<tr>

<td colspan="5" class="text-center">

Belum ada data restore.

</td>

</tr>

<?php endif; ?>

<?php foreach($restores as $restore): ?>

<tr>

<td><?= $restore['id_restore'] ?></td>

<td><?= esc($restore['filename']) ?></td>

<td><?= esc($restore['nama_lengkap']) ?></td>

<td><?= $restore['restore_date'] ?></td>

<td>

<?= esc($restore['status']) ?>

</td>

</tr>

<?php endforeach; ?>

</tbody>

</table>

<?= $this->endSection() ?>