Last change
on this file since 66158c7 was
66158c7,
checked in by rudmanmrrod <rudman22@…>, 7 years ago
|
Agregado paginador y listado de eventos
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | {% extends 'base.template.html' %} |
---|
2 | {% load staticfiles %} |
---|
3 | {% block title %}Eventos{% endblock %} |
---|
4 | {% block content %} |
---|
5 | <h1 class="center">Eventos</h1><hr> |
---|
6 | |
---|
7 | {% for evento in object_list %} |
---|
8 | <div class="card"> |
---|
9 | <div class="card-content"> |
---|
10 | <span class="card-title"><b>Nombre del evento: </b>{{ evento.nombre_evento }}</span> |
---|
11 | <ul> |
---|
12 | <li><b>Fecha: </b>{{ evento.fecha }}</li> |
---|
13 | </ul> |
---|
14 | </div> |
---|
15 | <div class="card-action"> |
---|
16 | <a type="button" class="btn waves-effect red darken-1" href=""> |
---|
17 | <i class="material-icons left">search</i> Detalle |
---|
18 | </a> |
---|
19 | <a type="button" class="btn waves-effect red darken-1" href=""> |
---|
20 | <i class="material-icons left">mode_edit</i> Firmar |
---|
21 | </a> |
---|
22 | </div> |
---|
23 | </div> |
---|
24 | {% empty %} |
---|
25 | <h3>No existen eventos.</h3> |
---|
26 | {% endfor %} |
---|
27 | {% include 'base.paginator.html' with paginator=page_obj %} |
---|
28 | <div style="padding-bottom: 50px;"> |
---|
29 | <a type="button" class="btn waves-effect btn red darken-1" href="{% url 'base:inicio' %}">Regresar</a> |
---|
30 | </div> |
---|
31 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.