2024-07-30 11:37:08 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<h3>Lot {{ lot.name }}</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="tab-pane fade show active" id="details">
|
|
|
|
<div class="btn-group dropdown ml-1 mt-1" uib-dropdown="">
|
2024-11-16 15:31:02 +00:00
|
|
|
<a href="{% url 'lot:add_property' lot.pk %}" class="btn btn-primary">
|
2024-07-30 11:37:08 +00:00
|
|
|
|
|
|
|
<i class="bi bi-plus"></i>
|
2024-11-16 15:31:02 +00:00
|
|
|
Add new lot Property
|
2024-07-30 11:37:08 +00:00
|
|
|
<span class="caret"></span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2024-11-16 15:31:02 +00:00
|
|
|
<h5 class="card-title mt-2">Properties</h5>
|
2024-07-30 11:37:08 +00:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">Key</th>
|
|
|
|
<th scope="col">Value</th>
|
|
|
|
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Created on</th>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2024-11-16 15:31:02 +00:00
|
|
|
{% for a in properties %}
|
2024-07-30 11:37:08 +00:00
|
|
|
<tr>
|
|
|
|
<td>{{ a.key }}</td>
|
|
|
|
<td>{{ a.value }}</td>
|
|
|
|
<td>{{ a.created }}</td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|