refactor: streamline Svelte components and enhance user feedback
- Refactored multiple Svelte components, including AprovarAusencias, AprovarFerias, and ErrorModal, to improve code clarity and maintainability. - Updated modal interactions and error handling messages for better user feedback. - Cleaned up component structures and standardized formatting for consistency across the codebase. - Enhanced styling and layout adjustments to align with the new design system.
This commit is contained in:
@@ -286,7 +286,7 @@
|
||||
|
||||
<!-- Botões -->
|
||||
<div class="card-actions mt-4 justify-end">
|
||||
<button type="button" class="btn btn-ghost" onclick={resetForm} disabled={saving}>
|
||||
<button type="button" class="btn" onclick={resetForm} disabled={saving}>
|
||||
Cancelar
|
||||
</button>
|
||||
<button
|
||||
@@ -404,7 +404,7 @@
|
||||
<button
|
||||
title="Editar Alerta"
|
||||
type="button"
|
||||
class="btn btn-ghost btn-xs"
|
||||
class="btn btn-xs"
|
||||
onclick={() => editAlert(alerta)}
|
||||
>
|
||||
<svg
|
||||
@@ -425,7 +425,7 @@
|
||||
<button
|
||||
title="Deletar Alerta"
|
||||
type="button"
|
||||
class="btn btn-ghost btn-xs text-error"
|
||||
class="btn btn-xs text-error"
|
||||
onclick={() => deleteAlert(alerta._id)}
|
||||
>
|
||||
<svg
|
||||
|
||||
Reference in New Issue
Block a user