first commit

This commit is contained in:
2025-11-01 18:10:39 -03:00
parent 6e7348359f
commit 63cf724aaf
220 changed files with 4040 additions and 62 deletions

View File

@@ -0,0 +1,62 @@
{% extends "BaseLogin.html" %}
{% block title %} List {% endblock %}
{% block content %}
<h1> Agenda </h1><br>
<div class="row mb-3">
<div class="col-md-3">
<form method="get" action="{% url 'MovCalendarListView' %}" id="filterForm">
<div class="input-group">
<input type="date" class="date form-control" name="date"
placeholder="Dia" value="{{ request.GET.date }}"
onchange="document.getElementById('filterForm').submit();"
>
<button type="submit" class="btn btn-primary">
<i class="bi bi-search"></i>
</button>
</div>
</form>
</div>
<br><br>
<div class="table-responsive">
<table class="table table-striped table-bordered">
<thead class="thead-dark">
<tr align="center">
{# <th> ID </th>#}
<th> Hora </th>
<th> professional </th>
<th> Cliente </th>
<th > service </th>
<th width="15%"> Ações </th>
</tr>
</thead>
<tbody>
{% for Cal in Calendar %}
<tr align="center">
{# <td> {{ Cal.id }} </td>#}
<td> {{ Cal.time }} </td>
<td> {{ Cal.professional }} </td>
<td> {{ Cal.client }} </td>
<td> {{ Cal.service }} </td>
<td>
<a href="{% url 'MovCalendarDetailView' Cal.id %}" class="btn btn-info btn-sm">
<i class="bi bi-eye"></i>
</a>
{# {% if perms.brands.change_brands %}#}
{# <a href="{% url 'MovCalendarUpdateView' Cal.id %}" class="btn btn-warning btn-sm">#}
{# <i class="bi bi-pencil"></i>#}
{# </a>#}
{# {% endif %}#}
{# {% if perms.brands.delete_brands %}#}
<a href="{% url 'MovCalendarDeleteView' Cal.id %}" class="btn btn-danger btn-sm">
<i class="bi bi-trash"></i>
</a>
{# {% endif %}#}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% include 'components/_pagination.html' %}
{% endblock %}