appscms-tools-theme 2.3.6 → 2.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/_data/blog/blog.yml +1 -0
  3. data/_data/blog/nav.json +1 -1
  4. data/_data/feature/en/allele-frequency.json +242 -242
  5. data/_data/feature/en/compress-pdf.json +7 -12
  6. data/_data/feature/en/theframe.json +23 -23
  7. data/_data/home/en/en.json +11 -11
  8. data/_data/home/en/photoeffects.json +23 -23
  9. data/_data/home-1/en/en.json +178 -6
  10. data/_data/photo-categories.json +334 -334
  11. data/_data/photoeffects.json +116 -116
  12. data/_includes/footer/index.html +6 -12
  13. data/_includes/head/index.html +2 -2
  14. data/_includes/header/blogHeader.html +29 -24
  15. data/_includes/header/index.html +130 -34
  16. data/_includes/monumetric/ads.html +57 -57
  17. data/_includes/monumetric/profitablecpmgate.html +51 -51
  18. data/_includes/paginationBlogPage.html +38 -1
  19. data/_layouts/blog-1.html +8 -22
  20. data/_layouts/calculator.html +69 -69
  21. data/_layouts/feature-1.html +93 -60
  22. data/_layouts/frame.html +205 -205
  23. data/_layouts/home-1.html +48 -85
  24. data/_layouts/imagekit.html +115 -122
  25. data/_layouts/photo-effects-home.html +83 -83
  26. data/assets/css/batch.css +1 -1
  27. data/assets/css/calculators.css +40 -40
  28. data/assets/css/common.css +548 -0
  29. data/assets/css/feature-1.css +82 -294
  30. data/assets/css/frame.css +695 -695
  31. data/assets/css/home-1.css +5 -12
  32. data/assets/css/imagekit.css +748 -748
  33. data/assets/images/addimg.svg +2 -2
  34. data/assets/images/bulb.svg +1 -1
  35. data/assets/images/cloud_new.svg +1 -0
  36. data/assets/images/cross.svg +1 -0
  37. data/assets/images/fast.svg +1 -0
  38. data/assets/images/lightbulb.svg +1 -0
  39. data/assets/images/shield.svg +1 -0
  40. data/assets/images/target.svg +1 -0
  41. data/assets/js/ads.js +8 -8
  42. data/assets/js/append-div.js +10 -10
  43. data/assets/js/batch.js +30 -8
  44. data/assets/js/photo-effects.json +32 -32
  45. data/assets/js/theme.js +11 -11
  46. metadata +14 -9
  47. data/_data/blog/blog.json +0 -1
  48. data/assets/css/common-page.css +0 -180
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" style="" viewBox="0 0 512 512">
2
- <path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 368C269.3 368 280 357.3 280 344V280H344C357.3 280 368 269.3 368 256C368 242.7 357.3 232 344 232H280V168C280 154.7 269.3 144 256 144C242.7 144 232 154.7 232 168V232H168C154.7 232 144 242.7 144 256C144 269.3 154.7 280 168 280H232V344C232 357.3 242.7 368 256 368z"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" style="" viewBox="0 0 512 512">
2
+ <path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 368C269.3 368 280 357.3 280 344V280H344C357.3 280 368 269.3 368 256C368 242.7 357.3 232 344 232H280V168C280 154.7 269.3 144 256 144C242.7 144 232 154.7 232 168V232H168C154.7 232 144 242.7 144 256C144 269.3 154.7 280 168 280H232V344C232 357.3 242.7 368 256 368z"/>
3
3
  </svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path d="M19 39v-1h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19v-2h10v2h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29v1h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29s-1.429 3-5 3c-3.571 0-5-3-5-3h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19zm1 0h8v-1h-8v1zm.17 1c.186.262.41.524.673.769C21.672 41.542 22.707 42 24 42s2.328-.458 3.157-1.231c.263-.245.487-.507.672-.769h-7.658zM20 37h8v-1h-8v1zM16.136 7.82a.5.5 0 0 1 .899-.44l1.56 3.2a.5.5 0 0 1-.898.44l-1.561-3.2zm14.049-.44a.5.5 0 0 1 .899.44l-1.561 3.2a.5.5 0 1 1-.9-.44l1.562-3.2zM23.11 6a.5.5 0 1 1 1 0v3.2a.5.5 0 1 1-1 0V6zm-12.346 5.95a.5.5 0 0 1 .716-.7l2.341 2.4a.5.5 0 1 1-.715.7l-2.342-2.4zm-2.888 5.734a.5.5 0 1 1 .248-.968l3.122.8a.5.5 0 1 1-.248.968l-3.122-.8zm31.87 0l-3.122.8a.5.5 0 0 1-.248-.968l3.122-.8a.5.5 0 0 1 .248.968zm-4.006-6.433a.5.5 0 1 1 .715.698l-2.341 2.4a.5.5 0 1 1-.716-.698l2.342-2.4zM18.8 34c0-5.5-4.8-5.5-4.8-12.571C14 16.397 18.477 12 24 12s10 4.397 10 9.429C34 28.5 29.2 28.5 29.2 34H18.8zm9.445-1c.167-1.75.813-3.018 2.113-4.72l.447-.583C32.393 25.617 33 24.16 33 21.429 33 16.899 28.917 13 24 13s-9 3.9-9 8.429c0 2.731.607 4.188 2.195 6.268l.447.583c1.3 1.702 1.946 2.97 2.113 4.72h8.49zm-6.876-17.067a.5.5 0 0 1 .355.934c-1.807.686-3.238 2.17-3.886 4.035a.5.5 0 0 1-.944-.329c.744-2.142 2.39-3.85 4.475-4.64z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/><g class="currentLayer" style=""><title>Layer 1</title><path d="M19 39v-1h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19v-2h10v2h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29v1h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29s-1.429 3-5 3c-3.571 0-5-3-5-3h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19zm1 0h8v-1h-8v1zm.17 1c.186.262.41.524.673.769C21.672 41.542 22.707 42 24 42s2.328-.458 3.157-1.231c.263-.245.487-.507.672-.769h-7.658zM20 37h8v-1h-8v1zM16.136 7.82a.5.5 0 0 1 .899-.44l1.56 3.2a.5.5 0 0 1-.898.44l-1.561-3.2zm14.049-.44a.5.5 0 0 1 .899.44l-1.561 3.2a.5.5 0 1 1-.9-.44l1.562-3.2zM23.11 6a.5.5 0 1 1 1 0v3.2a.5.5 0 1 1-1 0V6zm-12.346 5.95a.5.5 0 0 1 .716-.7l2.341 2.4a.5.5 0 1 1-.715.7l-2.342-2.4zm-2.888 5.734a.5.5 0 1 1 .248-.968l3.122.8a.5.5 0 1 1-.248.968l-3.122-.8zm31.87 0l-3.122.8a.5.5 0 0 1-.248-.968l3.122-.8a.5.5 0 0 1 .248.968zm-4.006-6.433a.5.5 0 1 1 .715.698l-2.341 2.4a.5.5 0 1 1-.716-.698l2.342-2.4zM18.8 34c0-5.5-4.8-5.5-4.8-12.571C14 16.397 18.477 12 24 12s10 4.397 10 9.429C34 28.5 29.2 28.5 29.2 34H18.8zm9.445-1c.167-1.75.813-3.018 2.113-4.72l.447-.583C32.393 25.617 33 24.16 33 21.429 33 16.899 28.917 13 24 13s-9 3.9-9 8.429c0 2.731.607 4.188 2.195 6.268l.447.583c1.3 1.702 1.946 2.97 2.113 4.72h8.49zm-6.876-17.067a.5.5 0 0 1 .355.934c-1.807.686-3.238 2.17-3.886 4.035a.5.5 0 0 1-.944-.329c.744-2.142 2.39-3.85 4.475-4.64z" id="svg_1" class="" fill-opacity="1" fill="#dc3c2c" stroke-opacity="1" stroke="#dc3c2c"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path d="M25 32v8h-1v-8H13.826C9.504 32 6 28.395 6 23.948c0-2.367.993-4.496 2.573-5.969a8.292 8.292 0 0 1-.225-1.927C8.348 11.605 11.852 8 16.174 8c2.56 0 4.833 1.265 6.26 3.22a7.65 7.65 0 0 1 4.696-1.61c2.85 0 5.345 1.568 6.713 3.91 4.575.439 8.157 4.4 8.157 9.22 0 5.114-4.03 9.26-9 9.26h-8zm0-1h8c4.412 0 8-3.692 8-8.26 0-4.28-3.165-7.833-7.252-8.224l-.51-.049-.258-.442c-1.23-2.105-3.431-3.415-5.85-3.415a6.648 6.648 0 0 0-4.084 1.401l-.813.629-.606-.83C20.343 10.05 18.343 9 16.174 9c-3.764 0-6.826 3.151-6.826 7.052 0 .578.067 1.145.198 1.695l.135.566-.426.398A7.135 7.135 0 0 0 7 23.948C7 27.85 10.063 31 13.826 31H24V20l-4.75 4.75-.75-.75 6-6 6 6-.75.75L25 20v11z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" style=""><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/><g class="currentLayer" style=""><title>Layer 1</title><path d="M27.394 20h7.25c.057 0 .11.01.16.027a.483.483 0 0 1 .16-.027C36.626 20 38 21.213 38 22.745c0 .939-.516 1.758-1.299 2.252.783.493 1.299 1.312 1.299 2.251 0 1.043-.636 1.937-1.566 2.403.65.502 1.066 1.252 1.066 2.099 0 1.286-.957 2.348-2.24 2.658a.483.483 0 0 1-.279.089h-.345c-.05.002-.1.003-.151.003a.481.481 0 0 1-.057-.003h-.317c.439.474.704 1.085.704 1.758 0 1.532-1.373 2.745-3.037 2.745a.49.49 0 0 1-.036-.001.49.49 0 0 1-.035.001H21.484A5.564 5.564 0 0 1 17 36.58v.427a.999.999 0 0 1-.997.992H9.997c-.55 0-.997-.455-.997-.992V18.992c0-.548.453-.992.997-.992h6.006c.55 0 .997.455.997.992v2.45a3334.085 3334.085 0 0 0 3.285-4.604c2.717-3.817 4.645-6.98 5.212-7.83.831-1.246 2.728-1.343 4-.267 1.442 1.22 1.658 3.982.409 6.793a22.579 22.579 0 0 1-.894 1.736c-.07.123-.14.249-.214.377A70.64 70.64 0 0 1 27.394 20zm-.767.983a.499.499 0 0 1-.553-.746c.03-.046.03-.046.153-.247l.374-.611a69.663 69.663 0 0 0 1.538-2.597c.373-.668.665-1.231.853-1.654 1.084-2.438.924-4.722-.141-5.623-.845-.715-2.047-.654-2.522.058-.575.863-2.503 4.025-5.23 7.854a2999.687 2999.687 0 0 1-3.844 5.386L17 23.16v10.67c.233 2.35 2.197 4.184 4.585 4.184h10.122a.49.49 0 0 1 .035 0 .49.49 0 0 1 .036 0c1.151 0 2.06-.803 2.06-1.759 0-.955-.909-1.758-2.06-1.758H29.23a.49.49 0 0 1-.489-.494.49.49 0 0 1 .489-.493h5.342c1.101-.04 1.958-.827 1.958-1.76 0-.914-.822-1.688-1.89-1.757h-5.41a.49.49 0 0 1-.489-.493.49.49 0 0 1 .489-.493h5.174a.48.48 0 0 1 .08-.007 3 3 0 0 1 .214.007h.265c1.151 0 2.06-.803 2.06-1.759 0-.955-.909-1.758-2.06-1.758H29.23a.49.49 0 0 1-.489-.493.49.49 0 0 1 .489-.494h5.733c1.151 0 2.06-.803 2.06-1.758 0-.956-.909-1.759-2.06-1.759a.483.483 0 0 1-.159-.026.483.483 0 0 1-.16.026h-7.963a.49.49 0 0 1-.054-.003zM16 22.993V19c0-.002-2-.002-6 0v18c0 .002 2 .002 6 0V22.993z" id="svg_1" class="" fill="#dc3c2c" fill-opacity="1" stroke="#dc3c2c" stroke-opacity="1"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" style=""><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/><g class="currentLayer" style=""><title>Layer 1</title><path d="M32.623 33.364l-1.764-1.018.504-.874 1.764 1.018 1.019-1.764.873.505-1.018 1.764 1.764 1.018-.504.874-1.764-1.018-1.019 1.764-.874-.505 1.019-1.764zM9.099 25.486c-1.314-1.774-1.514-4.264-.317-6.338a5.845 5.845 0 0 1 3.388-2.691l8.464-7.68L24.805 8l-1.203 4.099-6.012 5.455 11.25 6.493-.02-5.17c0-3.136.884-5.725 2.362-7.792a11.075 11.075 0 0 1 1.635-1.834 6.49 6.49 0 0 1 .775-.608l.308-.196.289.222c.16.124.428.358.768.7.56.564 1.118 1.232 1.64 2.003 1.446 2.14 2.332 4.646 2.38 7.498l-.007 11.606c1.256 1.772 1.42 4.215.248 6.245-1.194 2.069-3.455 3.15-5.657 2.893a6.332 6.332 0 0 1-4.986-.387c-.014-.006-5.443-3.139-16.287-9.398l-.151-.088a6.312 6.312 0 0 1-3.038-4.255zm1.625 1.465a5.272 5.272 0 0 0 2.06 1.988l16.193 9.352a5.367 5.367 0 0 0 2.504.644L10.963 27.09l-.187-.108a5.62 5.62 0 0 1-.052-.03zm5.945-9.93l6.046-5.486.656-2.234-2.273.424-7.158 6.494a5.509 5.509 0 0 1 2.729.802zm13.195 7.617c2.26 1.306 4.813 2.779 7.657 4.42a.5.5 0 0 1 .115.092c.104.073.206.15.304.229.003-6.988.006-10.494.009-10.518a12.606 12.606 0 0 0-2.206-6.94 12.9 12.9 0 0 0-1.52-1.859 10.624 10.624 0 0 0-.377-.362 8.16 8.16 0 0 0-.34.287 10.075 10.075 0 0 0-1.486 1.668c-1.361 1.904-2.179 4.296-2.179 7.221l.023 5.762zm6.152-8.648c.004-.274.213-.492.466-.487.253.005.455.23.45.505l-.1 6.07c-.004.273-.213.492-.466.487-.253-.005-.455-.231-.45-.505l.1-6.07zm-19.961 1.85c-2.215-1.279-5.081-.47-6.4 1.814-1.318 2.283-.585 5.17 1.63 6.448.056.033.113.064.17.094.018.01 6.916 3.993 20.695 11.952 2.25 1.099 4.936.25 6.195-1.93 1.259-2.182.651-4.932-1.367-6.286-.014-.01-6.906-3.993-20.677-11.95-.135-.076-.19-.11-.246-.142z" id="svg_1" class="" fill-opacity="1" fill="#dc3c2c" stroke-opacity="1" stroke="#dc3c2c"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path d="M19 39v-1h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19v-2h10v2h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29v1h.538c.255 0 .462.224.462.5s-.207.5-.462.5H29s-1.429 3-5 3c-3.571 0-5-3-5-3h-.538c-.255 0-.462-.224-.462-.5s.207-.5.462-.5H19zm1 0h8v-1h-8v1zm.17 1c.186.262.41.524.673.769C21.672 41.542 22.707 42 24 42s2.328-.458 3.157-1.231c.263-.245.487-.507.672-.769h-7.658zM20 37h8v-1h-8v1zM16.136 7.82a.5.5 0 0 1 .899-.44l1.56 3.2a.5.5 0 0 1-.898.44l-1.561-3.2zm14.049-.44a.5.5 0 0 1 .899.44l-1.561 3.2a.5.5 0 1 1-.9-.44l1.562-3.2zM23.11 6a.5.5 0 1 1 1 0v3.2a.5.5 0 1 1-1 0V6zm-12.346 5.95a.5.5 0 0 1 .716-.7l2.341 2.4a.5.5 0 1 1-.715.7l-2.342-2.4zm-2.888 5.734a.5.5 0 1 1 .248-.968l3.122.8a.5.5 0 1 1-.248.968l-3.122-.8zm31.87 0l-3.122.8a.5.5 0 0 1-.248-.968l3.122-.8a.5.5 0 0 1 .248.968zm-4.006-6.433a.5.5 0 1 1 .715.698l-2.341 2.4a.5.5 0 1 1-.716-.698l2.342-2.4zM18.8 34c0-5.5-4.8-5.5-4.8-12.571C14 16.397 18.477 12 24 12s10 4.397 10 9.429C34 28.5 29.2 28.5 29.2 34H18.8zm9.445-1c.167-1.75.813-3.018 2.113-4.72l.447-.583C32.393 25.617 33 24.16 33 21.429 33 16.899 28.917 13 24 13s-9 3.9-9 8.429c0 2.731.607 4.188 2.195 6.268l.447.583c1.3 1.702 1.946 2.97 2.113 4.72h8.49zm-6.876-17.067a.5.5 0 0 1 .355.934c-1.807.686-3.238 2.17-3.886 4.035a.5.5 0 0 1-.944-.329c.744-2.142 2.39-3.85 4.475-4.64z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/><g class="currentLayer" style=""><title>Layer 1</title><path d="M16 14a8 8 0 1 1 16 0v5h4a3 3 0 0 1 3 3.001V38a3.003 3.003 0 0 1-3 3H12a3 3 0 0 1-3-3.001V22a3.003 3.003 0 0 1 3-3h4v-5zm1 0v5h14v-5a7 7 0 0 0-14 0zm15 6H12c-1.102 0-2 .898-2 2.001V38a2 2 0 0 0 2 2h24c1.102 0 2-.898 2-2.001V22a2 2 0 0 0-2-2h-4zm-8 6a1 1 0 0 1 1 1v7a1 1 0 0 1-2 0v-7a1 1 0 0 1 1-1z" id="svg_1" class="" fill-opacity="1" fill="#dc3c2c" stroke-opacity="1" stroke="#dc3c2c"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none"/><g class="currentLayer" style=""><title>Layer 1</title><path d="M16.534 29.396l-3.859 6.684 3.906.235 2.156 3.265 4.66-7.438-.1-.162a11.943 11.943 0 0 1-6.763-2.584zm-.77-.668A11.966 11.966 0 0 1 12 20c0-6.627 5.373-12 12-12s12 5.373 12 12c0 3.446-1.452 6.552-3.778 8.74l4.758 8.241-5.022.302-2.773 4.198-5.195-8.384-5.196 8.384-2.772-4.198L11 36.98l4.765-8.253zm8.918 3.253l-.1.161 4.66 7.438 2.157-3.265 3.906-.235-3.853-6.673a11.943 11.943 0 0 1-6.77 2.574zM24 31c6.075 0 11-4.925 11-11S30.075 9 24 9s-11 4.925-11 11 4.925 11 11 11z" id="svg_1" class="" fill-opacity="1" fill="#dc3c2c" stroke-opacity="1" stroke="#dc3c2c"/></g></svg>
