Skip to content

Commit

Permalink
Some minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
RakhithaRR committed Mar 2, 2018
1 parent c66caa8 commit 6d3b649
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 19 deletions.
30 changes: 18 additions & 12 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 24 additions & 7 deletions Client/src/components/Projects/ViewProjects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
{{getCompletion(project)}}%
</v-progress-circular>
</div>
<div class="layout justify-center">
<v-date-picker
full-width
landscape
color="teal"
class="mt-3 mb-2"
event-color="red"
:events="this.events"
></v-date-picker>
</div>

</v-card>

Expand Down Expand Up @@ -106,6 +116,7 @@
key: '',
project: {},
cUser: JSON.parse(localStorage.getItem('user')),
events: []
}
},
methods: {
Expand Down Expand Up @@ -167,11 +178,24 @@
else {
return false
}
},
setEvents(projName) {
// for(var i in projName.Tasks){
// var obj = projName.Tasks[i];
// console.log(obj.deadline);
// this.events.push(obj.deadline);
// }
this.events.push('2018-03-04');
this.events.push('2018-03-05');
console.log("events: "+this.events);
}
},
mounted() {
this.getProject();
this.setEvents(this.project);
},
computed: {
Expand All @@ -183,11 +207,4 @@
</script>

<!--<div class="layout justify-center">-->
<!--<v-date-picker-->
<!--full-width-->
<!--landscape-->
<!--class="mt-3"-->

<!--&gt;</v-date-picker>-->
<!--</div>-->

0 comments on commit 6d3b649

Please sign in to comment.