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.model.bind('change', this.render, this);
|
||||||
|
|
||||||
|
this.$('.dynamically-registered').popover({title: 'Dynamic', content: 'This client was dynamically registered'});
|
||||||
},
|
},
|
||||||
|
|
||||||
render:function (eventName) {
|
render:function (eventName) {
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
<!-- client -->
|
<!-- client -->
|
||||||
|
|
||||||
<script type="text/html" id="tmpl-client">
|
<script type="text/html" id="tmpl-client">
|
||||||
|
<td>
|
||||||
|
<% if (dynamicallyRegistered) { %>
|
||||||
|
<span class="dynamically-registered"><i class="icon-cog"></i></span>
|
||||||
|
<% } %>
|
||||||
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<%=clientId%>
|
<%=clientId%>
|
||||||
<blockquote><small><%=clientDescription%></small></blockquote>
|
<blockquote><small><%=clientDescription%></small></blockquote>
|
||||||
|
@ -26,6 +32,7 @@
|
||||||
<table id="client-table" class="table">
|
<table id="client-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