Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame] | 1 | <div role="tabpanel" class="tab-pane" id="tab-config-oauth2"> |
| 2 | <div class="panel panel-default"> |
| 3 | <div class="panel-heading">{{ lang.admin.oauth2_apps }}</div> |
| 4 | <div class="panel-body"> |
| 5 | <p>{{ lang.admin.oauth2_info|raw }}</p> |
| 6 | <div class="table-responsive"> |
| 7 | <table class="table table-striped" id="oauth2clientstable"></table> |
| 8 | </div> |
| 9 | <div class="mass-actions-admin"> |
| 10 | <div class="btn-group"> |
| 11 | <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="oauth2_clients" href="#"><i class="bi bi-check-all"></i> {{ lang.mailbox.toggle_all }}</a> |
| 12 | <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> |
| 13 | <ul class="dropdown-menu"> |
| 14 | <li><a data-action="delete_selected" data-id="oauth2_clients" data-api-url='delete/oauth2-client' href="#">{{ lang.mailbox.remove }}</a></li> |
| 15 | <li role="separator" class="divider"></li> |
| 16 | <li><a data-action="edit_selected" data-id="oauth2_clients" data-api-url='edit/oauth2-client' data-api-attr='{"revoke_tokens":"1"}' href="#">{{ lang.admin.oauth2_revoke_tokens }}</a></li> |
| 17 | <li role="separator" class="divider"></li> |
| 18 | <li><a data-action="edit_selected" data-id="oauth2_clients" data-api-url='edit/oauth2-client' data-api-attr='{"renew_secret":"1"}' href="#">{{ lang.admin.oauth2_renew_secret }}</a></li> |
| 19 | </ul> |
| 20 | <div class="clearfix visible-xs"></div> |
| 21 | <a class="btn btn-sm visible-xs-block visible-sm-inline visible-md-inline visible-lg-inline btn-success" data-id="add_oauth2_client" data-toggle="modal" data-target="#addOAuth2ClientModal" href="#"><i class="bi bi-plus-lg"></i> {{ lang.admin.oauth2_add_client }}</a> |
| 22 | </div> |
| 23 | </div> |
| 24 | </div> |
| 25 | </div> |
| 26 | </div> |