Skip to content

Commit

Permalink
Made xlwings Lite loading alert slightly nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
fzumstein committed Dec 8, 2024
1 parent 792c63c commit a029e78
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/static/js/core/xlwingsjs/xlwings.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ export function init() {
const globalStatusAlert = document.querySelector("#global-status-alert");
if (globalStatusAlert) {
globalStatusAlert.classList.remove("d-none");
globalStatusAlert.querySelector("span").textContent = "Loading Python...";
globalStatusAlert.querySelector("span").innerHTML = `
<div class="spinner-border spinner-border-sm text-alert me-1" role="status">
<span class="visually-hidden">Loading...</span>
</div>
Loading...
`;
}
}

Expand Down

0 comments on commit a029e78

Please sign in to comment.