This commit is contained in:
geronimi73
2026-04-02 13:27:54 +02:00
committed by Thomas Krijnen
parent 0f7f960b29
commit fcbec74521
2 changed files with 16 additions and 1 deletions
+4
View File
@@ -61,6 +61,10 @@ function setBusy(isBusy, reason = "") {
browseBtn.tabIndex = isBusy ? -1 : 0;
}
sendBtn.innerHTML = isBusy
? `<span class="spinner"></span>`
: `Send <span class="material-icons">send</span>`;
setStatus(isBusy ? (reason || "Working…") : "Ready");
}
+12 -1
View File
@@ -113,7 +113,18 @@
border-radius: 20px;
padding: 10px;
display: flex;
width: 50%;
width: 100%;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
width: 18px;
height: 18px;
border: 2px solid #aaa;
border-top-color: #333;
border-radius: 50%;
animation: spin 0.7s linear infinite;
display: inline-block;
}
.status {