feat: Minor fixes to profile page
This commit is contained in:
parent
ab8fc8c2bf
commit
f0a56b977a
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<section>
|
||||
<div>
|
||||
<div class="py-5">
|
||||
<div class="row">
|
||||
<div class="col-sm-3 text-center">
|
||||
<span class="sidebar-standard-image" title="Lorem Ipsum">
|
||||
@ -72,18 +72,20 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style scoped>
|
||||
.edit-button{
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
.edit-button {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.standard-image {
|
||||
font-size: 72px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0
|
||||
}
|
||||
}
|
||||
</style>
|
@ -11,8 +11,8 @@
|
||||
Courses
|
||||
<ul class="mb-0 mt-1">
|
||||
<li v-for="item in programData.progress" :key="item.name">
|
||||
<span v-if="item.is_complete"><i class="text-success fa fa-check-circle" aria-hidden="true"></i></span>
|
||||
<span v-else><i class="text-secondary fa fa-circle-o" aria-hidden="true"></i></span>
|
||||
<span v-if="item.is_complete"><i class="text-success fa fa-check-circle" aria-hidden="true"></i></span>
|
||||
<span v-else><i class="text-secondary fa fa-circle-o" aria-hidden="true"></i></span>
|
||||
{{ item.course_name }}
|
||||
</li>
|
||||
</ul>
|
||||
@ -82,11 +82,13 @@ export default {
|
||||
};
|
||||
</script>
|
||||
<style scoped>
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
li {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<CardList :title="'Quiz Attempts'" :description="''" :sectionType="'section-padding section'">
|
||||
<ScoreCard slot="card-list-slot" v-for="program in enrolledPrograms" :program="program" :key="program"/>
|
||||
</CardList>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@ -24,9 +24,9 @@ export default {
|
||||
AButton: Button,
|
||||
TopSection,
|
||||
CardList,
|
||||
ProfileInfo,
|
||||
ProfileInfo,
|
||||
ProgressCard,
|
||||
ScoreCard
|
||||
ScoreCard
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user