mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-19 11:38:22 -04:00
SevenIO Notification Provider (#4219)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
126d6cd912
commit
19e8c75c3b
6 changed files with 119 additions and 0 deletions
|
@ -154,6 +154,7 @@ export default {
|
|||
"webhook": "Webhook",
|
||||
"GoAlert": "GoAlert",
|
||||
"ZohoCliq": "ZohoCliq",
|
||||
"SevenIO": "SevenIO",
|
||||
"whapi": "WhatsApp (Whapi)",
|
||||
"gtxmessaging": "GtxMessaging",
|
||||
"Cellsynt": "Cellsynt",
|
||||
|
|
31
src/components/notifications/SevenIO.vue
Normal file
31
src/components/notifications/SevenIO.vue
Normal file
|
@ -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>
|
|
@ -55,6 +55,7 @@ import WeCom from "./WeCom.vue";
|
|||
import GoAlert from "./GoAlert.vue";
|
||||
import ZohoCliq from "./ZohoCliq.vue";
|
||||
import Splunk from "./Splunk.vue";
|
||||
import SevenIO from "./SevenIO.vue";
|
||||
import Whapi from "./Whapi.vue";
|
||||
import Cellsynt from "./Cellsynt.vue";
|
||||
|
||||
|
@ -119,6 +120,7 @@ const NotificationFormList = {
|
|||
"GoAlert": GoAlert,
|
||||
"ServerChan": ServerChan,
|
||||
"ZohoCliq": ZohoCliq,
|
||||
"SevenIO": SevenIO,
|
||||
"whapi": Whapi,
|
||||
"gtxmessaging": GtxMessaging,
|
||||
"Cellsynt": Cellsynt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue