fix: update timeout warning message and missing labels
continuous-integration/webhook Deploy concluído (VPS4)
continuous-integration/webhook Deploy concluído (VPS4)
This commit is contained in:
@@ -1 +1 @@
|
||||
2.1.65
|
||||
2.1.67
|
||||
|
||||
@@ -81,7 +81,7 @@ export default function UserManagementModal({ isOpen, onClose }) {
|
||||
<input id="new-user-password" name="password" type="password" required placeholder="Senha de acesso" autoComplete="new-password" value={password} onChange={(e) => setPassword(e.target.value)} />
|
||||
</div>
|
||||
<div className="form-group" style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
|
||||
<input type="checkbox" id="new_is_admin" checked={isAdmin} onChange={(e) => setIsAdmin(e.target.checked)} style={{ width: 16, height: 16 }} />
|
||||
<input type="checkbox" id="new_is_admin" name="isAdmin" checked={isAdmin} onChange={(e) => setIsAdmin(e.target.checked)} style={{ width: 16, height: 16 }} />
|
||||
<label htmlFor="new_is_admin" style={{ cursor: 'pointer', margin: 0 }}>Permissão de Administrador</label>
|
||||
</div>
|
||||
<button type="submit" className="btn btn-primary" style={{ width: '100%', marginTop: 8 }} disabled={creating}>
|
||||
|
||||
@@ -69,10 +69,12 @@ export default function ResetPage() {
|
||||
|
||||
<div style={{ background: 'white', borderRadius: 12, padding: 28, border: '1px solid var(--border-color)', boxShadow: 'var(--shadow)' }}>
|
||||
<h3 style={{ marginBottom: 16 }}>Confirme a ação</h3>
|
||||
<p style={{ marginBottom: 16, color: 'var(--text-secondary)' }}>
|
||||
<label htmlFor="confirm-reset-input" style={{ marginBottom: 16, color: 'var(--text-secondary)', display: 'block' }}>
|
||||
Digite <strong>CONFIRMAR</strong> no campo abaixo para habilitar o botão de reset:
|
||||
</p>
|
||||
</label>
|
||||
<input
|
||||
id="confirm-reset-input"
|
||||
name="confirmReset"
|
||||
type="text"
|
||||
className="form-control"
|
||||
placeholder="Digite: CONFIRMAR"
|
||||
|
||||
@@ -36,7 +36,7 @@ async function emitAndAwaitAck(io, action, payload) {
|
||||
} else if (result && !result.success) {
|
||||
return { success: true, warning: `Erro no app Windows (${result.pcName || 'Desconhecido'}): ${result.error || 'Erro local'}` };
|
||||
} else {
|
||||
return { success: true, warning: 'Salvo na nuvem, porém o App Windows não respondeu. Verifique se o PC está ligado e conectado.' };
|
||||
return { success: true, warning: 'Salvo na nuvem, porém o App Windows não respondeu. Verifique o PC do app client Windows ou nome do PC - o app pode estar atualizando, o PC desligado, o app fechado ou sem internet no PC ou clínica.' };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
2.1.66
|
||||
2.1.67
|
||||
|
||||
Reference in New Issue
Block a user