RepresentativeListTest.test_filter_country.content 13.7 KB
Newer Older
Nicolas Joyard's avatar
Nicolas Joyard committed
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html class="no-js" lang="en"> <!--<![endif]-->
  <head>
    <meta charset="utf-8" />
    <link rel="icon" type="image/png" href="/static/collected/img/favicon.ico" />
    <!-- Set the viewport width to device width for mobile -->
    <meta name="viewport" content="width=device-width" />
    <title>
      Home
      - The Political Memory of </title>
    
    
Nicolas Joyard's avatar
Nicolas Joyard committed
13
    <link rel="stylesheet" href="/static/collected/libs/bootstrap/dist/css/bootstrap.min.css" type="text/css" /><link rel="stylesheet" href="/static/collected/libs/fontawesome/css/font-awesome.min.css" type="text/css" /><link rel="stylesheet" href="/static/collected/libs/flag-icon-css/css/flag-icon.min.css" type="text/css" /><link rel="stylesheet" href="/static/collected/CACHE/css/base.540ce621a9a1.css" type="text/css" />
Nicolas Joyard's avatar
Nicolas Joyard committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
    <script type="text/javascript" src="/static/collected/libs/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="/static/collected/libs/bootstrap/dist/js/bootstrap.js"></script>
    

  <link href="/static/collected/autocomplete_light/vendor/select2/dist/css/select2.css" type="text/css" media="all" rel="stylesheet" />
<link href="/static/collected/autocomplete_light/select2.css" type="text/css" media="all" rel="stylesheet" />
<script type="text/javascript" src="/static/collected/autocomplete_light/jquery.init.js"></script>
<script type="text/javascript" src="/static/collected/autocomplete_light/autocomplete.init.js"></script>
<script type="text/javascript" src="/static/collected/autocomplete_light/vendor/select2/dist/js/select2.full.js"></script>
<script type="text/javascript" src="/static/collected/autocomplete_light/select2.js"></script>


  </head>
  <body >
    <!-- -load memopol_tags cache -->




<div id='header' class='container-fluid'>
  <a id='logo' href='/'>
    <img src='/static/collected/images/logo.png' />
  </a>
  <h1>
    <a id='header_banner' href='/'>
      Political Memory
    </a>
  </h1>
  <p class='organization'>
    

  </p>
</div>
<div id='nav' class='container-fluid'>
  <ul class='nav'>
    <li>
      <a href='/legislature/representative/'>
        Representatives
      </a>
    </li>
    <li>
      <a href='/legislature/group/country/'>
        Countries
      </a>
    </li>
    <li>
      <a href='/legislature/group/chamber/'>
        Chambers
      </a>
    </li>
    <li>
      <a href='/legislature/group/group/'>
        Parties
      </a>
    </li>
    <li>
      <a href='/legislature/group/delegation/'>
        Delegations
      </a>
    </li>
    <li>
      <a href='/legislature/group/committee/'>
        Committees
      </a>
    </li>
    <li>
      <a href='/votes/dossier/'>
        Dossiers

      </a>
    </li>
  </ul>
</div>

    <div class="container-fluid main-container">
      

  

    
    

<form class='filter-form' action='/legislature/representative/' method='get'>

  <div class="form-group has-success"><label class="control-label" for="id_search">Search</label><input class="form-control" id="id_search" name="search" placeholder="Search" title="Filter" type="text" /><span class="help-block">Filter
