Skip to content

Commit

Permalink
Add Weather Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
dp-myodoo authored and spilymp committed Apr 7, 2022
1 parent 90c939f commit 895b723
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<!-- Tabler Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/iconfont/tabler-icons.min.css">

<!-- Weather Icons-->
<link href="https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.12/css/weather-icons.min.css" rel="stylesheet">

<script type="text/javascript" src="js/ibo_icon.js"></script>

<script>
Expand Down Expand Up @@ -85,6 +88,9 @@
case "tabler-icons":
document.getElementById('iconSetWebsite').href = "https://tabler-icons.io/"
break;
case "weathericons":
document.getElementById('iconSetWebsite').href = "http://erikflowers.github.io/weather-icons/"
break;
default:
document.getElementById('iconSetWebsite').href = "https://fontawesome.com/icons?d=gallery&p=2&s=solid&m=free"
break;
Expand All @@ -106,6 +112,7 @@
<span style="font-family: 'simple-line-icons', Arial, sans-serif;"></span>
<span style="font-family: 'remixicon', Arial, sans-serif;"></span>
<span style="font-family: 'tabler-icons', Arial, sans-serif;"></span>
<span style="font-family: 'weathericons', Arial, sans-serif;"></span>
</div>

<header class="container">
Expand Down Expand Up @@ -148,6 +155,7 @@ <h1>IBO - Icon Builder for Odoo</h1>
<option value="simple-line-icons">Simple Line Icons</option>
<option value="remixicon">Remix Icon</option>
<option value="tabler-icons">Tabler Icons</option>
<option value="weathericons">Weather Icons</option>
</select>
</div>

Expand Down Expand Up @@ -229,6 +237,7 @@ <h2>Documentation</h2>
<li><a href="https://simplelineicons.github.io/">Simple Line Icons</a></li>
<li><a href="https://remixicon.com/">Remix Icon</a></li>
<li><a href="https://tabler-icons.io/">Tabler Icons</a></li>
<li><a href="http://erikflowers.github.io/weather-icons/">Weather Icons</a></li>
</ul>
</p>
</div>
Expand Down

0 comments on commit 895b723

Please sign in to comment.