mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 11:22:34 +02:00
refactor: use hidden input instead of input; add placeholder; update notice
This commit is contained in:
parent
7275cb43e7
commit
336dac5f25
2 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="flashduty-integration-url" class="form-label">{{ $t("FlashDuty Push URL") }} <span style="color: red;"><sup>*</sup></span></label>
|
<label for="flashduty-integration-url" class="form-label">{{ $t("FlashDuty Push URL") }} <span style="color: red;"><sup>*</sup></span></label>
|
||||||
<input id="flashduty-integration-url" v-model="$parent.notification.flashdutyIntegrationKey" type="text" class="form-control" required />
|
<HiddenInput id="flashduty-integration-url" v-model="$parent.notification.flashdutyIntegrationKey" autocomplete="false" :placeholder="$t('FlashDuty Push URL Placeholder')" />
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
<p><span style="color: red;"><sup>*</sup></span>{{ $t("Required") }}</p>
|
<p><span style="color: red;"><sup>*</sup></span>{{ $t("Required") }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -20,8 +20,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import HiddenInput from "../HiddenInput.vue";
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
HiddenInput,
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -895,9 +895,10 @@
|
||||||
"noGroupMonitorMsg": "Not Available. Create a Group Monitor First.",
|
"noGroupMonitorMsg": "Not Available. Create a Group Monitor First.",
|
||||||
"Close": "Close",
|
"Close": "Close",
|
||||||
"Request Body": "Request Body",
|
"Request Body": "Request Body",
|
||||||
"wayToGetFlashDutyKey": "You can go to Channel -> (Select a Channel) -> Integrations -> Add a new integration' page, add a 'Uptime Kuma' to get a push address, copy the Integration Key in the address. For more information, please visit",
|
"wayToGetFlashDutyKey": "To integrate Uptime Kuma with Flashduty: Go to Channels > Select a channel > Integrations > Add a new integration, choose Uptime Kuma, and copy the Push URL.",
|
||||||
"FlashDuty Severity": "Severity",
|
"FlashDuty Severity": "Severity",
|
||||||
"FlashDuty Push URL": "Push URL",
|
"FlashDuty Push URL": "Push URL",
|
||||||
|
"FlashDuty Push URL Placeholder": "Copy from the alerting integration page",
|
||||||
"nostrRelays": "Nostr relays",
|
"nostrRelays": "Nostr relays",
|
||||||
"nostrRelaysHelp": "One relay URL per line",
|
"nostrRelaysHelp": "One relay URL per line",
|
||||||
"nostrSender": "Sender Private Key (nsec)",
|
"nostrSender": "Sender Private Key (nsec)",
|
||||||
|
|
Loading…
Add table
Reference in a new issue