Starting to add contributor avatars.

This commit is contained in:
Nick Winter 2014-02-07 18:38:17 -08:00
parent b2bf4db222
commit 2a740f777e
36 changed files with 80 additions and 44 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View file

@ -38,4 +38,12 @@
.saved-notification
display: none
float: right
float: right
.thumbnail
background-color: transparent
h4
text-align: center
img
max-width: 100px
max-height: 100px

View file

@ -82,7 +82,7 @@ block content
li.row
img(src="/images/pages/about/george.jpg").img-thumbnail
img(src="/images/pages/about/george_small.png").img-thumbnail
.col-sm-8
@ -95,7 +95,7 @@ block content
li.row
img(src="/images/pages/about/scott.jpg").img-thumbnail
img(src="/images/pages/about/scott_small.png").img-thumbnail
.col-sm-8
@ -109,7 +109,7 @@ block content
li.row
img(src="/images/pages/about/nick.jpg").img-thumbnail
img(src="/images/pages/about/nick_small.png").img-thumbnail
.col-sm-8
@ -123,12 +123,11 @@ block content
li.row
img(src="/images/pages/about/jeremy.jpg").img-thumbnail
img(src="/images/pages/about/jeremy_small.png").img-thumbnail
.col-sm-8
h3
Jeremy Arns
h3 Jeremy Arns
p(data-i18n="about.jeremy_description")
| Customer support mage, usability tester,
@ -137,7 +136,7 @@ block content
li.row
img(src="/images/pages/about/michael.jpg").img-thumbnail
img(src="/images/pages/about/michael_small.png").img-thumbnail
.col-sm-8

View file

@ -79,25 +79,15 @@ block content
#Contributors
h3(data-i18n="contribute.powerful_archmages")
| Our Powerful Archmages:
ul.archmages
li Tom Steinbrecher
li Glen De Cauwsemaecker
li Sébastien Moratinos
li Ronnie Cheng
li phansch
li Zach Martin
li David Golds
li deepak1556
li Chloe Fan
li Rachel Xiang
li Dan Ristic
li gabceb
li Laura Watiker
li Shiying Zheng
li Mischa Lewis-Norelle
li Paul Buser
li Benjamin Stern
li Alex Cotsarelis
li MDP66
.row
for contributor in contributors
.col-xs-8.col-md-4
.thumbnail
if contributor.avatar
img.img-responsive(src="/images/pages/contribute/archmage/" + contributor.avatar + "_small.png", alt="")
else
img.img-responsive(src="/images/pages/contribute/archmage.png", alt="")
.caption
h4= contributor.name
div.clearfix
div.clearfix

View file

@ -77,17 +77,17 @@ block content
#Contributors
h3(data-i18n="contribute.creative_artisans")
| Our Creative Artisans:
ul.artisans
li Sootn
li Zach Martin
li Aftermath
li mcdavid1991
li dwhittaker
li Zacharias Fisches
li Tom Setliff
li Robert Moreton
li Andrew Witcher
li Axandre Oge
li Katharine Chan
.row
for contributor in contributors
.col-xs-8.col-md-4
.thumbnail
if contributor.avatar
img.img-responsive(src="/images/pages/contribute/artisan/" + contributor.avatar + "_small.png", alt="")
else
img.img-responsive(src="/images/pages/contribute/artisan.png", alt="")
.caption
h4= contributor.name
div.clearfix
div.clearfix

View file

@ -3,4 +3,26 @@ template = require 'templates/contribute/archmage'
module.exports = class ArchmageView extends ContributeClassView
id: "archmage-view"
template: template
template: template
contributors: [
{name: "Tom Steinbrecher", avatar: "tom"}
{name: "Glen De Cauwsemaecker", avatar: "glen"}
{name: "Sébastien Moratinos", avatar: "sebastien"}
{name: "deepak1556", avatar: "deepak"}
{name: "Ronnie Cheng", avatar: "ronald"}
{name: "Chloe Fan", avatar: "chloe"}
{name: "Rachel Xiang", avatar: "rachel"}
{name: "Dan Ristic", avatar: "dan"}
{name: "Laura Watiker", avatar: "laura"}
{name: "Shiying Zheng", avatar: "shiying"}
{name: "Mischa Lewis-Norelle", avatar: "mischa"}
{name: "Paul Buser", avatar: "paul"}
{name: "Benjamin Stern", avatar: "ben"}
{name: "Alex Cotsarelis", avatar: "alex"}
{name: "phansch", avatar: ""}
{name: "Zach Martin", avatar: ""}
{name: "David Golds", avatar: ""}
{name: "gabceb", avatar: ""}
{name: "MDP66", avatar: ""}
]

View file

@ -4,4 +4,18 @@ template = require 'templates/contribute/artisan'
module.exports = class ArtisanView extends ContributeClassView
id: "artisan-view"
template: template
template: template
contributors: [
{name: "Sootn", avatar: ""}
{name: "Zach Martin", avatar: ""}
{name: "Afterman", avatar: ""}
{name: "mcdavid1991", avatar: ""}
{name: "dwhittaker", avatar: ""}
{name: "Zacharias Fisches", avatar: ""}
{name: "Tom Setliff", avatar: ""}
{name: "Robert Moreton", avatar: "rob"}
{name: "Andrew Witcher", avatar: "andrew"}
{name: "Axandre Oge", avatar: "axandre"}
{name: "Katharine Chan", avatar: "katharine"}
]

View file

@ -11,6 +11,7 @@ module.exports = class ContributeClassView extends View
getRenderData: ->
c = super()
c.navPrefix = @navPrefix
c.contributors = @contributors
c
afterRender: ->
@ -36,3 +37,5 @@ module.exports = class ContributeClassView extends View
me.set('emailSubscriptions', subscriptions)
me.save()
contributors: []