Browse Source

Cada app tiene su menu personalizado

politica
Celestino Rey 1 year ago
parent
commit
f9d8c1c9f2
28 changed files with 232 additions and 121 deletions
  1. +7
    -12
      ReyMotaAppsDj/reymota/templates/base.html
  2. +21
    -0
      ReyMotaAppsDj/reymota/templates/libros/_menu-libros.html
  3. +6
    -0
      ReyMotaAppsDj/reymota/templates/libros/detalle_autor.html
  4. +6
    -1
      ReyMotaAppsDj/reymota/templates/libros/detalle_libro.html
  5. +6
    -0
      ReyMotaAppsDj/reymota/templates/libros/form_autor.html
  6. +6
    -0
      ReyMotaAppsDj/reymota/templates/libros/form_libro.html
  7. +7
    -38
      ReyMotaAppsDj/reymota/templates/libros/index.html
  8. +7
    -1
      ReyMotaAppsDj/reymota/templates/libros/lista_autores.html
  9. +6
    -1
      ReyMotaAppsDj/reymota/templates/libros/lista_libros.html
  10. +34
    -0
      ReyMotaAppsDj/reymota/templates/lyrics/_menu-lyrics.html
  11. +6
    -1
      ReyMotaAppsDj/reymota/templates/lyrics/detalle_album.html
  12. +6
    -0
      ReyMotaAppsDj/reymota/templates/lyrics/detalle_artista.html
  13. +6
    -1
      ReyMotaAppsDj/reymota/templates/lyrics/detalle_song.html
  14. +6
    -0
      ReyMotaAppsDj/reymota/templates/lyrics/form_album.html
  15. +6
    -0
      ReyMotaAppsDj/reymota/templates/lyrics/form_artista.html
  16. +6
    -0
      ReyMotaAppsDj/reymota/templates/lyrics/form_song.html
  17. +6
    -37
      ReyMotaAppsDj/reymota/templates/lyrics/index.html
  18. +6
    -1
      ReyMotaAppsDj/reymota/templates/lyrics/lista_albumes.html
  19. +6
    -0
      ReyMotaAppsDj/reymota/templates/lyrics/lista_artistas.html
  20. +7
    -2
      ReyMotaAppsDj/reymota/templates/lyrics/lista_songs.html
  21. +23
    -0
      ReyMotaAppsDj/reymota/templates/repostajes/_menu-repostajes.html
  22. +6
    -1
      ReyMotaAppsDj/reymota/templates/repostajes/detalle_repostaje.html
  23. +6
    -0
      ReyMotaAppsDj/reymota/templates/repostajes/detalle_vehiculo.html
  24. +6
    -0
      ReyMotaAppsDj/reymota/templates/repostajes/form_repostaje.html
  25. +6
    -0
      ReyMotaAppsDj/reymota/templates/repostajes/form_vehiculo.html
  26. +6
    -24
      ReyMotaAppsDj/reymota/templates/repostajes/index.html
  27. +6
    -1
      ReyMotaAppsDj/reymota/templates/repostajes/lista_repostajes.html
  28. +6
    -0
      ReyMotaAppsDj/reymota/templates/repostajes/lista_vehiculos.html

+ 7
- 12
ReyMotaAppsDj/reymota/templates/base.html View File

@ -15,19 +15,14 @@
</a> </a>
</div><!--//col--> </div><!--//col-->
{% block menuapp %}
<div class="search-mobile-trigger d-sm-none col">
<i class="search-mobile-trigger-icon fa-solid fa-magnifying-glass"></i>
</div><!--//col-->
<div class="app-search-box col">
<form class="app-search-form">
<input type="text" placeholder="Busca..." name="search" class="form-control search-input">
<button type="submit" class="btn search-btn btn-primary" value="Search"><i class="fa-solid fa-magnifying-glass"></i></button>
</form>
</div><!--//app-search-box-->
{% endblock menuapp %}
<div class="app-utilities col-auto"> <div class="app-utilities col-auto">
{% block menuapp %}
<div class="app-utility-item app-user-dropdown dropdown">
</div>
{% endblock menuapp %}
<div class="app-utility-item app-user-dropdown dropdown"> <div class="app-utility-item app-user-dropdown dropdown">
{% if user.is_authenticated %} {% if user.is_authenticated %}
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false"><img src=" {{user.foto.url }}"></a> <a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false"><img src=" {{user.foto.url }}"></a>


