update
This commit is contained in:
parent
193624810b
commit
4394ac8e45
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="mb-9">
|
<div class="mb-9">
|
||||||
<div id="projectSummary">
|
<div id="projectSummary">
|
||||||
<div class="row g-3 justify-content-between align-items-end mb-4">
|
<div class="row g-3 justify-content-between align-items-end mb-4">
|
||||||
<div class="col-12 col-sm-auto">
|
<div class="col-12 col-sm-auto">
|
||||||
|
|
||||||
@ -148,7 +148,7 @@
|
|||||||
<td class="align-middle white-space-nowrap">
|
<td class="align-middle white-space-nowrap">
|
||||||
<p class="fw-bold text-body mb-0">{{car.receiving_date|timesince}}</p>
|
<p class="fw-bold text-body mb-0">{{car.receiving_date|timesince}}</p>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="align-middle white-space-nowrap statuses">
|
<td class="align-middle white-space-nowrap statuses">
|
||||||
{% if car.status == "available" %}
|
{% if car.status == "available" %}
|
||||||
<span class="badge badge-phoenix fs-11 badge-phoenix-success">{{ _("Available") }}</span>
|
<span class="badge badge-phoenix fs-11 badge-phoenix-success">{{ _("Available") }}</span>
|
||||||
@ -164,13 +164,13 @@
|
|||||||
<div class="btn-reveal-trigger position-static">
|
<div class="btn-reveal-trigger position-static">
|
||||||
<button class="btn btn-sm dropdown-toggle dropdown-caret-none transition-none btn-reveal fs-10" type="button" data-bs-toggle="dropdown" data-boundary="window" aria-haspopup="true" aria-expanded="false" data-bs-reference="parent"><span class="fas fa-ellipsis-h fs-10"></span></button>
|
<button class="btn btn-sm dropdown-toggle dropdown-caret-none transition-none btn-reveal fs-10" type="button" data-bs-toggle="dropdown" data-boundary="window" aria-haspopup="true" aria-expanded="false" data-bs-reference="parent"><span class="fas fa-ellipsis-h fs-10"></span></button>
|
||||||
<div class="dropdown-menu dropdown-menu-end py-2">
|
<div class="dropdown-menu dropdown-menu-end py-2">
|
||||||
<a class="dropdown-item" href="#!">{{ _("View") }}</a>
|
<a class="dropdown-item" href="{% url 'car_detail' car.pk %}">{{ _("View") }}</a>
|
||||||
<a class="dropdown-item" href="#!">{{ _("Export") }}</a>
|
<a class="dropdown-item" href="#!">{{ _("Export") }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -198,7 +198,7 @@
|
|||||||
})
|
})
|
||||||
link.classList.add('active')
|
link.classList.add('active')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
function on_before_request() {
|
function on_before_request() {
|
||||||
document.querySelector('.table').classList.toggle('on-before-request')
|
document.querySelector('.table').classList.toggle('on-before-request')
|
||||||
document.querySelector('.model-select').classList.add('on-after-request')
|
document.querySelector('.model-select').classList.add('on-after-request')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user