mirror of
https://github.com/gophish/gophish
synced 2024-11-15 00:37:14 +00:00
15 lines
342 B
HTML
15 lines
342 B
HTML
{{define "flashes"}}
|
|
{{range .}}
|
|
<div style="text-align:center" class="alert alert-{{.Type}}">
|
|
<i class="fa
|
|
{{if eq .Type "danger"}}
|
|
fa-exclamation-circle
|
|
{{else if eq .Type "warning"}}
|
|
fa-exclamation-triangle
|
|
{{else if eq .Type "success"}}
|
|
fa-check-circle
|
|
{{end}}"></i>
|
|
{{.Message}}
|
|
</div>
|
|
{{end}}
|
|
{{end}}
|