RepresentativeListTest.test_filter_search.content 14 KB
Newer Older
Nicolas Joyard's avatar
Nicolas Joyard committed
1 2 3 4 5 6 7
<!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" />
Anthony Maton's avatar
Anthony Maton committed
8
      <title>Home - Political Memory</title>
Nicolas Joyard's avatar
Nicolas Joyard committed
9 10
    
    
Nicolas Joyard's avatar
Nicolas Joyard committed
11
    <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.586b8f5e9bff.css" type="text/css" />
Nicolas Joyard's avatar
Nicolas Joyard committed
12 13 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
    <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>
77 78 79 80 81
    <li>
      <a href='/theme/'>
        Themes
      </a>
    </li>
Nicolas Joyard's avatar
Nicolas Joyard committed
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 147 148 149
    <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" value="am" /><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="" selected="selected">---------</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">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
150 151 152 153 154 155 156 157 158
  

    <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
159 160 161 162 163 164

</form>


  

Nicolas Joyard's avatar
Nicolas Joyard committed
165 166 167
  

    <div class='pagination-block'>
Nicolas Joyard's avatar
Nicolas Joyard committed
168 169 170 171 172 173 174 175 176

  <nav>
    <ul class='pagination pagination-sm'>
      
      
      
    </ul>
  </nav>
  <div class='count'>
Nicolas Joyard's avatar
Nicolas Joyard committed
177 178
    <div class='count-block'>
      Number of results : 3
Nicolas Joyard's avatar
Nicolas Joyard committed
179

Nicolas Joyard's avatar
Nicolas Joyard committed
180
    </div>
Nicolas Joyard's avatar
Nicolas Joyard committed
181
    
Nicolas Joyard's avatar
Nicolas Joyard committed
182 183 184 185 186 187 188 189 190
      <div class='active-block'>
  Display :
  
    current legislature only /
    <a href='?country=&amp;search=am&amp;group=&amp;chamber=&active_only=0'>
      all data
    </a>
  
</div>
Nicolas Joyard's avatar
Nicolas Joyard committed
191 192 193 194 195


    
    
      
Nicolas Joyard's avatar
Nicolas Joyard committed
196 197 198
  <div class='sorting-block'>
    Order by :

Nicolas Joyard's avatar
Nicolas Joyard committed
199
      
Nicolas Joyard's avatar
Nicolas Joyard committed
200 201 202 203 204 205 206
          
            <a href='?country=&amp;search=am&amp;group=&amp;chamber=&sort_by=score__score'>score</a>
          
          
             | 

          
Nicolas Joyard's avatar
Nicolas Joyard committed
207
      
Nicolas Joyard's avatar
Nicolas Joyard committed
208 209 210 211
          
            name
          
          
Nicolas Joyard's avatar
Nicolas Joyard committed
212
      
Nicolas Joyard's avatar
Nicolas Joyard committed
213 214
      &ndash;

Nicolas Joyard's avatar
Nicolas Joyard committed
215
      
Nicolas Joyard's avatar
Nicolas Joyard committed
216 217
        ascending |
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&sort_dir=desc'>descending</a>
Nicolas Joyard's avatar
Nicolas Joyard committed
218
      
Nicolas Joyard's avatar
Nicolas Joyard committed
219 220 221 222
  </div>



Nicolas Joyard's avatar
Nicolas Joyard committed
223
    
Nicolas Joyard's avatar
Nicolas Joyard committed
224 225 226 227
    <div class='page-size-block'>
      Number of displayed results :
      12
      (
Nicolas Joyard's avatar
Nicolas Joyard committed
228
      
Nicolas Joyard's avatar
Nicolas Joyard committed
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=12'>12</a>
        
          /
        
      
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=24'>24</a>
        
          /
        
      
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=48'>48</a>
        
          /
        
      
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=96'>96</a>
        
      
      )
      
        <span class='grid-list-selector'>
  <a href='?country=&amp;search=am&amp;group=&amp;chamber=&display=grid'><i class="fa fa-th"></i></a>
  <a href='?country=&amp;search=am&amp;group=&amp;chamber=&display=list'><i class="fa fa-th-list"></i></a>
Nicolas Joyard's avatar
Nicolas Joyard committed
252 253 254
</span>


Nicolas Joyard's avatar
Nicolas Joyard committed
255 256
      
    </div>
