blob: e8c4c361a4f923e639889464395892e527e6ddcc [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001<div role="tabpanel" class="tab-pane" id="tab-syncjobs">
2 <div class="panel panel-default">
3 <div class="panel-heading">
4 {{ lang.mailbox.sync_jobs }} <span class="badge badge-info table-lines"></span>
5 <div class="btn-group pull-right hidden-xs">
6 <button data-acl="{{ acl.syncjobs }}" class="btn btn-xs btn-success" href="#" data-toggle="modal" data-target="#addSyncJobModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.user.create_syncjob }}</button>
7 <button class="btn btn-xs btn-default refresh_table" data-draw="draw_sync_job_table" data-table="sync_job_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="sync_job_table" role="menu">
12 {% include 'mailbox/page-size.twig' %}
13 </ul>
14 </div>
15 </div>
16 <!-- <div class="mass-actions-mailbox" data-actions-header="true"></div> -->
17 <div class="table-responsive">
18 <table class="table table-striped" id="sync_job_table"></table>
19 </div>
20 <div class="mass-actions-mailbox">
21 <div class="btn-group" data-acl="{{ acl.syncjobs }}">
22 <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="syncjob" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a>
23 <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>
24 <ul class="dropdown-menu">
25 <li><a data-action="edit_selected" data-id="syncjob" data-api-url='edit/syncjob' data-api-attr='{"last_run":"","success":""}' href="#">{{ lang.mailbox.last_run_reset }}</a></li>
26 <li role="separator" class="divider"></li>
27 <li><a data-action="edit_selected" data-id="syncjob" data-api-url='edit/syncjob' data-api-attr='{"active":"1"}' href="#">{{ lang.mailbox.activate }}</a></li>
28 <li><a data-action="edit_selected" data-id="syncjob" data-api-url='edit/syncjob' data-api-attr='{"active":"0"}' href="#">{{ lang.mailbox.deactivate }}</a></li>
29 <li role="separator" class="divider"></li>
30 <li><a data-action="delete_selected" data-id="syncjob" data-api-url='delete/syncjob' href="#">{{ lang.mailbox.remove }}</a></li>
31 </ul>
32 <div class="clearfix visible-xs"></div>
33 <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="#addSyncJobModalAdmin"><i class="bi bi-plus-lg"></i> {{ lang.user.create_syncjob }}</a>
34 </div>
35 </div>
36 </div>
37</div>