Sha256: 3c5e50973faae954a655a5c3dc4ba2d284dc397e05a1be1806af45a5a10a2731

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

<div class="modal-header">
  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h4 id="modal_label">
      <span>{{event.client}}</span><br />
      <small>{{event.check}}</small>
    </h4>
</div>
<div class="modal-body">
  <h3 class="section_title">event data</h3>
  {{#each event}}
    <div class="well">
      <h5>{{@key}}</h5>
      <span class="modal_value">{{#if this}}{{this}}{{else}}false/nil{{/if}}</span>
    </div>
  {{/each}}
  <h3 class="section_title">client data</h3>
  {{#each client}}
    <div class="well">
      <h5>{{@key}}</h5>
      <span class="modal_value">{{#if this}}{{this}}{{else}}false/nil{{/if}}</span>
    </div>
  {{/each}}
</div>
<div class="modal-footer">
  <button id="silence_client" class="btn btn-danger">
    {{#if client.silenced}}
      <i class="icon-volume-off icon-white" />
      <span>&nbsp;Un-silence Client</span>
    {{else}}
      <i class="icon-volume-up icon-white" />
      <span>&nbsp;Silence Client</span>
    {{/if}}
  </button>
  <button id="silence_check" class="btn btn-danger">
    {{#if event.silenced}}
      <i class="icon-volume-off icon-white" />
      <span>&nbsp;Un-silence Check</span>
    {{else}}
      <i class="icon-volume-up icon-white" />
      <span>&nbsp;Silence Check</span>
    {{/if}}
  </button>
  <button id="resolve_check" class="btn btn-danger">
    <i class="icon-ok icon-white" />
    <span>&nbsp;Resolve</span>
  </button>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sensu-dashboard-0.9.9 lib/sensu-dashboard/assets/javascripts/templates/events/modal.hbs