[+] Add graph-average to overall page

This commit is contained in:
Hykilpikonna
2019-09-29 15:23:51 -04:00
parent 68a91e5eb8
commit 02533f6b07
2 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -1,10 +1,11 @@
import {Component, Prop, Vue} from 'vue-property-decorator';
import GraphOverall from '@/pages/overall/graph-overall/graph-overall';
import GraphAverage from '@/pages/overall/graph-average/graph-average';
import {Course} from '@/components/app/app';
import {GPAUtils} from '@/utils/gpa-utils';
@Component({
components: {GraphOverall}
components: {GraphOverall, GraphAverage}
})
export default class Overall extends Vue
{
+7 -2
View File
@@ -13,11 +13,16 @@
</div>
</el-card>
</el-col>
<el-col :span="20">
<el-card style="margin-right: 20px">
<el-col :span="16">
<el-card>
<graph-overall :courses="courses"></graph-overall>
</el-card>
</el-col>
<el-col :span="4">
<el-card style="margin-right: 20px">
<graph-average :courses="courses"></graph-average>
</el-card>
</el-col>
</el-row>
<div class=""></div>
</div>