uptime-kuma/src/components/notifications/DingDing.vue

17 lines
1.1 KiB
Vue
Raw Normal View History

2021-10-13 04:13:46 -04:00
<template>
<div class="mb-3">
<label for="WebHookUrl" class="form-label">{{ $t("WebHookUrl") }}<span style="color: red;"><sup>*</sup></span></label>
<input id="WebHookUrl" v-model="$parent.notification.webHookUrl" type="text" class="form-control" required>
<label for="secretKey" class="form-label">{{ $t("SecretKey") }}<span style="color: red;"><sup>*</sup></span></label>
<input id="secretKey" v-model="$parent.notification.secretKey" type="text" class="form-control" required>
2021-10-14 04:24:03 -04:00
<div class="form-text">
<p>{{ $t("For safety, must use secret key") }}</p>
2021-10-13 04:13:46 -04:00
<i18n-t tag="p" keypath="Read more:">
<a href="https://developers.dingtalk.com/document/robots/custom-robot-access" target="_blank">https://developers.dingtalk.com/document/robots/custom-robot-access</a> <a href="https://open.dingtalk.com/document/robots/customize-robot-security-settings#title-7fs-kgs-36x" target="_blank">https://open.dingtalk.com/document/robots/customize-robot-security-settings#title-7fs-kgs-36x</a>
2021-10-13 04:13:46 -04:00
</i18n-t>
</div>
</div>
</template>