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
477 B
HTML
Raw Normal View History

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