diff --git a/templates/browser/main.html.twig b/templates/browser/main.html.twig index 0a96ca8..17c515d 100644 --- a/templates/browser/main.html.twig +++ b/templates/browser/main.html.twig @@ -42,7 +42,7 @@ .navbar { background: #1e293b; - padding: 2rem 2rem; + padding: 1.5rem 2rem; position: fixed; width: 100%; top: 0; @@ -54,6 +54,59 @@ backdrop-filter: blur(10px); } + .navbar-brand { + display: flex; + align-items: center; + } + + .navbar-brand h1 { + font-size: 1.5rem; + font-weight: 700; + color: white; + margin: 0; + } + + .navbar-actions { + display: flex; + gap: 1rem; + align-items: center; + } + + .action-btn { + background: rgba(255, 255, 255, 0.1); + color: white; + border: 1px solid rgba(255, 255, 255, 0.2); + padding: 0.75rem 1.25rem; + border-radius: 25px; + text-decoration: none; + font-weight: 500; + font-size: 0.9rem; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + display: flex; + align-items: center; + gap: 0.5rem; + backdrop-filter: blur(10px); + } + + .action-btn:hover { + background: rgba(255, 255, 255, 0.2); + transform: translateY(-2px); + box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); + } + + .action-btn.danger { + background: rgba(220, 38, 38, 0.2); + border-color: rgba(220, 38, 38, 0.4); + } + + .action-btn.danger:hover { + background: rgba(220, 38, 38, 0.3); + } + + .action-btn i { + font-size: 0.9rem; + } + .main-container { margin-top: 7rem; padding: 2rem; @@ -77,9 +130,12 @@ .menu-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-bottom: 2rem; + max-width: 800px; + margin-left: auto; + margin-right: auto; } .menu-item { @@ -392,6 +448,19 @@
@@ -400,128 +469,9 @@

Bienvenido {{ ip }}

- -

Particiones del sistema

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DiscoParticiónTamañoTipoSOAcciones
sda1512.00 MBext4Ubuntu 22.04 - - - Arrancar Ubuntu 22.04 - -
sda21024.00 MBntfsWindows 11 - - - Arrancar Windows 11 - -
sda3256.00 MBswap- - -
sdb12048.00 MBext4Debian 12 - - - Arrancar Debian 12 - -
sdb2512.00 MBfat32- - -
-
- - - {# {% if partitions|length > 0 %}
@@ -538,11 +488,11 @@ {% for partition in partitions %} - - - - - + + + + +
{{ partition.diskNumber }}{{ partition.partitionNumber }}{{ (partition.size / 1024)|number_format(2) }} MB{{ partition.filesystem }}{{ partition.operativeSystem ? partition.operativeSystem.name : '-' }}{{ partition.diskNumber }}{{ partition.partitionNumber }}{{ (partition.size / 1024)|number_format(2) }} MB{{ partition.filesystem }}{{ partition.operativeSystem ? partition.operativeSystem.name : '-' }} {% if partition.operativeSystem %} No hay particiones disponibles.

{% endif %} - #}