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

profile cleanup #445

Merged
merged 1 commit into from
Oct 23, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions app/profile/about/about.jade
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
.skill(ng-repeat="skill in vm.skills")
skill-tile(skill="skill")

button.tc-btn.tc-btn-m.more(ng-if="vm.skills.length < vm.fullSkills.length", ng-click="vm.skills = vm.fullSkills") VIEW ALL
button.tc-btn.tc-btn-m.more(ng-if="vm.skills.length > 10", ng-click="vm.skills = vm.someSkills") VIEW LESS
button.tc-btn.tc-btn-s.more(ng-if="vm.skills.length < vm.fullSkills.length", ng-click="vm.skills = vm.fullSkills") VIEW ALL
button.tc-btn.tc-btn-s.more(ng-if="vm.skills.length > 10", ng-click="vm.skills = vm.someSkills") VIEW LESS

.empty-state(ng-show="!profileVm.skills || (profileVm.skills && profileVm.skills.length == 0)")
.action-text Tell everyone what you know
Expand All @@ -34,7 +34,7 @@

.description You can add languages, environments, frameworks, libraries, platforms, tools, and any other technologies that you know well.

button.tc-btn.tc-btn-l.link-button(ui-sref="settings.profile") ADD SKILLS
button.tc-btn.tc-btn-s.link-button(ui-sref="settings.profile") ADD SKILLS

#tcActivity
tc-section(ng-show="vm.displaySection.stats", state="profileVm.status.stats")
Expand All @@ -49,7 +49,7 @@
div
.text {{track | track}}
.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.
a.tc-btn.tc-btn-l.link-button(href="/challenges") FIND CHALLENGES
a.tc-btn.tc-btn-s.link-button(href="/challenges") FIND CHALLENGES

.track(
ng-repeat="track in profileVm.profile.tracks",
Expand All @@ -58,10 +58,10 @@
)

div(class="name")
img(ng-if="track == 'DATA_SCIENCE'", src="/images/ico-track-data-outline.svg")
img(ng-if="track == 'DEVELOP'", src="/images/ico-track-develop-outline.svg")
img(ng-if="track == 'DESIGN'", src="/images/ico-track-design-outline.svg")
img(ng-if="track == 'COPILOT'", src="/images/ico-track-co_pilot-outline.svg")
img(ng-if="track == 'DATA_SCIENCE'", src="/images/ico-track-data.svg")
img(ng-if="track == 'DEVELOP'", src="/images/ico-track-develop.svg")
img(ng-if="track == 'DESIGN'", src="/images/ico-track-design.svg")
img(ng-if="track == 'COPILOT'", src="/images/ico-track-copilot.svg")
span {{track | track | uppercase}} ACTIVITY

a.subtrack(
Expand Down Expand Up @@ -107,4 +107,4 @@

.description Show off your work and experience outside of Topcoder. Connect accounts from popular services and networks or add a link to any site.

button.tc-btn.tc-btn-l.link-button(ui-sref="settings.profile") CONNECT ACCOUNTS
button.tc-btn.tc-btn-s.link-button(ui-sref="settings.profile") CONNECT ACCOUNTS
2 changes: 1 addition & 1 deletion assets/css/directives/profile-widget.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
line-height: 24px;
//TODO change font to Merriweather Sans Regular
@include merriweather-sans-regular;
text-align: center;
text-align: left;
color: $gray-darkest;
}

Expand Down