Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tabler Icons and update Bootstrap Icons from 1.4.0 to 1.5.0 #3

Merged
merged 1 commit into from
Aug 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@
crossorigin="anonymous" />

<!-- Bootstrap Icons-->
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css"
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"
as="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">

<!-- Remix Icons-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">

<!-- Tabler Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/[email protected]/iconfont/tabler-icons.min.css">

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

<script>
Expand Down Expand Up @@ -74,6 +77,9 @@
case "remixicon":
document.getElementById('iconSetWebsite').href = "https://remixicon.com/"
break;
case "tabler-icons":
document.getElementById('iconSetWebsite').href = "https://tabler-icons.io/"
break;
default:
document.getElementById('iconSetWebsite').href = "https://fontawesome.com/icons?d=gallery&p=2&s=solid&m=free"
break;
Expand All @@ -93,6 +99,7 @@
<span style="font-family: 'bootstrap-icons', Arial, sans-serif;"></span>
<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>
</div>

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

Expand Down Expand Up @@ -211,6 +219,7 @@ <h2>Documentation</h2>
<li><a href="https://icons.getbootstrap.com/">Bootstrap Icons</a></li>
<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>
</ul>
</p>
</div>
Expand Down