From 171765dbdebdda8206081ee2e67302a179b4e998 Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 7 Apr 2020 18:32:41 +0200 Subject: new icons, rotate, checks --- src/_icons/check.svg | 2 +- src/_icons/checks.svg | 7 +++++++ src/_icons/device-mobile-vibration.svg | 6 +++--- src/_icons/rotate-2.svg | 7 +++++++ src/_icons/rotate-clockwise-2.svg | 7 +++++++ src/_icons/rotate-clockwise.svg | 2 +- src/_icons/rotate.svg | 2 +- src/_includes/toolbar.html | 12 ++++++++++++ src/editor.html | 15 ++------------- 9 files changed, 41 insertions(+), 19 deletions(-) create mode 100644 src/_icons/checks.svg create mode 100644 src/_icons/rotate-2.svg create mode 100644 src/_icons/rotate-clockwise-2.svg create mode 100644 src/_includes/toolbar.html diff --git a/src/_icons/check.svg b/src/_icons/check.svg index ba7315f7..00febeb9 100644 --- a/src/_icons/check.svg +++ b/src/_icons/check.svg @@ -2,5 +2,5 @@ tags: [tick, "yes"] --- - + diff --git a/src/_icons/checks.svg b/src/_icons/checks.svg new file mode 100644 index 00000000..d0d7a9cc --- /dev/null +++ b/src/_icons/checks.svg @@ -0,0 +1,7 @@ +--- +tags: [tick, "yes"] +--- + + + + diff --git a/src/_icons/device-mobile-vibration.svg b/src/_icons/device-mobile-vibration.svg index 28466cfb..a4ea18e5 100644 --- a/src/_icons/device-mobile-vibration.svg +++ b/src/_icons/device-mobile-vibration.svg @@ -2,11 +2,11 @@ tags: [iphone, phone, smartphone, cellphone] --- - + - - + + diff --git a/src/_icons/rotate-2.svg b/src/_icons/rotate-2.svg new file mode 100644 index 00000000..ac489c09 --- /dev/null +++ b/src/_icons/rotate-2.svg @@ -0,0 +1,7 @@ +--- +tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] +--- + + + + diff --git a/src/_icons/rotate-clockwise-2.svg b/src/_icons/rotate-clockwise-2.svg new file mode 100644 index 00000000..c17ed1d6 --- /dev/null +++ b/src/_icons/rotate-clockwise-2.svg @@ -0,0 +1,7 @@ +--- +tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] +--- + + + + diff --git a/src/_icons/rotate-clockwise.svg b/src/_icons/rotate-clockwise.svg index 07a01f39..282bbacf 100644 --- a/src/_icons/rotate-clockwise.svg +++ b/src/_icons/rotate-clockwise.svg @@ -2,5 +2,5 @@ tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] --- - + diff --git a/src/_icons/rotate.svg b/src/_icons/rotate.svg index c85d9b2e..0d3cf674 100644 --- a/src/_icons/rotate.svg +++ b/src/_icons/rotate.svg @@ -2,5 +2,5 @@ tags: [refresh, synchronization, reload, restart, spinner, loader, ajax, update, arrows] --- - + diff --git a/src/_includes/toolbar.html b/src/_includes/toolbar.html new file mode 100644 index 00000000..afca9005 --- /dev/null +++ b/src/_includes/toolbar.html @@ -0,0 +1,12 @@ +{% assign toolbar = include.toolbar | split: '|' %} + +
+ {% for group in toolbar %} + {% assign buttons = group | split: ',' %} +
+ {% for button in buttons %} +
{% include icon.html name=button %}
+ {% endfor %} +
+ {% endfor %} +
diff --git a/src/editor.html b/src/editor.html index ccb4f7ee..e84b1296 100644 --- a/src/editor.html +++ b/src/editor.html @@ -2,9 +2,6 @@ layout: default --- -{% assign toolbar = 'arrow-back-up,arrow-forward-up,printer,paint|bold,italic,underline,strikethrough|align-left,align-center,align-right,align-justified,line-height|list,list-check|link,photo,table|sort-ascending,sort-descending|indent-increase,indent-decrease|subscript,superscript|minus,omega,chart-area-line,pencil|eraser,settings' | split: '|' %} - -
@@ -74,16 +71,8 @@ layout: default
-
- {% for group in toolbar %} - {% assign buttons = group | split: ',' %} -
- {% for button in buttons %} -
{% include icon.html name=button %}
- {% endfor %} -
- {% endfor %} -
+ {% include toolbar.html toolbar='arrow-back-up,arrow-forward-up,printer,paint|bold,italic,underline,strikethrough|align-left,align-center,align-right,align-justified,line-height|list,list-check|link,photo,table|sort-ascending,sort-descending|indent-increase,indent-decrease|subscript,superscript|minus,omega,chart-area-line,pencil|eraser,settings' %} + {% include toolbar.html toolbar='check,checks,x' %}

{{ site.icons.size }} icons

-- cgit v1.2.1