summaryrefslogtreecommitdiffstats
path: root/src/components/notifications/SMSManager.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notifications/SMSManager.vue')
-rw-r--r--src/components/notifications/SMSManager.vue31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/components/notifications/SMSManager.vue b/src/components/notifications/SMSManager.vue
new file mode 100644
index 0000000..00be2fa
--- /dev/null
+++ b/src/components/notifications/SMSManager.vue
@@ -0,0 +1,31 @@
+<template>
+ <div class="mb-3">
+ <label for="smsmanager-key" class="form-label">{{ $t("API Key") }}</label>
+ <div class="form-text">
+ {{ $t("SMSManager API Docs") }}
+ <a href="https://smsmanager.cz/api/http#send" target="_blank">{{ $t("here") }}</a>
+ </div>
+ <input id="smsmanager-key" v-model="$parent.notification.smsmanagerApiKey" type="text" class="form-control">
+ </div>
+ <div class="mb-3">
+ <label for="smsmanager-numbers" class="form-label"> {{ $t("Recipients") }}</label>
+ <div class="form-text">
+ {{ $t("You can divide numbers with") }} <b>,</b> {{ $t("or") }} <b>;</b>
+ </div>
+ <input id="smsmanager-numbers" v-model="$parent.notification.numbers" type="text" class="form-control">
+ </div>
+ <div class="mb-3">
+ <label for="smsmanager-messageType" class="form-label">{{ $t("Gateway Type") }}</label>
+ <select id="smsmanager-messageType" v-model="$parent.notification.messageType" class="form-select">
+ <option value="economy">{{ $t("Economy") }}</option>
+ <option value="lowcost">{{ $t("Lowcost") }}</option>
+ <option value="high" selected>{{ $t("High") }}</option>
+ </select>
+ </div>
+ <div class="mb-3">
+ <div class="form-text">
+ {{ $t("checkPrice", [$t("SMSManager")]) }}
+ <a href="https://smsmanager.cz/rozesilani-sms/ceny/ceska-republika/" target="_blank">{{ $t("here") }}</a>
+ </div>
+ </div>
+</template>