summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-29 12:39:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-29 12:39:10 -0400
commit2dc5697a0ac36fdfe21da79a721db3f086bce041 (patch)
tree4c5ec50609258a715232e802898c9411fe298a12 /templates
parente1d4bfe6716f409f0ab400f532e48db2dfc98cf1 (diff)
add
Diffstat (limited to 'templates')
-rw-r--r--templates/alert.hamlet9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/alert.hamlet b/templates/alert.hamlet
new file mode 100644
index 000000000..2d0daf841
--- /dev/null
+++ b/templates/alert.hamlet
@@ -0,0 +1,9 @@
+<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid}>
+ $if closable
+ <a .close data-dismiss="alert" href="#">&times;</a>
+ $maybe h <- heading
+ $if block
+ <h4 class="alert-heading">#{h}</h4>
+ $else
+ <strong>#{h}</strong>
+ ^{widget}