Sha256: bda7696265cae67fa54ba22a25fd533b3033a1729d2157000d7b2b30557a94b5
Contents?: true
Size: 1.48 KB
Versions: 2
Compression:
Stored size: 1.48 KB
Contents
<% blazer_title "Checks" %> <p style="float: right;"><%= link_to "New Check", new_check_path, class: "btn btn-info" %></p> <%= render partial: "blazer/nav" %> <table class="table"> <thead> <tr> <th>Query</th> <th style="width: 10%;">State</th> <th style="width: 10%;">Run</th> <th style="width: 20%;">Notify</th> <th style="width: 15%;"></th> </tr> </thead> <tbody> <% @checks.each do |check| %> <tr> <td><%= link_to check.query.name, check.query %> <span class="text-muted"><%= check.try(:check_type).to_s.gsub("_", " ") %></span></td> <td> <% if check.state %> <small class="check-state <%= check.state.parameterize.gsub("-", "_") %>"><%= check.state.upcase %></small> <% end %> </td> <td><%= check.schedule if check.respond_to?(:schedule) %></td> <td> <ul class="list-unstyled" style="margin-bottom: 0; word-break: break-all;"> <% check.split_emails.each do |email| %> <li><%= email %></li> <% end %> <% check.split_slack_channels.each do |channel| %> <li><%= channel %></li> <% end %> </ul> </td> <td style="text-align: right; padding: 1px;"> <%= link_to "Edit", edit_check_path(check), class: "btn btn-info" %> <%= link_to "Run Now", query_path(check.query), class: "btn btn-primary" %> </td> </tr> <% end %> </tbody> </table>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
railsblazer-2.0.0 | app/views/blazer/checks/index.html.erb |
blazer-2.0.0 | app/views/blazer/checks/index.html.erb |