summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/Pushy.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notifications/Pushy.vue')
-rw-r--r--src/components/notifications/Pushy.vue24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/notifications/Pushy.vue b/src/components/notifications/Pushy.vue
new file mode 100644
index 0000000..454f2e2
--- /dev/null
+++ b/src/components/notifications/Pushy.vue
@@ -0,0 +1,24 @@
+<template>
+ <div class="mb-3">
+ <label for="pushy-app-token" class="form-label">{{ $t("pushyAPIKey") }}</label>
+ <HiddenInput id="pushy-app-token" v-model="$parent.notification.pushyAPIKey" :required="true" autocomplete="new-password"></HiddenInput>
+ </div>
+
+ <div class="mb-3">
+ <label for="pushy-user-key" class="form-label">{{ $t("pushyToken") }}</label>
+ <HiddenInput id="pushy-user-key" v-model="$parent.notification.pushyToken" :required="true" autocomplete="new-password"></HiddenInput>
+ </div>
+ <i18n-t tag="p" keypath="More info on:" style="margin-top: 8px;">
+ <a href="https://pushy.me/docs/api/send-notifications" target="_blank">https://pushy.me/docs/api/send-notifications</a>
+ </i18n-t>
+</template>
+
+<script>
+import HiddenInput from "../HiddenInput.vue";
+
+export default {
+ components: {
+ HiddenInput,
+ },
+};
+</script>