-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80f7efb
commit 23b4bba
Showing
15 changed files
with
2,279 additions
and
543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:vue/recommended', | ||
'@vue/prettier', | ||
'@vue/typescript' | ||
], | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'@typescript-eslint/no-use-before-define': ['error', { functions: false }], | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'vue/no-unused-components': 'off' | ||
}, | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"singleQuote": true, | ||
"tabWidth": 4, | ||
"printWidth": 175, | ||
"useTabs": true, | ||
"endOfLine": "lf", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} | ||
presets: ['@vue/app'] | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,51 @@ | ||
<template> | ||
<div id="app"> | ||
<img alt="Vue logo" src="./assets/logo.png"> | ||
<HelloWorld msg="Welcome to Your Vue.js App"/> | ||
</div> | ||
<!-- <v-app class="red"> | ||
<v-icon>mdi-home</v-icon> | ||
{{ test }} | ||
</v-app> --> | ||
<question-container /> | ||
</template> | ||
|
||
<script> | ||
import HelloWorld from './components/HelloWorld.vue' | ||
<script lang="ts"> | ||
import Vue from 'vue'; | ||
import QuestionContainer from './components/QuestionContainer.vue'; | ||
export default { | ||
name: 'App', | ||
components: { | ||
HelloWorld | ||
} | ||
} | ||
import axios from 'axios'; | ||
export default Vue.extend({ | ||
components: { | ||
QuestionContainer | ||
}, | ||
data() { | ||
return { | ||
test: 'AWe' | ||
}; | ||
}, | ||
mounted() { | ||
axios | ||
.get('http://127.0.0.1:5000/questionnaire/question1') | ||
.then(response => { | ||
// handle success | ||
this.test = response.data; | ||
}) | ||
.catch(function(error) { | ||
// handle error | ||
console.log(error); | ||
}) | ||
.then(function() { | ||
// always executed | ||
}); | ||
} | ||
}); | ||
</script> | ||
|
||
<style> | ||
<style lang="scss"> | ||
#app { | ||
font-family: Avenir, Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
margin-top: 60px; | ||
font-family: Avenir, Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
margin-top: 60px; | ||
} | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<template> | ||
<div class="hello"> | ||
<div id="app"> | ||
<v-app id="inspire"> | ||
<v-stepper v-model="e6" vertical non-linear> | ||
<question-section step="1"> | ||
<template v-slot:title>Supervisor Evalution</template> | ||
<template v-slot:description> | ||
Please answer a few questions regarding your supervisor. | ||
</template> | ||
</question-section> | ||
|
||
<question-section step="2"> | ||
<template v-slot:title>Team Evaluation</template> | ||
<template v-slot:description> | ||
Please answer a few questions regarding your supervisor. | ||
</template> | ||
|
||
<v-card color="grey lighten-1" class="mb-12" height="200px"></v-card> | ||
</question-section> | ||
|
||
<question-section step="3"> | ||
<template v-slot:title>Development Environment</template> | ||
<template v-slot:description> | ||
Please answer a few questions regarding your development environment. | ||
</template> | ||
|
||
<v-card color="grey lighten-1" class="mb-12" height="200px"></v-card> | ||
</question-section> | ||
|
||
<question-section step="4"> | ||
<template v-slot:title>Company Culture</template> | ||
<template v-slot:description> | ||
Please answer a few questions on how you have experienced company culture this year. | ||
</template> | ||
|
||
<v-card color="grey lighten-1" class="mb-12" height="200px"></v-card> | ||
</question-section> | ||
</v-stepper> | ||
</v-app> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from 'vue'; | ||
import QuestionSection from './QuestionSection.vue'; | ||
export default Vue.extend({ | ||
components: { | ||
QuestionSection | ||
}, | ||
props: { | ||
msg: { | ||
type: String, | ||
default: 'Testing' | ||
} | ||
}, | ||
data() { | ||
return { | ||
e6: 1 | ||
}; | ||
}, | ||
methods: {} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<template> | ||
<!-- Do buttons, back and forth. Consider existing forms. Get all types for fields. Load via rest. --> | ||
<div> | ||
<v-stepper-step non-linear editable :step="step"> | ||
<slot name="title"> </slot> | ||
<slot v-if="!hideSubtitle" name="subtitle"> | ||
<!-- Only show this if section has been touched? --> | ||
<small>0 out of 5 questions answered</small> | ||
</slot> | ||
</v-stepper-step> | ||
|
||
<v-stepper-content :step="step"> | ||
<slot name="description"></slot> | ||
|
||
<slot> | ||
<div class="ma-8">No questions</div> | ||
</slot> | ||
<div class="pa-4 float-right"> | ||
<v-btn text class="ma-2"> | ||
Back | ||
</v-btn> | ||
<v-btn class="ma-2" color="primary" @click="e6 = 2"> | ||
Continue | ||
</v-btn> | ||
</div> | ||
</v-stepper-content> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from 'vue'; | ||
export default Vue.extend({ | ||
props: { | ||
step: { | ||
type: String, | ||
default: '-1' | ||
}, | ||
hideSubtitle: { | ||
type: Boolean, | ||
default: false | ||
} | ||
} | ||
}); | ||
</script> | ||
|
||
<style scoped></style> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import Vue from 'vue'; | ||
import App from './App.vue'; | ||
import '@mdi/font/css/materialdesignicons.css'; | ||
|
||
import Vuetify from 'vuetify'; | ||
import 'vuetify/dist/vuetify.min.css'; | ||
Vue.config.productionTip = false; | ||
Vue.use(Vuetify); | ||
|
||
new Vue({ | ||
vuetify: new Vuetify({ | ||
icons: { | ||
iconfont: 'mdi' // default - only for display purposes | ||
} | ||
}), | ||
render: (h): any => h(App) | ||
}).$mount('#app'); |
Oops, something went wrong.