Nicolas Joyard's avatar
Nicolas Joyard committed
257 258 259 260
  </div>
</div>


Nicolas Joyard's avatar
Nicolas Joyard committed
261
    
Nicolas Joyard's avatar
Nicolas Joyard committed
262 263 264 265 266

  <div class='representative_grid'>
    
      <div class='representative_item active'>
        <p class='photo'>
Nicolas Joyard's avatar
Nicolas Joyard committed
267
          <a href='/legislature/representative/michael-cramer-1949-06-16/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
268 269 270 271 272
            <img src='http://www.europarl.europa.eu/mepphoto/28238.jpg' width='80' />
          </a>
        </p>
        <ul>
          <li class='name'>
Nicolas Joyard's avatar
Nicolas Joyard committed
273
            <a href='/legislature/representative/michael-cramer-1949-06-16/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
274 275 276 277 278
              Michael CRAMER
            </a>
          </li>
          <li class='chamber'>
            <a href='/legislature/representative/chamber/European%20Parliament/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
279
              <span class="chamber-icon" style="background-image: url(/static/collected/images/chamber-ep.png)"></span> European Parliament
Nicolas Joyard's avatar
Nicolas Joyard committed
280 281 282 283 284 285 286 287 288
            </a>
          </li>
          <li class='country'>
            <a href='/legislature/representative/country/Germany/'>
              <span class="flag-icon flag-icon-de"></span> Germany
            </a>
          </li>
          <li class='mandate'>
            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Greens/European%20Free%20Alliance/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
289
              <span class="group-icon" style="background-image: url(/static/collected/images/group-ep-greensefa.png)"></span> Greens/EFA
Nicolas Joyard's avatar
Nicolas Joyard committed
290 291 292 293 294 295 296 297 298 299 300
            </a>
          </li>
          <li class='score'>
            <span class="label label-success">15</span>

          </li>
        </ul>
      </div>
    
      <div class='representative_item active'>
        <p class='photo'>
Nicolas Joyard's avatar
Nicolas Joyard committed
301
          <a href='/legislature/representative/tamas-deutsch-1966-07-27/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
302 303 304 305 306
            <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
          </a>
        </p>
        <ul>
          <li class='name'>
Nicolas Joyard's avatar
Nicolas Joyard committed
307
            <a href='/legislature/representative/tamas-deutsch-1966-07-27/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
308 309 310 311 312
              Tamás DEUTSCH
            </a>
          </li>
          <li class='chamber'>
            <a href='/legislature/representative/chamber/European%20Parliament/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
313
              <span class="chamber-icon" style="background-image: url(/static/collected/images/chamber-ep.png)"></span> European Parliament
Nicolas Joyard's avatar
Nicolas Joyard committed
314 315 316 317 318 319 320 321 322
            </a>
          </li>
          <li class='country'>
            <a href='/legislature/representative/country/Hungary/'>
              <span class="flag-icon flag-icon-hu"></span> Hungary
            </a>
          </li>
          <li class='mandate'>
            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
323
              <span class="group-icon" style="background-image: url(/static/collected/images/group-ep-epp.png)"></span> EPP
Nicolas Joyard's avatar
Nicolas Joyard committed
324 325 326 327 328 329 330 331 332 333 334
            </a>
          </li>
          <li class='score'>
            <span class="label label-danger">-15</span>

          </li>
        </ul>
      </div>
    
      <div class='representative_item active'>
        <p class='photo'>
Nicolas Joyard's avatar
Nicolas Joyard committed
335
          <a href='/legislature/representative/ramon-tremosa-i-balcells-1965-06-30/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
336 337 338 339 340
            <img src='http://www.europarl.europa.eu/mepphoto/97203.jpg' width='80' />
          </a>
        </p>
        <ul>
          <li class='name'>
Nicolas Joyard's avatar
Nicolas Joyard committed
341
            <a href='/legislature/representative/ramon-tremosa-i-balcells-1965-06-30/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
342 343 344 345 346
              Ramon TREMOSA i BALCELLS
            </a>
          </li>
          <li class='chamber'>
            <a href='/legislature/representative/chamber/European%20Parliament/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
347
              <span class="chamber-icon" style="background-image: url(/static/collected/images/chamber-ep.png)"></span> European Parliament
