summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/SevenIO.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notifications/SevenIO.vue')
-rw-r--r--src/components/notifications/SevenIO.vue31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/components/notifications/SevenIO.vue b/src/components/notifications/SevenIO.vue
new file mode 100644
index 0000000..fcf746e
--- /dev/null
+++ b/src/components/notifications/SevenIO.vue
@@ -0,0 +1,31 @@
+<template>
+ <div class="mb-3">
+ <label for="sevenio-api-key" class="form-label">{{ $t("apiKeySevenIO") }}</label>
+ <HiddenInput id="sevenio-api-key" v-model="$parent.notification.sevenioApiKey" :required="true" autocomplete="new-password"></HiddenInput>
+ <div class="form-text">
+ {{ $t("wayToGetSevenIOApiKey") }}
+ </div>
+ </div>
+
+ <div class="mb-3">
+ <label for="sevenio-sender" class="form-label">{{ $t("senderSevenIO") }}</label>
+ <input id="sevenio-sender" v-model="$parent.notification.sevenioSender" type="text" class="form-control" autocomplete="false" placeholder="Uptime Kuma">
+ </div>
+
+ <div class="mb-3">
+ <label for="sevenio-receiver" class="form-label">{{ $t("receiverSevenIO") }}</label>
+ <input id="sevenio-receiver" v-model="$parent.notification.sevenioReceiver" type="number" class="form-control" required autocomplete="false" placeholder="0123456789">
+ <div class="form-text">
+ {{ $t("receiverInfoSevenIO") }}
+ </div>
+ </div>
+</template>
+
+<script>
+import HiddenInput from "../HiddenInput.vue";
+export default {
+ components: {
+ HiddenInput,
+ },
+};
+</script>