41 lines
3.0 KiB
Plaintext
41 lines
3.0 KiB
Plaintext
|
<div role="tabpanel" class="tab-pane" id="tab-resources">
|
||
|
<div class="panel panel-default">
|
||
|
<div class="panel-heading">
|
||
|
{{ lang.mailbox.resources }} <span class="badge badge-info table-lines"></span>
|
||
|
<div class="btn-group pull-right hidden-xs">
|
||
|
<button class="btn btn-xs btn-success" href="#" data-toggle="modal" data-target="#addResourceModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_resource }}</button>
|
||
|
<button class="btn btn-xs btn-default refresh_table" data-draw="draw_resource_table" data-table="resource_table">{{ lang.admin.refresh }}</button>
|
||
|
<button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">{{ lang.mailbox.table_size }}
|
||
|
<span class="caret"></span>
|
||
|
</button>
|
||
|
<ul class="dropdown-menu" data-table-id="resource_table" role="menu">
|
||
|
{% include 'mailbox/page-size.twig' %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="panel-body help-block">
|
||
|
<p><span class="label label-success">{{ lang.mailbox.booking_0_short }}</span> - {{ lang.mailbox.booking_0 }}</p>
|
||
|
<p><span class="label label-warning">{{ lang.mailbox.booking_lt0_short }}</span> - {{ lang.mailbox.booking_lt0 }}</p>
|
||
|
<p><span class="label label-danger">{{ lang.mailbox.booking_custom_short }}</span> - {{ lang.mailbox.booking_custom }}</p>
|
||
|
</div>
|
||
|
{# <div class="mass-actions-mailbox" data-actions-header="true"></div>#}
|
||
|
<div class="table-responsive">
|
||
|
<table id="resource_table" class="table table-striped"></table>
|
||
|
</div>
|
||
|
<div class="mass-actions-mailbox">
|
||
|
<div class="btn-group">
|
||
|
<a class="btn btn-sm btn-xs-half visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-default" 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 visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-default dropdown-toggle" data-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }} <span class="caret"></span></a>
|
||
|
<ul class="dropdown-menu">
|
||
|
<li><a 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 data-action="edit_selected" data-id="resource" data-api-url='edit/resource' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li>
|
||
|
<li role="separator" class="divider"></li>
|
||
|
<li><a data-action="delete_selected" data-id="resource" data-api-url='delete/resource' href="#">{{ lang.mailbox.remove }}</a></li>
|
||
|
</ul>
|
||
|
<div class="clearfix visible-xs"></div>
|
||
|
<a class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-success" href="#" data-toggle="modal" data-target="#addResourceModal"><i class="bi bi-plus-lg"></i> {{ lang.mailbox.add_resource }}</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|