added dynamic icons to whitelist table
parent
2beff07d4b
commit
e86f19bd7c
|
@ -779,7 +779,10 @@
|
||||||
var json = {whiteList: this.model.toJSON(), client: this.options.client.toJSON()};
|
var json = {whiteList: this.model.toJSON(), client: this.options.client.toJSON()};
|
||||||
|
|
||||||
this.$el.html(this.template(json));
|
this.$el.html(this.template(json));
|
||||||
return this;
|
|
||||||
|
this.$('.dynamically-registered').tooltip({title: 'This client was dynamically registered'});
|
||||||
|
|
||||||
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
events:{
|
events:{
|
||||||
|
|
|
@ -272,6 +272,12 @@
|
||||||
<!-- whitelist -->
|
<!-- whitelist -->
|
||||||
|
|
||||||
<script type="text/html" id="tmpl-whitelist">
|
<script type="text/html" id="tmpl-whitelist">
|
||||||
|
<td>
|
||||||
|
<% if (client.dynamicallyRegistered) { %>
|
||||||
|
<span class="dynamically-registered"><i class="icon-cog"></i></span>
|
||||||
|
<% } %>
|
||||||
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<%=whiteList.clientId%>
|
<%=whiteList.clientId%>
|
||||||
<blockquote><small><%=client.clientDescription%></small></blockquote>
|
<blockquote><small><%=client.clientDescription%></small></blockquote>
|
||||||
|
@ -296,6 +302,7 @@
|
||||||
<table id="whitelist-table" class="table">
|
<table id="whitelist-table" class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th></th>
|
||||||
<th>Client ID</th>
|
<th>Client ID</th>
|
||||||
<th>Application Name</th>
|
<th>Application Name</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
Loading…
Reference in New Issue