Add loading in profile tabs
parent
14b8e5c264
commit
1c76e2c3f5
|
@ -1,6 +1,7 @@
|
|||
section.profile-contacts
|
||||
div(ng-if="!vm.contacts.size")
|
||||
p Loading... (TODO)
|
||||
div.spin
|
||||
img(src="/svg/spinner-circle.svg", alt="Loading...")
|
||||
// nav.profile-contact-filters
|
||||
// a.active(href="", title="No Filter") all
|
||||
// a(href="", title="Only show your team") team
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
section.profile-projects
|
||||
div(ng-if="!vm.projects.size")
|
||||
p Loading... (TODO)
|
||||
div.spin
|
||||
img(src="/svg/spinner-circle.svg", alt="Loading...")
|
||||
|
||||
div.project-list-single(tg-repeat="project in vm.projects")
|
||||
div.project-list-single-left
|
||||
|
|
|
@ -24,6 +24,15 @@
|
|||
padding-top: .5vh;
|
||||
}
|
||||
}
|
||||
.spin {
|
||||
margin: 10% auto;
|
||||
width: 3rem;
|
||||
img {
|
||||
@extend %loading-spinner;
|
||||
max-height: 3rem;
|
||||
max-width: 3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.profile-sidebar {
|
||||
flex-basis: 150px;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
section.profile-timeline
|
||||
div(ng-if="!vm.timelineList.size")
|
||||
p Loading... (TODO)
|
||||
div.spin
|
||||
img(src="/svg/spinner-circle.svg", alt="Loading...")
|
||||
|
||||
div(infinite-scroll="vm.loadTimeline()", infinite-scroll-distance="3", infinite-scroll-disabled="vm.scrollDisabled")
|
||||
div(tg-repeat="timeline in vm.timelineList", tg-user-timeline-item="timeline")
|
||||
|
|
Loading…
Reference in New Issue