freeCodeCamp/views/account/show.jade

39 lines
1.5 KiB
Plaintext
Raw Normal View History

extends ../layout
block content
.panel.panel-primary
.panel-heading.text-center @#{username}
.panel-body
.row
.col-xs-2.col-sm-1.col-md-1
2015-01-06 03:01:58 +00:00
img(src="#{user.picture}")
.col-xs-4.col-sm-2.col-md-2
h2.nameline
= "[ " + user.points + " ]"
.col-xs-6.col-sm-9.col-md-9
h2.nameline
= name
h4= location
2015-01-06 03:01:58 +00:00
a(href="http://twitter.com/#{user.profile.twitterHandle}")
|= "@#{twitterHandle} on Twitter"
a(href="#{user.profile.coderbyteProfile")
| Coderbyte Profile
2015-01-06 03:01:58 +00:00
a(href="#{user.profile.linkedin")
| LinkedIn Profile
a(href="#{user.profile.codepen")
| Codepen Portfolio
a(href=linkedin)
- if (ch[0] > 0)
.container
h1 Completed Challenges
.col-xs-12
table.table.table-striped
thead
tr
th Challenge
th Date Finished
for challenge in challenges
if ch[challenge.challengeNumber] > 0
tr
td= challenges[challenge.challengeNumber].name
td= moment(ch[challenge.challengeNumber], 'X').format("MMM DD, YYYY")
br