git-annex/templates/sidebar/alert.hamlet
2012-08-02 09:08:58 -04:00

13 lines
420 B
Text

<div .alert .fade .in .#{divclass} :block:.alert-block ##{alertid} :closable:onclick="(function( $ ) { $.get('@{closealert}') })( jQuery );">
$if closable
<a .close data-dismiss="alert">&times;</a>
$case icon
$of Nothing
$of Just name
<i class="icon-#{name}"></i> #
$maybe h <- heading
$if block
<h4 class="alert-heading">#{h}</h4> #
$else
<strong>#{h}</strong> #
^{widget}