1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00
wakapi/views/alerts.tpl.html

13 lines
485 B
HTML
Raw Normal View History

{{ if .Error }}
<div class="flex justify-center w-full">
<div class="p-4 font-semibold text-white text-sm bg-red-500 rounded mt-16 shadow grow max-w-lg">
Error: {{ .Messages.Error | capitalize }}
</div>
</div>
2020-05-24 17:34:32 +03:00
{{ else if .Success }}
<div class="flex justify-center w-full">
<div class="p-4 font-semibold text-white text-sm bg-green-500 rounded mt-16 shadow grow max-w-lg">
{{ .Messages.Success | capitalize }}
2020-05-24 17:34:32 +03:00
</div>
</div>
{{ end }}