data/assets/js/ads.js CHANGED
@@ -1,8 +1,8 @@
1
- ;(function (s, u, z, p) {
2
- ;(s.src = u), s.setAttribute('data-zone', z), p.appendChild(s)
3
- })(
4
- document.createElement('script'),
5
- 'https://inklinkor.com/tag.min.js',
6
- 5225477,
7
- document.body || document.documentElement
8
- )
1
+ ;(function (s, u, z, p) {
2
+ ;(s.src = u), s.setAttribute('data-zone', z), p.appendChild(s)
3
+ })(
4
+ document.createElement('script'),
5
+ 'https://inklinkor.com/tag.min.js',
6
+ 5225477,
7
+ document.body || document.documentElement
8
+ )
@@ -1,10 +1,10 @@
1
- ---
2
- ---
3
- function insertAfter(referenceNode, newNode) {
4
- referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling)
5
- }
6
- let themeContentBox = document.getElementById('theme-content-box')
7
- const div = document.createElement('div')
8
- const profitablecpmgateId = '{{site.profitablecpmgateId}}'
9
- div.setAttribute('id', `container-${profitablecpmgateId}`)
10
- insertAfter(themeContentBox, div)
1
+ ---
2
+ ---
3
+ function insertAfter(referenceNode, newNode) {
4
+ referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling)
5
+ }
6
+ let themeContentBox = document.getElementById('theme-content-box')
7
+ const div = document.createElement('div')
8
+ const profitablecpmgateId = '{{site.profitablecpmgateId}}'
9
+ div.setAttribute('id', `container-${profitablecpmgateId}`)
10
+ insertAfter(themeContentBox, div)
data/assets/js/batch.js CHANGED
@@ -50,7 +50,7 @@ const onSubmit = (files) => {
50
50
  <div class="spinner-border" role="status"><span class="sr-only">Loading...</span></div>`
51
51
  return new Promise((resolve, reject) => {
52
52
  batchConversion(item, index).then(([indexValue, blob, type]) => {
53
- blobList.push(blob)
53
+ blobList.push({ blob: blob, fileName: item })
54
54
  document.querySelector(`#loader-${indexValue}`).innerHTML = `<span class="done">finished</span>`
55
55
  document.querySelector(`#download-${indexValue}`).style.display = "inline-block"
56
56
  resolve()
@@ -63,17 +63,20 @@ const onSubmit = (files) => {
63
63
  document.querySelector(".bottom-section-container").style.padding = "20px .75rem"
64
64
  document.querySelector('#download-zip').style.display = "block"
65
65
  let zip = new JSZip()
66
- let zipFiles = zip.folder(`safeimagekit-batch`)
67
- blobList.map((file, index) => {
66
+ let zipFiles = zip.folder(`safeimagekit-batch-images`)
67
+
68
+ blobList.map((item) => {
68
69
  zipFiles.file(
69
- `safeimagekit-${index + 1}.png`,
70
- getBase64String(file),
70
+ `safeimagekit-batch-${item.fileName.name.split(".")[0]}.png`,
71
+ getBase64String(item.blob),
71
72
  { base64: true }
72
73
  )
73
74
  })
75
+
76
+
74
77
  document.querySelector('#download-zip').addEventListener('click', () => {
75
78
  zip.generateAsync({ type: 'blob' }).then(function (content) {
76
- saveAs(content, `safeimagekit-batch.zip`)
79
+ saveAs(content, `safeimagekit-batch-conversion.zip`)
77
80
  if (lang === 'en') {
78
81
  window.location.href = `/download?tool=${pageTool}`
79
82
  } else {
@@ -94,6 +97,18 @@ const renderFiles = (files) => {
94
97
  </th>
95
98
  <td class="fileName">${file.name}</td>
96
99
  <td id=loader-${index} class="file-processing"><span class="ready">${loader}</span></td>
100
+ <td>
101
+ <div class="download-format ">
102
+ <select name="image-format" id="image-format">
103
+ <option value="png">png</option>
104
+ <option value="jpg">jpg</option>
105
+ <option value="jpeg">jpeg</option>
106
+ <option value="webp">webp</option>
107
+
108
+ </select>
109
+ </div>
110
+
111
+ </td>
97
112
  <td class="file-download-button text-right">
98
113
  <button style="display:none;" id=download-${index} data-type="image" onclick="handleDownload(this)" class="btn download-file-btn">
99
114
  <svg class="download-icon" width="16px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"
@@ -109,6 +124,8 @@ const renderFiles = (files) => {
109
124
  }
110
125
  })
111
126
  }
127
+
128
+
112
129
  const handleFile = (file) => {
113
130
  showProcessingFiles.innerHTML = ""
114
131
  if (file) {
@@ -139,12 +156,17 @@ function formatBytes(bytes, decimals = 2) {
139
156
  return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];
140
157
  }
141
158
  const handleDownload = (e) => {
142
- let find = blobList[Number(e.id.replace(/^\D+/g, ''))]
159
+ let find = blobList[Number(e.id.replace(/^\D+/g, ''))].blob
160
+ let fileName = blobList[Number(e.id.replace(/^\D+/g, ''))].fileName.name
161
+
162
+ let format = document.querySelector("#image-format").value
163
+
164
+
143
165
  switch (e.dataset.type) {
144
166
  case "image":
145
167
  let a = document.createElement('a')
146
168
  a.href = find
147
- a.download = `safeimagekit.png`
169
+ a.download = `safeimagekit-batch-${fileName.split(".")[0]}.${format}`
148
170
  document.body.appendChild(a)
149
171
  a.click()
150
172
  break;
@@ -1,33 +1,33 @@
1
- [
2
- {
3
- "name": "together_forever",
4
- "effectImagePath": "/assets/images/together_forever.png",
5
- "elements": [
6
- {
7
- "type": "image",
8
- "filter": "",
9
- "perspective": "",
10
- "height": 300,
11
- "width": 300,
12
- "translate": {
13
- "x": -5,
14
- "y": -10
15
- },
16
- "x": 100,
17
- "y": 100,
18
- "id": "file-1"
19
- },
20
- {
21
- "type": "text",
22
- "x": "200",
23
- "y": "200",
24
- "color": "red",
25
- "fontFamily": "Calligraphy",
26
- "fontPath": "/assets/fonts/Calligraphy.ttf",
27
- "id": "text-1",
28
- "fontSize": 50,
29
- "fontSizeOption1": 10
30
- }
31
- ]
32
- }
1
+ [
2
+ {
3
+ "name": "together_forever",
4
+ "effectImagePath": "/assets/images/together_forever.png",
5
+ "elements": [
6
+ {
7
+ "type": "image",
8
+ "filter": "",
9
+ "perspective": "",
10
+ "height": 300,
11
+ "width": 300,
12
+ "translate": {
13
+ "x": -5,
14
+ "y": -10
15
+ },
16
+ "x": 100,
17
+ "y": 100,
18
+ "id": "file-1"
19
+ },
20
+ {
21
+ "type": "text",
22
+ "x": "200",
23
+ "y": "200",
24
+ "color": "red",
25
+ "fontFamily": "Calligraphy",
26
+ "fontPath": "/assets/fonts/Calligraphy.ttf",
27
+ "id": "text-1",
28
+ "fontSize": 50,
29
+ "fontSizeOption1": 10
30
+ }
31
+ ]
32
+ }
33
33
  ]
data/assets/js/theme.js CHANGED
@@ -1,11 +1,11 @@
1
- $(document).ready(function () {
2
- var safuiAlert = $('#safeui-alert')
3
- if (safuiAlert) {
4
- safuiAlert
5
- .first()
6
- .delay(10000)
7
- .slideUp(1000, function () {
8
- $(this).remove()
9
- })
10
- }
11
- })
1
+ $(document).ready(function () {
2
+ var safuiAlert = $('#safeui-alert')
3
+ if (safuiAlert) {
4
+ safuiAlert
5
+ .first()
6
+ .delay(10000)
7
+ .slideUp(1000, function () {
8
+ $(this).remove()
9
+ })
10
+ }
11
+ })
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.6
4
+ version: 2.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-09 00:00:00.000000000 Z
11
+ date: 2022-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '12.0'
55
- description:
55
+ description:
56
56
  email:
57
57
  - vivek@appscms.com
58
58
  executables: []
@@ -64,7 +64,6 @@ files:
64
64
  - _data/about/en/about.json
65
65
  - _data/blog/alertbar.yml
66
66
  - _data/blog/authors.yml
67
- - _data/blog/blog.json
68
67
  - _data/blog/blog.yml
69
68
  - _data/blog/nav.json
70
69
  - _data/blog/share.yml
@@ -2461,7 +2460,7 @@ files:
2461
2460
  - assets/css/blog.css
2462
2461
  - assets/css/bootstrap.min.css
2463
2462
  - assets/css/calculators.css
2464
- - assets/css/common-page.css
2463
+ - assets/css/common.css
2465
2464
  - assets/css/feature-1.css
2466
2465
  - assets/css/filecomparison.css
2467
2466
  - assets/css/frame.css
@@ -2601,14 +2600,18 @@ files:
2601
2600
  - assets/images/bulb.png
2602
2601
  - assets/images/bulb.svg
2603
2602
  - assets/images/cloud-computing.png
2603
+ - assets/images/cloud_new.svg
2604
2604
  - assets/images/convert.png
2605
2605
  - assets/images/convert.svg
2606
+ - assets/images/cross.svg
2606
2607
  - assets/images/download.png
2608
+ - assets/images/fast.svg
2607
2609
  - assets/images/file.png
2608
2610
  - assets/images/fileformat.webp
2609
2611
  - assets/images/gallary.png
2610
2612
  - assets/images/keshav.webp
2611
2613
  - assets/images/krutika.jpeg
2614
+ - assets/images/lightbulb.svg
2612
2615
  - assets/images/loader.gif
2613
2616
  - assets/images/logo.png
2614
2617
  - assets/images/paavan.webp
@@ -2618,9 +2621,11 @@ files:
2618
2621
  - assets/images/safeimagekit..png
2619
2622
  - assets/images/safeimagekit.png
2620
2623
  - assets/images/safevideoconverter.svg
2624
+ - assets/images/shield.svg
2621
2625
  - assets/images/siddhika.jpeg
2622
2626
  - assets/images/sona.jpeg
2623
2627
  - assets/images/spinner.gif
2628
+ - assets/images/target.svg
2624
2629
  - assets/images/together_forever.png
2625
2630
  - assets/images/trust.svg
2626
2631
  - assets/images/udit.jpeg
@@ -2657,7 +2662,7 @@ homepage: https://github.com/Appscms-com/appscms-tools-theme
2657
2662
  licenses:
2658
2663
  - MIT
2659
2664
  metadata: {}
2660
- post_install_message:
2665
+ post_install_message:
2661
2666
  rdoc_options: []
2662
2667
  require_paths:
2663
2668
  - lib
@@ -2672,8 +2677,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2672
2677
  - !ruby/object:Gem::Version
2673
2678
  version: '0'
2674
2679
  requirements: []
2675
- rubygems_version: 3.1.6
2676
- signing_key:
2680
+ rubygems_version: 3.1.2
2681
+ signing_key:
2677
2682
  specification_version: 4
2678
2683
  summary: Appscms theme for all tools
2679
2684
  test_files: []
data/_data/blog/blog.json DELETED
@@ -1 +0,0 @@
1
- [{"tags":[],"categories":[],"title":"What happens if you ask people to pick a number `at random’ between 1 and 100?","layout":"post","author":"Nikita","image":"https://numbermagics-blog.netlify.app/uploads/output-15.png","comments":false,"url":"/blog/what-happens-if-you-ask-people-to-pick-a-number-at-random-between-1-and-100","date":"2021-07-17"},{"tags":[],"categories":[],"title":"Guests at home and not able to decide what to Cook for Guests: Spin the Wheel to Decide","layout":"post","author":"Nikita","image":"https://numbermagics-blog.netlify.app/uploads/output-14.png","comments":false,"url":"/blog/guests-at-home-and-not-able-to-decide-what-to-cook-for-guests-spin-the-wheel-to-decide","date":"2021-07-17"},{"tags":[],"categories":[],"title":"Coin toss - Can you make life decisions using this and stay happy?","layout":"post","author":"Nikita","image":"https://numbermagics-blog.netlify.app/uploads/output-12.png","comments":false,"url":"/blog/coin-toss-can-you-make-life-decisions-using-this-and-stay-happy","date":"2021-07-17"},{"tags":[],"categories":[],"title":"Challenge yourself and your friends with coin flip workout","layout":"post","author":"Nikita","image":"https://numbermagics-blog.netlify.app/uploads/output-13.png","comments":false,"url":"/blog/challenge-yourself-and-your-friends-with-coin-flip-workout","date":"2021-07-17"},{"tags":[],"categories":[],"title":"7 applications of picking a random number to decide in real life","layout":"post","author":"Nikita","image":"https://numbermagics-blog.netlify.app/uploads/output-16.png","comments":false,"url":"/blog/7-applications-of-picking-a-random-number-to-decide-in-real-life","date":"2021-07-17"}]
@@ -1,180 +0,0 @@
1
- .home1-nav-header {
2
- position: sticky;
3
- top: 0;
4
- z-index: 10;
5
- background: #fff;
6
- box-shadow: 0 1px 0 0 rgb(38 38 40 / 9%);
7
- }
8
-
9
- .header-navbar {
10
- padding: 12px;
11
- }
12
-
13
- .header-logo-height {
14
- height: 35px;
15
- width: 35px;
16
- }
17
-
18
- .header_nav__item {
19
- margin: 0 !important;
20
- padding: 0 15px;
21
- font-size: 14px;
22
- font-weight: 400;
23
- line-height: 18px;
24
- text-align: left;
25
- list-style: none;
26
- position: relative;
27
- }
28
-
29
- .header_bars {
30
- width: 22px;
31
- height: 1px;
32
- background-color: black;
33
- margin: 6px 0;
34
- }
35
-
36
- .dropdown-toggle::after {
37
- display: inline-block;
38
- margin-left: 0.255em;
39
- vertical-align: middle;
40
- content: "";
41
- border-top: 0.4em solid;
42
- border-right: 0.4em solid transparent;
43
- border-bottom: 0;
44
- border-left: 0.4em solid transparent;
45
- }
46
-
47
- .tools_list_categoryName {
48
- font-size: 15px !important;
49
- font-weight: 700 !important;
50
- color: #2e2e2e !important;
51
- }
52
-
53
- .tools_list_categoryName:hover {
54
- background-color: transparent !important;
55
- }
56
-
57
- .tools_list_featureName {
58
- font-size: 13px;
59
- font-weight: 400;
60
- /* color: #000; */
61
- }
62
-
63
- .catPad li:hover {
64
- background-color: #f3f3f4;
65
- }
66
-
67
- .dropdown-menu {
68
- border: none;
69
- }
70
-
71
- .navbar .dropdown-menu {
72
- position: fixed;
73
- left: 0;
74
- top: 56px;
75
- width: 100%;
76
- border-top: 1px solid rgb(0 0 0 / 9%);
77
- border-bottom: 1px solid rgb(0 0 0 / 9%);
78
- border-radius: 0;
79
- }
80
-
81
- .footer-wrapper {
82
- padding: 35px;
83
- }
84
-
85
- .footer-nav {
86
- justify-content: space-around;
87
- }
88
-
89
- .footer-link {
90
- font-size: 13px;
91
- font-weight: 400;
92
- }
93
-
94
- .footer-1 {
95
- border-top: 1px solid rgb(0 0 0 / 9%);
96
- }
97
-
98
- .footer1-msg {
99
- text-align: left;
100
- font-stretch: 400;
101
- font-weight: 400;
102
- font-size: 13px;
103
- line-height: 24px;
104
- color: rgba(26, 26, 26, 1);
105
- -webkit-flex: 1 1 auto;
106
- -ms-flex: 1 1 auto;
107
- flex: 1 1 auto;
108
- }
109
-
110
- .privacy-footer {
111
- padding: 15px 80px !important;
112
- }
113
-
114
- .privacy-links-item,
115
- .drop-down-btn {
116
- font-size: 13px !important;
117
- }
118
-
119
- .footer_hvr:hover {
120
- background-color: #f3f3f4;
121
- color: #262628;
122
- border-radius: 5px;
123
- }
124
-
125
- .footer-link:hover {
126
- color: #262628;
127
- }
128
-
129
- @media (max-width:992px) {
130
- .catPad {
131
- padding: 0;
132
- margin: 0 !important
133
- }
134
-
135
- .inner-dropdown {
136
- padding: 10px 30px;
137
-
138
- }
139
-
140
- .navbar .dropdown-menu {
141
- border-bottom: 0;
142
- }
143
-
144
- .header_nav__item {
145
- padding: 15px 0;
146
- border-bottom: 1px solid #e9ecef;
147
- font-size: 13px;
148
-
149
- }
150
- }
151
-
152
- @media (max-width:768px) {
153
- .footer-wrapper {
154
- padding: 25px;
155
- }
156
-
157
- .footer-nav {
158
- padding-top: 0;
159
- overflow: hidden;
160
- }
161
-
162
- .privacy-footer {
163
- padding: 25px !important;
164
- }
165
-
166
- .privacy-links {
167
- flex-direction: column;
168
- }
169
-
170
- .privacy-links-item,
171
- .drop-down-btn {
172
- padding: 8px 0;
173
- margin: 0;
174
- }
175
-
176
- .footer-nav {
177
- flex-direction: column;
178
- }
179
-
180
- }