summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/GoAlert.vue
blob: 185aaf240962c1cf3c1edda18788f9ddae6f7510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<template>
    <div class="mb-3">
        <label for="goalert-base-url" class="form-label">{{ $t("Base URL") }}</label>
        <input id="goalert-base-url" v-model="$parent.notification.goAlertBaseURL" type="text" class="form-control" required>
        <i18n-t tag="div" keypath="goAlertInfo" class="form-text">
            <a href="https://goalert.me" target="_blank">https://goalert.me</a>
        </i18n-t>
    </div>

    <div class="mb-3">
        <label for="goalert-token" class="form-label">{{ $t("Token") }}</label>
        <HiddenInput id="goalert-token" v-model="$parent.notification.goAlertToken" autocomplete="new-password" :required="true"></HiddenInput>

        <div class="form-text">
            {{ $t("goAlertIntegrationKeyInfo") }}
        </div>
    </div>
</template>

<script>
import HiddenInput from "../HiddenInput.vue";

export default {
    components: {
        HiddenInput,
    },
};
</script>