github.com/nsqio/nsq@v1.3.0/nsqadmin/static/js/views/nodes.hbs (about) 1 {{> warning}} 2 {{> error}} 3 4 <div class="row"> 5 <div class="col-md-12"> 6 <h2>NSQd Nodes ({{collection.length}})</h2> 7 </div> 8 </div> 9 10 <div class="row"> 11 <div class="col-md-12"> 12 <table class="table table-condensed table-bordered"> 13 <tr> 14 <th>Hostname</th> 15 <th>Broadcast Address</th> 16 <th>TCP Port</th> 17 <th>HTTP Port</th> 18 <th>Version</th> 19 {{#if nsqlookupd.length}} 20 <th>Lookupd Conns.</th> 21 {{/if}} 22 <th>Topics</th> 23 </tr> 24 {{#each collection}} 25 <tr {{#if out_of_date}}class="warning"{{/if}}> 26 <td>{{hostname}}</td> 27 <td><a class="link" href="{{basePath "/nodes"}}/{{broadcast_address_http}}">{{broadcast_address}}</a></td> 28 <td>{{tcp_port}}</td> 29 <td>{{http_port}}</td> 30 <td>{{version}}</td> 31 {{#if ../nsqlookupd.length}} 32 <td> 33 <a class="conn-count btn btn-default btn-xs {{#unlesseq ../../nsqlookupd.length remote_addresses.length}}btn-warning{{/unlesseq}}">{{remote_addresses.length}}</a> 34 <div style="display: none;"> 35 {{#each remote_addresses}}{{this}}<br/>{{/each}} 36 </div> 37 </td> 38 {{/if}} 39 <td> 40 {{#if topics.length}} 41 <span class="badge">{{topics.length}}</span> 42 {{#each topics}} 43 <a href="{{basePath "/topics"}}/{{topic}}" class="link label {{#if tombstoned}}label-warning{{else}}label-primary{{/if}}" {{#if tombstoned}}title="this topic is currently tombstoned on this node"{{/if}}>{{topic}}</a> 44 {{/each}} 45 {{/if}} 46 </td> 47 </tr> 48 {{/each}} 49 </table> 50 </div> 51 </div>