aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/toolbar.html
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-04-07 20:28:06 +0200
committercodecalm <codecalm@gmail.com>2020-04-07 20:28:06 +0200
commit17a33fa302596b285edd2ae0c6ae0cb9797f72e8 (patch)
treeda9142609d54149890bce86785cef6259d5b3c23 /src/_includes/toolbar.html
parentnpm files fixes (diff)
parentcurrency yen fix (diff)
downloadtabler-icons-17a33fa302596b285edd2ae0c6ae0cb9797f72e8.tar.xz
Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons
Diffstat (limited to 'src/_includes/toolbar.html')
-rw-r--r--src/_includes/toolbar.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/_includes/toolbar.html b/src/_includes/toolbar.html
new file mode 100644
index 0000000..afca900
--- /dev/null
+++ b/src/_includes/toolbar.html
@@ -0,0 +1,12 @@
+{% assign toolbar = include.toolbar | split: '|' %}
+
+<div class="toolbar">
+ {% for group in toolbar %}
+ {% assign buttons = group | split: ',' %}
+ <div class="buttons">
+ {% for button in buttons %}
+ <div class="button js-icon" data-icon="{{ button }}">{% include icon.html name=button %}</div>
+ {% endfor %}
+ </div>
+ {% endfor %}
+</div>