Convert notification form to separate component

This commit is contained in:
zsxeee 2021-09-17 16:07:03 +08:00
parent 112d72da47
commit e9735d239b
No known key found for this signature in database
GPG key ID: 895CFFFD8313B3B8
17 changed files with 594 additions and 382 deletions

View file

@ -0,0 +1,25 @@
<template>
<div class="mb-3">
<label for="pushbullet-access-token" class="form-label">Access Token</label>
<HiddenInput id="pushbullet-access-token" v-model="$parent.notification.pushbulletAccessToken" :required="true" autocomplete="one-time-code"></HiddenInput>
</div>
<p style="margin-top: 8px;">
More info on: <a href="https://docs.pushbullet.com" target="_blank">https://docs.pushbullet.com</a>
</p>
</template>
<script>
import HiddenInput from "../HiddenInput.vue";
export default {
components: {
HiddenInput,
},
data() {
return {
name: "pushbullet",
}
},
}
</script>