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

30 lines
1.2 KiB
Vue
Raw Normal View History

<template>
<div class="mb-3">
2021-09-20 22:02:41 -07:00
<label for="line-channel-access-token" class="form-label">{{ $t("Channel access token") }}</label>
2022-10-13 04:28:02 -07:00
<HiddenInput id="line-channel-access-token" v-model="$parent.notification.lineChannelAccessToken" :required="true" autocomplete="new-password"></HiddenInput>
</div>
2021-09-30 04:22:17 -07:00
<i18n-t tag="div" keypath="lineDevConsoleTo" class="form-text">
2021-09-20 22:02:41 -07:00
<b>{{ $t("Basic Settings") }}</b>
</i18n-t>
<div class="mb-3" style="margin-top: 12px;">
2022-04-29 05:17:15 -07:00
<label for="line-user-id" class="form-label">{{ $t("User ID") }}</label>
<input id="line-user-id" v-model="$parent.notification.lineUserID" type="text" class="form-control" required>
</div>
2021-09-30 04:22:17 -07:00
<i18n-t tag="div" keypath="lineDevConsoleTo" class="form-text">
2021-09-20 22:02:41 -07:00
<b>{{ $t("Messaging API") }}</b>
</i18n-t>
2021-09-30 04:22:17 -07:00
<i18n-t tag="div" keypath="wayToGetLineChannelToken" class="form-text" style="margin-top: 8px;">
2021-09-20 22:02:41 -07:00
<a href="https://developers.line.biz/console/" target="_blank">{{ $t("Line Developers Console") }}</a>
</i18n-t>
</template>
<script>
import HiddenInput from "../HiddenInput.vue";
export default {
components: {
HiddenInput,
},
2021-09-30 04:22:17 -07:00
};
</script>