From 16b736a0bda307de1e5b7c0460ae68cd2d734d4a Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 10 Mar 2020 17:53:03 -0400 Subject: [PATCH] Use slots to make the text content more dynamic --- App.vue | 23 ++++++++++++++++----- ComputerLabel.vue => AssetLabel.vue | 19 +----------------- ComputersLabelText.vue | 31 +++++++++++++++++++++++++++++ ToolLabels.vue | 23 --------------------- 4 files changed, 50 insertions(+), 46 deletions(-) rename ComputerLabel.vue => AssetLabel.vue (78%) create mode 100644 ComputersLabelText.vue delete mode 100644 ToolLabels.vue diff --git a/App.vue b/App.vue index 0ebbeee..c53a2fa 100644 --- a/App.vue +++ b/App.vue @@ -1,13 +1,26 @@ diff --git a/ComputerLabel.vue b/AssetLabel.vue similarity index 78% rename from ComputerLabel.vue rename to AssetLabel.vue index caa42b8..2ded0f7 100644 --- a/ComputerLabel.vue +++ b/AssetLabel.vue @@ -2,12 +2,7 @@
- -
{{ name }}
-
{{ asset.name }}
-
{{ mac }}
-
{{ mac2 }}
-
+
Scan the QR code to learn more! @@ -22,7 +17,6 @@ diff --git a/ComputersLabelText.vue b/ComputersLabelText.vue new file mode 100644 index 0000000..b0bc0dc --- /dev/null +++ b/ComputersLabelText.vue @@ -0,0 +1,31 @@ + + + diff --git a/ToolLabels.vue b/ToolLabels.vue deleted file mode 100644 index bb98638..0000000 --- a/ToolLabels.vue +++ /dev/null @@ -1,23 +0,0 @@ - - -