Skip to content

Commit ddfb5f0

Browse files
committed
add icons
1 parent d5a4524 commit ddfb5f0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/components/debug_config/LogCard.vue

+10-5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<a
4646
href="#"
4747
@click.prevent="copyToClipboard(logData)"
48-
>Kopiere Log in die Zwischenablage</a
48+
><font-awesome-icon icon="clipboard" /> Log in die Zwischenablage</a
4949
>
5050
</div>
5151
<div
@@ -63,14 +63,14 @@
6363
<a
6464
href="#"
6565
@click.prevent="postToPastebin"
66-
>Poste Logs auf paste.openwb.de</a
66+
><font-awesome-icon :icon="['fas', 'share-nodes']" /> Logs auf paste.openwb.de teilen</a
6767
>
6868
</div>
6969
<div
7070
v-else
7171
class="copy-message text-right"
7272
>
73-
Logs geposted.
73+
Logs geteilt.
7474
<a
7575
:href="pastebinLink"
7676
target="_blank"
@@ -85,11 +85,16 @@
8585

8686
<script>
8787
import { library } from "@fortawesome/fontawesome-svg-core";
88-
import { faFileDownload as fasFileDownload, faSpinner as fasSpinner } from "@fortawesome/free-solid-svg-icons";
88+
import {
89+
faClipboard as fasClipboard,
90+
faFileDownload as fasFileDownload,
91+
faSpinner as fasSpinner,
92+
faShareNodes as fasShareNodes,
93+
} from "@fortawesome/free-solid-svg-icons";
8994
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
9095
import axios from "axios";
9196
92-
library.add(fasFileDownload, fasSpinner);
97+
library.add(fasFileDownload, fasSpinner, fasClipboard, fasShareNodes);
9398
9499
export default {
95100
name: "OpenwbLogCard",

0 commit comments

Comments
 (0)