diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-31 01:24:49 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-31 01:24:49 -0400 |
commit | 5fed026bcdaa0724acd2640193e341bb8358980b (patch) | |
tree | 97463af6af63042458adbc71f1253fc0fe9bc027 /templates/sidebar | |
parent | 58dfa3fa5b1b8be6f344e9ef5bfb3adda11069ab (diff) |
reorg templates
Diffstat (limited to 'templates/sidebar')
-rw-r--r-- | templates/sidebar/alert.hamlet | 9 | ||||
-rw-r--r-- | templates/sidebar/main.hamlet | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/sidebar/alert.hamlet b/templates/sidebar/alert.hamlet new file mode 100644 index 000000000..8fa77eac1 --- /dev/null +++ b/templates/sidebar/alert.hamlet @@ -0,0 +1,9 @@ +<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );"> + $if closable + <a .close data-dismiss="alert">×</a> + $maybe h <- heading + $if block + <h4 class="alert-heading">#{h}</h4> + $else + <strong>#{h}</strong> + ^{widget} diff --git a/templates/sidebar/main.hamlet b/templates/sidebar/main.hamlet new file mode 100644 index 000000000..32900b920 --- /dev/null +++ b/templates/sidebar/main.hamlet @@ -0,0 +1,3 @@ +<div .span3 ##{ident}> + <div .sidebar-nav> + ^{content} |