Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2840851

Browse files
committed
Added graphs
1 parent 5c9b752 commit 2840851

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

app/profile/develop/develop.controller.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
$scope.initProfile(vm);
2323
vm.deferred = $q.defer();
2424
vm.deferred.promise.then(function() {
25-
console.log('resol')
2625
vm.typeStats = ProfileService.getChallengeTypeStats(vm.stats, 'develop', vm.subTrack.toLowerCase().replace(/ /g, ''));
2726
ChallengeService.getChallenges({
2827
filter: 'userId=' + vm.profile.userId

app/profile/develop/develop.jade

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
challenge-tile(challenge="challenge", domain="vm.domain")
3434

3535
.stats(ng-show="vm.viewing == 'stats'")
36+
.graphs
37+
img(src="images/rating-graphs.png")
38+
3639
h2.detailed Detailed Stats
3740

3841
ul.vertical-stats

assets/css/profile/develop.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
font-size: 18px;
77
}
88
.stats {
9+
.graphs {
10+
display: flex;
11+
flex-direction: row;
12+
justify-content: center;
13+
img {
14+
width: 700px;
15+
}
16+
}
917
h2.detailed {
1018
margin: 50px auto 25px auto;
1119
text-align: center;

assets/images/rating-graphs.png

103 KB
Loading

0 commit comments

Comments
 (0)