Font-Awesome/build/_includes/examples/button-dropdowns.html

37 lines
1.6 KiB
HTML
Raw Normal View History

2013-05-09 01:24:41 +00:00
<section id="button-dropdowns">
<h2 class="page-header">Button Dropdowns</h2>
<div class="row">
<div class="span3">
<div class="btn-group open">
<a class="btn btn-primary" href="#"><i class="icon-user"></i> User</a>
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#">
<span class="icon-caret-down"></span></a>
<ul class="dropdown-menu">
2013-05-09 23:45:37 +00:00
<li><a href="#"><i class="icon-fixed-width icon-pencil"></i> Edit</a></li>
<li><a href="#"><i class="icon-fixed-width icon-trash"></i> Delete</a></li>
<li><a href="#"><i class="icon-fixed-width icon-ban-circle"></i> Ban</a></li>
2013-05-09 01:24:41 +00:00
<li class="divider"></li>
<li><a href="#"><i class="i"></i> Make admin</a></li>
</ul>
</div>
</div>
<div class="span9">
2013-05-09 23:25:13 +00:00
{% highlight html linenos %}
2013-05-09 01:24:41 +00:00
<div class="btn-group open">
<a class="btn btn-primary" href="#"><i class="icon-user"></i> User</a>
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#">
<span class="icon-caret-down"></span></a>
<ul class="dropdown-menu">
2013-05-09 23:45:37 +00:00
<li><a href="#"><i class="icon-fixed-width icon-pencil"></i> Edit</a></li>
<li><a href="#"><i class="icon-fixed-width icon-trash"></i> Delete</a></li>
<li><a href="#"><i class="icon-fixed-width icon-ban-circle"></i> Ban</a></li>
2013-05-09 01:24:41 +00:00
<li class="divider"></li>
<li><a href="#"><i class="i"></i> Make admin</a></li>
</ul>
</div>
{% endhighlight %}
<div class="alert alert-info"><i class="icon-info-sign"></i> Don't forget to add the appropriate JavaScript to enable button dropdowns.</div>
</div>
</div>
</section>