summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/HeiiOnCall.vue
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-26 09:28:28 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-26 12:25:58 +0100
commita1882b67c41fe9901a0cd8059b5cc78a5beadec0 (patch)
tree2a24507c67aa99a15416707b2f7e645142230ed8 /src/components/notifications/HeiiOnCall.vue
parentInitial commit. (diff)
downloaduptime-kuma-upstream.tar.xz
uptime-kuma-upstream.zip
Adding upstream version 2.0.0~beta.0+dfsg.upstream/2.0.0_beta.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'src/components/notifications/HeiiOnCall.vue')
-rw-r--r--src/components/notifications/HeiiOnCall.vue34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/components/notifications/HeiiOnCall.vue b/src/components/notifications/HeiiOnCall.vue
new file mode 100644
index 0000000..a61c1c3
--- /dev/null
+++ b/src/components/notifications/HeiiOnCall.vue
@@ -0,0 +1,34 @@
+<template>
+ <div class="mb-3">
+ <label for="heiioncall-apikey" class="form-label">{{ $t("API Key") }}<span
+ style="color: red;"
+ ><sup>*</sup></span></label>
+ <HiddenInput
+ id="heiioncall-apikey" v-model="$parent.notification.heiiOnCallApiKey" required="true"
+ autocomplete="false"
+ ></HiddenInput>
+ </div>
+ <div class="mb-3">
+ <label for="heiioncall-trigger-id" class="form-label">Trigger ID<span
+ style="color: red;"
+ ><sup>*</sup></span></label>
+ <HiddenInput
+ id="heiioncall-trigger-id" v-model="$parent.notification.heiiOnCallTriggerId" required="true"
+ autocomplete="false"
+ ></HiddenInput>
+ </div>
+ <i18n-t tag="p" keypath="wayToGetHeiiOnCallDetails" class="form-text mt-3">
+ <template #documentation>
+ <a href="https://heiioncall.com/docs" target="_blank">{{ $t("documentationOf", ["Heii On-Call"]) }}</a>
+ </template>
+ </i18n-t>
+</template>
+
+<script>
+import HiddenInput from "../HiddenInput.vue";
+export default {
+ components: {
+ HiddenInput,
+ },
+};
+</script>