patternfly-sass 3.17.0 → 3.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.svg +19025 -1827
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Bold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.svg +19033 -1827
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-BoldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.svg +19027 -1827
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.svg +19033 -1827
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-ExtraBoldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.svg +19040 -1827
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Italic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.svg +19023 -1828
- data/assets/fonts/patternfly/OpenSans-Light-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Light-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.svg +19036 -1832
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-LightItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.svg +19027 -1828
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Regular-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.svg +19027 -1827
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-Semibold-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.svg +19040 -1827
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/assets/fonts/patternfly/OpenSans-SemiboldItalic-webfont.woff2 +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.eot +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.svg +2 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.ttf +0 -0
- data/assets/fonts/patternfly/PatternFlyIcons-webfont.woff +0 -0
- data/assets/javascripts/patternfly-functions.js +118 -105
- data/assets/javascripts/patternfly-functions.min.js +1 -1
- data/assets/javascripts/patternfly-settings.js +24 -1
- data/assets/javascripts/patternfly-settings.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfEmpty.js +11 -2
- data/assets/javascripts/patternfly.dataTables.pfEmpty.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfFilter.js +13 -5
- data/assets/javascripts/patternfly.dataTables.pfFilter.min.js +1 -1
- data/assets/javascripts/patternfly.dataTables.pfPagination.js +401 -0
- data/assets/javascripts/patternfly.dataTables.pfPagination.min.js +1 -0
- data/assets/javascripts/patternfly.dataTables.pfSelect.js +2 -2
- data/assets/javascripts/patternfly.dataTables.pfSelect.min.js +1 -1
- data/assets/javascripts/patternfly.js +142 -106
- data/assets/javascripts/patternfly.min.js +2 -2
- data/assets/stylesheets/_patternfly.scss +1 -0
- data/assets/stylesheets/patternfly/_close.scss +2 -0
- data/assets/stylesheets/patternfly/_fonts.scss +95 -25
- data/assets/stylesheets/patternfly/_icons.scss +6 -0
- data/assets/stylesheets/patternfly/_list-view-dnd.scss +53 -0
- data/assets/stylesheets/patternfly/_list-view.scss +1 -0
- data/assets/stylesheets/patternfly/_pagination.scss +50 -0
- data/assets/stylesheets/patternfly/_variables.scss +2 -0
- data/assets/stylesheets/patternfly/lib/bootstrap-switch.scss +2 -5
- data/bower.json +1 -1
- data/lib/patternfly-sass/version.rb +2 -2
- data/package.json +1 -1
- data/spec/html/bar-charts.html +109 -0
- data/spec/html/basic.html +267 -0
- data/spec/html/bootstrap-treeview-2.html +3 -0
- data/spec/html/card-view-multi-select.html +20 -1
- data/spec/html/card-view-single-select.html +3 -0
- data/spec/html/cards.html +3 -0
- data/spec/html/dashboard.html +3 -0
- data/spec/html/dist/css/patternfly-additions.css +46 -0
- data/spec/html/dist/css/patternfly-additions.css.map +1 -1
- data/spec/html/dist/css/patternfly-additions.min.css +1 -1
- data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
- data/spec/html/dist/css/patternfly.css +124 -5
- data/spec/html/dist/css/patternfly.css.map +1 -1
- data/spec/html/dist/css/patternfly.min.css +3 -3
- data/spec/html/dist/css/patternfly.min.css.map +1 -1
- data/spec/html/form.html +3 -0
- data/spec/html/icons.html +10 -0
- data/spec/html/index.html +9 -0
- data/spec/html/list-view-compound-expansion.html +3 -0
- data/spec/html/list-view-rows.html +1 -1
- data/spec/html/list-view-simple-expansion.html +3 -0
- data/spec/html/list-view.html +19 -0
- data/spec/html/pagination-card-view.html +560 -0
- data/spec/html/pagination-list-view.html +1204 -0
- data/spec/html/pagination-table-view.html +800 -0
- data/spec/html/pagination.html +37 -0
- data/spec/html/tab.html +267 -0
- data/spec/html/table-view-navbar.html +268 -0
- data/spec/html/table-view.html +265 -0
- data/spec/html/toolbar.html +3 -0
- data/spec/html/typography-2.html +3 -0
- data/spec/html/typography.html +17 -0
- metadata +21 -2
data/spec/html/pagination.html
CHANGED
@@ -28,6 +28,7 @@
|
|
28
28
|
<link href="tests.css" rel="stylesheet" media="screen, print">
|
29
29
|
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
|
30
30
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
31
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
|
31
32
|
<script src="../../dist/js/patternfly.min.js"></script>
|
32
33
|
</head>
|
33
34
|
|
@@ -278,6 +279,42 @@
|
|
278
279
|
</a>
|
279
280
|
</li>
|
280
281
|
</ul>
|
282
|
+
<hr>
|
283
|
+
<h2>Pagination row for card, list, and table views</h2>
|
284
|
+
<p>The following control can be seen in these examples:</p>
|
285
|
+
<ul>
|
286
|
+
<li><a href="pagination-card-view.html">Card View</a></li>
|
287
|
+
<li><a href="pagination-list-view.html">List View</a></li>
|
288
|
+
<li><a href="pagination-table-view.html">Table View</a></li>
|
289
|
+
</ul>
|
290
|
+
<form class="content-view-pf-pagination clearfix" id="">
|
291
|
+
<div class="form-group">
|
292
|
+
<select class="selectpicker pagination-pf-pagesize">
|
293
|
+
<option value="6">6</option>
|
294
|
+
<option value="10" >10</option>
|
295
|
+
<option value="15" >15</option>
|
296
|
+
<option value="25">25</option>
|
297
|
+
<option value="50">50</option>
|
298
|
+
</select>
|
299
|
+
<span>per page</span>
|
300
|
+
</div>
|
301
|
+
<div class="form-group">
|
302
|
+
<span><span class="pagination-pf-items-current">1-15</span> of <span class="pagination-pf-items-total">75</span></span>
|
303
|
+
<ul class="pagination pagination-pf-back">
|
304
|
+
<li class="disabled"><a href="#" title="First Page"><span class="i fa fa-angle-double-left"></span></a></li>
|
305
|
+
<li class="disabled"><a href="#" title="Previous Page"><span class="i fa fa-angle-left"></span></a></li>
|
306
|
+
</ul>
|
307
|
+
<label for="-page" class="sr-only">Current Page</label>
|
308
|
+
<input class="pagination-pf-page" type="text" value="1" id="-page"/>
|
309
|
+
<span>of <span class="pagination-pf-pages">5</span></span>
|
310
|
+
<ul class="pagination pagination-pf-forward">
|
311
|
+
<li><a href="#" title="Next Page"><span class="i fa fa-angle-right"></span></a></li>
|
312
|
+
<li><a href="#" title="Last Page"><span class="i fa fa-angle-double-right"></span></a></li>
|
313
|
+
</ul>
|
314
|
+
</div>
|
315
|
+
</form>
|
316
|
+
|
317
|
+
|
281
318
|
</div><!-- /container -->
|
282
319
|
</body>
|
283
320
|
</html>
|
data/spec/html/tab.html
CHANGED
@@ -30,6 +30,7 @@
|
|
30
30
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
31
31
|
<script src="//cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
|
32
32
|
<script src="//cdn.datatables.net/select/1.2.0/js/dataTables.select.min.js"></script>
|
33
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
|
33
34
|
<script src="../../dist/js/patternfly.dataTables.pfEmpty.js"></script>
|
34
35
|
<script src="../../dist/js/patternfly.dataTables.pfFilter.js"></script>
|
35
36
|
<script src="../../dist/js/patternfly.dataTables.pfResize.js"></script>
|
@@ -138,6 +139,9 @@
|
|
138
139
|
<li>
|
139
140
|
<a href="cards.html">Cards</a>
|
140
141
|
</li>
|
142
|
+
<li>
|
143
|
+
<a href="pagination-card-view.html">Pagination - Card View</a>
|
144
|
+
</li>
|
141
145
|
</ul>
|
142
146
|
</div>
|
143
147
|
</nav>
|
@@ -258,6 +262,33 @@
|
|
258
262
|
</thead>
|
259
263
|
</table>
|
260
264
|
|
265
|
+
<form class="content-view-pf-pagination table-view-pf-pagination clearfix" id="pagination1">
|
266
|
+
<div class="form-group">
|
267
|
+
<select class="selectpicker pagination-pf-pagesize">
|
268
|
+
<option value="6">6</option>
|
269
|
+
<option value="10" >10</option>
|
270
|
+
<option value="15" selected="selected">15</option>
|
271
|
+
<option value="25">25</option>
|
272
|
+
<option value="50">50</option>
|
273
|
+
</select>
|
274
|
+
<span>per page</span>
|
275
|
+
</div>
|
276
|
+
<div class="form-group">
|
277
|
+
<span><span class="pagination-pf-items-current">1-15</span> of <span class="pagination-pf-items-total">75</span></span>
|
278
|
+
<ul class="pagination pagination-pf-back">
|
279
|
+
<li class="disabled"><a href="#" title="First Page"><span class="i fa fa-angle-double-left"></span></a></li>
|
280
|
+
<li class="disabled"><a href="#" title="Previous Page"><span class="i fa fa-angle-left"></span></a></li>
|
281
|
+
</ul>
|
282
|
+
<label for="pagination1-page" class="sr-only">Current Page</label>
|
283
|
+
<input class="pagination-pf-page" type="text" value="1" id="pagination1-page"/>
|
284
|
+
<span>of <span class="pagination-pf-pages">5</span></span>
|
285
|
+
<ul class="pagination pagination-pf-forward">
|
286
|
+
<li><a href="#" title="Next Page"><span class="i fa fa-angle-right"></span></a></li>
|
287
|
+
<li><a href="#" title="Last Page"><span class="i fa fa-angle-double-right"></span></a></li>
|
288
|
+
</ul>
|
289
|
+
</div>
|
290
|
+
</form>
|
291
|
+
|
261
292
|
<!-- Blank Slate HTML -->
|
262
293
|
<div class="blank-slate-pf table-view-pf-empty hidden" id="emptyState1">
|
263
294
|
<div class="blank-slate-pf-icon">
|
@@ -392,6 +423,240 @@ var dataSet = [{
|
|
392
423
|
platforms: "Win 95+ / OSX.1+",
|
393
424
|
version: "1.2",
|
394
425
|
grade: "A"
|
426
|
+
}, {
|
427
|
+
engine: "Gecko",
|
428
|
+
browser: "Mozilla 1.3",
|
429
|
+
platforms: "Win 95+ / OSX.1+",
|
430
|
+
version: "1.3",
|
431
|
+
grade: "A"
|
432
|
+
}, {
|
433
|
+
engine: "Gecko",
|
434
|
+
browser: "Mozilla 1.4",
|
435
|
+
platforms: "Win 95+ / OSX.1+",
|
436
|
+
version: "1.4",
|
437
|
+
grade: "A"
|
438
|
+
}, {
|
439
|
+
engine: "Gecko",
|
440
|
+
browser: "Mozilla 1.5",
|
441
|
+
platforms: "Win 95+ / OSX.1+",
|
442
|
+
version: "1.5",
|
443
|
+
grade: "A"
|
444
|
+
}, {
|
445
|
+
engine: "Gecko",
|
446
|
+
browser: "Mozilla 1.6",
|
447
|
+
platforms: "Win 95+ / OSX.1+",
|
448
|
+
version: "1.6",
|
449
|
+
grade: "A"
|
450
|
+
}, {
|
451
|
+
engine: "Gecko",
|
452
|
+
browser: "Mozilla 1.7",
|
453
|
+
platforms: "Win 98+ / OSX.1+",
|
454
|
+
version: "1.7",
|
455
|
+
grade: "A"
|
456
|
+
}, {
|
457
|
+
engine: "Gecko",
|
458
|
+
browser: "Mozilla 1.8",
|
459
|
+
platforms: "Win 98+ / OSX.1+",
|
460
|
+
version: "1.8",
|
461
|
+
grade: "A"
|
462
|
+
}, {
|
463
|
+
engine: "Gecko",
|
464
|
+
browser: "Seamonkey 1.1",
|
465
|
+
platforms: "Win 98+ / OSX.2+",
|
466
|
+
version: "1.8",
|
467
|
+
grade: "A"
|
468
|
+
}, {
|
469
|
+
engine: "Gecko",
|
470
|
+
browser: "Epiphany 2.20",
|
471
|
+
platforms: "Gnome",
|
472
|
+
version: "1.8",
|
473
|
+
grade: "A"
|
474
|
+
}, {
|
475
|
+
engine: "Webkit",
|
476
|
+
browser: "Safari 1.2",
|
477
|
+
platforms: "OSX.3",
|
478
|
+
version: "125.5",
|
479
|
+
grade: "A"
|
480
|
+
}, {
|
481
|
+
engine: "Webkit",
|
482
|
+
browser: "Safari 1.3",
|
483
|
+
platforms: "OSX.3",
|
484
|
+
version: "312.8",
|
485
|
+
grade: "A"
|
486
|
+
}, {
|
487
|
+
engine: "Webkit",
|
488
|
+
browser: "Safari 2.0",
|
489
|
+
platforms: "OSX.4+",
|
490
|
+
version: "419.3",
|
491
|
+
grade: "A"
|
492
|
+
}, {
|
493
|
+
engine: "Webkit",
|
494
|
+
browser: "Safari 3.0",
|
495
|
+
platforms: "OSX.4+",
|
496
|
+
version: "522.1",
|
497
|
+
grade: "A"
|
498
|
+
}, {
|
499
|
+
engine: "Webkit",
|
500
|
+
browser: "OmniWeb 5.5",
|
501
|
+
platforms: "OSX.4+",
|
502
|
+
version: "420",
|
503
|
+
grade: "A"
|
504
|
+
}, {
|
505
|
+
engine: "Webkit",
|
506
|
+
browser: "iPod Touch / iPhone",
|
507
|
+
platforms: "iPod",
|
508
|
+
version: "420.1",
|
509
|
+
grade: "A"
|
510
|
+
}, {
|
511
|
+
engine: "Webkit",
|
512
|
+
browser: "S60",
|
513
|
+
platforms: "S60",
|
514
|
+
version: "413",
|
515
|
+
grade: "A"
|
516
|
+
}, {
|
517
|
+
engine: "Presto",
|
518
|
+
browser: "Opera 7.0",
|
519
|
+
platforms: "Win 95+ / OSX.1+",
|
520
|
+
version: "-",
|
521
|
+
grade: "A"
|
522
|
+
}, {
|
523
|
+
engine: "Presto",
|
524
|
+
browser: "Opera 7.5",
|
525
|
+
platforms: "Win 95+ / OSX.2+",
|
526
|
+
version: "-",
|
527
|
+
grade: "A"
|
528
|
+
}, {
|
529
|
+
engine: "Presto",
|
530
|
+
browser: "Opera 8.0",
|
531
|
+
platforms: "Win 95+ / OSX.2+",
|
532
|
+
version: "-",
|
533
|
+
grade: "A"
|
534
|
+
}, {
|
535
|
+
engine: "Presto",
|
536
|
+
browser: "Opera 8.5",
|
537
|
+
platforms: "Win 95+ / OSX.2+",
|
538
|
+
version: "-",
|
539
|
+
grade: "A"
|
540
|
+
}, {
|
541
|
+
engine: "Presto",
|
542
|
+
browser: "Opera 9.0",
|
543
|
+
platforms: "Win 95+ / OSX.3+",
|
544
|
+
version: "-",
|
545
|
+
grade: "A"
|
546
|
+
}, {
|
547
|
+
engine: "Presto",
|
548
|
+
browser: "Opera 9.2",
|
549
|
+
platforms: "Win 88+ / OSX.3+",
|
550
|
+
version: "-",
|
551
|
+
grade: "A"
|
552
|
+
}, {
|
553
|
+
engine: "Presto",
|
554
|
+
browser: "Opera 9.5",
|
555
|
+
platforms: "Win 88+ / OSX.3+",
|
556
|
+
version: "-",
|
557
|
+
grade: "A"
|
558
|
+
}, {
|
559
|
+
engine: "Presto",
|
560
|
+
browser: "Opera for Wii",
|
561
|
+
platforms: "Wii",
|
562
|
+
version: "-",
|
563
|
+
grade: "A"
|
564
|
+
}, {
|
565
|
+
engine: "Presto",
|
566
|
+
browser: "Nokia N800",
|
567
|
+
platforms: "N800",
|
568
|
+
version: "-",
|
569
|
+
grade: "A"
|
570
|
+
}, {
|
571
|
+
engine: "Presto",
|
572
|
+
browser: "Nintendo DS browser",
|
573
|
+
platforms: "Nintendo DS",
|
574
|
+
version: "8.5",
|
575
|
+
grade: "C/A<sup>1</sup>"
|
576
|
+
}, {
|
577
|
+
engine: "KHTML",
|
578
|
+
browser: "Konqureror 3.1",
|
579
|
+
platforms: "KDE 3.1",
|
580
|
+
version: "3.1",
|
581
|
+
grade: "C"
|
582
|
+
}, {
|
583
|
+
engine: "KHTML",
|
584
|
+
browser: "Konqureror 3.3",
|
585
|
+
platforms: "KDE 3.3",
|
586
|
+
version: "3.3",
|
587
|
+
grade: "A"
|
588
|
+
}, {
|
589
|
+
engine: "KHTML",
|
590
|
+
browser: "Konqureror 3.5",
|
591
|
+
platforms: "KDE 3.5",
|
592
|
+
version: "3.5",
|
593
|
+
grade: "A"
|
594
|
+
}, {
|
595
|
+
engine: "Tasman",
|
596
|
+
browser: "Internet Explorer 4.5",
|
597
|
+
platforms: "Mac OS 8-9",
|
598
|
+
version: "-",
|
599
|
+
grade: "X"
|
600
|
+
}, {
|
601
|
+
engine: "Tasman",
|
602
|
+
browser: "Internet Explorer 5.1",
|
603
|
+
platforms: "Mac OS 7.6-9",
|
604
|
+
version: "1",
|
605
|
+
grade: "C"
|
606
|
+
}, {
|
607
|
+
engine: "Tasman",
|
608
|
+
browser: "Internet Explorer 5.2",
|
609
|
+
platforms: "Mac OS 8-X",
|
610
|
+
version: "1",
|
611
|
+
grade: "C"
|
612
|
+
}, {
|
613
|
+
engine: "Misc",
|
614
|
+
browser: "NetFront 3.1",
|
615
|
+
platforms: "Embedded devices",
|
616
|
+
version: "-",
|
617
|
+
grade: "C"
|
618
|
+
}, {
|
619
|
+
engine: "Misc",
|
620
|
+
browser: "NetFront 3.4",
|
621
|
+
platforms: "Embedded devices",
|
622
|
+
version: "-",
|
623
|
+
grade: "A"
|
624
|
+
}, {
|
625
|
+
engine: "Misc",
|
626
|
+
browser: "Dillo 0.8",
|
627
|
+
platforms: "Embedded devices",
|
628
|
+
version: "-",
|
629
|
+
grade: "X"
|
630
|
+
}, {
|
631
|
+
engine: "Misc",
|
632
|
+
browser: "Links",
|
633
|
+
platforms: "Text only",
|
634
|
+
version: "-",
|
635
|
+
grade: "X"
|
636
|
+
}, {
|
637
|
+
engine: "Misc",
|
638
|
+
browser: "Lynx",
|
639
|
+
platforms: "Text only",
|
640
|
+
version: "-",
|
641
|
+
grade: "X"
|
642
|
+
}, {
|
643
|
+
engine: "Misc",
|
644
|
+
browser: "IE Mobile",
|
645
|
+
platforms: "Windows Mobile 6",
|
646
|
+
version: "-",
|
647
|
+
grade: "C"
|
648
|
+
}, {
|
649
|
+
engine: "Misc",
|
650
|
+
browser: "PSP browser",
|
651
|
+
platforms: "PSP",
|
652
|
+
version: "-",
|
653
|
+
grade: "C"
|
654
|
+
}, {
|
655
|
+
engine: "Other browsers",
|
656
|
+
browser: "All others",
|
657
|
+
platforms: "-",
|
658
|
+
version: "-",
|
659
|
+
grade: "U"
|
395
660
|
}];
|
396
661
|
|
397
662
|
// DataTable Config
|
@@ -443,6 +708,7 @@ $("#table1").DataTable({
|
|
443
708
|
order: [[ 1, 'asc' ]],
|
444
709
|
pfConfig: {
|
445
710
|
emptyStateSelector: "#emptyState1",
|
711
|
+
filterCaseInsensitive: true,
|
446
712
|
filterCols: [
|
447
713
|
null,
|
448
714
|
{
|
@@ -463,6 +729,7 @@ $("#table1").DataTable({
|
|
463
729
|
placeholder: "Filter By CSS Grade..."
|
464
730
|
}
|
465
731
|
],
|
732
|
+
paginationSelector: "#pagination1",
|
466
733
|
toolbarSelector: "#toolbar1",
|
467
734
|
selectAllSelector: 'th:first-child input[type="checkbox"]'
|
468
735
|
},
|
@@ -30,8 +30,10 @@
|
|
30
30
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
31
31
|
<script src="//cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
|
32
32
|
<script src="//cdn.datatables.net/select/1.2.0/js/dataTables.select.min.js"></script>
|
33
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
|
33
34
|
<script src="../../dist/js/patternfly.dataTables.pfEmpty.js"></script>
|
34
35
|
<script src="../../dist/js/patternfly.dataTables.pfFilter.js"></script>
|
36
|
+
<script src="../../dist/js/patternfly.dataTables.pfPagination.js"></script>
|
35
37
|
<script src="../../dist/js/patternfly.dataTables.pfResize.js"></script>
|
36
38
|
<script src="../../dist/js/patternfly.dataTables.pfSelect.js"></script>
|
37
39
|
<script src="../../dist/js/patternfly.min.js"></script>
|
@@ -130,6 +132,9 @@
|
|
130
132
|
<li>
|
131
133
|
<a href="cards.html">Cards</a>
|
132
134
|
</li>
|
135
|
+
<li>
|
136
|
+
<a href="pagination-card-view.html">Pagination - Card View</a>
|
137
|
+
</li>
|
133
138
|
</ul>
|
134
139
|
</div>
|
135
140
|
</nav>
|
@@ -248,6 +253,33 @@
|
|
248
253
|
</thead>
|
249
254
|
</table>
|
250
255
|
|
256
|
+
<form class="content-view-pf-pagination table-view-pf-pagination clearfix" id="pagination1">
|
257
|
+
<div class="form-group">
|
258
|
+
<select class="selectpicker pagination-pf-pagesize">
|
259
|
+
<option value="6">6</option>
|
260
|
+
<option value="10" >10</option>
|
261
|
+
<option value="15" selected="selected">15</option>
|
262
|
+
<option value="25">25</option>
|
263
|
+
<option value="50">50</option>
|
264
|
+
</select>
|
265
|
+
<span>per page</span>
|
266
|
+
</div>
|
267
|
+
<div class="form-group">
|
268
|
+
<span><span class="pagination-pf-items-current">1-15</span> of <span class="pagination-pf-items-total">75</span></span>
|
269
|
+
<ul class="pagination pagination-pf-back">
|
270
|
+
<li class="disabled"><a href="#" title="First Page"><span class="i fa fa-angle-double-left"></span></a></li>
|
271
|
+
<li class="disabled"><a href="#" title="Previous Page"><span class="i fa fa-angle-left"></span></a></li>
|
272
|
+
</ul>
|
273
|
+
<label for="pagination1-page" class="sr-only">Current Page</label>
|
274
|
+
<input class="pagination-pf-page" type="text" value="1" id="pagination1-page"/>
|
275
|
+
<span>of <span class="pagination-pf-pages">5</span></span>
|
276
|
+
<ul class="pagination pagination-pf-forward">
|
277
|
+
<li><a href="#" title="Next Page"><span class="i fa fa-angle-right"></span></a></li>
|
278
|
+
<li><a href="#" title="Last Page"><span class="i fa fa-angle-double-right"></span></a></li>
|
279
|
+
</ul>
|
280
|
+
</div>
|
281
|
+
</form>
|
282
|
+
|
251
283
|
<!-- Blank Slate HTML -->
|
252
284
|
<div class="blank-slate-pf table-view-pf-empty hidden" id="emptyState1">
|
253
285
|
<div class="blank-slate-pf-icon">
|
@@ -383,6 +415,240 @@ var dataSet = [{
|
|
383
415
|
platforms: "Win 95+ / OSX.1+",
|
384
416
|
version: "1.2",
|
385
417
|
grade: "A"
|
418
|
+
}, {
|
419
|
+
engine: "Gecko",
|
420
|
+
browser: "Mozilla 1.3",
|
421
|
+
platforms: "Win 95+ / OSX.1+",
|
422
|
+
version: "1.3",
|
423
|
+
grade: "A"
|
424
|
+
}, {
|
425
|
+
engine: "Gecko",
|
426
|
+
browser: "Mozilla 1.4",
|
427
|
+
platforms: "Win 95+ / OSX.1+",
|
428
|
+
version: "1.4",
|
429
|
+
grade: "A"
|
430
|
+
}, {
|
431
|
+
engine: "Gecko",
|
432
|
+
browser: "Mozilla 1.5",
|
433
|
+
platforms: "Win 95+ / OSX.1+",
|
434
|
+
version: "1.5",
|
435
|
+
grade: "A"
|
436
|
+
}, {
|
437
|
+
engine: "Gecko",
|
438
|
+
browser: "Mozilla 1.6",
|
439
|
+
platforms: "Win 95+ / OSX.1+",
|
440
|
+
version: "1.6",
|
441
|
+
grade: "A"
|
442
|
+
}, {
|
443
|
+
engine: "Gecko",
|
444
|
+
browser: "Mozilla 1.7",
|
445
|
+
platforms: "Win 98+ / OSX.1+",
|
446
|
+
version: "1.7",
|
447
|
+
grade: "A"
|
448
|
+
}, {
|
449
|
+
engine: "Gecko",
|
450
|
+
browser: "Mozilla 1.8",
|
451
|
+
platforms: "Win 98+ / OSX.1+",
|
452
|
+
version: "1.8",
|
453
|
+
grade: "A"
|
454
|
+
}, {
|
455
|
+
engine: "Gecko",
|
456
|
+
browser: "Seamonkey 1.1",
|
457
|
+
platforms: "Win 98+ / OSX.2+",
|
458
|
+
version: "1.8",
|
459
|
+
grade: "A"
|
460
|
+
}, {
|
461
|
+
engine: "Gecko",
|
462
|
+
browser: "Epiphany 2.20",
|
463
|
+
platforms: "Gnome",
|
464
|
+
version: "1.8",
|
465
|
+
grade: "A"
|
466
|
+
}, {
|
467
|
+
engine: "Webkit",
|
468
|
+
browser: "Safari 1.2",
|
469
|
+
platforms: "OSX.3",
|
470
|
+
version: "125.5",
|
471
|
+
grade: "A"
|
472
|
+
}, {
|
473
|
+
engine: "Webkit",
|
474
|
+
browser: "Safari 1.3",
|
475
|
+
platforms: "OSX.3",
|
476
|
+
version: "312.8",
|
477
|
+
grade: "A"
|
478
|
+
}, {
|
479
|
+
engine: "Webkit",
|
480
|
+
browser: "Safari 2.0",
|
481
|
+
platforms: "OSX.4+",
|
482
|
+
version: "419.3",
|
483
|
+
grade: "A"
|
484
|
+
}, {
|
485
|
+
engine: "Webkit",
|
486
|
+
browser: "Safari 3.0",
|
487
|
+
platforms: "OSX.4+",
|
488
|
+
version: "522.1",
|
489
|
+
grade: "A"
|
490
|
+
}, {
|
491
|
+
engine: "Webkit",
|
492
|
+
browser: "OmniWeb 5.5",
|
493
|
+
platforms: "OSX.4+",
|
494
|
+
version: "420",
|
495
|
+
grade: "A"
|
496
|
+
}, {
|
497
|
+
engine: "Webkit",
|
498
|
+
browser: "iPod Touch / iPhone",
|
499
|
+
platforms: "iPod",
|
500
|
+
version: "420.1",
|
501
|
+
grade: "A"
|
502
|
+
}, {
|
503
|
+
engine: "Webkit",
|
504
|
+
browser: "S60",
|
505
|
+
platforms: "S60",
|
506
|
+
version: "413",
|
507
|
+
grade: "A"
|
508
|
+
}, {
|
509
|
+
engine: "Presto",
|
510
|
+
browser: "Opera 7.0",
|
511
|
+
platforms: "Win 95+ / OSX.1+",
|
512
|
+
version: "-",
|
513
|
+
grade: "A"
|
514
|
+
}, {
|
515
|
+
engine: "Presto",
|
516
|
+
browser: "Opera 7.5",
|
517
|
+
platforms: "Win 95+ / OSX.2+",
|
518
|
+
version: "-",
|
519
|
+
grade: "A"
|
520
|
+
}, {
|
521
|
+
engine: "Presto",
|
522
|
+
browser: "Opera 8.0",
|
523
|
+
platforms: "Win 95+ / OSX.2+",
|
524
|
+
version: "-",
|
525
|
+
grade: "A"
|
526
|
+
}, {
|
527
|
+
engine: "Presto",
|
528
|
+
browser: "Opera 8.5",
|
529
|
+
platforms: "Win 95+ / OSX.2+",
|
530
|
+
version: "-",
|
531
|
+
grade: "A"
|
532
|
+
}, {
|
533
|
+
engine: "Presto",
|
534
|
+
browser: "Opera 9.0",
|
535
|
+
platforms: "Win 95+ / OSX.3+",
|
536
|
+
version: "-",
|
537
|
+
grade: "A"
|
538
|
+
}, {
|
539
|
+
engine: "Presto",
|
540
|
+
browser: "Opera 9.2",
|
541
|
+
platforms: "Win 88+ / OSX.3+",
|
542
|
+
version: "-",
|
543
|
+
grade: "A"
|
544
|
+
}, {
|
545
|
+
engine: "Presto",
|
546
|
+
browser: "Opera 9.5",
|
547
|
+
platforms: "Win 88+ / OSX.3+",
|
548
|
+
version: "-",
|
549
|
+
grade: "A"
|
550
|
+
}, {
|
551
|
+
engine: "Presto",
|
552
|
+
browser: "Opera for Wii",
|
553
|
+
platforms: "Wii",
|
554
|
+
version: "-",
|
555
|
+
grade: "A"
|
556
|
+
}, {
|
557
|
+
engine: "Presto",
|
558
|
+
browser: "Nokia N800",
|
559
|
+
platforms: "N800",
|
560
|
+
version: "-",
|
561
|
+
grade: "A"
|
562
|
+
}, {
|
563
|
+
engine: "Presto",
|
564
|
+
browser: "Nintendo DS browser",
|
565
|
+
platforms: "Nintendo DS",
|
566
|
+
version: "8.5",
|
567
|
+
grade: "C/A<sup>1</sup>"
|
568
|
+
}, {
|
569
|
+
engine: "KHTML",
|
570
|
+
browser: "Konqureror 3.1",
|
571
|
+
platforms: "KDE 3.1",
|
572
|
+
version: "3.1",
|
573
|
+
grade: "C"
|
574
|
+
}, {
|
575
|
+
engine: "KHTML",
|
576
|
+
browser: "Konqureror 3.3",
|
577
|
+
platforms: "KDE 3.3",
|
578
|
+
version: "3.3",
|
579
|
+
grade: "A"
|
580
|
+
}, {
|
581
|
+
engine: "KHTML",
|
582
|
+
browser: "Konqureror 3.5",
|
583
|
+
platforms: "KDE 3.5",
|
584
|
+
version: "3.5",
|
585
|
+
grade: "A"
|
586
|
+
}, {
|
587
|
+
engine: "Tasman",
|
588
|
+
browser: "Internet Explorer 4.5",
|
589
|
+
platforms: "Mac OS 8-9",
|
590
|
+
version: "-",
|
591
|
+
grade: "X"
|
592
|
+
}, {
|
593
|
+
engine: "Tasman",
|
594
|
+
browser: "Internet Explorer 5.1",
|
595
|
+
platforms: "Mac OS 7.6-9",
|
596
|
+
version: "1",
|
597
|
+
grade: "C"
|
598
|
+
}, {
|
599
|
+
engine: "Tasman",
|
600
|
+
browser: "Internet Explorer 5.2",
|
601
|
+
platforms: "Mac OS 8-X",
|
602
|
+
version: "1",
|
603
|
+
grade: "C"
|
604
|
+
}, {
|
605
|
+
engine: "Misc",
|
606
|
+
browser: "NetFront 3.1",
|
607
|
+
platforms: "Embedded devices",
|
608
|
+
version: "-",
|
609
|
+
grade: "C"
|
610
|
+
}, {
|
611
|
+
engine: "Misc",
|
612
|
+
browser: "NetFront 3.4",
|
613
|
+
platforms: "Embedded devices",
|
614
|
+
version: "-",
|
615
|
+
grade: "A"
|
616
|
+
}, {
|
617
|
+
engine: "Misc",
|
618
|
+
browser: "Dillo 0.8",
|
619
|
+
platforms: "Embedded devices",
|
620
|
+
version: "-",
|
621
|
+
grade: "X"
|
622
|
+
}, {
|
623
|
+
engine: "Misc",
|
624
|
+
browser: "Links",
|
625
|
+
platforms: "Text only",
|
626
|
+
version: "-",
|
627
|
+
grade: "X"
|
628
|
+
}, {
|
629
|
+
engine: "Misc",
|
630
|
+
browser: "Lynx",
|
631
|
+
platforms: "Text only",
|
632
|
+
version: "-",
|
633
|
+
grade: "X"
|
634
|
+
}, {
|
635
|
+
engine: "Misc",
|
636
|
+
browser: "IE Mobile",
|
637
|
+
platforms: "Windows Mobile 6",
|
638
|
+
version: "-",
|
639
|
+
grade: "C"
|
640
|
+
}, {
|
641
|
+
engine: "Misc",
|
642
|
+
browser: "PSP browser",
|
643
|
+
platforms: "PSP",
|
644
|
+
version: "-",
|
645
|
+
grade: "C"
|
646
|
+
}, {
|
647
|
+
engine: "Other browsers",
|
648
|
+
browser: "All others",
|
649
|
+
platforms: "-",
|
650
|
+
version: "-",
|
651
|
+
grade: "U"
|
386
652
|
}];
|
387
653
|
|
388
654
|
// DataTable Config
|
@@ -434,6 +700,7 @@ $("#table1").DataTable({
|
|
434
700
|
order: [[ 1, 'asc' ]],
|
435
701
|
pfConfig: {
|
436
702
|
emptyStateSelector: "#emptyState1",
|
703
|
+
filterCaseInsensitive: true,
|
437
704
|
filterCols: [
|
438
705
|
null,
|
439
706
|
{
|
@@ -454,6 +721,7 @@ $("#table1").DataTable({
|
|
454
721
|
placeholder: "Filter By CSS Grade..."
|
455
722
|
}
|
456
723
|
],
|
724
|
+
paginationSelector: "#pagination1",
|
457
725
|
toolbarSelector: "#toolbar1",
|
458
726
|
selectAllSelector: 'th:first-child input[type="checkbox"]'
|
459
727
|
},
|