From 90c939fd61e200eaae8fb0b7d5e4207caa3eb19f Mon Sep 17 00:00:00 2001 From: spilymp Date: Thu, 7 Apr 2022 23:05:24 +0200 Subject: [PATCH] website - refactoring and clean up after merge --- index.html | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 5ea0a8d..9a16256 100644 --- a/index.html +++ b/index.html @@ -16,8 +16,8 @@ - + - - + @@ -65,21 +65,14 @@ document.getElementById("download").setAttribute("href", image); } - function onIconSetUpdate() { - populateIconSetWebsite(); - switch (document.getElementById('iconSet').value) { - case "FontAwesome": - document.getElementById("fa4").href = "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"; - break; - default: - document.getElementById("fa4").href = ""; - } - } function populateIconSetWebsite() { switch (document.getElementById('iconSet').value) { case "Font Awesome 5 Brands": document.getElementById('iconSetWebsite').href = "https://fontawesome.com/icons?d=gallery&p=2&s=brands&m=free" break; + case "FontAwesome": + document.getElementById('iconSetWebsite').href = "https://fontawesome.com/v4/icons/" + break; case "bootstrap-icons": document.getElementById('iconSetWebsite').href = "https://icons.getbootstrap.com/" break; @@ -108,6 +101,7 @@
+ @@ -146,7 +140,7 @@

IBO - Icon Builder for Odoo

- @@ -230,6 +224,7 @@

Documentation