diff options
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/alert.tmpl | 6 | ||||
-rw-r--r-- | templates/base/alert_details.tmpl | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/templates/base/alert.tmpl b/templates/base/alert.tmpl index 61b99486e2..cf886f529c 100644 --- a/templates/base/alert.tmpl +++ b/templates/base/alert.tmpl @@ -1,15 +1,15 @@ {{if .Flash.ErrorMsg}} - <div class="ui negative message"> + <div class="ui negative message flash-error"> <p>{{.Flash.ErrorMsg | Str2html}}</p> </div> {{end}} {{if .Flash.SuccessMsg}} - <div class="ui positive message"> + <div class="ui positive message flash-success"> <p>{{.Flash.SuccessMsg | Str2html}}</p> </div> {{end}} {{if .Flash.InfoMsg}} - <div class="ui info message"> + <div class="ui info message flash-info"> <p>{{.Flash.InfoMsg | Str2html}}</p> </div> {{end}} diff --git a/templates/base/alert_details.tmpl b/templates/base/alert_details.tmpl new file mode 100644 index 0000000000..38a2721bf8 --- /dev/null +++ b/templates/base/alert_details.tmpl @@ -0,0 +1,7 @@ +{{.Message}} +<details> + <summary>{{.Summary}}</summary> + <code> + {{.Details | Str2html}} + </code> +</details> |