2022-03-30 12:39:18 +02:00
|
|
|
<div role="tabpanel" class="tab-pane fade" id="tab-resources" role="tabpanel" aria-labelledby="tab-resources">
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card">
|
2022-04-13 21:45:00 +02:00
|
|
|
<div class="card-header d-flex">
|
2022-03-31 13:24:18 +02:00
|
|
|
{{ lang.mailbox.resources }} <span class="badge bg-info table-lines"></span>
|
2022-04-01 08:02:11 +02:00
|
|
|
<div class="btn-group ms-auto d-none d-sm-flex">
|
2022-03-30 13:04:54 +02:00
|
|
|
<button class="btn btn-xs btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addResourceModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_resource }}</button>
|
2022-03-31 12:41:50 +02:00
|
|
|
<button class="btn btn-xs btn-secondary refresh_table" data-draw="draw_resource_table" data-table="resource_table">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 12:57:33 +02:00
|
|
|
<div class="card-body text-muted">
|
2022-03-31 12:41:50 +02:00
|
|
|
<p><span class="badge fs-5 bg-success">{{ lang.mailbox.booking_0_short }}</span> - {{ lang.mailbox.booking_null }}</p>
|
|
|
|
<p><span class="badge fs-5 bg-warning">{{ lang.mailbox.booking_lt0_short }}</span> - {{ lang.mailbox.booking_ltnull }}</p>
|
|
|
|
<p><span class="badge fs-5 bg-danger">{{ lang.mailbox.booking_custom_short }}</span> - {{ lang.mailbox.booking_custom }}</p>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
{# <div class="mass-actions-mailbox" data-actions-header="true"></div>#}
|
2022-05-16 11:26:49 +02:00
|
|
|
<table id="resource_table" class="table table-striped dt-responsive nowrap w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="mass-actions-mailbox">
|
|
|
|
<div class="btn-group">
|
2022-03-31 15:24:10 +02:00
|
|
|
<a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary" id="toggle_multi_select_all" data-id="resource" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
|
|
|
|
<a class="btn btn-sm btn-xs-half d-block d-sm-inline btn-secondary dropdown-toggle" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
2021-09-22 20:47:10 +02:00
|
|
|
<ul class="dropdown-menu">
|
2022-03-31 10:09:25 +02:00
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="resource" data-api-url='edit/resource' data-api-attr='{"active":"1"}' href="#">{{ lang.mailbox.activate }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-action="edit_selected" data-id="resource" data-api-url='edit/resource' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-action="delete_selected" data-id="resource" data-api-url='delete/resource' href="#">{{ lang.mailbox.remove }}</a></li>
|
2021-09-22 20:47:10 +02:00
|
|
|
</ul>
|
2022-03-31 15:24:10 +02:00
|
|
|
<a class="btn btn-sm d-block d-sm-inline btn-success" href="#" data-bs-toggle="modal" data-bs-target="#addResourceModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_resource }}</a>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|