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()}; 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:{

View File

@ -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>