Skip to content
GitLab
Menu
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
832e7e33
Commit
832e7e33
authored
Jan 02, 2016
by
Jamesie Pic
Browse files
Test representatives list
parent
1ab1c329
Changes
7
Show whitespace changes
Inline
Side-by-side
memopol/tests/RepresentativeListTest/test_page1_paginateby12_displaylist.html
0 → 100644
View file @
832e7e33
<div
class=
"container-fluid main-container"
>
<form
action=
''
method=
'get'
>
<label
for=
'search'
>
Search
</label>
<input
id=
'search'
type=
'text'
name=
'search'
/>
<input
type=
'submit'
value=
'Go'
/>
</form>
<div
class=
'pagination-block'
>
<nav>
<ul
class=
'pagination pagination-sm'
>
<li
class=
'active'
>
<a
href=
''
>
1
</a>
</li>
<li>
<a
href=
'?&page=2'
>
2
</a>
</li>
<li>
<a
href=
'?&page=3'
>
3
</a>
</li>
<li>
<a
aria-label=
'Next'
href=
'?&page=2'
>
<i
aria-hidden=
"true"
class=
"fa fa-chevron-right"
></i>
</a>
</li>
<li>
<a
aria-label=
'Last'
href=
'?&page=3'
>
<i
aria-hidden=
"true"
class=
"fa fa-chevron-circle-right"
></i>
</a>
</li>
</ul>
</nav>
<div
class=
'count'
>
Number of results : 36
<br
/>
Number of displayed results :
12
(
<a
href=
'?paginate_by=12'
>
12
</a>
/
<a
href=
'?paginate_by=24'
>
24
</a>
/
<a
href=
'?paginate_by=48'
>
48
</a>
/
<a
href=
'?paginate_by=96'
>
96
</a>
)
<span
class=
'grid-list-selector'
>
<a
href=
'?display=grid'
>
<i
class=
"fa fa-th"
></i>
</a>
<a
href=
'?display=list'
>
<i
class=
"fa fa-th-list"
></i>
</a>
</span>
</div>
</div>
<table
class=
'table'
>
<tr>
<th>
Photo
</th>
<th>
Name
</th>
<th>
Country
</th>
<th>
Group
</th>
<th>
Score
</th>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/zigmantas-balcytis/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/96680.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/zigmantas-balcytis/'
>
Zigmantas BALČYTIS
</a>
</td>
<td>
Lithuania [LT]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'
>
SD
</a>
</td>
<td>
<span
class=
"label label-success"
>
15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/vilija-blinkeviciute/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/96681.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/vilija-blinkeviciute/'
>
Vilija BLINKEVIČIŪTĖ
</a>
</td>
<td>
Lithuania [LT]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'
>
SD
</a>
</td>
<td>
<span
class=
"label label-success"
>
15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/elmar-brok/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/1263.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/elmar-brok/'
>
Elmar BROK
</a>
</td>
<td>
Germany [DE]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
EPP
</a>
</td>
<td>
<span
class=
"label label-danger"
>
-10
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/cristian-silviu-busoi/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/38420.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/cristian-silviu-busoi/'
>
Cristian-Silviu BUŞOI
</a>
</td>
<td>
Romania [RO]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
EPP
</a>
</td>
<td>
<span
class=
"label label-success"
>
15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/david-casa/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/28122.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/david-casa/'
>
David CASA
</a>
</td>
<td>
Malta [MT]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
EPP
</a>
</td>
<td>
<span
class=
"label label-danger"
>
-15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/jean-marie-cavada/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/28206.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/jean-marie-cavada/'
>
Jean-Marie CAVADA
</a>
</td>
<td>
France [FR]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'
>
ALDE
</a>
</td>
<td>
<span
class=
"label label-danger"
>
-15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/nikolaos-chountis/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/26851.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/nikolaos-chountis/'
>
Nikolaos CHOUNTIS
</a>
</td>
<td>
Greece [GR]
</td>
<td>
<a
href=
'/legislature/representative/group/Confederal%20Group%20of%20the%20European%20United%20Left%20-%20Nordic%20Green%20Left/'
>
GUE/NGL
</a>
</td>
<td>
<span
class=
"label label-success"
>
15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/michael-cramer/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/28238.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/michael-cramer/'
>
Michael CRAMER
</a>
</td>
<td>
Germany [DE]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Greens/European%20Free%20Alliance/'
>
Greens/EFA
</a>
</td>
<td>
<span
class=
"label label-success"
>
15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/michel-dantin/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/97296.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/michel-dantin/'
>
Michel DANTIN
</a>
</td>
<td>
France [FR]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
EPP
</a>
</td>
<td>
<span
class=
"label label-danger"
>
-15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/tamas-deutsch/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/96826.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/tamas-deutsch/'
>
Tamás DEUTSCH
</a>
</td>
<td>
Hungary [HU]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
EPP
</a>
</td>
<td>
<span
class=
"label label-danger"
>
-15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/viorica-dancila/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/95281.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/viorica-dancila/'
>
Viorica DĂNCILĂ
</a>
</td>
<td>
Romania [RO]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'
>
SD
</a>
</td>
<td>
<span
class=
"label label-success"
>
15
</span>
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/bas-eickhout/'
>
<img
src=
'http://www.europarl.europa.eu/mepphoto/96725.jpg'
width=
'80'
/>
</a>
</td>
<td>
<a
href=
'/legislature/representative/bas-eickhout/'
>
Bas EICKHOUT
</a>
</td>
<td>
Netherlands [NL]
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Greens/European%20Free%20Alliance/'
>
Greens/EFA
</a>
</td>
<td>
<span
class=
"label label-success"
>
15
</span>
</td>
</tr>
</table>
<div
class=
'pagination-block'
>
<nav>
<ul
class=
'pagination pagination-sm'
>
<li
class=
'active'
>
<a
href=
''
>
1
</a>
</li>
<li>
<a
href=
'?&page=2'
>
2
</a>
</li>
<li>
<a
href=
'?&page=3'
>
3
</a>
</li>
<li>
<a
aria-label=
'Next'
href=
'?&page=2'
>
<i
aria-hidden=
"true"
class=
"fa fa-chevron-right"
></i>
</a>
</li>
<li>
<a
aria-label=
'Last'
href=
'?&page=3'
>
<i
aria-hidden=
"true"
class=
"fa fa-chevron-circle-right"
></i>
</a>
</li>
</ul>
</nav>
<div
class=
'count'
>
Number of results : 36
<br
/>
Number of displayed results :
12
(
<a
href=
'?paginate_by=12'
>
12
</a>
/
<a
href=
'?paginate_by=24'
>
24
</a>
/
<a
href=
'?paginate_by=48'
>
48
</a>
/
<a
href=
'?paginate_by=96'
>
96
</a>
)
<span
class=
'grid-list-selector'
>
<a
href=
'?display=grid'
>
<i
class=
"fa fa-th"
></i>
</a>
<a
href=
'?display=list'
>
<i
class=
"fa fa-th-list"
></i>
</a>
</span>
</div>
</div>
memopol/tests/RepresentativeListTest/test_page1_paginateby12_displaylist_searchjoly.html
0 → 100644
View file @
832e7e33
<div
class=
"container-fluid main-container"
>
<form
action=
''
method=
'get'
>
<label
for=
'search'
>
Search
</label>
<input
id=
'search'
type=
'text'
name=
'search'
/>
<input
type=
'submit'
value=
'Go'
/>
</form>
<div
class=
'pagination-block'
>
<nav>
<ul
class=
'pagination pagination-sm'
>
</ul>
</nav>
<div
class=
'count'
>
Number of results : 1
<br
/>