This repository was archived by the owner on Mar 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathskill-picker.jade
77 lines (63 loc) · 4.53 KB
/
skill-picker.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.skill-picker-container
h1 Welcome to Topcoder
p.instruction Hi {{vm.username}}! Your account is now active. To help other members get to know you, select your areas of interest and specify some of your skills. You can edit this information later on your Profile.
.communities(ng-show="!vm.loadingCommunities && vm.showCommunity")
.communities__title Communities
.communities__description Topcoder regularly establishes exclusive communities to help members develop expertise and earn money in particular technologies. Join a featured community to be notified of events and challenges.
.communities__list
.community(ng-repeat="(communityKey, community) in vm.communities", ng-class="{'community--disabled': !community.status}", ng-if="community.display")
.community__details
.community__icon(ng-class="{'community__icon--disabled': !community.status}")
img(ng-if="communityKey == 'ibm_cognitive' && community.status", src=require("../../assets/images/ico-ibm_cognitive-community.svg"))
img(ng-if="communityKey == 'ibm_cognitive' && !community.status", src=require("../../assets/images/ico-ibm_cognitive-community-grey.svg"))
img(ng-if="communityKey == 'ios' && community.status", src=require("../../assets/images/ico-ios-community.svg"))
img(ng-if="communityKey == 'ios' && !community.status", src=require("../../assets/images/ico-ios-community-grey.svg"))
img(ng-if="communityKey == 'predix' && community.status", src=require("../../assets/images/ico-predix-community.svg"))
img(ng-if="communityKey == 'predix' && !community.status", src=require("../../assets/images/ico-predix-community-grey.svg"))
.community__text
span.community__title(class="{{!community.status && 'disabled'}}") {{community.displayName}}
.community__description
span(ng-if="communityKey == 'ibm_cognitive'") Cognitive Community
span(ng-if="communityKey == 'ios'") Mobile app design and development for iOS, with Swift emphasis
span(ng-if="communityKey == 'predix'") Design and development on GE’s platform for the Industrial Internet of Things
onoff-switch(model="community.status", unique-id="'community-' + communityKey")
.tracks-container
.title tracks
.description Topcoder's three categories of challenges… please pick at least one based on your skills and interests.
.tracks
track-toggle(tracks="vm.tracks")
.skills-container
.title skills
.description Languages, environments, frameworks, libraries, platforms, tools, and any other technologies that you know well. Please select from some popular skills. You can add others later on you Profile.
.skills-section(ng-show="vm.tracks.DESIGN")
.track-title select design skills
.skills
.skill(ng-repeat="tag in vm.featuredSkills | filter:{categories: 'DESIGN'} | orderBy:'priority':true",
ng-class="{'selected-skill': vm.mySkills.indexOf(tag.id.toString()) > -1}")
a(ng-click="vm.toggleSkill(tag.id.toString())")
.icon
img(ng-src="{{vm.ASSET_PREFIX}}images/skills/id-{{tag.id}}.svg", fallback-src="{{vm.ASSET_PREFIX}}images/skills/id-design.svg")
.name {{tag.name}}
.skills-section(ng-show="vm.tracks.DEVELOP")
.track-title select development skills
.skills
.skill(ng-repeat="tag in vm.featuredSkills | filter:{categories: 'DEVELOP'} | orderBy:'priority':true",
ng-class="{'selected-skill': vm.mySkills.indexOf(tag.id.toString()) > -1}")
a(ng-click="vm.toggleSkill(tag.id.toString())")
.icon
img(ng-src="{{vm.ASSET_PREFIX}}images/skills/id-{{tag.id}}.svg", fallback-src="{{vm.ASSET_PREFIX}}images/skills/id-develop.svg")
.name {{tag.name}}
.skills-section(ng-show="vm.tracks.DATA_SCIENCE")
.track-title select data science skills
.skills
.skill(ng-repeat="tag in vm.featuredSkills | filter:{categories: 'DATA_SCIENCE'} | orderBy:'priority':true",
ng-class="{'selected-skill': vm.mySkills.indexOf(tag.id.toString()) > -1}")
a(ng-click="vm.toggleSkill(tag.id.toString())")
.icon
img(ng-src="{{vm.ASSET_PREFIX}}images/skills/id-{{tag.id}}.svg", fallback-src="{{vm.ASSET_PREFIX}}images/skills/id-data.svg")
.name {{tag.name}}
button.tc-btn.tc-btn-l.done-button(
type="button",
tc-busy-button, tc-busy-when="vm.saving",
ng-click="vm.submitSkills()",
ng-disabled="vm.disableDoneButton || !vm.isPageDirty()") Done