diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/generic/button_dropdown.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/generic/button_dropdown.html')
-rwxr-xr-x | servo/templates/generic/button_dropdown.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/servo/templates/generic/button_dropdown.html b/servo/templates/generic/button_dropdown.html new file mode 100755 index 0000000..39aba25 --- /dev/null +++ b/servo/templates/generic/button_dropdown.html @@ -0,0 +1,12 @@ +{% if items.count %} +<div class="btn-group"> + <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> + <i class="icon-file"></i> <span class="caret"></span> + </a> + <ul class="dropdown-menu"> + {% for i in items %} + <li><a href="{{ i.get_absolute_url }}">{{ i }}</a></li> + {% endfor %} + </ul> +</div> +{% endif %} |