mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-06 03:17:29 -08:00
587d9e4781
* feat: add FlashDuty notification channel * refactor: #3475 nofify with Up or Down; refactor code; add en zh-hk zh-tw lang * refactor: default select Info * refactor: add space in word * refactor the flashduty notification code * refactor:compatible when Test flashduty nofication * refactor: add function param description * refactor: revert zh-hk zh-tw changes of flashduty
30 lines
1.1 KiB
Vue
30 lines
1.1 KiB
Vue
<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>
|