corregir css y comentarios
This commit is contained in:
parent
873c8851b5
commit
ac9796d710
|
|
@ -77,7 +77,7 @@ body {
|
|||
APP: KIWIX
|
||||
========================================= */
|
||||
.collapse-btn-container { opacity: 0; transition: opacity 0.3s ease-in-out; text-align: center; margin-top: -10px; margin-bottom: 20px;}
|
||||
#terminal-container:hover .collapse-btn-container { opacity: 1; }
|
||||
#terminal-container:hover .collapse-btn-container, #maps-terminal-container:hover .collapse-btn-container { opacity: 1; }
|
||||
|
||||
.filter-active { background-color: #198754 !important; color: white !important; border-color: #198754 !important;}
|
||||
.filter-inactive { background-color: transparent !important; color: #198754 !important; border-color: #198754 !important;}
|
||||
|
|
@ -96,7 +96,7 @@ body {
|
|||
}
|
||||
|
||||
/* =========================================
|
||||
NEW: MOBILE SPACING (CARD EXPERIENCE)
|
||||
MOBILE SPACING (CARD EXPERIENCE)
|
||||
========================================= */
|
||||
/* 1. Add margins to the main container to separate it from the phone edges */
|
||||
.app-panel {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ async function getKiwixCatalog() {
|
|||
export const handleKiwixEvents = (socket: Socket) => {
|
||||
let downloadProcess: ChildProcess | null = null;
|
||||
let indexProcess: ChildProcess | null = null;
|
||||
let currentDownloads: string[] = []; // <-- NEW: Memory of what we are currently downloading
|
||||
let currentDownloads: string[] = [];
|
||||
|
||||
socket.on('request_kiwix_catalog', async () => {
|
||||
socket.emit('kiwix_status', { message: 'Synchronizing catalog with local disk...' });
|
||||
|
|
@ -125,7 +125,7 @@ export const handleKiwixEvents = (socket: Socket) => {
|
|||
});
|
||||
});
|
||||
|
||||
// NEW: PANIC BUTTON (Cancel Download)
|
||||
// CANCEL DOWNLOAD BUTTON
|
||||
socket.on('cancel_kiwix_download', () => {
|
||||
if (downloadProcess) {
|
||||
socket.emit('kiwix_terminal_output', '\n[System] 🛑 ABORTING: Killing Aria2c process...\n');
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@
|
|||
document.getElementById('btn-yes').addEventListener('click', () => sendYN('y'));
|
||||
document.getElementById('btn-no').addEventListener('click', () => sendYN('n'));
|
||||
|
||||
// B. Card Catalog Logic (New UI)
|
||||
// B. Card Catalog Logic
|
||||
let mapsInMemory = [];
|
||||
const mapsContainer = document.getElementById('maps-container');
|
||||
const mapsStatus = document.getElementById('maps-status');
|
||||
|
|
|
|||
Loading…
Reference in New Issue