OpenID-Connect-Java-Spring-.../openid-connect-server-webapp/src/main/webapp/resources/template/blacklist.html

70 lines
2.4 KiB
HTML

<!--
Copyright 2015 The MITRE Corporation
and the MIT Kerberos and Internet Trust Consortium
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- blacklist -->
<script type="text/html" id="tmpl-blacklist-table">
<div class="well well-small">
<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> <span data-i18n="common.refresh">Refresh</span></button> &nbsp;
</div>
<div class="alert alert-danger" data-i18n="blacklist.text">
Blacklisted URIs cannot be used as redirect URIs by any registered clients, whether in the admin interface or in dynamic registration.
</div>
<div id="add-blacklist">
<form class="form-horizontal">
<fieldset>
<input type="text" id="blacklist-uri" placeholder="blacklist uri" data-i18n="[placeholder]blacklist.blacklist-uri-placeholder" />
<button class="btn btn-success btn-add"><i class="icon-plus icon-white"></i> <span data-i18n="blacklist.add">Add URI to blacklist</span></button>
</fieldset>
</form>
</div>
<div id="blacklist-table-empty" class="alert alert-info" data-i18n="blacklist.empty">
There are no blacklisted URIs on this server.
</div>
<table id="blacklist-table" class="table table-hover table-striped">
<thead>
<tr>
<th data-i18n="blacklist.uri">URI</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="well well-small">
<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> <span data-i18n="common.refresh">Refresh</span></button> &nbsp;
</div>
</script>
<script type="text/html" id="tmpl-blacklist-item">
<td>
<span class="label label-important"><%- uri %></span>
</td>
<td>
<div class="btn-group pull-right">
<button class="btn btn-danger btn-delete"><i class="icon-trash icon-white"></i> <span data-i18n="common.delete">Delete</span></button>
</div>
</td>
</script>