diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-25 18:03:42 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-25 18:03:42 -0500 |
commit | 387ce8f6694b41ab73d264190ce41dcd13484ede (patch) | |
tree | 5d7e399a6d5975f9e70f4540f9675efa0d184ce9 /app/views/intruders | |
parent | cf89633baaa6e9bc901c2cc630ed2c94296109f1 (diff) |
icons
Diffstat (limited to 'app/views/intruders')
-rw-r--r-- | app/views/intruders/_index_core.html.haml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/intruders/_index_core.html.haml b/app/views/intruders/_index_core.html.haml index 31bbd11..63f2253 100644 --- a/app/views/intruders/_index_core.html.haml +++ b/app/views/intruders/_index_core.html.haml @@ -16,7 +16,14 @@ - for intruder in intruders %tr - %td= intruder.list_type.chars.first + %td + - if intruder.list_type == 'whitelist' + %i.icon-ok + - elsif intruder.bans > 0 + %i.icon-fire + - elsif intruder.points > 0 + %i.icon-warning-sign + %td= intruder.contact_ip %td= intruder.contact_port %td= intruder.points |