mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 21:39:06 +01:00
18 lines
621 B
Cheetah
18 lines
621 B
Cheetah
|
|
{{define "content"}}
|
|
<div class="row justify-content-center">
|
|
<div class="col-4">
|
|
<div class="alert {{.MsgType}} p-3 text-center fs-3" role="alert">
|
|
{{if eq .MsgType "alert-info"}}
|
|
<i class="bi-info-circle-fill me-3"></i>
|
|
{{else if eq .MsgType "alert-warning"}}
|
|
<i class="bi-question-circle-fill me-3"></i>
|
|
{{else if eq .MsgType "alert-danger"}}
|
|
<i class="bi-exclamation-circle-fill me-3"></i>
|
|
{{end}}
|
|
{{.Message}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|