mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Compare commits
3 commits
8612466ac6
...
28c14daa80
Author | SHA1 | Date | |
---|---|---|---|
|
28c14daa80 | ||
|
7c67daf7cc | ||
|
e13a67acb3 |
3 changed files with 6 additions and 5 deletions
|
@ -5,6 +5,9 @@ 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("ceredsmsPhoneNumber") }}</label>
|
<label for="ceredsms-phone-number" class="form-label">{{ $t("To Phone Number") }}</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("ceredsmsSenderName") }}</label>
|
<label for="ceredsms-sender-name" class="form-label">{{ $t("Originator") }}</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,7 +1088,5 @@
|
||||||
"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