Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
c160c418
Commit
c160c418
authored
Sep 02, 2016
by
Nicolas Joyard
Browse files
Adjust icon sizes on rep cards
parent
d8d323fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
memopol/tests/response_fixtures/RepresentativeListTest.test_cards.content
View file @
c160c418
...
...
@@ -19,7 +19,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/francois-asensi-1945-06-01/">
<h4 class="text-center">François Asensi</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/francois-asensi-1945-06-01/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/francois-asensi-1945-06-01/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
@@ -60,7 +60,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/thierry-benoit-1966-09-13/">
<h4 class="text-center">Thierry Benoit</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/thierry-benoit-1966-09-13/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/thierry-benoit-1966-09-13/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
@@ -101,7 +101,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/marcel-bonnot-1946-05-24/">
<h4 class="text-center">Marcel Bonnot</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/marcel-bonnot-1946-05-24/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/marcel-bonnot-1946-05-24/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
@@ -142,7 +142,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-claude-bouchet-1957-05-02/">
<h4 class="text-center">Jean-Claude Bouchet</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-claude-bouchet-1957-05-02/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-claude-bouchet-1957-05-02/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
@@ -183,7 +183,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/paul-brannen-1962-09-13/">
<h4 class="text-center">Paul BRANNEN</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/paul-brannen-1962-09-13/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/paul-brannen-1962-09-13/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/United%20Kingdom/" title="United Kingdom"><span class="flag-icon flag-icon-gb"></span></a>
...
...
@@ -224,7 +224,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/udo-bullmann-1956-06-08/">
<h4 class="text-center">Udo BULLMANN</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/udo-bullmann-1956-06-08/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/udo-bullmann-1956-06-08/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/Germany/" title="Germany"><span class="flag-icon flag-icon-de"></span></a>
...
...
@@ -265,7 +265,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-paul-chanteguet-1949-12-09/">
<h4 class="text-center">Jean-Paul Chanteguet</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-paul-chanteguet-1949-12-09/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-paul-chanteguet-1949-12-09/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
@@ -306,7 +306,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-louis-christ-1951-01-24/">
<h4 class="text-center">Jean-Louis Christ</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-louis-christ-1951-01-24/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-louis-christ-1951-01-24/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
@@ -347,7 +347,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-michel-couve-1940-01-03/">
<h4 class="text-center">Jean-Michel Couve</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-michel-couve-1940-01-03/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/jean-michel-couve-1940-01-03/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
@@ -388,7 +388,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/esther-de-lange-1975-02-19/">
<h4 class="text-center">Esther de LANGE</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/esther-de-lange-1975-02-19/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/esther-de-lange-1975-02-19/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/Netherlands/" title="Netherlands"><span class="flag-icon flag-icon-nl"></span></a>
...
...
@@ -429,7 +429,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/albert-dess-1947-04-17/">
<h4 class="text-center">Albert DESS</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/albert-dess-1947-04-17/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/albert-dess-1947-04-17/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/Germany/" title="Germany"><span class="flag-icon flag-icon-de"></span></a>
...
...
@@ -470,7 +470,7 @@
</a><div class="col-xs-7"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/marc-dolez-1952-10-21/">
<h4 class="text-center">Marc Dolez</h4>
</a><p class="text-center
lead
"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/marc-dolez-1952-10-21/">
</a><p class="text-center"><a class="custom-thumbnail custom-invisible" href="/legislature/representative/marc-dolez-1952-10-21/">
<br/>
</a><a class="icon-badge" href="/legislature/representative/country/France/" title="France"><span class="flag-icon flag-icon-fr"></span></a>
...
...
templates/representatives/representative_grid.html
View file @
c160c418
...
...
@@ -37,7 +37,7 @@
<div
class=
"col-xs-7"
>
<h4
class=
"text-center"
>
{{ representative.full_name }}
</h4>
<p
class=
"text-center
lead
"
>
<p
class=
"text-center"
>
<br>
{% if representative.country %}
<a
class=
"icon-badge"
href=
"{% country_url representative.country %}"
title=
"{{ representative.country.name }}"
>
{{ representative.country|country_flag }}
</a>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment