github.com/nsqio/nsq@v1.3.0/nsqadmin/static/js/views/topics.hbs (about)

     1  {{> warning}}
     2  {{> error}}
     3  
     4  <div class="row">
     5      <div class="col-md-12">
     6          <h2>Topics</h2>
     7      </div>
     8  </div>
     9  
    10  <div class="row">
    11      <div class="col-md-6">
    12      {{#if collection.length}}
    13          <table class="table table-condensed table-bordered">
    14              <tr>
    15                  <th>Topic</th>
    16                  {{#if graph_active}}<th width="120">Depth</th>{{/if}}
    17                  {{#if graph_active}}<th width="120">Messages</th>{{/if}}
    18                  {{#if graph_active}}<th width="120">Rate</th>{{/if}}
    19              </tr>
    20              {{#each collection}}
    21              <tr>
    22                  <td><a class="link" href="{{basePath "/topics"}}/{{urlencode name}}">{{name}}</a></td>
    23                  {{#if ../graph_active}}<td><a class="link" href="{{basePath "/topics"}}/{{urlencode name}}"><img width="120" height="20" src="{{sparkline "topic" "" name "" "depth"}}"></a></td>{{/if}}
    24                  {{#if ../graph_active}}<td><a class="link" href="{{basePath "/topics"}}/{{urlencode name}}"><img width="120" height="20" src="{{sparkline "topic" "" name "" "message_count"}}"></a></td>{{/if}}
    25                  {{#if ../graph_active}}<td class="bold rate" target="{{rate "topic" "*" name ""}}"></td>{{/if}}
    26              </tr>
    27              {{/each}}
    28          </table>
    29      {{else}}
    30          <div class="alert alert-warning"><h4>Notice</h4>No Topics Found</div>
    31      {{/if}}
    32      </div>
    33  </div>