|
1 |
| -.profile-header-container(ng-cloak) |
2 |
| - profile-widget(profile="profileVm.profile", edit-profile-link="profileVm.showEditProfileLink", num-wins="profileVm.numWins", profile-vm="profileVm") |
| 1 | +.about-container |
| 2 | + .profile-header-container(ng-cloak) |
| 3 | + profile-widget(profile="profileVm.profile", edit-profile-link="profileVm.showEditProfileLink", num-wins="profileVm.numWins", profile-vm="profileVm") |
3 | 4 |
|
4 |
| -.profile-about-container |
| 5 | + .profile-about-container |
5 | 6 |
|
6 |
| - #skills |
7 |
| - tc-section(ng-show="vm.displaySection.skills", state="profileVm.status.skills") |
| 7 | + #skills |
| 8 | + tc-section(ng-show="vm.displaySection.skills", state="profileVm.status.skills") |
8 | 9 |
|
9 |
| - .skills |
10 |
| - h3.activity Skills |
| 10 | + .skills |
| 11 | + h3.activity Skills |
11 | 12 |
|
12 |
| - .list(ng-show="profileVm.skills && profileVm.skills.length > 0") |
| 13 | + .list(ng-show="profileVm.skills && profileVm.skills.length > 0") |
13 | 14 |
|
14 |
| - .skill(ng-repeat="skill in vm.skills") |
15 |
| - skill-tile(skill="skill") |
16 |
| - |
17 |
| - button.tc-btn.tc-btn-l.more(ng-if="vm.skills.length < vm.fullSkills.length", ng-click="vm.skills = vm.fullSkills") VIEW ALL |
18 |
| - button.tc-btn.tc-btn-l.more(ng-if="vm.skills.length > 6", ng-click="vm.skills = vm.someSkills") VIEW LESS |
19 |
| - |
20 |
| - .empty-state(ng-show="!profileVm.skills || (profileVm.skills && profileVm.skills.length == 0)") |
21 |
| - .action-text Tell everyone what you know |
22 |
| - |
23 |
| - .list |
24 |
| - .skill(ng-repeat="skill in vm.sampleSkills") |
| 15 | + .skill(ng-repeat="skill in vm.skills") |
25 | 16 | skill-tile(skill="skill")
|
26 | 17 |
|
27 |
| - .description You can add languages, environments, frameworks, libraries, platforms, tools, and any other technologies that you know well. |
| 18 | + button.tc-btn.tc-btn-m.more(ng-if="vm.skills.length < vm.fullSkills.length", ng-click="vm.skills = vm.fullSkills") VIEW ALL |
| 19 | + button.tc-btn.tc-btn-m.more(ng-if="vm.skills.length > 10", ng-click="vm.skills = vm.someSkills") VIEW LESS |
28 | 20 |
|
29 |
| - button.tc-btn.tc-btn-l.link-button(ui-sref="settings.profile") ADD SKILLS |
| 21 | + .empty-state(ng-show="!profileVm.skills || (profileVm.skills && profileVm.skills.length == 0)") |
| 22 | + .action-text Tell everyone what you know |
30 | 23 |
|
31 |
| - #tcActivity |
32 |
| - tc-section(ng-show="vm.displaySection.stats", state="profileVm.status.stats") |
| 24 | + .list |
| 25 | + .skill(ng-repeat="skill in vm.sampleSkills") |
| 26 | + skill-tile(skill="skill") |
33 | 27 |
|
34 |
| - .categories |
| 28 | + .description You can add languages, environments, frameworks, libraries, platforms, tools, and any other technologies that you know well. |
35 | 29 |
|
36 |
| - h3.activity Activity on Topcoder |
| 30 | + button.tc-btn.tc-btn-l.link-button(ui-sref="settings.profile") ADD SKILLS |
37 | 31 |
|
38 |
| - .empty-state(ng-if="!profileVm.numProjects") |
39 |
| - .action-text Start competing within the community |
40 |
| - .tracks |
41 |
| - .track.noclick(ng-repeat="track in ['DEVELOP', 'DESIGN', 'DATA_SCIENCE']") |
42 |
| - div(class="{{profileVm.imgMap[track]}}-icon") |
43 |
| - div |
44 |
| - .text {{track | track}} |
45 |
| - .description Compete in challenges to win money, test yourself against the world's best, and learn new skills. Your performance rating will show up here. |
46 |
| - a.tc-btn.tc-btn-l.link-button(href="/challenges") FIND CHALLENGES |
| 32 | + #tcActivity |
| 33 | + tc-section(ng-show="vm.displaySection.stats", state="profileVm.status.stats") |
47 | 34 |
|
48 |
| - .track( |
49 |
| - ng-repeat="track in profileVm.profile.tracks", |
50 |
| - ng-if="profileVm.categories[track].length > 0", |
51 |
| - id="{{track}}_TRACK" |
52 |
| - ) |
| 35 | + .categories |
53 | 36 |
|
54 |
| - div(class="name") |
55 |
| - img(ng-if="track == 'DATA_SCIENCE'", src="/images/ico-track-data-outline.svg") |
56 |
| - img(ng-if="track == 'DEVELOP'", src="/images/ico-track-develop-outline.svg") |
57 |
| - img(ng-if="track == 'DESIGN'", src="/images/ico-track-design-outline.svg") |
58 |
| - img(ng-if="track == 'COPILOT'", src="/images/ico-track-co_pilot-outline.svg") |
59 |
| - span {{track | track | uppercase}} |
| 37 | + .empty-state(ng-if="!profileVm.numProjects") |
| 38 | + .action-text Start competing within the community |
| 39 | + .tracks |
| 40 | + .track.noclick(ng-repeat="track in ['DEVELOP', 'DESIGN', 'DATA_SCIENCE']") |
| 41 | + div(class="{{profileVm.imgMap[track]}}-icon") |
| 42 | + div |
| 43 | + .text {{track | track}} |
| 44 | + .description Compete in challenges to win money, test yourself against the world's best, and learn new skills. Your performance rating will show up here. |
| 45 | + a.tc-btn.tc-btn-l.link-button(href="/challenges") FIND CHALLENGES |
60 | 46 |
|
61 |
| - a.subtrack( |
62 |
| - ng-repeat="subtrack in profileVm.categories[track] | orderBy:'mostRecentEventDate':true", |
63 |
| - ui-sref="profile.subtrack({track: subtrack.track, subTrack: subtrack.subTrack})", |
64 |
| - class="{{$index == 0 && 'first'}}" |
| 47 | + .track( |
| 48 | + ng-repeat="track in profileVm.profile.tracks", |
| 49 | + ng-if="profileVm.categories[track].length > 0", |
| 50 | + id="{{track}}_TRACK" |
65 | 51 | )
|
66 |
| - .name {{subtrack.subTrack | track}} |
67 | 52 |
|
68 |
| - .ranking(ng-if="subtrack.rating") |
69 |
| - .number.rating(style="color: {{subtrack.rating | ratingColor}}") |
70 |
| - | {{subtrack.rating}} |
71 |
| - span.square(style="background-color: {{subtrack.rating | ratingColor}}") |
| 53 | + div(class="name") |
| 54 | + img(ng-if="track == 'DATA_SCIENCE'", src="/images/ico-track-data-outline.svg") |
| 55 | + img(ng-if="track == 'DEVELOP'", src="/images/ico-track-develop-outline.svg") |
| 56 | + img(ng-if="track == 'DESIGN'", src="/images/ico-track-design-outline.svg") |
| 57 | + img(ng-if="track == 'COPILOT'", src="/images/ico-track-co_pilot-outline.svg") |
| 58 | + span {{track | track | uppercase}} ACTIVITY |
| 59 | + |
| 60 | + a.subtrack( |
| 61 | + ng-repeat="subtrack in profileVm.categories[track] | orderBy:'mostRecentEventDate':true", |
| 62 | + ui-sref="profile.subtrack({track: subtrack.track, subTrack: subtrack.subTrack})", |
| 63 | + class="{{$index == 0 && 'first'}}" |
| 64 | + ) |
| 65 | + .name {{subtrack.subTrack | track}} |
| 66 | + |
| 67 | + .ranking(ng-if="subtrack.rating") |
| 68 | + .number.rating(style="color: {{subtrack.rating | ratingColor}}") |
| 69 | + | {{subtrack.rating}} |
72 | 70 |
|
73 |
| - .tag Rating |
| 71 | + .tag Rating |
74 | 72 |
|
75 |
| - .ranking(ng-if="subtrack.rank && !subtrack.rating") |
76 |
| - .number {{subtrack.rank | ordinal}} |
| 73 | + .ranking(ng-if="subtrack.rank && !subtrack.rating") |
| 74 | + .number {{subtrack.rank | ordinal}} |
77 | 75 |
|
78 |
| - .tag Ranking |
| 76 | + .tag Ranking |
79 | 77 |
|
80 |
| - .ranking(ng-if="subtrack.wins && !subtrack.rank && !subtrack.rating") |
81 |
| - .number(style="color: #21B2F1") {{subtrack.wins}} |
| 78 | + .ranking(ng-if="subtrack.wins && !subtrack.rank && !subtrack.rating") |
| 79 | + .number(style="color: #21B2F1") {{subtrack.wins}} |
82 | 80 |
|
83 |
| - .tag Wins |
| 81 | + .tag Wins |
84 | 82 |
|
85 |
| - .ranking(ng-if="subtrack.fulfillment") |
86 |
| - .number {{subtrack.fulfillment + '%'}} |
| 83 | + .ranking(ng-if="subtrack.fulfillment") |
| 84 | + .number {{subtrack.fulfillment + '%'}} |
87 | 85 |
|
88 |
| - .tag Fulfillment |
| 86 | + .tag Fulfillment |
89 | 87 |
|
90 |
| - img.arrow(src="/images/ico-arrow-big-right.svg") |
| 88 | + img.arrow(src="/images/ico-arrow-big-right.svg") |
91 | 89 |
|
92 |
| - #externalLinks |
93 |
| - tc-section(ng-show="vm.displaySection.externalLinks", state="profileVm.status.externalLinks") |
94 |
| - .external-links |
95 |
| - h3.activity Activity across the web |
96 |
| - external-links-data(ng-show="vm.hasLinks", external-links="vm.linkedExternalAccounts", linked-accounts-data="vm.linkedExternalAccountsData") |
| 90 | + #externalLinks |
| 91 | + tc-section(ng-show="vm.displaySection.externalLinks", state="profileVm.status.externalLinks") |
| 92 | + .external-links |
| 93 | + h3.activity on the web |
| 94 | + external-links-data(ng-show="vm.hasLinks", external-links="vm.linkedExternalAccounts", linked-accounts-data="vm.linkedExternalAccountsData") |
97 | 95 |
|
98 |
| - .empty-state(ng-hide="vm.hasLinks") |
99 |
| - .action-text Showcase your work from around the web |
| 96 | + .empty-state(ng-hide="vm.hasLinks") |
| 97 | + .action-text Showcase your work from around the web |
100 | 98 |
|
101 |
| - external-accounts.external-account-container(linked-accounts="[]", links-data="{}", read-only="true") |
| 99 | + external-accounts.external-account-container(linked-accounts="[]", links-data="{}", read-only="true") |
102 | 100 |
|
103 |
| - .description Show off your work and experience outside of Topcoder. Connect accounts from popular services and networks or add a link to any site. |
| 101 | + .description Show off your work and experience outside of Topcoder. Connect accounts from popular services and networks or add a link to any site. |
104 | 102 |
|
105 |
| - button.tc-btn.tc-btn-l.link-button(ui-sref="settings.profile") CONNECT ACCOUNTS |
| 103 | + button.tc-btn.tc-btn-l.link-button(ui-sref="settings.profile") CONNECT ACCOUNTS |
0 commit comments