summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/FlashDuty.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notifications/FlashDuty.vue')
-rw-r--r--src/components/notifications/FlashDuty.vue29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/components/notifications/FlashDuty.vue b/src/components/notifications/FlashDuty.vue
new file mode 100644
index 0000000..a66ada0
--- /dev/null
+++ b/src/components/notifications/FlashDuty.vue
@@ -0,0 +1,29 @@
+<template>
+ <div class="mb-3">
+ <label for="flashduty-integration-url" class="form-label">Integration Key</label>
+ <HiddenInput id="flashduty-integration-url" v-model="$parent.notification.flashdutyIntegrationKey" autocomplete="false"></HiddenInput>
+ <i18n-t tag="div" keypath="wayToGetFlashDutyKey" class="form-text">
+ <a href="https://flashcat.cloud/product/flashduty?from=kuma" target="_blank">{{ $t("here") }}</a>
+ </i18n-t>
+ </div>
+ <div class="mb-3">
+ <label for="flashduty-severity" class="form-label">{{ $t("FlashDuty Severity") }}</label>
+ <select id="flashduty-severity" v-model="$parent.notification.flashdutySeverity" class="form-select" :required="true">
+ <option value="Info" selected>Info</option>
+ <option value="Warning" selected>Warning</option>
+ <option value="Critical">Critical</option>
+ </select>
+ </div>
+</template>
+
+<script>
+import HiddenInput from "../HiddenInput.vue";
+
+export default {
+ components: {
+ HiddenInput,
+ },
+ mounted() {
+ }
+};
+</script>