From 062b72f518f28ce393a5eadf39db55b531947763 Mon Sep 17 00:00:00 2001 From: Cody Darst Date: Thu, 8 Jan 2015 01:19:12 -0600 Subject: [PATCH] Replaced pagination with Angular-UI Bootstrap pagination module which allows the easy setting of maximum number of page numbers to show. Closes angular/builtwith.angularjs.org#407 --- css/bwa.css | 2 + index.html | 33 ++-- js/bwa.js | 51 +++--- js/ui-bootstrap-custom-0.8.0.js | 242 ++++++++++++++++++++++++++++ js/ui-bootstrap-custom-0.8.0.min.js | 1 + 5 files changed, 280 insertions(+), 49 deletions(-) create mode 100644 js/ui-bootstrap-custom-0.8.0.js create mode 100644 js/ui-bootstrap-custom-0.8.0.min.js diff --git a/css/bwa.css b/css/bwa.css index 8236559a..703def3e 100644 --- a/css/bwa.css +++ b/css/bwa.css @@ -134,3 +134,5 @@ img.AngularJS-large { .modal-backdrop.fade.in { display: block; } + +.pagination a { cursor: pointer; } diff --git a/index.html b/index.html index 14a145a7..9c037b8a 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@ $script('//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js', function() { $script(['//ajax.googleapis.com/ajax/libs/angularjs/1.0.6/angular.min.js', - 'js/bootstrap.min.js', 'js/bwa.js'], function() { + 'js/bootstrap.min.js', 'js/ui-bootstrap-custom-0.8.0.min.js', 'js/bwa.js'], function() { $().dropdown(); angular.bootstrap(document, ['bwaApp']); }); @@ -133,7 +133,15 @@

{{project.name}}

{{tag}} - +