Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/committee/members/index.md

Issue 29453600: Issue 4961 - Fix card group field alignment on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Rebase Created July 5, 2017, 9:19 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pages/committee/members/holmes-wilson.md ('k') | pages/committee/members/jon-lefley.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title=Members | The Acceptable Ads Committee 1 title=Members | The Acceptable Ads Committee
2 description=A list of all Representatives and supporting Members that make up th e Acceptable Ads Committee. 2 description=Meet the Acceptable Ads Committee.
3 breadcrumb=Members
3 parent=committee/index 4 parent=committee/index
4 custom=1 5 custom=1
5 6
6 {% block head %} 7 <style type="text/css">
7 <style> 8 .card
8 @media(min-width: 768px) 9 {
9 { 10 border-bottom: 0px;
10 #committee-structure 11 }
11 {
12 padding-top: 25%;
13 margin: 0 auto;
14 max-width: 70%;
15 }
16 }
17 12
18 .group-list h4 13 .card .summary
19 { 14 {
20 margin-top: 40px; 15 height: 140px;
21 padding: 8px 22px; 16 }
22 background-color: #E1E1E1;
23 }
24 17
25 .group-list dl 18 .card h3
26 { 19 {
27 margin: 22px; 20 height: auto;
28 } 21 }
29 22
30 .group-list dt 23 html[dir="ltr"] .card
31 { 24 {
32 margin: 32px 0 26px 0; 25 border-left: 0px;
33 color: #424242; 26 }
34 text-transform: none;
35 }
36 27
37 .group-list dd 28 html[dir="rtl"] .card
38 { 29 {
39 margin: 0; 30 border-right: 0px;
40 } 31 }
32 </style>
41 33
42 .member-list 34 <div class="container" markdown="1">
43 { 35 # {{members-heading[Members Heading] Members}}
44 display: block;
45 width: 100%;
46 margin: 0;
47 overflow: auto;
48 }
49 36
50 .member-list li 37 ---
51 { 38 </div>
52 width: 100%;
53 float: left;
54 padding-left: 0px;
55 margin-bottom: 1em;
56 }
57 39
58 @media(min-width: 768px) 40 <? include members/all-members ?>
59 {
60 .member-list li
61 {
62 min-height: 4em;
63 width: 50%;
64 }
65 }
66
67 @media(min-width: 992px)
68 {
69 .member-list li
70 {
71 width: 33.3333333%;
72 }
73 }
74
75 .member-list li:before
76 {
77 display: none;
78 }
79 </style>
80 {% endblock %}
81
82 {% set coalitions = {
83 "for-profit": {
84 "title": "FOR-PROFIT COALITION",
85 "description": "This Coalition consists of stakeholders that can be classifi ed as organizations primarily driven by generating profits. The following groups form the For-Profit Coalition: Advertisers, Ad-Tech Agencies, Advertising Agenc ies, and Publishers and Content Creators.",
86 "groups": [
87 "Advertisers",
88 "Ad Tech Agencies",
89 "Advertising Agencies",
90 "Publishers & Content Creators",
91 ],
92 },
93 "expert": {
94 "title": "EXPERT COALITION",
95 "description": "This Coalition consists of stakeholders who primarily focus on specific issues relevant to their area of expertise. These experts bring a un ique and objective perspective to the AAC. The following groups form the Expert Coalition: Creative Agents, Researchers and Academics and User Agents.",
96 "groups": [
97 "Creative Agents",
98 "Researchers & Academics",
99 "User Agents",
100 ],
101 },
102 "user-advocate": {
103 "title": "USER ADVOCATE COALITION",
104 "description": "This Coalition consists of stakeholders that can be classifi ed as entities primarily driven by protecting the rights of online users. The fo llowing Member Groups form the User Advocate Coalition: Digital Rights Organizat ions and Individual Users.",
105 "groups": [
106 "Digital Rights Organizations",
107 "Users",
108 ],
109 },
110 } %}
111
112 {% set members = [
113 {
114 "group": "Advertisers",
115 "position": "Representative",
116 "name": "Breanna Fowler",
117 "title": "Strategic Partnerships & Advertising",
118 "org": "Dell",
119 },
120 {
121 "group": "Advertising Agencies",
122 "position": "Representative",
123 "name": "Gabriel Cheng",
124 "title": "VP Strategy Growth & Partnerships",
125 "org": "M&C Saatchi Mobile",
126 },
127 {
128 "group": "Advertising Agencies",
129 "position": "Member",
130 "name": "Kevin Vanvalkenburgh",
131 "title": "Vice President of Connections Planning",
132 "org": "The Tombras Group",
133 },
134 {
135 "group": "Advertising Agencies",
136 "position": "Member",
137 "name": "Tom Rathbone",
138 "title": "Head of Technology",
139 "org": "Schaaf-PartnerCentric",
140 },
141 {
142 "group": "Advertising Agencies",
143 "position": "Member",
144 "name": "Christoph Bornschein",
145 "title": "CEO/Founder",
146 "org": "TLGG",
147 },
148 {
149 "group": "Advertising Agencies",
150 "position": "Member",
151 "name": "Will Perkins",
152 "title": "VP Media",
153 "org": "Look Listen",
154 },
155 {
156 "group": "Ad Tech Agencies",
157 "position": "Representative",
158 "name": "Ari Levenfeld",
159 "title": "Senior Director of Privacy and Inventory Quality",
160 "org": "Rocket Fuel Inc.",
161 },
162 {
163 "group": "Ad Tech Agencies",
164 "position": "Member",
165 "name": "Todd Garland",
166 "title": "Founder",
167 "org": "BuySellAds",
168 },
169 {
170 "group": "Ad Tech Agencies",
171 "position": "Member",
172 "name": "Sebastien Bock",
173 "title": "GVP Tech & Product Programmatic & Data",
174 "org": "Rakuten Marketing",
175 },
176 {
177 "group": "Ad Tech Agencies",
178 "position": "Member",
179 "name": "Jon Malach",
180 "title": "CEO",
181 "org": "Native Ads, Inc.",
182 },
183 {
184 "group": "Ad Tech Agencies",
185 "position": "Member",
186 "name": "Francine Hardaway",
187 "title": "Director of Marketing",
188 "org": "ZEDO",
189 },
190 {
191 "group": "Ad Tech Agencies",
192 "position": "Member",
193 "name": "Henry Lau",
194 "title": "Head of Partnerships",
195 "org": "Instinctive",
196 },
197 {
198 "group": "Ad Tech Agencies",
199 "position": "Member",
200 "name": "Alex Calic",
201 "title": "Chief Revenue Officer",
202 "org": "The Media Trust",
203 },
204 {
205 "group": "Ad Tech Agencies",
206 "position": "Member",
207 "name": "Henrik Lohk",
208 "title": "Co-founder",
209 "org": "Adtoma AB",
210 },
211 {
212 "group": "Ad Tech Agencies",
213 "position": "Member",
214 "name": "James Sciolto",
215 "title": "Co-Founder & Chief Marketing Officer",
216 "org": "Bidio",
217 },
218 {
219 "group": "Ad Tech Agencies",
220 "position": "Member",
221 "name": "Nicole Pruess",
222 "title": "Global Managing Director, Publisher Marketplace",
223 "org": "Criteo",
224 },
225 {
226 "group": "Ad Tech Agencies",
227 "position": "Member",
228 "name": "Mat Bennett",
229 "title": "Managing Director",
230 "org": "OKO Digital",
231 },
232 {
233 "group": "Ad Tech Agencies",
234 "position": "Member",
235 "name": "Tom Gabriele",
236 "title": "Co-Founder",
237 "org": "WowYow Inc.",
238 },
239 {
240 "group": "Ad Tech Agencies",
241 "position": "Member",
242 "name": "Dan Greenberg",
243 "title": "Founder & CEO",
244 "org": "Sharethrough",
245 },
246 {
247 "group": "Ad Tech Agencies",
248 "position": "Member",
249 "name": "Eric Simon",
250 "title": "COO",
251 "org": "Skydeo",
252 },
253 {
254 "group": "Creative Agents",
255 "position": "Representative",
256 "name": "Jon Lefley",
257 "title": "Creative Director",
258 "org": "Saatchi & Saatchi",
259 },
260 {
261 "group": "Creative Agents",
262 "position": "Member",
263 "name": "Tobias Eidem",
264 "title": "BrandGlobe and former chairman of Sweden’s KIA-index",
265 "org": "BrandGlobe",
266 },
267 {
268 "group": "Digital Rights Organizations",
269 "position": "Representative",
270 "name": "Holmes Wilson",
271 "title": "Co-Founder/Co-director",
272 "org": "Fight for the Future",
273 },
274 {
275 "group": "Publishers & Content Creators",
276 "position": "Representative",
277 "name": "Gavin Hall",
278 "title": "CTO",
279 "org": "TED",
280 },
281 {
282 "group": "Publishers & Content Creators",
283 "position": "Member",
284 "name": "Paul Lomax",
285 "title": "CTO",
286 "org": "Dennis Media",
287 },
288 {
289 "group": "Publishers & Content Creators",
290 "position": "Member",
291 "name": "Christian Hendricks",
292 "title": "Founder",
293 "org": "Local Media Consortium",
294 },
295 {
296 "group": "Publishers & Content Creators",
297 "position": "Member",
298 "name": "Scott Messer",
299 "title": "VP Content Channels",
300 "org": "Leaf Group",
301 },
302 {
303 "group": "Publishers & Content Creators",
304 "position": "Member",
305 "name": "Loic Dussart",
306 "title": "COO",
307 "org": "KOL",
308 },
309 {
310 "group": "Researchers & Academics",
311 "position": "Representative",
312 "name": "Fran Howarth",
313 "title": "Security Analyst",
314 "org": "Bloor Analyst Group",
315 },
316 {
317 "group": "User Agents",
318 "position": "Representative",
319 "name": "Kenny Ye (叶智聪)",
320 "title": "Director of International Business Development, Alibaba Mobile Gro up",
321 "org": "UC Web",
322 },
323 {
324 "group": "Users",
325 "position": "Representative",
326 "name": "Caroline Crandall",
327 "title": "Adblocking User",
328 "org": False,
329 },
330 {
331 "group": "Users",
332 "position": "Member",
333 "name": "Zack Sinclair",
334 "title": "Adblocking User",
335 "org": False,
336 },
337 {
338 "group": "Users",
339 "position": "Member",
340 "name": "Leli Schiestl",
341 "title": "Adblocking User",
342 "org": False,
343 },
344 {
345 "group": "Digital Rights Organizations",
346 "position": "Representative",
347 "name": "Paul-Olivier Dehaye",
348 "title": "Co-Founder",
349 "org": "PersonalData.IO",
350 },
351 {
352 "group": "Ad Tech Agencies",
353 "position": "Member",
354 "name": "Michael Blend",
355 "title": "Co-founder and President",
356 "org": "System1",
357 },
358 {
359 "group": "Advertisers",
360 "position": "Member",
361 "name": "Thomas Wrobel",
362 "title": False,
363 "org": "Trivago",
364 },
365 {
366 "group": "Researchers & Academics",
367 "position": "Member",
368 "name": "Zubair Shafiq",
369 "title": "Assistant Professor",
370 "org": "Department of Computer Science, The University of Iowa, USA",
371 },
372 ] %}
373
374 {% macro member_list(group, position) -%}
375 {% set count = [] %}
376 {% for member in members %}
377 {% if member.group == group and member.position == position %}
378 {% if (count | length) == 0 %}
379 <ul class="member-list">
380 {% endif %}
381 {% set _ = count.append(1) %}
382 {% if member.title and member.org %}
383 {% set separator = "," %}
384 {% else %}
385 {% set separator = "" %}
386 {% endif %}
387 <li>
388 <strong>{{ member.name }}</strong><br>
389 {% if member.title %}{{ member.title }}{% endif %}{{ separator }}
390 {% if member.org %}<em>{{ member.org }}</em> {% endif %}
391 </li>
392 {% endif %}
393 {% endfor %}
394 {% if (count | length) > 0 %}
395 </ul>
396 {% endif %}
397 {% if position == "Member" or (count | length) < 1 %}
398 <p><a class="btn-primary" href="committee/apply">{{ "Apply" | translate("app ly-button", "button label") }}</a></p>
399 {% endif %}
400 {% endmacro %}
401
402 {% macro group_list(group) -%}
403 <section class="group-list">
404 <h4>{{ group | translate("group-name-heading", "heading") }}</h4>
405 <dl>
406 <dt>{{ "Representative" | translate("representative-heading", "heading") } }</dt>
407 <dd>{{ member_list(group, "Representative") }}</dd>
408 </dl>
409 <dl>
410 <dt>{{ "Members" | translate("members-heading", "heading") }}</dt>
411 <dd>{{ member_list(group, "Member") }}</dd>
412 </dl>
413 </section>
414 {%- endmacro %}
415
416 {% macro coalition_section(id) -%}
417 <section class="section">
418 <h3 class="h2">{{ coalitions[id].title | translate("{{ id }}-heading", "head ing") }}</h3>
419 <p class="col-6">{{ coalitions[id].description | translate("{{ id }}-intro") }}</p>
420 {% for group in coalitions[id].groups %}
421 {{ group_list(group) }}
422 {% endfor %}
423 </section>
424 {% endmacro %}
425
426 <section class="container">
427 <div class="row">
428 <div class="col-6">
429 <h1>{{ "Members" | translate("members-heading", "heading") }}</h1>
430 <hr>
431 <p>{{ "The Acceptable Ads Committee is divided into three Coalitions, with each faction consisting of several Members. Each group includes a Representativ e and multiple supporting Members." | translate("members-intro-2") }}</p>
432 <p>{{ "Below is a list of all current Representatives and supporting Membe rs, broken down by Coalition." | translate("members-intro-2") }}</p>
433 </div>
434 <aside class="col-6">
435 <img id="committee-structure" class="block" alt="{{ "Acceptable Ads Commit tee Structure" | translate("featured-image-alt", "Image alt text") }}" src="/img /png/blog/acceptable-ads-committee-structure.png" />
436 </aside>
437 </div>
438 </section>
439
440 <section>
441
442 <div class="bg-accent">
443 <h2 class="center h3 p-y-md m-a-md">{{ "Meet the Acceptable Ads Committee" | translate("committee-heading", "heading") }}</h2>
444 </div>
445
446 <div class="container">
447 {% for coalition in ["for-profit", "expert", "user-advocate"] %}
448 {{ coalition_section(coalition) }}
449 {% endfor %}
450 </div>
451
452 </section>
OLDNEW
« no previous file with comments | « pages/committee/members/holmes-wilson.md ('k') | pages/committee/members/jon-lefley.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld