stlyes fixes

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-29 19:52:51 +00:00
parent c91175fdcb
commit 4f7ab9c606
155 changed files with 1576 additions and 2489 deletions

View File

@@ -221,7 +221,7 @@ const AutomationPage: React.FC = () => {
<div className="text-sm text-gray-600 dark:text-gray-400">Status</div>
<div className="font-semibold mt-1">
{config.is_enabled ? (
<span className="text-green-600 dark:text-green-400"> Enabled</span>
<span className="text-success-600 dark:text-success-400"> Enabled</span>
) : (
<span className="text-gray-600 dark:text-gray-400"> Disabled</span>
)}
@@ -246,7 +246,7 @@ const AutomationPage: React.FC = () => {
<div className="font-semibold mt-1">
{estimate?.estimated_credits || 0} credits
{estimate && !estimate.sufficient && (
<span className="text-red-600 dark:text-red-400 ml-2">(Insufficient)</span>
<span className="text-error-600 dark:text-error-400 ml-2">(Insufficient)</span>
)}
</div>
</div>
@@ -301,7 +301,7 @@ const AutomationPage: React.FC = () => {
<div className="text-sm text-gray-600 dark:text-gray-400">
{currentRun ? (
<>
<span className="font-semibold text-blue-600 dark:text-blue-400"> Live Run Active</span> - Stage {currentRun.current_stage} of 7
<span className="font-semibold text-brand-600 dark:text-brand-400"> Live Run Active</span> - Stage {currentRun.current_stage} of 7
</>
) : (
<>
@@ -339,10 +339,10 @@ const AutomationPage: React.FC = () => {
<div>
<div className="text-sm text-gray-600 dark:text-gray-400">Status</div>
<div className="font-semibold mt-1 capitalize">
{currentRun.status === 'running' && <span className="text-blue-600 dark:text-blue-400"> {currentRun.status}</span>}
{currentRun.status === 'paused' && <span className="text-yellow-600 dark:text-yellow-400"> {currentRun.status}</span>}
{currentRun.status === 'completed' && <span className="text-green-600 dark:text-green-400"> {currentRun.status}</span>}
{currentRun.status === 'failed' && <span className="text-red-600 dark:text-red-400"> {currentRun.status}</span>}
{currentRun.status === 'running' && <span className="text-brand-600 dark:text-brand-400"> {currentRun.status}</span>}
{currentRun.status === 'paused' && <span className="text-warning-600 dark:text-warning-400"> {currentRun.status}</span>}
{currentRun.status === 'completed' && <span className="text-success-600 dark:text-success-400"> {currentRun.status}</span>}
{currentRun.status === 'failed' && <span className="text-error-600 dark:text-error-400"> {currentRun.status}</span>}
</div>
</div>
<div>