</span></div>
<div class="form-group has-success"><label class="control-label" for="id_chamber">Chamber</label><select class="form-control" id="id_chamber" name="chamber" title="Filter">
<option value="" selected="selected">---------</option>
<option value="1">European Parliament [EP]</option>
</select><span class="help-block">Filter
</span></div>
<div class="form-group has-success"><label class="control-label" for="id_country">Country</label><select class="form-control" id="id_country" name="country" title="Filter">
<option value="">---------</option>
<option value="106">Austria</option>
<option value="98">Belgium</option>
<option value="117">Bulgaria</option>
<option value="184">Cyprus</option>
<option value="88">Czech Republic</option>
<option value="113">Denmark</option>
<option value="126">Estonia</option>
<option value="115">Finland</option>
<option value="110" selected="selected">France</option>
<option value="22">Germany</option>
<option value="134">Greece</option>
<option value="85">Hungary</option>
<option value="182">Ireland</option>
<option value="100">Italy</option>
<option value="93">Latvia</option>
<option value="145">Lithuania</option>
<option value="112">Luxembourg</option>
<option value="186">Malta</option>
<option value="57">Netherlands</option>
<option value="2">Poland</option>
<option value="109">Portugal</option>
<option value="19">Romania</option>
<option value="169">Slovakia</option>
<option value="120">Slovenia</option>
<option value="91">Spain</option>
<option value="140">Sweden</option>
<option value="33">United Kingdom</option>
</select><span class="help-block">Filter
</span></div>
<div class="form-group has-success"><label class="control-label" for="id_group">Party, committee or delegation</label><select class="form-control" data-autocomplete-light-function="select2" data-autocomplete-light-url="/legislature/autocomplete/group/" id="id_group" name="group" title="Filter">
<option value="" selected="selected">---------</option>
</select><span class="help-block">Filter
</span></div>

  <div class="form-group">
    <button class='btn btn-primary' type='submit'>
      <span class="glyphicon glyphicon-filter"></span> Filter
    </button>
  </div>

Nicolas Joyard's avatar
Nicolas Joyard committed
147
148
149
150
151
152
153
154
155
  

    <div class="form-group">
      <button class='btn btn-default' type='submit' name='csv'>
        <span class="glyphicon glyphicon-download-alt"></span> Download as CSV
      </button>
    </div>

  
Nicolas Joyard's avatar
Nicolas Joyard committed
156
157
158
159
160
161

</form>


  

Nicolas Joyard's avatar
Nicolas Joyard committed
162
163
164
  

    <div class='pagination-block'>
Nicolas Joyard's avatar
Nicolas Joyard committed
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180

  <nav>
    <ul class='pagination pagination-sm'>
      
      
      
    </ul>
  </nav>
  <div class='count'>
    Number of results : 4

    
      <br />
      Display :

  current legislature only /
Nicolas Joyard's avatar
Nicolas Joyard committed
181
  <a href='?country=110&amp;search=&amp;group=&amp;chamber=&active_only=0'>
Nicolas Joyard's avatar
Nicolas Joyard committed
182
183
184
185
186
187
188
189
190
191
192
    all data
  </a>



    
    <br />
    Number of displayed results :
    12
    (
    
Nicolas Joyard's avatar
Nicolas Joyard committed
193
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=12'>
Nicolas Joyard's avatar
Nicolas Joyard committed
194
195
196
197
198
199
        12
      </a>
      
        /
      
    
Nicolas Joyard's avatar
Nicolas Joyard committed
200
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=24'>
Nicolas Joyard's avatar
Nicolas Joyard committed
201
202
203
204
205
206
        24
      </a>
      
        /
      
    
Nicolas Joyard's avatar
Nicolas Joyard committed
207
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=48'>
Nicolas Joyard's avatar
Nicolas Joyard committed
208
209
210
211
212
213
        48
      </a>
      
        /
      
    
Nicolas Joyard's avatar
Nicolas Joyard committed
214
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=96'>
Nicolas Joyard's avatar
Nicolas Joyard committed
215
216
217
218
219
220
221
        96
      </a>
      
    
    )
    
      <span class='grid-list-selector'>
Nicolas Joyard's avatar
Nicolas Joyard committed
222
  <a href='?country=110&amp;search=&amp;group=&amp;chamber=&display=grid'>
Nicolas Joyard's avatar
Nicolas Joyard committed
223
224
    <i class="fa fa-th"></i>
  </a>
Nicolas Joyard's avatar
Nicolas Joyard committed
225
  <a href='?country=110&amp;search=&amp;group=&amp;chamber=&display=list'>
