mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Compare commits
No commits in common. "7c67daf7ccc9ff24f47c6c11d12099d591d0fd10" and "909a0d081ea896406fe3a1c0ae978c3e0b3d3971" have entirely different histories.
7c67daf7cc
...
909a0d081e
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