Avances bitácoras
This commit is contained in:
@@ -52,17 +52,17 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($bitacoras as $b): ?>
|
||||
<?php foreach ($registros as $r): ?>
|
||||
<tr>
|
||||
<td><?= htmlspecialchars($b['id_usuario']) ?></td>
|
||||
<td><?= htmlspecialchars($b['nombre']) ?></td>
|
||||
<td><?= htmlspecialchars($b['email']) ?></td>
|
||||
<td><?= htmlspecialchars($b['ip']) ?></td>
|
||||
<td><?= $b['fecha']->format('Y-m-d H:i:s') ?></td>
|
||||
<td><?= htmlspecialchars($r['id_usuario'] ?? '') ?></td>
|
||||
<td><?= htmlspecialchars(decrypt($r['nombre'] ?? '')) ?></td>
|
||||
<td><?= htmlspecialchars($r['email'] ?? '') ?></td>
|
||||
<td><?= htmlspecialchars($r['ip'] ?? '') ?></td>
|
||||
<td><?= $r['fecha']->format('Y-m-d H:i:s') ?></td>
|
||||
<td>
|
||||
<?= $b['exito'] == 1 ? 'Éxito' : 'Fallido' ?>
|
||||
<?= $r['exito'] == 1 ? 'Éxito' : 'Fallido' ?>
|
||||
</td>
|
||||
<td><?= htmlspecialchars($b['detalle']) ?></td>
|
||||
<td><?= htmlspecialchars($r['detalle']) ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
@@ -74,6 +74,7 @@
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('#tabla-logins').DataTable({
|
||||
order: [],
|
||||
language: {
|
||||
url: 'https://cdn.datatables.net/plug-ins/1.13.4/i18n/es-ES.json'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user