+ 21
- 0
ReyMotaAppsDj/reymota/templates/libros/_menu-libros.html View File

@ -0,0 +1,21 @@
<div class="app-utility-item app-user-dropdown dropdown">
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Autores</a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li>
<a class="dropdown-item" href="{% url 'libros:lista_autores' %}">Ver</a>
</li>
</ul>
</div><!--//app-utility-item-->
<div class="app-utility-item app-user-dropdown dropdown">
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Libros</a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li>
<a class="dropdown-item" href="{% url 'libros:lista_libros' %}">Ver</a>
</li>
</ul>
</div><!--//app-utility-item-->

+ 6
- 0
ReyMotaAppsDj/reymota/templates/libros/detalle_autor.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'libros/_menu-libros.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="app-card app-card-notification shadow-sm mb-4"> <div class="app-card app-card-notification shadow-sm mb-4">


+ 6
- 1
ReyMotaAppsDj/reymota/templates/libros/detalle_libro.html View File

@ -1,6 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'libros/_menu-libros.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="app-card app-card-notification shadow-sm mb-4"> <div class="app-card app-card-notification shadow-sm mb-4">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/libros/form_autor.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'libros/_menu-libros.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="column is-4 is-offset-4"> <div class="column is-4 is-offset-4">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/libros/form_libro.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'libros/_menu-libros.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="column is-4 is-offset-4"> <div class="column is-4 is-offset-4">
<h3>{% if form.instance.pk %}Editar Libro{% else %}Nuevo Libro{% endif %}</h3> <h3>{% if form.instance.pk %}Editar Libro{% else %}Nuevo Libro{% endif %}</h3>


+ 7
- 38
ReyMotaAppsDj/reymota/templates/libros/index.html View File

