Making the formatting toolbar easier to build.

This commit is contained in:
cohitre 2012-08-13 22:17:22 -07:00
parent ebf1bba0eb
commit 550abd5129
3 changed files with 109 additions and 60 deletions

View file

@ -0,0 +1,11 @@
<%
var groupClass = ""
if (groupPosition !== undefined) {
groupClass = "grouped-" + groupPosition;
}
%>
<li class="acl-write" id="<%= button.id %>" data-key="<%= button.key %>">
<a class="<%= groupClass %>" title="<%= button.title %>">
<span class="buttonicon <%= button.cssClass %>"></span>
</a>
</li>