diff --git a/app/templates/ajax/alerts_history.html b/app/templates/ajax/alerts_history.html new file mode 100644 index 00000000..94c3abcf --- /dev/null +++ b/app/templates/ajax/alerts_history.html @@ -0,0 +1,85 @@ + + +{% if action == "history" %} + {% set column_for_sort = 4 %} +{% else %} + {% set column_for_sort = 3 %} +{% endif %} + +
+ Level + | ++ Host + | + {% if action != "checker_history" %} ++ Port + | + {% endif %} ++ Alert + | ++ Date + | ++ Time + | +
---|---|---|---|---|---|
+ {% if t.1 == 'info' %} + {% set color = '#5ad05a' %} + {% else %} + {% set color = '#be2424' %} + {% endif %} + {{t.1 |upper}} + | ++ {{t.2}} + | + {% if action != "checker_history" %} ++ {{t.3}} + | + {% endif %} ++ {{t.0}} + | ++ {{t.4.split(' ')[0]}} + | ++ {{t.4.split(' ')[1]}} + | +