diff --git a/src/AccountAppearance.vue b/src/AccountAppearance.vue
index 3261bf2..209ada6 100644
--- a/src/AccountAppearance.vue
+++ b/src/AccountAppearance.vue
@@ -93,7 +93,7 @@ fieldset.settings.view-panel
DragList(:list="columns")
.drag-zone(title="Move disabled columns here")
- .fa.fa-trash
+ Icon(name="trash")
DragList(:list="unused_cols", :removable="false")
diff --git a/src/Button.vue b/src/Button.vue
index 58b6788..abd2a9a 100644
--- a/src/Button.vue
+++ b/src/Button.vue
@@ -116,7 +116,7 @@ export default {
a.button(@click="click", :href="link", :target="href ? '_blank' : ''",
:class="_class")
- .fa(v-if="_icon", :class="'fa-' + _icon")
+ Icon(v-if="_icon",:name="_icon")
img(v-if="image", :src="image")
span.button-content(v-if="content") {{content}}
diff --git a/src/ClientVersion.vue b/src/ClientVersion.vue
index e5dbd50..75c0b07 100644
--- a/src/ClientVersion.vue
+++ b/src/ClientVersion.vue
@@ -44,9 +44,9 @@ export default {
.client-version(v-if="version")
a.outdated(v-if="outdated", :href="download_url", target="_blank",
title="Client version outdated. Click to open download page")
- | #[.fa.fa-exclamation-triangle] v{{version}}
- |
- | #[.fa.fa-exclamation-triangle]
+ Icon(name="exclamation-triangle")
+ | v{{version}}
+ Icon(name="exclamation-triangle")
span(v-else, :title="'Folding@home client version ' + version")
| v{{version}}
diff --git a/src/HelpBalloon.vue b/src/HelpBalloon.vue
index 09655f6..2d8714e 100644
--- a/src/HelpBalloon.vue
+++ b/src/HelpBalloon.vue
@@ -43,9 +43,9 @@ export default {
label.help-balloon(@click="active = !active")
.help-overlay(v-show="active", @click.stop="active = false")
- .help-name {{name}}#[.fa.fa-question-circle]
+ .help-name {{name}}#[Icon(name="question-circle")]
span(v-if="active")
- .fa.fa-caret-left
+ Icon(name="caret-left")
.help-content.view-panel(@click.stop="true")
.help-header
h2.help-title {{name}} Help
diff --git a/src/Icon.vue b/src/Icon.vue
new file mode 100644
index 0000000..d5be567
--- /dev/null
+++ b/src/Icon.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+ i.fa(:class="_class")
+
\ No newline at end of file
diff --git a/src/LoginDialog.vue b/src/LoginDialog.vue
index aade3de..cfc1668 100644
--- a/src/LoginDialog.vue
+++ b/src/LoginDialog.vue
@@ -169,7 +169,7 @@ Dialog(:buttons="buttons", ref="dialog", width="40em")
p.
When registering your Folding@home account you can generate
- a secure passphrase by clicking the #[.fa.fa-refresh] icon.
+ a secure passphrase by clicking the #[Icon(name="refresh")] icon.
Make sure you save this passphrase somewhere safe, preferably in
a password manager.
diff --git a/src/MachineView.vue b/src/MachineView.vue
index 3a118c9..1396516 100644
--- a/src/MachineView.vue
+++ b/src/MachineView.vue
@@ -114,7 +114,7 @@ export default {
.machine-header
.machine-name.header-title(:title="mach.get_title()")
| {{mach.get_name()}}
- .fa.fa-dot-circle-o(v-if="mach.is_direct()")
+ Icon(name="dot-circle-o",v-if="mach.is_direct()")
ClientVersion.machine-version(:mach="mach")
diff --git a/src/Pacify.vue b/src/Pacify.vue
index 9bdd16f..cffd597 100644
--- a/src/Pacify.vue
+++ b/src/Pacify.vue
@@ -52,7 +52,7 @@ export default {
Teleport(to="body")
.pacify-overlay(v-show="active")
- .fa.fa-spinner.fa-pulse
+ Icon(name="spinner",animate="pulse")