Add DoD Disclaimer
This commit is contained in:
33
js/components/fullpagenotice.js
Normal file
33
js/components/fullpagenotice.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import checkboxinput from './checkbox_input'
|
||||
import FormMixin from '../mixins/form'
|
||||
|
||||
export default {
|
||||
name: 'fullpagenotice',
|
||||
|
||||
mixins: [FormMixin],
|
||||
|
||||
components: {
|
||||
checkboxinput,
|
||||
},
|
||||
|
||||
data: function() {
|
||||
return {
|
||||
agree: false,
|
||||
visible: true,
|
||||
}
|
||||
},
|
||||
|
||||
mounted: function() {
|
||||
this.$root.$on('field-change', this.handleValidChange)
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleValidChange: function(event) {
|
||||
this.agree = event.value
|
||||
},
|
||||
|
||||
agreeToTermsClick: function() {
|
||||
this.visible = false
|
||||
},
|
||||
},
|
||||
}
|
@@ -6,6 +6,7 @@ import classes from '../styles/atat.scss'
|
||||
import Vue from 'vue/dist/vue'
|
||||
import VTooltip from 'v-tooltip'
|
||||
|
||||
import fullpagenotice from './components/fullpagenotice'
|
||||
import levelofwarrant from './components/levelofwarrant'
|
||||
import optionsinput from './components/options_input'
|
||||
import multicheckboxinput from './components/multi_checkbox_input'
|
||||
@@ -46,6 +47,7 @@ Vue.mixin(Modal)
|
||||
const app = new Vue({
|
||||
el: '#app-root',
|
||||
components: {
|
||||
fullpagenotice,
|
||||
toggler,
|
||||
levelofwarrant,
|
||||
optionsinput,
|
||||
|
Reference in New Issue
Block a user