added dynamic icons to whitelist table

pull/263/head
Justin Richer 2012-11-15 17:53:38 -05:00
parent 2beff07d4b
commit e86f19bd7c
2 changed files with 11 additions and 1 deletions

View File

@ -779,7 +779,10 @@
var json = {whiteList: this.model.toJSON(), client: this.options.client.toJSON()};
this.$el.html(this.template(json));
return this;
this.$('.dynamically-registered').tooltip({title: 'This client was dynamically registered'});
return this;
},
events:{

View File

@ -272,6 +272,12 @@
<!-- whitelist -->
<script type="text/html" id="tmpl-whitelist">
<td>
<% if (client.dynamicallyRegistered) { %>
<span class="dynamically-registered"><i class="icon-cog"></i></span>
<% } %>
</td>
<td>
<%=whiteList.clientId%>
<blockquote><small><%=client.clientDescription%></small></blockquote>
@ -296,6 +302,7 @@
<table id="whitelist-table" class="table">
<thead>
<tr>
<th></th>
<th>Client ID</th>
<th>Application Name</th>
<th></th>