Sha256: 31074d979df7eb076e3c998d0d3467ce0cf52d071845793b83c2587b84a2966f

Contents?: true

Size: 790 Bytes

Versions: 11

Compression:

Stored size: 790 Bytes

Contents

<!-- Client template -->
<script id="clientTemplate" type="text/x-jquery-tmpl">
  <tr id="${name}" rel="leanModal" href="#event_details_modal">
    <td id="client_id">${name}</td><td>${address}</td><td>${timestamp}</td><td>${subscriptions}</td>
  </tr>
</script>

<!-- Client details row template  -->
<script id="clientDetailsRowTemplate" type="text/x-jquery-tmpl">
{{each $data}}
<div class="event_detail_group">
  <div class="event_detail">
    <h1>${capitaliseFirstLetter($index)}</h1>
    <p>${$value}</p>
  </div>
  <!--<div class="copy">Copy</div>-->
  <div style="clear: both;"></div>
</div>
{{/each}}
</script>

<script type="text/javascript">
fetchClients();

ws = new WebSocket("ws://" + location.hostname + ":9000");
ws.onmessage = function(evt) {
  fetchClients();
}
</script>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sensu-dashboard-0.6.3 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.6.2 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.6.1 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.6.0 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.5.7 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.5.6 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.5.5 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.5.4 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.5.3 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.5.2 lib/sensu-dashboard/views/client_templates.erb
sensu-dashboard-0.5.1 lib/sensu-dashboard/views/client_templates.erb