aboutsummaryrefslogtreecommitdiff
path: root/src/_includes
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-04-07 18:32:41 +0200
committercodecalm <codecalm@gmail.com>2020-04-07 18:32:41 +0200
commit171765dbdebdda8206081ee2e67302a179b4e998 (patch)
tree9aee097f99be9eab0df34e2317da497647364117 /src/_includes
parent#12 mobile vibration icon (diff)
downloadtabler-icons-171765dbdebdda8206081ee2e67302a179b4e998.tar.xz
new icons, rotate, checks
Diffstat (limited to 'src/_includes')
-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>