cleanup: ungenutzte CSS-Klassen entfernt, sp-loading restyled

- .font-sm und .semi-transparent Utility-Klassen entfernt (nirgends verwendet)
- .sp-loading: code-Block mit eigenem Styling statt opacity
- modals.js: font-sm/semi-transparent Klassen aus Remote-Modal entfernt
This commit is contained in:
Meleki committed 2026-03-15 10:57:20 +01:00
1 parent ab64a843fc
commit 24c0c79a64
3 files changed
+10 -6

No files matched your search

+1 -2
View File
@@ -326,7 +326,7 @@ async function showRemoteModal(sessionId) {
var empty = document.createElement('div');
empty.className = 'sp-loading';
empty.innerHTML = 'Keine Remote-Verbindungen aktiv.<br><br>' +
'<span class="font-sm semi-transparent">Auf dem Windows-PC ausführen:<br>' +
'<span>Auf dem Windows-PC ausführen:<br>' +
'<code>irm ' + esc(location.origin) + '/remote | iex</code></span>';
body.appendChild(empty);
return;
@@ -371,7 +371,6 @@ async function showRemoteModal(sessionId) {
} else if (isAssignedOther) {
btn.textContent = 'Andere Session';
btn.disabled = true;
btn.classList.add('semi-transparent');
} else {
btn.textContent = 'Verbinden';
btn.classList.add('text-primary');