@ -1,64 +1,33 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %} {% block menuapp %}
<div class="search-mobile-trigger d-sm-none col">
<i class="search-mobile-trigger-icon fa-solid fa-magnifying-glass"></i>
</div><!--//col-->
<div class="app-search-box col">
<form class="app-search-form">
<input type="text" placeholder="Busca, busca..." name="search" class="form-control search-input">
<button type="submit" class="btn search-btn btn-primary" value="Search"><i class="fa-solid fa-magnifying-glass"></i></button>
</form>
</div><!--//app-search-box-->
{% endblock %}
{% include 'libros/_menu-libros.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<h1 class="app-page-title">Introducción</h1> <h1 class="app-page-title">Introducción</h1>
<div class="app-card alert alert-dismissible shadow-sm mb-4 border-left-decoration" role="alert"> <div class="app-card alert alert-dismissible shadow-sm mb-4 border-left-decoration" role="alert">
<div class="inner"> <div class="inner">
<div class="app-card-body p-3 p-lg-4"> <div class="app-card-body p-3 p-lg-4">
<h3 class="mb-3">¡Bienvenido a la colección de libros!</h3>
<h3 class="mb-3">¡Bienvenido a la gestión de letras!</h3>
<div class="row gx-5 gy-3"> <div class="row gx-5 gy-3">
<!-- <!--
<div class="col-12 col-lg-9"> <div class="col-12 col-lg-9">
<div>Pensado inicialmente para guardar las letras de las canciones de Bruce Springsteen.</div> <div>Pensado inicialmente para guardar las letras de las canciones de Bruce Springsteen.</div>
</div>--><!--//col--> </div>--><!--//col-->
</div><!--//row--> </div><!--//row-->
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div><!--//app-card-body-->
</div><!--//app-card-body-->
</div><!--//inner--> </div><!--//inner-->
</div><!--//app-card--> </div><!--//app-card-->
<div class="row g-4 mb-4">
<div class="col-lg-4 col-md-6 d-flex align-items-stretch mt-4 mt-lg-0" data-aos="zoom-in" data-aos-delay="300">
<div class="icon-box iconbox-pink">
<div class="icon">
<svg width="100" height="100" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg">
<path stroke="none" stroke-width="0" fill="#f5f5f5" d="M300,541.5067337569781C382.14930387511276,545.0595476570109,479.8736841581634,548.3450877840088,526.4010558755058,480.5488172755941C571.5218469581645,414.80211281144784,517.5187510058486,332.0715597781072,496.52539010469104,255.14436215662573C477.37192572678356,184.95920475031193,473.57363656557914,105.61284051026155,413.0603344069578,65.22779650032875C343.27470386102294,18.654635553484475,251.2091493199835,5.337323636656869,175.0934190732945,40.62881213300186C97.87086631185822,76.43348514350839,51.98124368387456,156.15599469081315,36.44837278890362,239.84606092416172C21.716077023791087,319.22268207091537,43.775223500013084,401.1760424656574,96.891909868211,461.97329694683043C147.22146801428983,519.5804099606455,223.5754009179313,538.201503339737,300,541.5067337569781"></path>
</svg>
<i class='bx bx-bowl-hot'></i>
</div>
<h4><a href="{% url 'libros:lista_autores' %}">Autores</a></h4>
<p>Todos los autores</p>
</div>
<div class="icon-box iconbox-pink">
<div class="icon">
<svg width="100" height="100" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg">
<path stroke="none" stroke-width="0" fill="#f5f5f5" d="M300,541.5067337569781C382.14930387511276,545.0595476570109,479.8736841581634,548.3450877840088,526.4010558755058,480.5488172755941C571.5218469581645,414.80211281144784,517.5187510058486,332.0715597781072,496.52539010469104,255.14436215662573C477.37192572678356,184.95920475031193,473.57363656557914,105.61284051026155,413.0603344069578,65.22779650032875C343.27470386102294,18.654635553484475,251.2091493199835,5.337323636656869,175.0934190732945,40.62881213300186C97.87086631185822,76.43348514350839,51.98124368387456,156.15599469081315,36.44837278890362,239.84606092416172C21.716077023791087,319.22268207091537,43.775223500013084,401.1760424656574,96.891909868211,461.97329694683043C147.22146801428983,519.5804099606455,223.5754009179313,538.201503339737,300,541.5067337569781"></path>
</svg>
<i class='bx bx-bowl-hot'></i>
</div>
<h4><a href="{% url 'libros:lista_libros' %}">Libros</a></h4>
<p>Listado de libros</p>
</div>
</div>
</div><!--//row-->
</div><!--//container-fluid--> </div><!--//container-fluid-->
{% endblock %} {% endblock %}

+ 7
- 1
ReyMotaAppsDj/reymota/templates/libros/lista_autores.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'libros/_menu-libros.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
@ -68,4 +74,4 @@
{% endfor %} {% endfor %}
</div> </div>
</div><!--//container-fluid--> </div><!--//container-fluid-->
{% endblock %}
{% endblock %}

+ 6
- 1
ReyMotaAppsDj/reymota/templates/libros/lista_libros.html View File

@ -1,6 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'libros/_menu-libros.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">


+ 34
- 0
ReyMotaAppsDj/reymota/templates/lyrics/_menu-lyrics.html View File

@ -0,0 +1,34 @@
<div class="app-utility-item app-user-dropdown dropdown">
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Artistas</a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li>
<a class="dropdown-item" href="{% url 'lyrics:lista_artistas' %}">Ver</a>
</li>
</ul>
</div><!--//app-utility-item-->
<div class="app-utility-item app-user-dropdown dropdown">
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Albumes</a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li>
<a class="dropdown-item" href="{% url 'lyrics:lista_albumes' %}">Ver</a>
</li>
</ul>
</div><!--//app-utility-item-->
<div class="app-utility-item app-user-dropdown dropdown">
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Canciones</a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li>
<a class="dropdown-item" href="{% url 'lyrics:lista_songs' %}">Ver</a>
</li>
</ul>
</div><!--//app-utility-item-->

+ 6
- 1
ReyMotaAppsDj/reymota/templates/lyrics/detalle_album.html View File

@ -1,6 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="app-card app-card-notification shadow-sm mb-4"> <div class="app-card app-card-notification shadow-sm mb-4">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/lyrics/detalle_artista.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="app-card app-card-notification shadow-sm mb-4"> <div class="app-card app-card-notification shadow-sm mb-4">


+ 6
- 1
ReyMotaAppsDj/reymota/templates/lyrics/detalle_song.html View File

@ -1,6 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="app-card app-card-notification shadow-sm mb-4"> <div class="app-card app-card-notification shadow-sm mb-4">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/lyrics/form_album.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="column is-4 is-offset-4"> <div class="column is-4 is-offset-4">
<h3>{% if form.instance.pk %}Editar álbum{% else %}Nuevo álbum{% endif %}</h3> <h3>{% if form.instance.pk %}Editar álbum{% else %}Nuevo álbum{% endif %}</h3>


+ 6
- 0
ReyMotaAppsDj/reymota/templates/lyrics/form_artista.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="column is-4 is-offset-4"> <div class="column is-4 is-offset-4">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/lyrics/form_song.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="column is-4 is-offset-4"> <div class="column is-4 is-offset-4">
<h3>{% if form.instance.pk %}Editar repostaje{% else %}Nuevo repostaje{% endif %}</h3> <h3>{% if form.instance.pk %}Editar repostaje{% else %}Nuevo repostaje{% endif %}</h3>


+ 6
- 37
ReyMotaAppsDj/reymota/templates/lyrics/index.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
@ -22,43 +28,6 @@
</div><!--//inner--> </div><!--//inner-->
</div><!--//app-card--> </div><!--//app-card-->
<div class="row g-4 mb-4">
<div class="col-lg-4 col-md-6 d-flex align-items-stretch mt-4 mt-lg-0" data-aos="zoom-in" data-aos-delay="300">
<div class="icon-box iconbox-pink">
<div class="icon">
<svg width="100" height="100" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg">
<path stroke="none" stroke-width="0" fill="#f5f5f5" d="M300,541.5067337569781C382.14930387511276,545.0595476570109,479.8736841581634,548.3450877840088,526.4010558755058,480.5488172755941C571.5218469581645,414.80211281144784,517.5187510058486,332.0715597781072,496.52539010469104,255.14436215662573C477.37192572678356,184.95920475031193,473.57363656557914,105.61284051026155,413.0603344069578,65.22779650032875C343.27470386102294,18.654635553484475,251.2091493199835,5.337323636656869,175.0934190732945,40.62881213300186C97.87086631185822,76.43348514350839,51.98124368387456,156.15599469081315,36.44837278890362,239.84606092416172C21.716077023791087,319.22268207091537,43.775223500013084,401.1760424656574,96.891909868211,461.97329694683043C147.22146801428983,519.5804099606455,223.5754009179313,538.201503339737,300,541.5067337569781"></path>
</svg>
<i class='bx bx-bowl-hot'></i>
</div>
<h4><a href="{% url 'lyrics:lista_artistas' %}">Artistas</a></h4>
<p>Listado de vehículoss</p>
</div>
<div class="icon-box iconbox-pink">
<div class="icon">
<svg width="100" height="100" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg">
<path stroke="none" stroke-width="0" fill="#f5f5f5" d="M300,541.5067337569781C382.14930387511276,545.0595476570109,479.8736841581634,548.3450877840088,526.4010558755058,480.5488172755941C571.5218469581645,414.80211281144784,517.5187510058486,332.0715597781072,496.52539010469104,255.14436215662573C477.37192572678356,184.95920475031193,473.57363656557914,105.61284051026155,413.0603344069578,65.22779650032875C343.27470386102294,18.654635553484475,251.2091493199835,5.337323636656869,175.0934190732945,40.62881213300186C97.87086631185822,76.43348514350839,51.98124368387456,156.15599469081315,36.44837278890362,239.84606092416172C21.716077023791087,319.22268207091537,43.775223500013084,401.1760424656574,96.891909868211,461.97329694683043C147.22146801428983,519.5804099606455,223.5754009179313,538.201503339737,300,541.5067337569781"></path>
</svg>
<i class='bx bx-bowl-hot'></i>
</div>
<h4><a href="{% url 'lyrics:lista_albumes' %}">Álbumes</a></h4>
<p>Relación de repostajes</p>
</div>
<div class="icon-box iconbox-pink">
<div class="icon">
<svg width="100" height="100" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg">
<path stroke="none" stroke-width="0" fill="#f5f5f5" d="M300,541.5067337569781C382.14930387511276,545.0595476570109,479.8736841581634,548.3450877840088,526.4010558755058,480.5488172755941C571.5218469581645,414.80211281144784,517.5187510058486,332.0715597781072,496.52539010469104,255.14436215662573C477.37192572678356,184.95920475031193,473.57363656557914,105.61284051026155,413.0603344069578,65.22779650032875C343.27470386102294,18.654635553484475,251.2091493199835,5.337323636656869,175.0934190732945,40.62881213300186C97.87086631185822,76.43348514350839,51.98124368387456,156.15599469081315,36.44837278890362,239.84606092416172C21.716077023791087,319.22268207091537,43.775223500013084,401.1760424656574,96.891909868211,461.97329694683043C147.22146801428983,519.5804099606455,223.5754009179313,538.201503339737,300,541.5067337569781"></path>
</svg>
<i class='bx bx-bowl-hot'></i>
</div>
<h4><a href="{% url 'lyrics:lista_songs' %}">Canciones</a></h4>
<p>Listado de vehículoss</p>
</div>
</div>
</div><!--//row-->
</div><!--//container-fluid--> </div><!--//container-fluid-->
{% endblock %} {% endblock %}

+ 6
- 1
ReyMotaAppsDj/reymota/templates/lyrics/lista_albumes.html View File

@ -1,6 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="row g-3 mb-4 align-items-center justify-content-between"> <div class="row g-3 mb-4 align-items-center justify-content-between">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/lyrics/lista_artistas.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">


+ 7
- 2
ReyMotaAppsDj/reymota/templates/lyrics/lista_songs.html View File

@ -1,11 +1,16 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'lyrics/_menu-lyrics.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="row g-3 mb-4 align-items-center justify-content-between"> <div class="row g-3 mb-4 align-items-center justify-content-between">
<div class="col-auto"> <div class="col-auto">
<h1 class="app-page-title mb-0">Repostajes</h1>
<h1 class="app-page-title mb-0">Canciones</h1>
</div> </div>
</div><!--//row--> </div><!--//row-->
<div class="col-auto"> <div class="col-auto">


+ 23
- 0
ReyMotaAppsDj/reymota/templates/repostajes/_menu-repostajes.html View File

@ -0,0 +1,23 @@
<div class="app-utility-item app-user-dropdown dropdown">
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Vehiculos</a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li>
<a class="dropdown-item" href="{% url 'repostajes:lista_vehiculos' %}">Ver</a>
</li>
</ul>
</div><!--//app-utility-item-->
<div class="app-utility-item app-user-dropdown dropdown">
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Repostajes</a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li>
<a class="dropdown-item" href="{% url 'repostajes:lista_repostajes' %}">Ver</a>
</li>
</ul>
</div><!--//app-utility-item-->

+ 6
- 1
ReyMotaAppsDj/reymota/templates/repostajes/detalle_repostaje.html View File

@ -1,6 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'repostajes/_menu-repostajes.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="app-card app-card-notification shadow-sm mb-4"> <div class="app-card app-card-notification shadow-sm mb-4">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/repostajes/detalle_vehiculo.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'repostajes/_menu-repostajes.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="app-card app-card-notification shadow-sm mb-4"> <div class="app-card app-card-notification shadow-sm mb-4">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/repostajes/form_repostaje.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'repostajes/_menu-repostajes.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="column is-4 is-offset-4"> <div class="column is-4 is-offset-4">
<h3>{% if form.instance.pk %}Editar repostaje{% else %}Nuevo repostaje{% endif %}</h3> <h3>{% if form.instance.pk %}Editar repostaje{% else %}Nuevo repostaje{% endif %}</h3>


+ 6
- 0
ReyMotaAppsDj/reymota/templates/repostajes/form_vehiculo.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'repostajes/_menu-repostajes.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="column is-4 is-offset-4"> <div class="column is-4 is-offset-4">


+ 6
- 24
ReyMotaAppsDj/reymota/templates/repostajes/index.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'repostajes/_menu-repostajes.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
@ -22,30 +28,6 @@
</div><!--//inner--> </div><!--//inner-->
</div><!--//app-card--> </div><!--//app-card-->
<div class="row g-4 mb-4">
<div class="col-lg-4 col-md-6 d-flex align-items-stretch mt-4 mt-lg-0" data-aos="zoom-in" data-aos-delay="300">
<div class="icon-box iconbox-pink">
<div class="icon">
<svg width="100" height="100" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg">
<path stroke="none" stroke-width="0" fill="#f5f5f5" d="M300,541.5067337569781C382.14930387511276,545.0595476570109,479.8736841581634,548.3450877840088,526.4010558755058,480.5488172755941C571.5218469581645,414.80211281144784,517.5187510058486,332.0715597781072,496.52539010469104,255.14436215662573C477.37192572678356,184.95920475031193,473.57363656557914,105.61284051026155,413.0603344069578,65.22779650032875C343.27470386102294,18.654635553484475,251.2091493199835,5.337323636656869,175.0934190732945,40.62881213300186C97.87086631185822,76.43348514350839,51.98124368387456,156.15599469081315,36.44837278890362,239.84606092416172C21.716077023791087,319.22268207091537,43.775223500013084,401.1760424656574,96.891909868211,461.97329694683043C147.22146801428983,519.5804099606455,223.5754009179313,538.201503339737,300,541.5067337569781"></path>
</svg>
<i class='bx bx-bowl-hot'></i>
</div>
<h4><a href="{% url 'repostajes:lista_vehiculos' %}">Vehículos</a></h4>
<p>Listado de vehículoss</p>
</div>
<div class="icon-box iconbox-pink">
<div class="icon">
<svg width="100" height="100" viewBox="0 0 600 600" xmlns="http://www.w3.org/2000/svg">
<path stroke="none" stroke-width="0" fill="#f5f5f5" d="M300,541.5067337569781C382.14930387511276,545.0595476570109,479.8736841581634,548.3450877840088,526.4010558755058,480.5488172755941C571.5218469581645,414.80211281144784,517.5187510058486,332.0715597781072,496.52539010469104,255.14436215662573C477.37192572678356,184.95920475031193,473.57363656557914,105.61284051026155,413.0603344069578,65.22779650032875C343.27470386102294,18.654635553484475,251.2091493199835,5.337323636656869,175.0934190732945,40.62881213300186C97.87086631185822,76.43348514350839,51.98124368387456,156.15599469081315,36.44837278890362,239.84606092416172C21.716077023791087,319.22268207091537,43.775223500013084,401.1760424656574,96.891909868211,461.97329694683043C147.22146801428983,519.5804099606455,223.5754009179313,538.201503339737,300,541.5067337569781"></path>
</svg>
<i class='bx bx-bowl-hot'></i>
</div>
<h4><a href="{% url 'repostajes:lista_repostajes' %}">Repostajes</a></h4>
<p>Relación de repostajes</p>
</div>
</div>
</div><!--//row-->
</div><!--//container-fluid--> </div><!--//container-fluid-->
{% endblock %} {% endblock %}

+ 6
- 1
ReyMotaAppsDj/reymota/templates/repostajes/lista_repostajes.html View File

@ -1,6 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'repostajes/_menu-repostajes.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">
<div class="row g-3 mb-4 align-items-center justify-content-between"> <div class="row g-3 mb-4 align-items-center justify-content-between">


+ 6
- 0
ReyMotaAppsDj/reymota/templates/repostajes/lista_vehiculos.html View File

@ -1,5 +1,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block menuapp %}
{% include 'repostajes/_menu-repostajes.html' %}
{% endblock menuapp %}
{% block content %} {% block content %}
<div class="container-xl"> <div class="container-xl">


Loading…
Cancel
Save