aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar')
-rw-r--r--templates/sidebar/alert.hamlet9
-rw-r--r--templates/sidebar/main.hamlet3
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">&times;</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}