Merge pull request #347 from cmdr2/task_manager

Cosmetic tweaks to loading status
This commit is contained in:
cmdr2 2022-10-17 18:05:29 +05:30 committed by GitHub
commit 1f1a0b7b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -483,7 +483,7 @@ img {
} }
.waitingTaskLabel { .waitingTaskLabel {
background:rgb(128, 89, 0); background:rgb(128, 89, 0);
border: 1px solid rgb(0, 75, 19); border: 1px solid rgb(107, 75, 0);
color:rgb(255, 242, 211) color:rgb(255, 242, 211)
} }
.secondaryButton { .secondaryButton {

View File

@ -320,10 +320,10 @@ async function healthCheck() {
setServerStatus('online', 'ready') setServerStatus('online', 'ready')
break break
case 'LoadingModel': case 'LoadingModel':
setServerStatus('busy', 'loading model') setServerStatus('busy', 'loading..')
break break
case 'Rendering': case 'Rendering':
setServerStatus('busy', 'rendering') setServerStatus('busy', 'rendering..')
break break
default: // Unavailable default: // Unavailable
setServerStatus('error', serverState.status.toLowerCase()) setServerStatus('error', serverState.status.toLowerCase())