mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 19:46:18 +00:00
Update AppImage
This commit is contained in:
@@ -137,16 +137,13 @@ export function ProxmoxDashboard() {
|
|||||||
const currentScrollY = window.scrollY
|
const currentScrollY = window.scrollY
|
||||||
const delta = currentScrollY - lastPosition
|
const delta = currentScrollY - lastPosition
|
||||||
|
|
||||||
// Siempre visible al principio
|
|
||||||
if (currentScrollY < 50) {
|
if (currentScrollY < 50) {
|
||||||
setShowNavigation(true)
|
setShowNavigation(true)
|
||||||
}
|
}
|
||||||
// Oculta en cuanto se detecta desplazamiento hacia abajo
|
|
||||||
else if (delta > 2) {
|
else if (delta > 2) {
|
||||||
if (hideTimeout) clearTimeout(hideTimeout)
|
if (hideTimeout) clearTimeout(hideTimeout)
|
||||||
hideTimeout = setTimeout(() => setShowNavigation(false), 20)
|
hideTimeout = setTimeout(() => setShowNavigation(false), 20)
|
||||||
}
|
}
|
||||||
// Muestra al mover un poco hacia arriba
|
|
||||||
else if (delta < -2) {
|
else if (delta < -2) {
|
||||||
if (hideTimeout) clearTimeout(hideTimeout)
|
if (hideTimeout) clearTimeout(hideTimeout)
|
||||||
setShowNavigation(true)
|
setShowNavigation(true)
|
||||||
|
|||||||
@@ -1516,7 +1516,7 @@ def get_network_info():
|
|||||||
bond_info = get_bond_info(interface_name)
|
bond_info = get_bond_info(interface_name)
|
||||||
interface_info['bond_mode'] = bond_info['mode']
|
interface_info['bond_mode'] = bond_info['mode']
|
||||||
interface_info['bond_slaves'] = bond_info['slaves']
|
interface_info['bond_slaves'] = bond_info['slaves']
|
||||||
interface_info['bond_active_slave'] = bond_info['bond_active_slave']
|
interface_info['bond_active_slave'] = bond_info['active_slave']
|
||||||
|
|
||||||
if interface_type == 'bridge':
|
if interface_type == 'bridge':
|
||||||
bridge_info = get_bridge_info(interface_name)
|
bridge_info = get_bridge_info(interface_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user