mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Compare commits
1 commit
28c14daa80
...
8612466ac6
Author | SHA1 | Date | |
---|---|---|---|
|
8612466ac6 |
3 changed files with 5 additions and 6 deletions
|
@ -5,9 +5,6 @@ class CeredSMS extends NotificationProvider {
|
||||||
|
|
||||||
name = "ceredsms";
|
name = "ceredsms";
|
||||||
|
|
||||||
/**
|
|
||||||
* @inheritdoc
|
|
||||||
*/
|
|
||||||
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
||||||
let okMsg = "Sent Successfully.";
|
let okMsg = "Sent Successfully.";
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
<HiddenInput id="ceredsms-key" v-model="$parent.notification.ceredsmsApiKey" :required="true" autocomplete="new-password"></HiddenInput>
|
<HiddenInput id="ceredsms-key" v-model="$parent.notification.ceredsmsApiKey" :required="true" autocomplete="new-password"></HiddenInput>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="ceredsms-phone-number" class="form-label">{{ $t("To Phone Number") }}</label>
|
<label for="ceredsms-phone-number" class="form-label">{{ $t("ceredsmsPhoneNumber") }}</label>
|
||||||
<input id="ceredsms-phone-number" v-model="$parent.notification.ceredsmsPhoneNumber" type="text" class="form-control" required>
|
<input id="ceredsms-phone-number" v-model="$parent.notification.ceredsmsPhoneNumber" type="text" class="form-control" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="ceredsms-sender-name" class="form-label">{{ $t("Originator") }}</label>
|
<label for="ceredsms-sender-name" class="form-label">{{ $t("ceredsmsSenderName") }}</label>
|
||||||
<input id="ceredsms-sender-name" v-model="$parent.notification.ceredsmsSenderName" type="text" minlength="3" maxlength="11" class="form-control">
|
<input id="ceredsms-sender-name" v-model="$parent.notification.ceredsmsSenderName" type="text" minlength="3" maxlength="11" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1088,5 +1088,7 @@
|
||||||
"Clear": "Clear",
|
"Clear": "Clear",
|
||||||
"Elevator": "Elevator",
|
"Elevator": "Elevator",
|
||||||
"Guitar": "Guitar",
|
"Guitar": "Guitar",
|
||||||
"Pop": "Pop"
|
"Pop": "Pop",
|
||||||
|
"ceredsmsSenderName": "Nadpis",
|
||||||
|
"ceredsmsPhoneNumber": "Numer telefonu"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue