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

35 lines
1.3 KiB
Vue
Raw Normal View History

<template>
<div class="mb-3">
2021-09-21 05:02:41 +00:00
<label for="signal-url" class="form-label">{{ $t("Post URL") }}</label>
<input id="signal-url" v-model="$parent.notification.signalURL" type="url" pattern="https?://.+" class="form-control" required>
</div>
<div class="mb-3">
2021-09-21 05:02:41 +00:00
<label for="signal-number" class="form-label">{{ $t("Number") }}</label>
<input id="signal-number" v-model="$parent.notification.signalNumber" type="text" class="form-control" required>
</div>
<div class="mb-3">
2021-09-21 05:02:41 +00:00
<label for="signal-recipients" class="form-label">{{ $t("Recipients") }}</label>
<input id="signal-recipients" v-model="$parent.notification.signalRecipients" type="text" class="form-control" required>
<div class="form-text">
2021-09-21 05:02:41 +00:00
<p style="margin-top: 8px;">
{{ $t("needSignalAPI") }}
</p>
<p style="margin-top: 8px;">
2021-09-22 08:13:23 +00:00
{{ $t("wayToCheckSignalURL") }}
</p>
<p style="margin-top: 8px;">
<a href="https://github.com/bbernhard/signal-cli-rest-api" target="_blank">https://github.com/bbernhard/signal-cli-rest-api</a>
</p>
<p style="margin-top: 8px;">
2021-09-21 05:02:41 +00:00
{{ $t("signalImportant") }}
</p>
</div>
</div>
</template>