Nicolas Joyard's avatar
Nicolas Joyard committed
348 349 350 351 352 353 354 355 356
            </a>
          </li>
          <li class='country'>
            <a href='/legislature/representative/country/Spain/'>
              <span class="flag-icon flag-icon-es"></span> Spain
            </a>
          </li>
          <li class='mandate'>
            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'>
Nicolas Joyard's avatar
Nicolas Joyard committed
357
              <span class="group-icon" style="background-image: url(/static/collected/images/group-ep-alde.png)"></span> ALDE
Nicolas Joyard's avatar
Nicolas Joyard committed
358 359 360 361 362 363 364 365 366 367 368 369
            </a>
          </li>
          <li class='score'>
            <span class="label label-success">15</span>

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


Nicolas Joyard's avatar
Nicolas Joyard committed
370
    <div class='pagination-block'>
Nicolas Joyard's avatar
Nicolas Joyard committed
371 372 373 374 375 376 377 378 379

  <nav>
    <ul class='pagination pagination-sm'>
      
      
      
    </ul>
  </nav>
  <div class='count'>
Nicolas Joyard's avatar
Nicolas Joyard committed
380 381
    <div class='count-block'>
      Number of results : 3
Nicolas Joyard's avatar
Nicolas Joyard committed
382

Nicolas Joyard's avatar
Nicolas Joyard committed
383
    </div>
Nicolas Joyard's avatar
Nicolas Joyard committed
384
    
Nicolas Joyard's avatar
Nicolas Joyard committed
385 386 387 388 389 390 391 392 393
      <div class='active-block'>
  Display :
  
    current legislature only /
    <a href='?country=&amp;search=am&amp;group=&amp;chamber=&active_only=0'>
      all data
    </a>
  
</div>
Nicolas Joyard's avatar
Nicolas Joyard committed
394 395 396 397 398


    
    
      
Nicolas Joyard's avatar
Nicolas Joyard committed
399 400 401
  <div class='sorting-block'>
    Order by :

Nicolas Joyard's avatar
Nicolas Joyard committed
402
      
Nicolas Joyard's avatar
Nicolas Joyard committed
403 404 405 406 407 408 409
          
            <a href='?country=&amp;search=am&amp;group=&amp;chamber=&sort_by=score__score'>score</a>
          
          
             | 

          
Nicolas Joyard's avatar
Nicolas Joyard committed
410
      
Nicolas Joyard's avatar
Nicolas Joyard committed
411 412 413 414
          
            name
          
          
Nicolas Joyard's avatar
Nicolas Joyard committed
415
      
Nicolas Joyard's avatar
Nicolas Joyard committed
416 417
      &ndash;

Nicolas Joyard's avatar
Nicolas Joyard committed
418
      
Nicolas Joyard's avatar
Nicolas Joyard committed
419 420
        ascending |
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&sort_dir=desc'>descending</a>
Nicolas Joyard's avatar
Nicolas Joyard committed
421
      
Nicolas Joyard's avatar
Nicolas Joyard committed
422 423 424 425
  </div>



Nicolas Joyard's avatar
Nicolas Joyard committed
426
    
Nicolas Joyard's avatar
Nicolas Joyard committed
427 428 429 430
    <div class='page-size-block'>
      Number of displayed results :
      12
      (
Nicolas Joyard's avatar
Nicolas Joyard committed
431
      
Nicolas Joyard's avatar
Nicolas Joyard committed
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=12'>12</a>
        
          /
        
      
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=24'>24</a>
        
          /
        
      
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=48'>48</a>
        
          /
        
      
        <a href='?country=&amp;search=am&amp;group=&amp;chamber=&paginate_by=96'>96</a>
        
      
      )
      
        <span class='grid-list-selector'>
  <a href='?country=&amp;search=am&amp;group=&amp;chamber=&display=grid'><i class="fa fa-th"></i></a>
  <a href='?country=&amp;search=am&amp;group=&amp;chamber=&display=list'><i class="fa fa-th-list"></i></a>
Nicolas Joyard's avatar
Nicolas Joyard committed
455 456 457
</span>


Nicolas Joyard's avatar
Nicolas Joyard committed
458 459
      
    </div>
Nicolas Joyard's avatar
Nicolas Joyard committed
460 461 462 463
  </div>
</div>


Nicolas Joyard's avatar
Nicolas Joyard committed
464 465
  

Nicolas Joyard's avatar
Nicolas Joyard committed
466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500

    </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>