Nicolas Joyard's avatar
Nicolas Joyard committed
226
227
228
229
230
231
232
233
234
235
236
    <i class="fa fa-th-list"></i>

  </a>
</span>


    
  </div>
</div>


Nicolas Joyard's avatar
Nicolas Joyard committed
237
    
Nicolas Joyard's avatar
Nicolas Joyard committed
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379

  <div class='representative_grid'>
    
      <div class='representative_item active'>
        <p class='photo'>
          <a href='/legislature/representative/jean-marie-cavada/'>
            <img src='http://www.europarl.europa.eu/mepphoto/28206.jpg' width='80' />
          </a>
        </p>
        <ul>
          <li class='name'>
            <a href='/legislature/representative/jean-marie-cavada/'>
              Jean-Marie CAVADA
            </a>
          </li>
          <li class='chamber'>
            <a href='/legislature/representative/chamber/European%20Parliament/'>
              <span class="chamber-icon chamber-icon-ep"></span> European Parliament
            </a>
          </li>
          <li class='country'>
            <a href='/legislature/representative/country/France/'>
              <span class="flag-icon flag-icon-fr"></span> France
            </a>
          </li>
          <li class='mandate'>
            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'>
              <span class="group-icon group-icon-alde"></span> ALDE
            </a>
          </li>
          <li class='score'>
            <span class="label label-danger">-15</span>

          </li>
        </ul>
      </div>
    
      <div class='representative_item active'>
        <p class='photo'>
          <a href='/legislature/representative/michel-dantin/'>
            <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
          </a>
        </p>
        <ul>
          <li class='name'>
            <a href='/legislature/representative/michel-dantin/'>
              Michel DANTIN
            </a>
          </li>
          <li class='chamber'>
            <a href='/legislature/representative/chamber/European%20Parliament/'>
              <span class="chamber-icon chamber-icon-ep"></span> European Parliament
            </a>
          </li>
          <li class='country'>
            <a href='/legislature/representative/country/France/'>
              <span class="flag-icon flag-icon-fr"></span> France
            </a>
          </li>
          <li class='mandate'>
            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
              <span class="group-icon group-icon-epp"></span> EPP
            </a>
          </li>
          <li class='score'>
            <span class="label label-danger">-15</span>

          </li>
        </ul>
      </div>
    
      <div class='representative_item active'>
        <p class='photo'>
          <a href='/legislature/representative/yannick-jadot/'>
            <img src='http://www.europarl.europa.eu/mepphoto/96740.jpg' width='80' />
          </a>
        </p>
        <ul>
          <li class='name'>
            <a href='/legislature/representative/yannick-jadot/'>
              Yannick JADOT
            </a>
          </li>
          <li class='chamber'>
            <a href='/legislature/representative/chamber/European%20Parliament/'>
              <span class="chamber-icon chamber-icon-ep"></span> European Parliament
            </a>
          </li>
          <li class='country'>
            <a href='/legislature/representative/country/France/'>
              <span class="flag-icon flag-icon-fr"></span> France
            </a>
          </li>
          <li class='mandate'>
            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Greens/European%20Free%20Alliance/'>
              <span class="group-icon group-icon-greensefa"></span> Greens/EFA
            </a>
          </li>
          <li class='score'>
            <span class="label label-success">15</span>

          </li>
        </ul>
      </div>
    
      <div class='representative_item active'>
        <p class='photo'>
          <a href='/legislature/representative/eva-joly/'>
            <img src='http://www.europarl.europa.eu/mepphoto/96883.jpg' width='80' />
          </a>
        </p>
        <ul>
          <li class='name'>
            <a href='/legislature/representative/eva-joly/'>
              Eva JOLY
            </a>
          </li>
          <li class='chamber'>
            <a href='/legislature/representative/chamber/European%20Parliament/'>
              <span class="chamber-icon chamber-icon-ep"></span> European Parliament
            </a>
          </li>
          <li class='country'>
            <a href='/legislature/representative/country/France/'>
              <span class="flag-icon flag-icon-fr"></span> France
            </a>
          </li>
          <li class='mandate'>
            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Greens/European%20Free%20Alliance/'>
              <span class="group-icon group-icon-greensefa"></span> Greens/EFA
            </a>
          </li>
          <li class='score'>
            <span class="label label-success">15</span>

          </li>
        </ul>
      </div>
    
  </div>


