Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | <div role="tabpanel" class="tab-pane" id="tab-resources"> |
| 2 | <div class="panel panel-default"> |
| 3 | <div class="panel-heading"> |
| 4 | {{ lang.mailbox.resources }} <span class="badge badge-info table-lines"></span> |
| 5 | <div class="btn-group pull-right hidden-xs"> |
| 6 | <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> |
| 7 | <button class="btn btn-xs btn-default refresh_table" data-draw="draw_resource_table" data-table="resource_table">{{ lang.admin.refresh }}</button> |
| 8 | <button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown">{{ lang.mailbox.table_size }} |
| 9 | <span class="caret"></span> |
| 10 | </button> |
| 11 | <ul class="dropdown-menu" data-table-id="resource_table" role="menu"> |
| 12 | {% include 'mailbox/page-size.twig' %} |
| 13 | </ul> |
| 14 | </div> |
| 15 | </div> |
| 16 | <div class="panel-body help-block"> |
| 17 | <p><span class="label label-success">{{ lang.mailbox.booking_0_short }}</span> - {{ lang.mailbox.booking_null }}</p> |
| 18 | <p><span class="label label-warning">{{ lang.mailbox.booking_lt0_short }}</span> - {{ lang.mailbox.booking_ltnull }}</p> |
| 19 | <p><span class="label label-danger">{{ lang.mailbox.booking_custom_short }}</span> - {{ lang.mailbox.booking_custom }}</p> |
| 20 | </div> |
| 21 | {# <div class="mass-actions-mailbox" data-actions-header="true"></div>#} |
| 22 | <div class="table-responsive"> |
| 23 | <table id="resource_table" class="table table-striped"></table> |
| 24 | </div> |
| 25 | <div class="mass-actions-mailbox"> |
| 26 | <div class="btn-group"> |
| 27 | <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> |
| 28 | <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> |
| 29 | <ul class="dropdown-menu"> |
| 30 | <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> |
| 31 | <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> |
| 32 | <li role="separator" class="divider"></li> |
| 33 | <li><a data-action="delete_selected" data-id="resource" data-api-url='delete/resource' href="#">{{ lang.mailbox.remove }}</a></li> |
| 34 | </ul> |
| 35 | <div class="clearfix visible-xs"></div> |
| 36 | <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> |
| 37 | </div> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |