Skip to content

Commit

Permalink
added bootstrap progress bar example
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Jul 23, 2012
1 parent 2e68836 commit 832f969
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- css_classes = [("active" if defined?(active)), ("progress-striped" if defined?(striped))]

.progress{:class => css_classes.join(" ")}
.bar{:percent => "#{width}%"}
6 changes: 6 additions & 0 deletions examples/bootstrap_progress_bar/usage.hml.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
%progress_bar_viewlet{:percent => 20, :stripped => true, :active => true}

%progress_bar_viewlet
percent 20
stripped
active

0 comments on commit 832f969

Please sign in to comment.