Nicolas Joyard's avatar
Nicolas Joyard committed
380
    <div class='pagination-block'>
Nicolas Joyard's avatar
Nicolas Joyard committed
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396

  <nav>
    <ul class='pagination pagination-sm'>
      
      
      
    </ul>
  </nav>
  <div class='count'>
    Number of results : 4

    
      <br />
      Display :

  current legislature only /
Nicolas Joyard's avatar
Nicolas Joyard committed
397
  <a href='?country=110&amp;search=&amp;group=&amp;chamber=&active_only=0'>
Nicolas Joyard's avatar
Nicolas Joyard committed
398
399
400
401
402
403
404
405
406
407
408
    all data
  </a>



    
    <br />
    Number of displayed results :
    12
    (
    
Nicolas Joyard's avatar
Nicolas Joyard committed
409
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=12'>
Nicolas Joyard's avatar
Nicolas Joyard committed
410
411
412
413
414
415
        12
      </a>
      
        /
      
    
Nicolas Joyard's avatar
Nicolas Joyard committed
416
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=24'>
Nicolas Joyard's avatar
Nicolas Joyard committed
417
418
419
420
421
422
        24
      </a>
      
        /
      
    
Nicolas Joyard's avatar
Nicolas Joyard committed
423
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=48'>
Nicolas Joyard's avatar
Nicolas Joyard committed
424
425
426
427
428
429
        48
      </a>
      
        /
      
    
Nicolas Joyard's avatar
Nicolas Joyard committed
430
      <a href='?country=110&amp;search=&amp;group=&amp;chamber=&paginate_by=96'>
Nicolas Joyard's avatar
Nicolas Joyard committed
431
432
433
434
435
436
437
        96
      </a>
      
    
    )
    
      <span class='grid-list-selector'>
Nicolas Joyard's avatar
Nicolas Joyard committed
438
  <a href='?country=110&amp;search=&amp;group=&amp;chamber=&display=grid'>
Nicolas Joyard's avatar
Nicolas Joyard committed
439
440
    <i class="fa fa-th"></i>
  </a>
Nicolas Joyard's avatar
Nicolas Joyard committed
441
  <a href='?country=110&amp;search=&amp;group=&amp;chamber=&display=list'>
Nicolas Joyard's avatar
Nicolas Joyard committed
442
443
444
445
446
447
448
449
450
451
452
    <i class="fa fa-th-list"></i>

  </a>
</span>


    
  </div>
</div>


Nicolas Joyard's avatar
Nicolas Joyard committed
453
454
  

Nicolas Joyard's avatar
Nicolas Joyard committed
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489

    </div>
    

<div id='footer' class='container-fluid'>
  <div class='license-links'>
    
      Memopol is
      <a href='https://github.com/political-memory/political_memory'>free software</a>
      released under the terms of the
      <a href='http://www.gnu.org/licenses/agpl.html'>GNU aGPLV3+</a>
    
  </div>
  <div class='footer-link'>
    <a href='https://github.com/political-memory/political_memory/issues/new'>Report a bug</a>
  </div>
  <div class='footer-link'>
    <a href='http://www.memopol.org/'>Blog</a>
  </div>
  <div class='footer-link'>
    <a href='http://memopol.readthedocs.io/en/master/'>Documentation</a>
  </div>
  <div class='footer-separator'></div>
  <div class='footer-link'>
    Developed by
    <a href='http://www.laquadrature.net/'>La Quadrature du Net</a>
  </div>
  <div class='footer-link'>
    EP data provided by
    <a href='http://parltrack.euwiki.org/'>Parltrack</a>
  </div>
</div>

  </body>
</html>