aboutsummaryrefslogtreecommitdiff
path: root/views/alerts.haml
blob: 3018d6c517fe9511dbcde661c9b247e2f95f75c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- if @grouped_alerts.length > 0
  %form#alerts{:method => :post, :action => '/alerts/acknowledge'}
    = partial('alerts_table')
    %h2 Actions
    %p= partial('acknowledge_input')
- else
  .notice#alerts_table
    %p No alerts to display.
:javascript
  // Do the magic updates..
  setInterval("updateAlertsTable('#{@alert_type}','#{@group_by}');", 120000)