Correxiones sintaxis
This commit is contained in:
@@ -193,18 +193,18 @@
|
||||
</div>
|
||||
<div class="col-md-2 form-group-animated">
|
||||
<div class="form-floating-custom">
|
||||
<input name="password" type="password" class="form-control form-control input-pulse input-ripple" id="password" placeholder=" " required>
|
||||
<input name="password" type="password" class="form-control input-pulse input-ripple" id="password" placeholder=" " required>
|
||||
<label for="password" class="form-label">Contraseña *</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2 form-group-animated">
|
||||
<div class="form-floating-custom">
|
||||
<select name="tipo_usuario" class="form-select select-pulse select-gradient select-arrow-rotate select-status" required>
|
||||
<option value="">Tipo</option>
|
||||
<select name="tipo_usuario" id="tipo" class="form-select select-pulse select-gradient select-arrow-rotate select-status" required>
|
||||
<option value=""></option>
|
||||
<option value="super_admin">Administrador General</option>
|
||||
<option value="importador">Importador</option>
|
||||
</select>
|
||||
<label for="tipo_usuario" class="form_label"></label>
|
||||
<label for="tipo" class="form-label">Tipo</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -233,10 +233,10 @@
|
||||
<?php foreach ($usuarios as $u): ?>
|
||||
<tr>
|
||||
<td><?= $u['id_usuario'] ?></td>
|
||||
<td><?= htmlspecialchars(decrypt($u['nombre'])) ?></td>
|
||||
<td><?= htmlspecialchars(decrypt($u['email'])) ?></td>
|
||||
<td><?= htmlspecialchars($u['tipo_usuario']) ?></td>
|
||||
<td><?= htmlspecialchars($u['creado_por']) ?></td>
|
||||
<td><?= htmlspecialchars(decrypt($u['nombre'] ?? '')) ?></td>
|
||||
<td><?= htmlspecialchars(decrypt($u['email'] ?? '')) ?></td>
|
||||
<td><?= htmlspecialchars($u['tipo_usuario'] ?? '') ?></td>
|
||||
<td><?= htmlspecialchars(decrypt($u['nombre_creador'] ?? '')) ?></td>
|
||||
<td><?= isset($u['creado_en']) && $u['creado_en'] instanceof DateTime ? $u['creado_en']->format('Y-m-d H:i') : '' ?></td>
|
||||
<td>
|
||||
<?php if (isset($u['activo']) && $u['activo'] == 1): ?>
|
||||
@@ -264,7 +264,7 @@
|
||||
|
||||
// Script para manejar las animaciones de validación
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const inputs = document.querySelectorAll('.form-control');
|
||||
const inputs = document.querySelectorAll('input.form-control, select.form_select');
|
||||
|
||||
inputs.forEach(input => {
|
||||
// Validación en tiempo real
|
||||
|
||||
Reference in New Issue
Block a user