From 2cc3261d6d7f27b4062e87fda9b2bb95f65ffb90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Val=C3=A9rio?= Date: Thu, 19 Sep 2019 23:03:56 +0100 Subject: [PATCH] Add alert and footer --- src/App.vue | 26 +++++++++++++++++++++++--- src/components/KeyDetails.vue | 3 --- src/components/KeyInspector.vue | 1 + 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index a36a787..07b2502 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,14 +6,26 @@ Check the details of any PGP key + + Swicth to {{darkTheme ? "light theme" : "dark theme"}} + - Git Repository + Check source code + + +
+
+ Developed by + Gonçalo Valério | License: + AGPL +
+
@@ -25,9 +37,17 @@ export default { components: { KeyInspector }, - data: () => ({}), + data: () => ({ + darkTheme: true + }), created: function() { - this.$vuetify.theme.dark = true; + this.$vuetify.theme.dark = this.darkTheme; + }, + methods: { + changeTheme: function() { + this.darkTheme = !this.darkTheme; + this.$vuetify.theme.dark = this.darkTheme; + } } }; diff --git a/src/components/KeyDetails.vue b/src/components/KeyDetails.vue index d25672c..1ce6bb0 100644 --- a/src/components/KeyDetails.vue +++ b/src/components/KeyDetails.vue @@ -69,9 +69,6 @@ -
- Subkeys -
diff --git a/src/components/KeyInspector.vue b/src/components/KeyInspector.vue index 2893991..49c2e23 100644 --- a/src/components/KeyInspector.vue +++ b/src/components/KeyInspector.vue @@ -2,6 +2,7 @@ + Do not paste any private key that is currently in use.