added icon to template, popover doesn't work yet
parent
9064b49a54
commit
8ecdb8a4ab
|
@ -302,6 +302,8 @@
|
|||
}
|
||||
|
||||
this.model.bind('change', this.render, this);
|
||||
|
||||
this.$('.dynamically-registered').popover({title: 'Dynamic', content: 'This client was dynamically registered'});
|
||||
},
|
||||
|
||||
render:function (eventName) {
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
<!-- client -->
|
||||
|
||||
<script type="text/html" id="tmpl-client">
|
||||
<td>
|
||||
<% if (dynamicallyRegistered) { %>
|
||||
<span class="dynamically-registered"><i class="icon-cog"></i></span>
|
||||
<% } %>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<%=clientId%>
|
||||
<blockquote><small><%=clientDescription%></small></blockquote>
|
||||
|
@ -26,6 +32,7 @@
|
|||
<table id="client-table" class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Client ID</th>
|
||||
<th>Application Name</th>
|
||||
<th></th>
|
||||
|
|
Loading…
Reference in New Issue