|
|
@ -182,6 +182,11 @@
|
|
|
|
<input type="text" class="form-control" id="gotify-server-url" required v-model="notification.gotifyserverurl">
|
|
|
|
<input type="text" class="form-control" id="gotify-server-url" required v-model="notification.gotifyserverurl">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
|
|
|
<label for="gotify-priority" class="form-label">Priority</label>
|
|
|
|
|
|
|
|
<input type="number" class="form-control" id="gotify-priority" v-model="notification.gotifyPriority" required min="0" max="10" step="1">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -220,6 +225,7 @@ export default {
|
|
|
|
notification: {
|
|
|
|
notification: {
|
|
|
|
name: "",
|
|
|
|
name: "",
|
|
|
|
type: null,
|
|
|
|
type: null,
|
|
|
|
|
|
|
|
gotifyPriority: 8
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -254,11 +260,12 @@ export default {
|
|
|
|
this.id = null;
|
|
|
|
this.id = null;
|
|
|
|
this.notification = {
|
|
|
|
this.notification = {
|
|
|
|
name: "",
|
|
|
|
name: "",
|
|
|
|
type: null,
|
|
|
|
type: null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Default set to Telegram
|
|
|
|
// Default set to Telegram
|
|
|
|
this.notification.type = "telegram"
|
|
|
|
this.notification.type = "telegram"
|
|
|
|
|
|
|
|
this.notification.gotifyPriority = 8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.modal.show()
|
|
|
|
this.modal.show()
|
|
|
|