2021-10-07 19:56:32 +00:00
|
|
|
<template>
|
|
|
|
<div class="mb-3">
|
2022-06-01 03:28:10 +00:00
|
|
|
<label for="promosms-login" class="form-label">{{ $t("promosmsLogin") }}</label>
|
2021-10-07 19:56:32 +00:00
|
|
|
<input id="promosms-login" v-model="$parent.notification.promosmsLogin" type="text" class="form-control" required>
|
2022-06-01 03:28:10 +00:00
|
|
|
<label for="promosms-key" class="form-label">{{ $t("promosmsPassword") }}</label>
|
2022-10-13 11:28:02 +00:00
|
|
|
<HiddenInput id="promosms-key" v-model="$parent.notification.promosmsPassword" :required="true" autocomplete="new-password"></HiddenInput>
|
2021-10-07 19:56:32 +00:00
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<label for="promosms-type-sms" class="form-label">{{ $t("SMS Type") }}</label>
|
|
|
|
<select id="promosms-type-sms" v-model="$parent.notification.promosmsSMSType" class="form-select">
|
|
|
|
<option value="0">{{ $t("promosmsTypeFlash") }}</option>
|
|
|
|
<option value="1">{{ $t("promosmsTypeEco") }}</option>
|
2021-10-18 10:02:54 +00:00
|
|
|
<option value="3">{{ $t("promosmsTypeFull") }}</option>
|
|
|
|
<option value="4">{{ $t("promosmsTypeSpeed") }}</option>
|
2021-10-07 19:56:32 +00:00
|
|
|
</select>
|
2021-10-12 08:29:18 +00:00
|
|
|
<div class="form-text">
|
|
|
|
{{ $t("checkPrice", [$t("promosms")]) }}
|
2021-10-07 19:56:32 +00:00
|
|
|
<a href="https://promosms.com/cennik/" target="_blank">https://promosms.com/cennik/</a>
|
2021-10-12 08:29:18 +00:00
|
|
|
</div>
|
2021-10-07 19:56:32 +00:00
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<label for="promosms-phone-number" class="form-label">{{ $t("promosmsPhoneNumber") }}</label>
|
|
|
|
<input id="promosms-phone-number" v-model="$parent.notification.promosmsPhoneNumber" type="text" class="form-control" required>
|
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<label for="promosms-sender-name" class="form-label">{{ $t("promosmsSMSSender") }}</label>
|
|
|
|
<input id="promosms-sender-name" v-model="$parent.notification.promosmsSenderName" type="text" minlength="3" maxlength="11" class="form-control">
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import HiddenInput from "../HiddenInput.vue";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
HiddenInput,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|