editor: actions implementation
[fnpeditor.git] / src / editor / modules / documentToolbar / templates / actionViewButton.html
diff --git a/src/editor/modules/documentToolbar/templates/actionViewButton.html b/src/editor/modules/documentToolbar/templates/actionViewButton.html
new file mode 100644 (file)
index 0000000..506a291
--- /dev/null
@@ -0,0 +1,7 @@
+<button class="btn btn-mini">
+<% if(iconName) { %>
+    <i class="icon-<%= iconName %>" style="<%= iconStyle || '' %>"></i>
+<% } else { %>
+    <%= label %>
+<% } %>
+</button>
\ No newline at end of file