summaryrefslogtreecommitdiffstats
path: root/templates/ng/base/alert.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
commit8dd07c0ddd99ae626a1ec8c06f75f27fed51269f (patch)
tree261d3c9911dabc58c1ac54e4e36b3dee24d2032b /templates/ng/base/alert.tmpl
parent0a739cf9ac901f54484c34bba8322418dedb09b0 (diff)
downloadgitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.tar.gz
gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.zip
New UI merge in progress
Diffstat (limited to 'templates/ng/base/alert.tmpl')
-rw-r--r--templates/ng/base/alert.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/ng/base/alert.tmpl b/templates/ng/base/alert.tmpl
new file mode 100644
index 0000000000..df14d3c3bf
--- /dev/null
+++ b/templates/ng/base/alert.tmpl
@@ -0,0 +1,2 @@
+{{if .Flash.ErrorMsg}}<span class="alert alert-red alert-radius block text-bold"><i class="octicon octicon-alert"></i>{{.Flash.ErrorMsg}}</span>{{end}}
+{{if .Flash.SuccessMsg}}<div class="alert alert-green alert-radius block"><i class="octicon octicon-check"></i>{{.Flash.SuccessMsg}}</div>{{end}} \ No newline at end of file