mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-08-25 11:33:17 +02:00
Arreglo visual página principal
This commit is contained in:
parent
cf862e56c7
commit
d44b3c733e
4 changed files with 14 additions and 10 deletions
Binary file not shown.
|
|
@ -125,7 +125,11 @@ USE_TZ = True
|
|||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/6.0/howto/static-files/
|
||||
|
||||
STATIC_URL = 'static/'
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / "static",
|
||||
]
|
||||
|
||||
AUTH_USER_MODEL = 'users.CustomUser'
|
||||
|
||||
|
|
|
|||
|
|
@ -12,13 +12,12 @@
|
|||
|
||||
{% block extra_head %}{% endblock extra_head %}
|
||||
</head>
|
||||
<body class="bg-light text-dark">
|
||||
<body class="bg-light text-dark overflow-x-hidden d-flex flex-column min-vh-100">
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top shadow-sm">
|
||||
<nav class="navbar navbar-expand-xl navbar-dark bg-dark sticky-top shadow-sm">
|
||||
<div class="container-fluid px-4">
|
||||
<a class="navbar-brand d-flex align-items-center" href="#">
|
||||
<img src="{% static 'images/logo_gades.png' %}" alt="Logo Gades" height="40" class="me-2">
|
||||
<span class="fw-bold tracking-wider">GADES MANAGER</span>
|
||||
</a>
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
|
|
@ -88,12 +87,12 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="container-fluid py-4 px-4" style="min-height: 87.15vh;">
|
||||
<main class="container-fluid py-4 px-4" style="min-height: calc(100vh - 140px);">
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
</main>
|
||||
|
||||
<footer class="bg-dark text-white text-center py-3 mt-auto border-top border-secondary">
|
||||
<footer class="bg-dark text-white text-center py-2 mt-auto border-top border-secondary">
|
||||
<p class="mb-0 small">© 2026 Formula Gades - Universidad de Cádiz. Todos los derechos reservados.</p>
|
||||
</footer>
|
||||
|
||||
|
|
|
|||
|
|
@ -20,15 +20,16 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row align-items-center g-4">
|
||||
<div class="row g-4">
|
||||
|
||||
<div class="col-12 col-lg-7 text-center">
|
||||
<div class="col-12 col-lg-8 text-center">
|
||||
<div class="shadow rounded-3 overflow-hidden">
|
||||
<img src="{% static 'images/monoplaza_gades.jpg' %}" alt="Monoplaza Formula Gades" class="img-fluid rounded-3 d-block mx-auto">
|
||||
<img src="{% static 'images/monoplaza_gades.jpg' %}" alt="Monoplaza Formula Gades" class="img-fluid rounded-3 d-block mx-auto"
|
||||
style=" width: 100%; max-height: 70vh; object-fit: cover; ">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-lg-5">
|
||||
<div class="col-12 col-lg-4">
|
||||
<div class="row g-3">
|
||||
|
||||
{% if user.rol != 'directiva' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue