diff --git a/src/sunstone/public/bower.json b/src/sunstone/public/bower.json index e4c5007dac..90d33f48c9 100644 --- a/src/sunstone/public/bower.json +++ b/src/sunstone/public/bower.json @@ -1,14 +1,14 @@ { "name": "foundation-libsass-template", "dependencies": { - "foundation": "~5.3.3", - "flot": "~0.8.3", - "jquery-migrate": "~1.2.1", - "datatables": "~1.10.2", - "jgrowl": "~1.3.0", - "fontawesome": "~4.1.0", + "foundation": "latest", + "flot": "latest", + "jquery-migrate": "latest", + "datatables": "latest", + "jgrowl": "latest", + "fontawesome": "latest", "foundation-datatables": "https://github.com/DataTables/Plugins.git", - "flot.tooltip": "~0.8.4", + "flot.tooltip": "latest", "no-vnc": "*", "resumablejs": "*" } diff --git a/src/sunstone/public/bower_components/datatables/.bower.json b/src/sunstone/public/bower_components/datatables/.bower.json index 9b180b0508..f936277cef 100644 --- a/src/sunstone/public/bower_components/datatables/.bower.json +++ b/src/sunstone/public/bower_components/datatables/.bower.json @@ -1,6 +1,6 @@ { "name": "datatables", - "version": "1.10.2", + "version": "1.10.3", "main": [ "media/js/jquery.dataTables.js", "media/css/jquery.dataTables.css" @@ -8,15 +8,30 @@ "dependencies": { "jquery": ">=1.7.0" }, + "license": "MIT", + "keywords": [ + "jquery", + "datatables", + "table", + "javascript", + "library" + ], + "ignore": [ + "/.*", + "examples", + "media/unit_testing", + "composer.json", + "dataTables.jquery.json", + "package.json" + ], "homepage": "https://github.com/DataTables/DataTables", - "_release": "1.10.2", + "_release": "1.10.3", "_resolution": { "type": "version", - "tag": "1.10.2", - "commit": "e07d49d42d768c0c1adf4137cc954a23a39c7beb" + "tag": "1.10.3", + "commit": "5abc57eaf0b977075ca67e49df080834aa068cec" }, "_source": "git://github.com/DataTables/DataTables.git", - "_target": "~1.10.2", - "_originalSource": "datatables", - "_direct": true + "_target": "*", + "_originalSource": "datatables" } \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/.datatables-commit-sync b/src/sunstone/public/bower_components/datatables/.datatables-commit-sync deleted file mode 100644 index 4243282f6b..0000000000 --- a/src/sunstone/public/bower_components/datatables/.datatables-commit-sync +++ /dev/null @@ -1 +0,0 @@ -e6ea753d4408ad0a45b409ac8105d565075c21d9 diff --git a/src/sunstone/public/bower_components/datatables/.gitignore b/src/sunstone/public/bower_components/datatables/.gitignore deleted file mode 100644 index 4028ffd5da..0000000000 --- a/src/sunstone/public/bower_components/datatables/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -extras -extensions -docs -cdn -media/css/jquery.dataTables_themeroller.min.css -.DS_Store -Plugins diff --git a/src/sunstone/public/bower_components/datatables/bower.json b/src/sunstone/public/bower_components/datatables/bower.json index 817a5637fa..9e1e96506a 100644 --- a/src/sunstone/public/bower_components/datatables/bower.json +++ b/src/sunstone/public/bower_components/datatables/bower.json @@ -1,11 +1,27 @@ { "name": "datatables", - "version": "1.10.2", + "version": "1.10.3", "main": [ "media/js/jquery.dataTables.js", "media/css/jquery.dataTables.css" ], "dependencies": { "jquery": ">=1.7.0" - } + }, + "license": "MIT", + "keywords": [ + "jquery", + "datatables", + "table", + "javascript", + "library" + ], + "ignore": [ + "/.*", + "examples", + "media/unit_testing", + "composer.json", + "dataTables.jquery.json", + "package.json" + ] } diff --git a/src/sunstone/public/bower_components/datatables/composer.json b/src/sunstone/public/bower_components/datatables/composer.json deleted file mode 100644 index 37bf16af16..0000000000 --- a/src/sunstone/public/bower_components/datatables/composer.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "datatables/datatables", - "version": "1.10.2", - "description": "DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.", - "homepage": "http://www.datatables.net/", - "author": "SpryMedia", - "license": [ - "MIT" - ], - "prefer-stable": true, - "support": { - "forum": "https://datatables.net/forums", - "source": "https://github.com/DataTables/DataTablesSrc/" - } -} diff --git a/src/sunstone/public/bower_components/datatables/dataTables.jquery.json b/src/sunstone/public/bower_components/datatables/dataTables.jquery.json deleted file mode 100644 index 4819fc3e10..0000000000 --- a/src/sunstone/public/bower_components/datatables/dataTables.jquery.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "DataTables", - "version": "1.10.2", - "description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.", - "homepage": "http://datatables.net/", - "docs": "http://datatables.net/", - "demo": "http://datatables.net/examples", - "download": "http://datatables.net/download", - "author": { - "name": "Allan Jardine", - "url": "http://sprymedia.co.uk" - }, - "licenses": [ - { - "type": "MIT", - "url": "http://datatables.net/license_bsd" - } - ], - "dependencies": { - "jquery": ">=1.7" - }, - "keywords": [ - "DataTables", - "DataTable", - "table", - "grid", - "filter", - "sort", - "page", - "internationalisable" - ] -} diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/column_render.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/column_render.html deleted file mode 100644 index cfa3e7d62c..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/column_render.html +++ /dev/null @@ -1,782 +0,0 @@ - - - - - - - - DataTables example - Column rendering - - - - - - - - - - - - -
-
-

DataTables example Column rendering

- -
-

Each column has an optional rendering control called columns.renderDT which can be used to - process the content of each cell before the data is used. columns.renderDT has a wide array of options - available to it for rendering different types of data orthogonally (ordering, searching, display etc), - but it can be used very simply to manipulate the content of a cell, as shown here.

- -

This example shows the person's age combined with their name in the first column, hiding the age - column. This technique can be useful for adding links, assigning colours based on content rules and any - other form of text manipulation you require.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "columnDefs": [ - { - // The `data` parameter refers to the data for the cell (defined by the - // `data` option, which defaults to the column being worked with, in - // this case `data: 0`. - "render": function ( data, type, row ) { - return data +' ('+ row[3]+')'; - }, - "targets": 0 - }, - { "visible": false, "targets": [ 3 ] } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/complex_header.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/complex_header.html deleted file mode 100644 index 4ab76ef992..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/complex_header.html +++ /dev/null @@ -1,776 +0,0 @@ - - - - - - - - DataTables example - Complex headers (rowspan / colspan) - - - - - - - - - - - - -
-
-

DataTables example Complex headers (rowspan / colspan)

- -
-

Complex headers (using colspan / rowspan) can be used to group columns of similar information in - DataTables, creating a very powerful visual effect.

- -

In addition to the basic behaviour, DataTables can also take colspan and rowspans into account when - working with hidden columns. The colspan and rowspan attributes for each cell are automatically - calculated and rendered on the page for you. This allows the columns.visibleDT option and column().visible()DT method to take into account - rowspan / colspan cells, drawing the header correctly.

- -

Note that each column must have at least one unique cell (i.e. a cell without colspan) so DataTables - can use that cell to detect the column and use it to apply ordering.

- -

The example below shows a header spanning multiple cells over the contact information, with one of - the columns that the span covers being hidden.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameHR InformationContact
PositionSalaryOfficeExtn.E-mail
NamePositionSalaryOfficeExtn.E-mail
Tiger NixonSystem Architect$320,800Edinburgh5421t.nixon@datatables.net
Garrett WintersAccountant$170,750Tokyo8422g.winters@datatables.net
Ashton CoxJunior Technical Author$86,000San Francisco1562a.cox@datatables.net
Cedric KellySenior Javascript Developer$433,060Edinburgh6224c.kelly@datatables.net
Airi SatouAccountant$162,700Tokyo5407a.satou@datatables.net
Brielle WilliamsonIntegration Specialist$372,000New York4804b.williamson@datatables.net
Herrod ChandlerSales Assistant$137,500San Francisco9608h.chandler@datatables.net
Rhona DavidsonIntegration Specialist$327,900Tokyo6200r.davidson@datatables.net
Colleen HurstJavascript Developer$205,500San Francisco2360c.hurst@datatables.net
Sonya FrostSoftware Engineer$103,600Edinburgh1667s.frost@datatables.net
Jena GainesOffice Manager$90,560London3814j.gaines@datatables.net
Quinn FlynnSupport Lead$342,000Edinburgh9497q.flynn@datatables.net
Charde MarshallRegional Director$470,600San Francisco6741c.marshall@datatables.net
Haley KennedySenior Marketing Designer$313,500London3597h.kennedy@datatables.net
Tatyana FitzpatrickRegional Director$385,750London1965t.fitzpatrick@datatables.net
Michael SilvaMarketing Designer$198,500London1581m.silva@datatables.net
Paul ByrdChief Financial Officer (CFO)$725,000New York3059p.byrd@datatables.net
Gloria LittleSystems Administrator$237,500New York1721g.little@datatables.net
Bradley GreerSoftware Engineer$132,000London2558b.greer@datatables.net
Dai RiosPersonnel Lead$217,500Edinburgh2290d.rios@datatables.net
Jenette CaldwellDevelopment Lead$345,000New York1937j.caldwell@datatables.net
Yuri BerryChief Marketing Officer (CMO)$675,000New York6154y.berry@datatables.net
Caesar VancePre-Sales Support$106,450New York8330c.vance@datatables.net
Doris WilderSales Assistant$85,600Sidney3023d.wilder@datatables.net
Angelica RamosChief Executive Officer (CEO)$1,200,000London5797a.ramos@datatables.net
Gavin JoyceDeveloper$92,575Edinburgh8822g.joyce@datatables.net
Jennifer ChangRegional Director$357,650Singapore9239j.chang@datatables.net
Brenden WagnerSoftware Engineer$206,850San Francisco1314b.wagner@datatables.net
Fiona GreenChief Operating Officer (COO)$850,000San Francisco2947f.green@datatables.net
Shou ItouRegional Marketing$163,000Tokyo8899s.itou@datatables.net
Michelle HouseIntegration Specialist$95,400Sidney2769m.house@datatables.net
Suki BurksDeveloper$114,500London6832s.burks@datatables.net
Prescott BartlettTechnical Author$145,000London3606p.bartlett@datatables.net
Gavin CortezTeam Leader$235,500San Francisco2860g.cortez@datatables.net
Martena MccrayPost-Sales support$324,050Edinburgh8240m.mccray@datatables.net
Unity ButlerMarketing Designer$85,675San Francisco5384u.butler@datatables.net
Howard HatfieldOffice Manager$164,500San Francisco7031h.hatfield@datatables.net
Hope FuentesSecretary$109,850San Francisco6318h.fuentes@datatables.net
Vivian HarrellFinancial Controller$452,500San Francisco9422v.harrell@datatables.net
Timothy MooneyOffice Manager$136,200London7580t.mooney@datatables.net
Jackson BradshawDirector$645,750New York1042j.bradshaw@datatables.net
Olivia LiangSupport Engineer$234,500Singapore2120o.liang@datatables.net
Bruno NashSoftware Engineer$163,500London6222b.nash@datatables.net
Sakura YamamotoSupport Engineer$139,575Tokyo9383s.yamamoto@datatables.net
Thor WaltonDeveloper$98,540New York8327t.walton@datatables.net
Finn CamachoSupport Engineer$87,500San Francisco2927f.camacho@datatables.net
Serge BaldwinData Coordinator$138,575Singapore8352s.baldwin@datatables.net
Zenaida FrankSoftware Engineer$125,250New York7439z.frank@datatables.net
Zorita SerranoSoftware Engineer$115,000San Francisco4389z.serrano@datatables.net
Jennifer AcostaJunior Javascript Developer$75,650Edinburgh3431j.acosta@datatables.net
Cara StevensSales Assistant$145,600New York3990c.stevens@datatables.net
Hermione ButlerRegional Director$356,250London1016h.butler@datatables.net
Lael GreerSystems Administrator$103,500London6733l.greer@datatables.net
Jonas AlexanderDeveloper$86,500San Francisco8196j.alexander@datatables.net
Shad DeckerRegional Director$183,000Edinburgh6373s.decker@datatables.net
Michael BruceJavascript Developer$183,000Singapore5384m.bruce@datatables.net
Donna SniderCustomer Support$112,000New York4226d.snider@datatables.net
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "columnDefs": [ { - "visible": false, - "targets": -1 - } ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/defaults.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/defaults.html deleted file mode 100644 index df3a2852e5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/defaults.html +++ /dev/null @@ -1,766 +0,0 @@ - - - - - - - - DataTables example - Setting defaults - - - - - - - - - - - - -
-
-

DataTables example Setting defaults

- -
-

When working with DataTables over multiple pages it is often useful to set the initialisation - defaults to common values (for example you might want to set domDT to a common value so all tables get - the same layout). This can be done using the $.fn.dataTable.defaults object. This object - will take all of the same parameters as the DataTables initialisation object, but in this case you are - setting the default for all future initialisations of DataTables.

- -

This example shows the searching and ordering features of DataTables being disabled by default, - which is reflected in the table when it is initialised.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$.extend( $.fn.dataTable.defaults, { - "searching": false, - "ordering": false -} ); - - -$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/dom_multiple_elements.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/dom_multiple_elements.html deleted file mode 100644 index fbe440d3f6..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/dom_multiple_elements.html +++ /dev/null @@ -1,775 +0,0 @@ - - - - - - - - DataTables example - Multiple table control elements - - - - - - - - - - - - -
-
-

DataTables example Multiple table control elements

- -
-

As is described by the basic DOM positioning example you can use the domDT initialisation parameter to move - DataTables features around the table to where you want them. In addition to this, you can also use - domDT to create multiple instances of these - table controls. Simply include the feature's identification letter where you want it to appear, as many - times as you wish, and the controls will all sync up (note that obviously the table ('t') should be - included only once).

- -

This is shown in the demo below where for four key build-in features are duplicated above and below - the table.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "dom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>' - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

div.dataTables_length { - padding-left: 2em; - } - div.dataTables_length, - div.dataTables_filter { - padding-top: 0.55em; - } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/dom_toolbar.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/dom_toolbar.html deleted file mode 100644 index ccd1e0384c..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/dom_toolbar.html +++ /dev/null @@ -1,778 +0,0 @@ - - - - - - - - DataTables example - Custom toolbar elements - - - - - - - - - - - - -
-
-

DataTables example Custom toolbar elements

- -
-

DataTables inserts DOM elements around the table to control DataTables features, and you can make - use of this mechanism as well to insert your own custom elements. In this example a div with a class of 'toolbar' is created using domDT, with which HTML is inserted to create - the toolbar. You could put whatever HTML you want into the toolbar and add event handlers etc.

- -

For more complex features, or for creating reusable plug-ins, DataTables also has a feature plug-in - API available, which can be used to create plug-ins which are used in a table by a single character - reference in the domDT option (like the built in option of - f refers to 'filtering input', you could have an - F option which creates your own filtering input control, - custom to your app).

- -

TableTools is a feature plug-in for - DataTables which adds buttons into a toolbar for a table, which controls such as copy to clipboard, - export and custom buttons.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "dom": '<"toolbar">frtip' - } ); - - $("div.toolbar").html('<b>Custom tool bar! Text/images etc.</b>'); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

.toolbar { - float: left; -} -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/dt_events.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/dt_events.html deleted file mode 100644 index acf64137f5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/dt_events.html +++ /dev/null @@ -1,783 +0,0 @@ - - - - - - - - DataTables example - DataTables events - - - - - - - - - - - - -
-
-

DataTables example DataTables events

- -
-

DataTables fires a number of custom events which you can bind to in the standard jQuery fashion - (although note that the namespace dt must be used), allowing your code to perform - custom actions when these events occur.

- -

All custom events fired by DataTables are fired with the namespace dt in order to - prevent conflicts arising with other jQuery plug-ins which also fire events. The DataTables on()DT method can be used like the jQuery - on() method, but will automatically append the dt namespace if required.

- -

This example shows the use of the orderDT, searchDT and pageDT events by adding a notification that the event fired - to an element on the page to show that they have indeed fired.

-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var eventFired = function ( type ) { - var n = $('#demo_info')[0]; - n.innerHTML += '<div>'+type+' event - '+new Date().getTime()+'</div>'; - n.scrollTop = n.scrollHeight; - } - - $('#example') - .on( 'order.dt', function () { eventFired( 'Order' ); } ) - .on( 'search.dt', function () { eventFired( 'Search' ); } ) - .on( 'page.dt', function () { eventFired( 'Page' ); } ) - .dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/events_live.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/events_live.html deleted file mode 100644 index 5b7dd33ee8..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/events_live.html +++ /dev/null @@ -1,761 +0,0 @@ - - - - - - - - DataTables example - DOM / jQuery events - - - - - - - - - - - - -
-
-

DataTables example DOM / jQuery events

- -
-

Events assigned to the table can be exceptionally useful for user interaction, however you must be - aware that DataTables will add and remove rows from the DOM as they are needed (i.e. when paging only - the visible elements are actually available in the DOM). As such, this can lead to the odd hiccup when - working with events.

- -

One of the best ways of dealing with this is through the use of delegated events with jQuery's - on method, as shown in this example.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); - - $('#example tbody').on('click', 'tr', function () { - var name = $('td', this).eq(0).text(); - alert( 'You clicked on '+name+'\'s row' ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/footer_callback.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/footer_callback.html deleted file mode 100644 index e33fde5cf5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/footer_callback.html +++ /dev/null @@ -1,764 +0,0 @@ - - - - - - - - DataTables example - Footer callback - - - - - - - - - - - - -
-
-

DataTables example Footer callback

- -
-

Through the use of the header and footer callback manipulation functions provided by DataTables - (headerCallbackDT and footerCallbackDT), it is possible to perform - some powerful and useful data manipulation functions, such as summarising data in the table.

- -

The example below shows a footer callback being used to total the data for a column (both the - visible and the hidden data) using the column().data()DT API method and column().footer()DT for writing the value into the - footer.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
First nameLast namePositionOfficeSalary
Total:
TigerNixonSystem ArchitectEdinburgh$320,800
GarrettWintersAccountantTokyo$170,750
AshtonCoxJunior Technical AuthorSan Francisco$86,000
CedricKellySenior Javascript DeveloperEdinburgh$433,060
AiriSatouAccountantTokyo$162,700
BrielleWilliamsonIntegration SpecialistNew York$372,000
HerrodChandlerSales AssistantSan Francisco$137,500
RhonaDavidsonIntegration SpecialistTokyo$327,900
ColleenHurstJavascript DeveloperSan Francisco$205,500
SonyaFrostSoftware EngineerEdinburgh$103,600
JenaGainesOffice ManagerLondon$90,560
QuinnFlynnSupport LeadEdinburgh$342,000
ChardeMarshallRegional DirectorSan Francisco$470,600
HaleyKennedySenior Marketing DesignerLondon$313,500
TatyanaFitzpatrickRegional DirectorLondon$385,750
MichaelSilvaMarketing DesignerLondon$198,500
PaulByrdChief Financial Officer (CFO)New York$725,000
GloriaLittleSystems AdministratorNew York$237,500
BradleyGreerSoftware EngineerLondon$132,000
DaiRiosPersonnel LeadEdinburgh$217,500
JenetteCaldwellDevelopment LeadNew York$345,000
YuriBerryChief Marketing Officer (CMO)New York$675,000
CaesarVancePre-Sales SupportNew York$106,450
DorisWilderSales AssistantSidney$85,600
AngelicaRamosChief Executive Officer (CEO)London$1,200,000
GavinJoyceDeveloperEdinburgh$92,575
JenniferChangRegional DirectorSingapore$357,650
BrendenWagnerSoftware EngineerSan Francisco$206,850
FionaGreenChief Operating Officer (COO)San Francisco$850,000
ShouItouRegional MarketingTokyo$163,000
MichelleHouseIntegration SpecialistSidney$95,400
SukiBurksDeveloperLondon$114,500
PrescottBartlettTechnical AuthorLondon$145,000
GavinCortezTeam LeaderSan Francisco$235,500
MartenaMccrayPost-Sales supportEdinburgh$324,050
UnityButlerMarketing DesignerSan Francisco$85,675
HowardHatfieldOffice ManagerSan Francisco$164,500
HopeFuentesSecretarySan Francisco$109,850
VivianHarrellFinancial ControllerSan Francisco$452,500
TimothyMooneyOffice ManagerLondon$136,200
JacksonBradshawDirectorNew York$645,750
OliviaLiangSupport EngineerSingapore$234,500
BrunoNashSoftware EngineerLondon$163,500
SakuraYamamotoSupport EngineerTokyo$139,575
ThorWaltonDeveloperNew York$98,540
FinnCamachoSupport EngineerSan Francisco$87,500
SergeBaldwinData CoordinatorSingapore$138,575
ZenaidaFrankSoftware EngineerNew York$125,250
ZoritaSerranoSoftware EngineerSan Francisco$115,000
JenniferAcostaJunior Javascript DeveloperEdinburgh$75,650
CaraStevensSales AssistantNew York$145,600
HermioneButlerRegional DirectorLondon$356,250
LaelGreerSystems AdministratorLondon$103,500
JonasAlexanderDeveloperSan Francisco$86,500
ShadDeckerRegional DirectorEdinburgh$183,000
MichaelBruceJavascript DeveloperSingapore$183,000
DonnaSniderCustomer SupportNew York$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "footerCallback": function ( row, data, start, end, display ) { - var api = this.api(), data; - - // Remove the formatting to get integer data for summation - var intVal = function ( i ) { - return typeof i === 'string' ? - i.replace(/[\$,]/g, '')*1 : - typeof i === 'number' ? - i : 0; - }; - - // Total over all pages - data = api.column( 4 ).data(); - total = data.length ? - data.reduce( function (a, b) { - return intVal(a) + intVal(b); - } ) : - 0; - - // Total over this page - data = api.column( 4, { page: 'current'} ).data(); - pageTotal = data.length ? - data.reduce( function (a, b) { - return intVal(a) + intVal(b); - } ) : - 0; - - // Update footer - $( api.column( 4 ).footer() ).html( - '$'+pageTotal +' ( $'+ total +' total)' - ); - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

th { white-space: nowrap; } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/html5-data-attributes.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/html5-data-attributes.html deleted file mode 100644 index b66b372431..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/html5-data-attributes.html +++ /dev/null @@ -1,768 +0,0 @@ - - - - - - - - DataTables example - HTML5 data-* attributes - - - - - - - - - - - - -
-
-

DataTables example HTML5 data-* attributes

- -
-

DataTables can use different data for different actions (display, ordering and searching) which can - be immensely powerful for transforming data in the display to be intuitive for the end user, while - using different, or more complex data, for other actions. For example, if a table contains a formatted - telephone number in the format xxx-xxxx, intuitively a user might search for the number - but without a dash. Using orthogonal data for searching allows both forms of the telephone number to be - used, while only the nicely formatted number is displayed in the table.

- -

One method in which DataTables can obtain this orthogonal data for its different actions is through - - custom HTML5 data attributes. DataTables will automatically detect four different attributes on the - HTML elements:

- -
    -
  • data-sort or data-order - for ordering data
  • -
  • data-filter or data-search - for search data
  • -
- -

This example shows the use of data-sort and data-filter attributes. In - this case the first column has been formatted so the first name has abbreviated, but the full name is - still searchable (search for "Bruno" for example). Additionally, although the last column contains - non-numeric data in it (/y) the column will correctly order numerically as the - data-sort / data-order attribute is set on the column with plain numeric - data.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
T. NixonSystem ArchitectEdinburgh61Mon 25th Apr 11$320,800/y
G. WintersAccountantTokyo63Mon 25th Jul 11$170,750/y
A. CoxJunior Technical AuthorSan Francisco66Mon 12th Jan 09$86,000/y
C. KellySenior Javascript DeveloperEdinburgh22Thu 29th Mar 12$433,060/y
A. SatouAccountantTokyo33Fri 28th Nov 08$162,700/y
B. WilliamsonIntegration SpecialistNew York61Sun 2nd Dec 12$372,000/y
H. ChandlerSales AssistantSan Francisco59Mon 6th Aug 12$137,500/y
R. DavidsonIntegration SpecialistTokyo55Thu 14th Oct 10$327,900/y
C. HurstJavascript DeveloperSan Francisco39Tue 15th Sep 09$205,500/y
S. FrostSoftware EngineerEdinburgh23Sat 13th Dec 08$103,600/y
J. GainesOffice ManagerLondon30Fri 19th Dec 08$90,560/y
Q. FlynnSupport LeadEdinburgh22Sun 3rd Mar 13$342,000/y
C. MarshallRegional DirectorSan Francisco36Thu 16th Oct 08$470,600/y
H. KennedySenior Marketing DesignerLondon43Tue 18th Dec 12$313,500/y
T. FitzpatrickRegional DirectorLondon19Wed 17th Mar 10$385,750/y
M. SilvaMarketing DesignerLondon66Tue 27th Nov 12$198,500/y
P. ByrdChief Financial Officer (CFO)New York64Wed 9th Jun 10$725,000/y
G. LittleSystems AdministratorNew York59Fri 10th Apr 09$237,500/y
B. GreerSoftware EngineerLondon41Sat 13th Oct 12$132,000/y
D. RiosPersonnel LeadEdinburgh35Wed 26th Sep 12$217,500/y
J. CaldwellDevelopment LeadNew York30Sat 3rd Sep 11$345,000/y
Y. BerryChief Marketing Officer (CMO)New York40Thu 25th Jun 09$675,000/y
C. VancePre-Sales SupportNew York21Mon 12th Dec 11$106,450/y
D. WilderSales AssistantSidney23Mon 20th Sep 10$85,600/y
A. RamosChief Executive Officer (CEO)London47Fri 9th Oct 09$1,200,000/y
G. JoyceDeveloperEdinburgh42Wed 22nd Dec 10$92,575/y
J. ChangRegional DirectorSingapore28Sun 14th Nov 10$357,650/y
B. WagnerSoftware EngineerSan Francisco28Tue 7th Jun 11$206,850/y
F. GreenChief Operating Officer (COO)San Francisco48Thu 11th Mar 10$850,000/y
S. ItouRegional MarketingTokyo20Sun 14th Aug 11$163,000/y
M. HouseIntegration SpecialistSidney37Thu 2nd Jun 11$95,400/y
S. BurksDeveloperLondon53Thu 22nd Oct 09$114,500/y
P. BartlettTechnical AuthorLondon27Sat 7th May 11$145,000/y
G. CortezTeam LeaderSan Francisco22Sun 26th Oct 08$235,500/y
M. MccrayPost-Sales supportEdinburgh46Wed 9th Mar 11$324,050/y
U. ButlerMarketing DesignerSan Francisco47Wed 9th Dec 09$85,675/y
H. HatfieldOffice ManagerSan Francisco51Tue 16th Dec 08$164,500/y
H. FuentesSecretarySan Francisco41Fri 12th Feb 10$109,850/y
V. HarrellFinancial ControllerSan Francisco62Sat 14th Feb 09$452,500/y
T. MooneyOffice ManagerLondon37Thu 11th Dec 08$136,200/y
J. BradshawDirectorNew York65Fri 26th Sep 08$645,750/y
O. LiangSupport EngineerSingapore64Thu 3rd Feb 11$234,500/y
B. NashSoftware EngineerLondon38Tue 3rd May 11$163,500/y
S. YamamotoSupport EngineerTokyo37Wed 19th Aug 09$139,575/y
T. WaltonDeveloperNew York61Sun 11th Aug 13$98,540/y
F. CamachoSupport EngineerSan Francisco47Tue 7th Jul 09$87,500/y
S. BaldwinData CoordinatorSingapore64Mon 9th Apr 12$138,575/y
Z. FrankSoftware EngineerNew York63Mon 4th Jan 10$125,250/y
Z. SerranoSoftware EngineerSan Francisco56Fri 1st Jun 12$115,000/y
J. AcostaJunior Javascript DeveloperEdinburgh43Fri 1st Feb 13$75,650/y
C. StevensSales AssistantNew York46Tue 6th Dec 11$145,600/y
H. ButlerRegional DirectorLondon47Mon 21st Mar 11$356,250/y
L. GreerSystems AdministratorLondon21Fri 27th Feb 09$103,500/y
J. AlexanderDeveloperSan Francisco30Wed 14th Jul 10$86,500/y
S. DeckerRegional DirectorEdinburgh51Thu 13th Nov 08$183,000/y
M. BruceJavascript DeveloperSingapore29Mon 27th Jun 11$183,000/y
D. SniderCustomer SupportNew York27Tue 25th Jan 11$112,000/y
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/index.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/index.html deleted file mode 100644 index cd77d69340..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Advanced initialisation - - - -
-
-

DataTables example Advanced initialisation

- -
-

The configuration options offered by DataTables extend much further than the options shown in the - basic initialisation of this documentation. Through combinations of the options available and the use - of callbacks, DataTables is completely customisable and will fit into exactly what you need for your - table display.

- -

This section shows some more advanced initialisation options. Keep in mind also that each example - can be combined with the other examples to get what you want!

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/language_file.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/language_file.html deleted file mode 100644 index 282bcc7681..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/language_file.html +++ /dev/null @@ -1,760 +0,0 @@ - - - - - - - - DataTables example - Language file - - - - - - - - - - - - -
-
-

DataTables example Language file

- -
-

As well as being able to pass language information to DataTables through the languageDT initialisation option, you can - also store the language information in a file, which DataTables can load by Ajax using the language.urlDT option.

- -

The following example shows DataTables reading a German language file.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "language": { - "url": "../resources/de_DE.txt" - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/length_menu.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/length_menu.html deleted file mode 100644 index 95de183662..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/length_menu.html +++ /dev/null @@ -1,762 +0,0 @@ - - - - - - - - DataTables example - Page length options - - - - - - - - - - - - -
-
-

DataTables example Page length options

- -
-

It is possible to easily customise the options shown in the length menu (by default at the top left - of the table) using the lengthMenuDT initialisation - option.

- -

This parameter can take one of two forms:

- -
    -
  • A 1D array of options which will be used for both the displayed option and the value, or
  • -
  • A 2D array in which the first array is used to define the value options and the second array - the displayed options (useful for language strings such as 'All').
  • -
- -

The example below shows a 2D array being used to include a "Show all" records option.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/row_callback.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/row_callback.html deleted file mode 100644 index 4580701b7c..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/row_callback.html +++ /dev/null @@ -1,775 +0,0 @@ - - - - - - - - DataTables example - Row created callback - - - - - - - - - - - - -
-
-

DataTables example Row created callback

- -
-

The following example shows how a callback function can be used to format a particular row at draw - time. For each row that is generated for display, the createdRowDT function is called once and - once only. It is passed the create row node which can then be modified.

- -

In this case a trivial example of making the 'salary' column blue and bold by adding a CSS class to - the container cell if the salary is greater than $4,000. Note that columns.createdCellDT could also be used to - create exactly the same effect.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "createdRow": function ( row, data, index ) { - if ( data[5].replace(/[\$,]/g, '') * 1 > 4000 ) { - $('td', row).eq(5).addClass('highlight'); - } - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

td.highlight { - font-weight: bold; - color: blue; - } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/row_grouping.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/row_grouping.html deleted file mode 100644 index 66db40f2cb..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/row_grouping.html +++ /dev/null @@ -1,827 +0,0 @@ - - - - - - - - DataTables example - Row grouping - - - - - - - - - - - - -
-
-

DataTables example Row grouping

- -
-

Although DataTables doesn't have row grouping built-in (picking one of the many methods available - would overly limit the DataTables core), it is most certainly possible to give the look and feel of row - grouping.

- -

In the example below the 'group' is the office location, which is based on the information in the - third column (which is set to hidden). The grouping indicator is added by the drawCallbackDT function, which will parse - through the rows which are displayed, and enter a grouping TR element where a new group is found. A - click event handler is added for the grouping rows to allow the grouping order to be - restored as well as ordering by any other column.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var table = $('#example').DataTable({ - "columnDefs": [ - { "visible": false, "targets": 2 } - ], - "order": [[ 2, 'asc' ]], - "displayLength": 25, - "drawCallback": function ( settings ) { - var api = this.api(); - var rows = api.rows( {page:'current'} ).nodes(); - var last=null; - - api.column(2, {page:'current'} ).data().each( function ( group, i ) { - if ( last !== group ) { - $(rows).eq( i ).before( - '<tr class="group"><td colspan="5">'+group+'</td></tr>' - ); - - last = group; - } - } ); - } - } ); - - // Order by the grouping - $('#example tbody').on( 'click', 'tr.group', function () { - var currentOrder = table.order()[0]; - if ( currentOrder[0] === 2 && currentOrder[1] === 'asc' ) { - table.order( [ 2, 'desc' ] ).draw(); - } - else { - table.order( [ 2, 'asc' ] ).draw(); - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

tr.group, -tr.group:hover { - background-color: #ddd !important; -} -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/sort_direction_control.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/sort_direction_control.html deleted file mode 100644 index 3ccf7a8b11..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/sort_direction_control.html +++ /dev/null @@ -1,784 +0,0 @@ - - - - - - - - DataTables example - Order direction sequence control - - - - - - - - - - - - -
-
-

DataTables example Order direction sequence control

- -
-

At times you may wish to change the default ordering direction sequence for columns (some or all of - them) to be 'descending' rather than DataTables' default ascending. This can be done through the use of - the columns.orderSequenceDT initialisation - parameter. This parameter also allows you to limit the ordering to a single direction, or you could add - complex behaviour to the ordering interaction.

- -

The example below shows:

- -
    -
  • Column 1 - default ordering
  • -
  • Column 2 - default ordering
  • -
  • Column 3 - ascending ordering only
  • -
  • Column 4 - descending ordering, followed by ascending and then ascending again
  • -
  • Column 5 - descending ordering only
  • -
  • Column 6 - default ordering
  • -
- -

It's worth noting that I don't have a good use case for when you might what to mix such complex - ordering behaviour into a single table, but the example shows how these options can be use and - therefore applied across all columns.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "aoColumns": [ - null, - null, - { "orderSequence": [ "asc" ] }, - { "orderSequence": [ "desc", "asc", "asc" ] }, - { "orderSequence": [ "desc" ] }, - null - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/custom_data_flat.html b/src/sunstone/public/bower_components/datatables/examples/ajax/custom_data_flat.html deleted file mode 100644 index ec70e2fc1b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/custom_data_flat.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - DataTables example - Flat array data source - - - - - - - - - - - - -
-
-

DataTables example Flat array data source

- -
-

When loading data from an Ajax source, by default, DataTables will look for the data to use in the - data parameter of a returned object (e.g. { "data": [...] }). This can easily - be change by using the dataSrc option of the ajaxDT initiation option.

- -

The ajax.dataSrcDT has a number of ways in which - it can be used:

- -
    -
  • As a string (e.g. dataSrc: 'myData') - obtain data from a different property in - the source object.
  • -
  • As an empty string (e.g. dataSrc: '') - the data source is not an object but an - array.
  • -
  • As a function (e.g. dataSrc: function(json) {}) - a function can be used to - transform the data from one source format to another (for example you could convert from XML to a - Javascript object). The value returned from the function is used as the data for the table.
  • -
- -

The example below shows ajax.dataSrcDT being used as - an empty string. This tells DataTables that the JSON loaded is a plain array, not an object with an - array inside it as is the default.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "ajax": { - "url": "data/objects_root_array.txt", - "dataSrc": "" - }, - "columns": [ - { "data": "name" }, - { "data": "position" }, - { "data": "office" }, - { "data": "extn" }, - { "data": "start_date" }, - { "data": "salary" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/custom_data_property.html b/src/sunstone/public/bower_components/datatables/examples/ajax/custom_data_property.html deleted file mode 100644 index a6ebd8398c..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/custom_data_property.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - - - DataTables example - Custom data source property - - - - - - - - - - - - -
-
-

DataTables example Custom data source property

- -
-

When loading data from an Ajax source, by default, DataTables will look for the data to use in the - data parameter of a returned object (e.g. { "data": [...] }). This can easily - be change by using the dataSrc option of the ajaxDT initiation option.

- -

The ajax.dataSrcDT has a number of ways in which - it can be used:

- -
    -
  • As a string (e.g. dataSrc: 'myData') - obtain data from a different property in - the source object.
  • -
  • As an empty string (e.g. dataSrc: '') - the data source is not an object but an - array.
  • -
  • As a function (e.g. dataSrc: function(json) {}) - a function can be used to - transform the data from one source format to another (for example you could convert from XML to a - Javascript object). The value returned from the function is used as the data for the table.
  • -
- -

The example below shows ajax.dataSrcDT being used as - a string to get the data from a different source property, in this case demo but it could be any value, included a nested property by using standard dotted - Javascript object notation.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "ajax": { - "url": "data/arrays_custom_prop.txt", - "dataSrc": "demo" - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays.txt deleted file mode 100644 index 4dadf14b79..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays.txt +++ /dev/null @@ -1,460 +0,0 @@ -{ - "data": [ - [ - "Tiger Nixon", - "System Architect", - "Edinburgh", - "5421", - "2011\/04\/25", - "$320,800" - ], - [ - "Garrett Winters", - "Accountant", - "Tokyo", - "8422", - "2011\/07\/25", - "$170,750" - ], - [ - "Ashton Cox", - "Junior Technical Author", - "San Francisco", - "1562", - "2009\/01\/12", - "$86,000" - ], - [ - "Cedric Kelly", - "Senior Javascript Developer", - "Edinburgh", - "6224", - "2012\/03\/29", - "$433,060" - ], - [ - "Airi Satou", - "Accountant", - "Tokyo", - "5407", - "2008\/11\/28", - "$162,700" - ], - [ - "Brielle Williamson", - "Integration Specialist", - "New York", - "4804", - "2012\/12\/02", - "$372,000" - ], - [ - "Herrod Chandler", - "Sales Assistant", - "San Francisco", - "9608", - "2012\/08\/06", - "$137,500" - ], - [ - "Rhona Davidson", - "Integration Specialist", - "Tokyo", - "6200", - "2010\/10\/14", - "$327,900" - ], - [ - "Colleen Hurst", - "Javascript Developer", - "San Francisco", - "2360", - "2009\/09\/15", - "$205,500" - ], - [ - "Sonya Frost", - "Software Engineer", - "Edinburgh", - "1667", - "2008\/12\/13", - "$103,600" - ], - [ - "Jena Gaines", - "Office Manager", - "London", - "3814", - "2008\/12\/19", - "$90,560" - ], - [ - "Quinn Flynn", - "Support Lead", - "Edinburgh", - "9497", - "2013\/03\/03", - "$342,000" - ], - [ - "Charde Marshall", - "Regional Director", - "San Francisco", - "6741", - "2008\/10\/16", - "$470,600" - ], - [ - "Haley Kennedy", - "Senior Marketing Designer", - "London", - "3597", - "2012\/12\/18", - "$313,500" - ], - [ - "Tatyana Fitzpatrick", - "Regional Director", - "London", - "1965", - "2010\/03\/17", - "$385,750" - ], - [ - "Michael Silva", - "Marketing Designer", - "London", - "1581", - "2012\/11\/27", - "$198,500" - ], - [ - "Paul Byrd", - "Chief Financial Officer (CFO)", - "New York", - "3059", - "2010\/06\/09", - "$725,000" - ], - [ - "Gloria Little", - "Systems Administrator", - "New York", - "1721", - "2009\/04\/10", - "$237,500" - ], - [ - "Bradley Greer", - "Software Engineer", - "London", - "2558", - "2012\/10\/13", - "$132,000" - ], - [ - "Dai Rios", - "Personnel Lead", - "Edinburgh", - "2290", - "2012\/09\/26", - "$217,500" - ], - [ - "Jenette Caldwell", - "Development Lead", - "New York", - "1937", - "2011\/09\/03", - "$345,000" - ], - [ - "Yuri Berry", - "Chief Marketing Officer (CMO)", - "New York", - "6154", - "2009\/06\/25", - "$675,000" - ], - [ - "Caesar Vance", - "Pre-Sales Support", - "New York", - "8330", - "2011\/12\/12", - "$106,450" - ], - [ - "Doris Wilder", - "Sales Assistant", - "Sidney", - "3023", - "2010\/09\/20", - "$85,600" - ], - [ - "Angelica Ramos", - "Chief Executive Officer (CEO)", - "London", - "5797", - "2009\/10\/09", - "$1,200,000" - ], - [ - "Gavin Joyce", - "Developer", - "Edinburgh", - "8822", - "2010\/12\/22", - "$92,575" - ], - [ - "Jennifer Chang", - "Regional Director", - "Singapore", - "9239", - "2010\/11\/14", - "$357,650" - ], - [ - "Brenden Wagner", - "Software Engineer", - "San Francisco", - "1314", - "2011\/06\/07", - "$206,850" - ], - [ - "Fiona Green", - "Chief Operating Officer (COO)", - "San Francisco", - "2947", - "2010\/03\/11", - "$850,000" - ], - [ - "Shou Itou", - "Regional Marketing", - "Tokyo", - "8899", - "2011\/08\/14", - "$163,000" - ], - [ - "Michelle House", - "Integration Specialist", - "Sidney", - "2769", - "2011\/06\/02", - "$95,400" - ], - [ - "Suki Burks", - "Developer", - "London", - "6832", - "2009\/10\/22", - "$114,500" - ], - [ - "Prescott Bartlett", - "Technical Author", - "London", - "3606", - "2011\/05\/07", - "$145,000" - ], - [ - "Gavin Cortez", - "Team Leader", - "San Francisco", - "2860", - "2008\/10\/26", - "$235,500" - ], - [ - "Martena Mccray", - "Post-Sales support", - "Edinburgh", - "8240", - "2011\/03\/09", - "$324,050" - ], - [ - "Unity Butler", - "Marketing Designer", - "San Francisco", - "5384", - "2009\/12\/09", - "$85,675" - ], - [ - "Howard Hatfield", - "Office Manager", - "San Francisco", - "7031", - "2008\/12\/16", - "$164,500" - ], - [ - "Hope Fuentes", - "Secretary", - "San Francisco", - "6318", - "2010\/02\/12", - "$109,850" - ], - [ - "Vivian Harrell", - "Financial Controller", - "San Francisco", - "9422", - "2009\/02\/14", - "$452,500" - ], - [ - "Timothy Mooney", - "Office Manager", - "London", - "7580", - "2008\/12\/11", - "$136,200" - ], - [ - "Jackson Bradshaw", - "Director", - "New York", - "1042", - "2008\/09\/26", - "$645,750" - ], - [ - "Olivia Liang", - "Support Engineer", - "Singapore", - "2120", - "2011\/02\/03", - "$234,500" - ], - [ - "Bruno Nash", - "Software Engineer", - "London", - "6222", - "2011\/05\/03", - "$163,500" - ], - [ - "Sakura Yamamoto", - "Support Engineer", - "Tokyo", - "9383", - "2009\/08\/19", - "$139,575" - ], - [ - "Thor Walton", - "Developer", - "New York", - "8327", - "2013\/08\/11", - "$98,540" - ], - [ - "Finn Camacho", - "Support Engineer", - "San Francisco", - "2927", - "2009\/07\/07", - "$87,500" - ], - [ - "Serge Baldwin", - "Data Coordinator", - "Singapore", - "8352", - "2012\/04\/09", - "$138,575" - ], - [ - "Zenaida Frank", - "Software Engineer", - "New York", - "7439", - "2010\/01\/04", - "$125,250" - ], - [ - "Zorita Serrano", - "Software Engineer", - "San Francisco", - "4389", - "2012\/06\/01", - "$115,000" - ], - [ - "Jennifer Acosta", - "Junior Javascript Developer", - "Edinburgh", - "3431", - "2013\/02\/01", - "$75,650" - ], - [ - "Cara Stevens", - "Sales Assistant", - "New York", - "3990", - "2011\/12\/06", - "$145,600" - ], - [ - "Hermione Butler", - "Regional Director", - "London", - "1016", - "2011\/03\/21", - "$356,250" - ], - [ - "Lael Greer", - "Systems Administrator", - "London", - "6733", - "2009\/02\/27", - "$103,500" - ], - [ - "Jonas Alexander", - "Developer", - "San Francisco", - "8196", - "2010\/07\/14", - "$86,500" - ], - [ - "Shad Decker", - "Regional Director", - "Edinburgh", - "6373", - "2008\/11\/13", - "$183,000" - ], - [ - "Michael Bruce", - "Javascript Developer", - "Singapore", - "5384", - "2011\/06\/27", - "$183,000" - ], - [ - "Donna Snider", - "Customer Support", - "New York", - "4226", - "2011\/01\/25", - "$112,000" - ] - ] -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays_custom_prop.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays_custom_prop.txt deleted file mode 100644 index 06e8265de6..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays_custom_prop.txt +++ /dev/null @@ -1,460 +0,0 @@ -{ - "demo": [ - [ - "Tiger Nixon", - "System Architect", - "Edinburgh", - "5421", - "2011\/04\/25", - "$320,800" - ], - [ - "Garrett Winters", - "Accountant", - "Tokyo", - "8422", - "2011\/07\/25", - "$170,750" - ], - [ - "Ashton Cox", - "Junior Technical Author", - "San Francisco", - "1562", - "2009\/01\/12", - "$86,000" - ], - [ - "Cedric Kelly", - "Senior Javascript Developer", - "Edinburgh", - "6224", - "2012\/03\/29", - "$433,060" - ], - [ - "Airi Satou", - "Accountant", - "Tokyo", - "5407", - "2008\/11\/28", - "$162,700" - ], - [ - "Brielle Williamson", - "Integration Specialist", - "New York", - "4804", - "2012\/12\/02", - "$372,000" - ], - [ - "Herrod Chandler", - "Sales Assistant", - "San Francisco", - "9608", - "2012\/08\/06", - "$137,500" - ], - [ - "Rhona Davidson", - "Integration Specialist", - "Tokyo", - "6200", - "2010\/10\/14", - "$327,900" - ], - [ - "Colleen Hurst", - "Javascript Developer", - "San Francisco", - "2360", - "2009\/09\/15", - "$205,500" - ], - [ - "Sonya Frost", - "Software Engineer", - "Edinburgh", - "1667", - "2008\/12\/13", - "$103,600" - ], - [ - "Jena Gaines", - "Office Manager", - "London", - "3814", - "2008\/12\/19", - "$90,560" - ], - [ - "Quinn Flynn", - "Support Lead", - "Edinburgh", - "9497", - "2013\/03\/03", - "$342,000" - ], - [ - "Charde Marshall", - "Regional Director", - "San Francisco", - "6741", - "2008\/10\/16", - "$470,600" - ], - [ - "Haley Kennedy", - "Senior Marketing Designer", - "London", - "3597", - "2012\/12\/18", - "$313,500" - ], - [ - "Tatyana Fitzpatrick", - "Regional Director", - "London", - "1965", - "2010\/03\/17", - "$385,750" - ], - [ - "Michael Silva", - "Marketing Designer", - "London", - "1581", - "2012\/11\/27", - "$198,500" - ], - [ - "Paul Byrd", - "Chief Financial Officer (CFO)", - "New York", - "3059", - "2010\/06\/09", - "$725,000" - ], - [ - "Gloria Little", - "Systems Administrator", - "New York", - "1721", - "2009\/04\/10", - "$237,500" - ], - [ - "Bradley Greer", - "Software Engineer", - "London", - "2558", - "2012\/10\/13", - "$132,000" - ], - [ - "Dai Rios", - "Personnel Lead", - "Edinburgh", - "2290", - "2012\/09\/26", - "$217,500" - ], - [ - "Jenette Caldwell", - "Development Lead", - "New York", - "1937", - "2011\/09\/03", - "$345,000" - ], - [ - "Yuri Berry", - "Chief Marketing Officer (CMO)", - "New York", - "6154", - "2009\/06\/25", - "$675,000" - ], - [ - "Caesar Vance", - "Pre-Sales Support", - "New York", - "8330", - "2011\/12\/12", - "$106,450" - ], - [ - "Doris Wilder", - "Sales Assistant", - "Sidney", - "3023", - "2010\/09\/20", - "$85,600" - ], - [ - "Angelica Ramos", - "Chief Executive Officer (CEO)", - "London", - "5797", - "2009\/10\/09", - "$1,200,000" - ], - [ - "Gavin Joyce", - "Developer", - "Edinburgh", - "8822", - "2010\/12\/22", - "$92,575" - ], - [ - "Jennifer Chang", - "Regional Director", - "Singapore", - "9239", - "2010\/11\/14", - "$357,650" - ], - [ - "Brenden Wagner", - "Software Engineer", - "San Francisco", - "1314", - "2011\/06\/07", - "$206,850" - ], - [ - "Fiona Green", - "Chief Operating Officer (COO)", - "San Francisco", - "2947", - "2010\/03\/11", - "$850,000" - ], - [ - "Shou Itou", - "Regional Marketing", - "Tokyo", - "8899", - "2011\/08\/14", - "$163,000" - ], - [ - "Michelle House", - "Integration Specialist", - "Sidney", - "2769", - "2011\/06\/02", - "$95,400" - ], - [ - "Suki Burks", - "Developer", - "London", - "6832", - "2009\/10\/22", - "$114,500" - ], - [ - "Prescott Bartlett", - "Technical Author", - "London", - "3606", - "2011\/05\/07", - "$145,000" - ], - [ - "Gavin Cortez", - "Team Leader", - "San Francisco", - "2860", - "2008\/10\/26", - "$235,500" - ], - [ - "Martena Mccray", - "Post-Sales support", - "Edinburgh", - "8240", - "2011\/03\/09", - "$324,050" - ], - [ - "Unity Butler", - "Marketing Designer", - "San Francisco", - "5384", - "2009\/12\/09", - "$85,675" - ], - [ - "Howard Hatfield", - "Office Manager", - "San Francisco", - "7031", - "2008\/12\/16", - "$164,500" - ], - [ - "Hope Fuentes", - "Secretary", - "San Francisco", - "6318", - "2010\/02\/12", - "$109,850" - ], - [ - "Vivian Harrell", - "Financial Controller", - "San Francisco", - "9422", - "2009\/02\/14", - "$452,500" - ], - [ - "Timothy Mooney", - "Office Manager", - "London", - "7580", - "2008\/12\/11", - "$136,200" - ], - [ - "Jackson Bradshaw", - "Director", - "New York", - "1042", - "2008\/09\/26", - "$645,750" - ], - [ - "Olivia Liang", - "Support Engineer", - "Singapore", - "2120", - "2011\/02\/03", - "$234,500" - ], - [ - "Bruno Nash", - "Software Engineer", - "London", - "6222", - "2011\/05\/03", - "$163,500" - ], - [ - "Sakura Yamamoto", - "Support Engineer", - "Tokyo", - "9383", - "2009\/08\/19", - "$139,575" - ], - [ - "Thor Walton", - "Developer", - "New York", - "8327", - "2013\/08\/11", - "$98,540" - ], - [ - "Finn Camacho", - "Support Engineer", - "San Francisco", - "2927", - "2009\/07\/07", - "$87,500" - ], - [ - "Serge Baldwin", - "Data Coordinator", - "Singapore", - "8352", - "2012\/04\/09", - "$138,575" - ], - [ - "Zenaida Frank", - "Software Engineer", - "New York", - "7439", - "2010\/01\/04", - "$125,250" - ], - [ - "Zorita Serrano", - "Software Engineer", - "San Francisco", - "4389", - "2012\/06\/01", - "$115,000" - ], - [ - "Jennifer Acosta", - "Junior Javascript Developer", - "Edinburgh", - "3431", - "2013\/02\/01", - "$75,650" - ], - [ - "Cara Stevens", - "Sales Assistant", - "New York", - "3990", - "2011\/12\/06", - "$145,600" - ], - [ - "Hermione Butler", - "Regional Director", - "London", - "1016", - "2011\/03\/21", - "$356,250" - ], - [ - "Lael Greer", - "Systems Administrator", - "London", - "6733", - "2009\/02\/27", - "$103,500" - ], - [ - "Jonas Alexander", - "Developer", - "San Francisco", - "8196", - "2010\/07\/14", - "$86,500" - ], - [ - "Shad Decker", - "Regional Director", - "Edinburgh", - "6373", - "2008\/11\/13", - "$183,000" - ], - [ - "Michael Bruce", - "Javascript Developer", - "Singapore", - "5384", - "2011\/06\/27", - "$183,000" - ], - [ - "Donna Snider", - "Customer Support", - "New York", - "4226", - "2011\/01\/25", - "$112,000" - ] - ] -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays_subobjects.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays_subobjects.txt deleted file mode 100644 index a45518117c..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/arrays_subobjects.txt +++ /dev/null @@ -1,688 +0,0 @@ -{ - "data": [ - { - "0": "Tiger Nixon", - "hr": { - "position": "System Architect", - "salary": "$320,800", - "start_date": "2011\/04\/25" - }, - "contact": { - "office": "Edinburgh", - "extn": "5421" - } - }, - { - "0": "Garrett Winters", - "hr": { - "position": "Accountant", - "salary": "$170,750", - "start_date": "2011\/07\/25" - }, - "contact": { - "office": "Tokyo", - "extn": "8422" - } - }, - { - "0": "Ashton Cox", - "hr": { - "position": "Junior Technical Author", - "salary": "$86,000", - "start_date": "2009\/01\/12" - }, - "contact": { - "office": "San Francisco", - "extn": "1562" - } - }, - { - "0": "Cedric Kelly", - "hr": { - "position": "Senior Javascript Developer", - "salary": "$433,060", - "start_date": "2012\/03\/29" - }, - "contact": { - "office": "Edinburgh", - "extn": "6224" - } - }, - { - "0": "Airi Satou", - "hr": { - "position": "Accountant", - "salary": "$162,700", - "start_date": "2008\/11\/28" - }, - "contact": { - "office": "Tokyo", - "extn": "5407" - } - }, - { - "0": "Brielle Williamson", - "hr": { - "position": "Integration Specialist", - "salary": "$372,000", - "start_date": "2012\/12\/02" - }, - "contact": { - "office": "New York", - "extn": "4804" - } - }, - { - "0": "Herrod Chandler", - "hr": { - "position": "Sales Assistant", - "salary": "$137,500", - "start_date": "2012\/08\/06" - }, - "contact": { - "office": "San Francisco", - "extn": "9608" - } - }, - { - "0": "Rhona Davidson", - "hr": { - "position": "Integration Specialist", - "salary": "$327,900", - "start_date": "2010\/10\/14" - }, - "contact": { - "office": "Tokyo", - "extn": "6200" - } - }, - { - "0": "Colleen Hurst", - "hr": { - "position": "Javascript Developer", - "salary": "$205,500", - "start_date": "2009\/09\/15" - }, - "contact": { - "office": "San Francisco", - "extn": "2360" - } - }, - { - "0": "Sonya Frost", - "hr": { - "position": "Software Engineer", - "salary": "$103,600", - "start_date": "2008\/12\/13" - }, - "contact": { - "office": "Edinburgh", - "extn": "1667" - } - }, - { - "0": "Jena Gaines", - "hr": { - "position": "Office Manager", - "salary": "$90,560", - "start_date": "2008\/12\/19" - }, - "contact": { - "office": "London", - "extn": "3814" - } - }, - { - "0": "Quinn Flynn", - "hr": { - "position": "Support Lead", - "salary": "$342,000", - "start_date": "2013\/03\/03" - }, - "contact": { - "office": "Edinburgh", - "extn": "9497" - } - }, - { - "0": "Charde Marshall", - "hr": { - "position": "Regional Director", - "salary": "$470,600", - "start_date": "2008\/10\/16" - }, - "contact": { - "office": "San Francisco", - "extn": "6741" - } - }, - { - "0": "Haley Kennedy", - "hr": { - "position": "Senior Marketing Designer", - "salary": "$313,500", - "start_date": "2012\/12\/18" - }, - "contact": { - "office": "London", - "extn": "3597" - } - }, - { - "0": "Tatyana Fitzpatrick", - "hr": { - "position": "Regional Director", - "salary": "$385,750", - "start_date": "2010\/03\/17" - }, - "contact": { - "office": "London", - "extn": "1965" - } - }, - { - "0": "Michael Silva", - "hr": { - "position": "Marketing Designer", - "salary": "$198,500", - "start_date": "2012\/11\/27" - }, - "contact": { - "office": "London", - "extn": "1581" - } - }, - { - "0": "Paul Byrd", - "hr": { - "position": "Chief Financial Officer (CFO)", - "salary": "$725,000", - "start_date": "2010\/06\/09" - }, - "contact": { - "office": "New York", - "extn": "3059" - } - }, - { - "0": "Gloria Little", - "hr": { - "position": "Systems Administrator", - "salary": "$237,500", - "start_date": "2009\/04\/10" - }, - "contact": { - "office": "New York", - "extn": "1721" - } - }, - { - "0": "Bradley Greer", - "hr": { - "position": "Software Engineer", - "salary": "$132,000", - "start_date": "2012\/10\/13" - }, - "contact": { - "office": "London", - "extn": "2558" - } - }, - { - "0": "Dai Rios", - "hr": { - "position": "Personnel Lead", - "salary": "$217,500", - "start_date": "2012\/09\/26" - }, - "contact": { - "office": "Edinburgh", - "extn": "2290" - } - }, - { - "0": "Jenette Caldwell", - "hr": { - "position": "Development Lead", - "salary": "$345,000", - "start_date": "2011\/09\/03" - }, - "contact": { - "office": "New York", - "extn": "1937" - } - }, - { - "0": "Yuri Berry", - "hr": { - "position": "Chief Marketing Officer (CMO)", - "salary": "$675,000", - "start_date": "2009\/06\/25" - }, - "contact": { - "office": "New York", - "extn": "6154" - } - }, - { - "0": "Caesar Vance", - "hr": { - "position": "Pre-Sales Support", - "salary": "$106,450", - "start_date": "2011\/12\/12" - }, - "contact": { - "office": "New York", - "extn": "8330" - } - }, - { - "0": "Doris Wilder", - "hr": { - "position": "Sales Assistant", - "salary": "$85,600", - "start_date": "2010\/09\/20" - }, - "contact": { - "office": "Sidney", - "extn": "3023" - } - }, - { - "0": "Angelica Ramos", - "hr": { - "position": "Chief Executive Officer (CEO)", - "salary": "$1,200,000", - "start_date": "2009\/10\/09" - }, - "contact": { - "office": "London", - "extn": "5797" - } - }, - { - "0": "Gavin Joyce", - "hr": { - "position": "Developer", - "salary": "$92,575", - "start_date": "2010\/12\/22" - }, - "contact": { - "office": "Edinburgh", - "extn": "8822" - } - }, - { - "0": "Jennifer Chang", - "hr": { - "position": "Regional Director", - "salary": "$357,650", - "start_date": "2010\/11\/14" - }, - "contact": { - "office": "Singapore", - "extn": "9239" - } - }, - { - "0": "Brenden Wagner", - "hr": { - "position": "Software Engineer", - "salary": "$206,850", - "start_date": "2011\/06\/07" - }, - "contact": { - "office": "San Francisco", - "extn": "1314" - } - }, - { - "0": "Fiona Green", - "hr": { - "position": "Chief Operating Officer (COO)", - "salary": "$850,000", - "start_date": "2010\/03\/11" - }, - "contact": { - "office": "San Francisco", - "extn": "2947" - } - }, - { - "0": "Shou Itou", - "hr": { - "position": "Regional Marketing", - "salary": "$163,000", - "start_date": "2011\/08\/14" - }, - "contact": { - "office": "Tokyo", - "extn": "8899" - } - }, - { - "0": "Michelle House", - "hr": { - "position": "Integration Specialist", - "salary": "$95,400", - "start_date": "2011\/06\/02" - }, - "contact": { - "office": "Sidney", - "extn": "2769" - } - }, - { - "0": "Suki Burks", - "hr": { - "position": "Developer", - "salary": "$114,500", - "start_date": "2009\/10\/22" - }, - "contact": { - "office": "London", - "extn": "6832" - } - }, - { - "0": "Prescott Bartlett", - "hr": { - "position": "Technical Author", - "salary": "$145,000", - "start_date": "2011\/05\/07" - }, - "contact": { - "office": "London", - "extn": "3606" - } - }, - { - "0": "Gavin Cortez", - "hr": { - "position": "Team Leader", - "salary": "$235,500", - "start_date": "2008\/10\/26" - }, - "contact": { - "office": "San Francisco", - "extn": "2860" - } - }, - { - "0": "Martena Mccray", - "hr": { - "position": "Post-Sales support", - "salary": "$324,050", - "start_date": "2011\/03\/09" - }, - "contact": { - "office": "Edinburgh", - "extn": "8240" - } - }, - { - "0": "Unity Butler", - "hr": { - "position": "Marketing Designer", - "salary": "$85,675", - "start_date": "2009\/12\/09" - }, - "contact": { - "office": "San Francisco", - "extn": "5384" - } - }, - { - "0": "Howard Hatfield", - "hr": { - "position": "Office Manager", - "salary": "$164,500", - "start_date": "2008\/12\/16" - }, - "contact": { - "office": "San Francisco", - "extn": "7031" - } - }, - { - "0": "Hope Fuentes", - "hr": { - "position": "Secretary", - "salary": "$109,850", - "start_date": "2010\/02\/12" - }, - "contact": { - "office": "San Francisco", - "extn": "6318" - } - }, - { - "0": "Vivian Harrell", - "hr": { - "position": "Financial Controller", - "salary": "$452,500", - "start_date": "2009\/02\/14" - }, - "contact": { - "office": "San Francisco", - "extn": "9422" - } - }, - { - "0": "Timothy Mooney", - "hr": { - "position": "Office Manager", - "salary": "$136,200", - "start_date": "2008\/12\/11" - }, - "contact": { - "office": "London", - "extn": "7580" - } - }, - { - "0": "Jackson Bradshaw", - "hr": { - "position": "Director", - "salary": "$645,750", - "start_date": "2008\/09\/26" - }, - "contact": { - "office": "New York", - "extn": "1042" - } - }, - { - "0": "Olivia Liang", - "hr": { - "position": "Support Engineer", - "salary": "$234,500", - "start_date": "2011\/02\/03" - }, - "contact": { - "office": "Singapore", - "extn": "2120" - } - }, - { - "0": "Bruno Nash", - "hr": { - "position": "Software Engineer", - "salary": "$163,500", - "start_date": "2011\/05\/03" - }, - "contact": { - "office": "London", - "extn": "6222" - } - }, - { - "0": "Sakura Yamamoto", - "hr": { - "position": "Support Engineer", - "salary": "$139,575", - "start_date": "2009\/08\/19" - }, - "contact": { - "office": "Tokyo", - "extn": "9383" - } - }, - { - "0": "Thor Walton", - "hr": { - "position": "Developer", - "salary": "$98,540", - "start_date": "2013\/08\/11" - }, - "contact": { - "office": "New York", - "extn": "8327" - } - }, - { - "0": "Finn Camacho", - "hr": { - "position": "Support Engineer", - "salary": "$87,500", - "start_date": "2009\/07\/07" - }, - "contact": { - "office": "San Francisco", - "extn": "2927" - } - }, - { - "0": "Serge Baldwin", - "hr": { - "position": "Data Coordinator", - "salary": "$138,575", - "start_date": "2012\/04\/09" - }, - "contact": { - "office": "Singapore", - "extn": "8352" - } - }, - { - "0": "Zenaida Frank", - "hr": { - "position": "Software Engineer", - "salary": "$125,250", - "start_date": "2010\/01\/04" - }, - "contact": { - "office": "New York", - "extn": "7439" - } - }, - { - "0": "Zorita Serrano", - "hr": { - "position": "Software Engineer", - "salary": "$115,000", - "start_date": "2012\/06\/01" - }, - "contact": { - "office": "San Francisco", - "extn": "4389" - } - }, - { - "0": "Jennifer Acosta", - "hr": { - "position": "Junior Javascript Developer", - "salary": "$75,650", - "start_date": "2013\/02\/01" - }, - "contact": { - "office": "Edinburgh", - "extn": "3431" - } - }, - { - "0": "Cara Stevens", - "hr": { - "position": "Sales Assistant", - "salary": "$145,600", - "start_date": "2011\/12\/06" - }, - "contact": { - "office": "New York", - "extn": "3990" - } - }, - { - "0": "Hermione Butler", - "hr": { - "position": "Regional Director", - "salary": "$356,250", - "start_date": "2011\/03\/21" - }, - "contact": { - "office": "London", - "extn": "1016" - } - }, - { - "0": "Lael Greer", - "hr": { - "position": "Systems Administrator", - "salary": "$103,500", - "start_date": "2009\/02\/27" - }, - "contact": { - "office": "London", - "extn": "6733" - } - }, - { - "0": "Jonas Alexander", - "hr": { - "position": "Developer", - "salary": "$86,500", - "start_date": "2010\/07\/14" - }, - "contact": { - "office": "San Francisco", - "extn": "8196" - } - }, - { - "0": "Shad Decker", - "hr": { - "position": "Regional Director", - "salary": "$183,000", - "start_date": "2008\/11\/13" - }, - "contact": { - "office": "Edinburgh", - "extn": "6373" - } - }, - { - "0": "Michael Bruce", - "hr": { - "position": "Javascript Developer", - "salary": "$183,000", - "start_date": "2011\/06\/27" - }, - "contact": { - "office": "Singapore", - "extn": "5384" - } - }, - { - "0": "Donna Snider", - "hr": { - "position": "Customer Support", - "salary": "$112,000", - "start_date": "2011\/01\/25" - }, - "contact": { - "office": "New York", - "extn": "4226" - } - } - ] -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects.txt deleted file mode 100644 index b908653ae8..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects.txt +++ /dev/null @@ -1,460 +0,0 @@ -{ - "data": [ - { - "name": "Tiger Nixon", - "position": "System Architect", - "salary": "$320,800", - "start_date": "2011\/04\/25", - "office": "Edinburgh", - "extn": "5421" - }, - { - "name": "Garrett Winters", - "position": "Accountant", - "salary": "$170,750", - "start_date": "2011\/07\/25", - "office": "Tokyo", - "extn": "8422" - }, - { - "name": "Ashton Cox", - "position": "Junior Technical Author", - "salary": "$86,000", - "start_date": "2009\/01\/12", - "office": "San Francisco", - "extn": "1562" - }, - { - "name": "Cedric Kelly", - "position": "Senior Javascript Developer", - "salary": "$433,060", - "start_date": "2012\/03\/29", - "office": "Edinburgh", - "extn": "6224" - }, - { - "name": "Airi Satou", - "position": "Accountant", - "salary": "$162,700", - "start_date": "2008\/11\/28", - "office": "Tokyo", - "extn": "5407" - }, - { - "name": "Brielle Williamson", - "position": "Integration Specialist", - "salary": "$372,000", - "start_date": "2012\/12\/02", - "office": "New York", - "extn": "4804" - }, - { - "name": "Herrod Chandler", - "position": "Sales Assistant", - "salary": "$137,500", - "start_date": "2012\/08\/06", - "office": "San Francisco", - "extn": "9608" - }, - { - "name": "Rhona Davidson", - "position": "Integration Specialist", - "salary": "$327,900", - "start_date": "2010\/10\/14", - "office": "Tokyo", - "extn": "6200" - }, - { - "name": "Colleen Hurst", - "position": "Javascript Developer", - "salary": "$205,500", - "start_date": "2009\/09\/15", - "office": "San Francisco", - "extn": "2360" - }, - { - "name": "Sonya Frost", - "position": "Software Engineer", - "salary": "$103,600", - "start_date": "2008\/12\/13", - "office": "Edinburgh", - "extn": "1667" - }, - { - "name": "Jena Gaines", - "position": "Office Manager", - "salary": "$90,560", - "start_date": "2008\/12\/19", - "office": "London", - "extn": "3814" - }, - { - "name": "Quinn Flynn", - "position": "Support Lead", - "salary": "$342,000", - "start_date": "2013\/03\/03", - "office": "Edinburgh", - "extn": "9497" - }, - { - "name": "Charde Marshall", - "position": "Regional Director", - "salary": "$470,600", - "start_date": "2008\/10\/16", - "office": "San Francisco", - "extn": "6741" - }, - { - "name": "Haley Kennedy", - "position": "Senior Marketing Designer", - "salary": "$313,500", - "start_date": "2012\/12\/18", - "office": "London", - "extn": "3597" - }, - { - "name": "Tatyana Fitzpatrick", - "position": "Regional Director", - "salary": "$385,750", - "start_date": "2010\/03\/17", - "office": "London", - "extn": "1965" - }, - { - "name": "Michael Silva", - "position": "Marketing Designer", - "salary": "$198,500", - "start_date": "2012\/11\/27", - "office": "London", - "extn": "1581" - }, - { - "name": "Paul Byrd", - "position": "Chief Financial Officer (CFO)", - "salary": "$725,000", - "start_date": "2010\/06\/09", - "office": "New York", - "extn": "3059" - }, - { - "name": "Gloria Little", - "position": "Systems Administrator", - "salary": "$237,500", - "start_date": "2009\/04\/10", - "office": "New York", - "extn": "1721" - }, - { - "name": "Bradley Greer", - "position": "Software Engineer", - "salary": "$132,000", - "start_date": "2012\/10\/13", - "office": "London", - "extn": "2558" - }, - { - "name": "Dai Rios", - "position": "Personnel Lead", - "salary": "$217,500", - "start_date": "2012\/09\/26", - "office": "Edinburgh", - "extn": "2290" - }, - { - "name": "Jenette Caldwell", - "position": "Development Lead", - "salary": "$345,000", - "start_date": "2011\/09\/03", - "office": "New York", - "extn": "1937" - }, - { - "name": "Yuri Berry", - "position": "Chief Marketing Officer (CMO)", - "salary": "$675,000", - "start_date": "2009\/06\/25", - "office": "New York", - "extn": "6154" - }, - { - "name": "Caesar Vance", - "position": "Pre-Sales Support", - "salary": "$106,450", - "start_date": "2011\/12\/12", - "office": "New York", - "extn": "8330" - }, - { - "name": "Doris Wilder", - "position": "Sales Assistant", - "salary": "$85,600", - "start_date": "2010\/09\/20", - "office": "Sidney", - "extn": "3023" - }, - { - "name": "Angelica Ramos", - "position": "Chief Executive Officer (CEO)", - "salary": "$1,200,000", - "start_date": "2009\/10\/09", - "office": "London", - "extn": "5797" - }, - { - "name": "Gavin Joyce", - "position": "Developer", - "salary": "$92,575", - "start_date": "2010\/12\/22", - "office": "Edinburgh", - "extn": "8822" - }, - { - "name": "Jennifer Chang", - "position": "Regional Director", - "salary": "$357,650", - "start_date": "2010\/11\/14", - "office": "Singapore", - "extn": "9239" - }, - { - "name": "Brenden Wagner", - "position": "Software Engineer", - "salary": "$206,850", - "start_date": "2011\/06\/07", - "office": "San Francisco", - "extn": "1314" - }, - { - "name": "Fiona Green", - "position": "Chief Operating Officer (COO)", - "salary": "$850,000", - "start_date": "2010\/03\/11", - "office": "San Francisco", - "extn": "2947" - }, - { - "name": "Shou Itou", - "position": "Regional Marketing", - "salary": "$163,000", - "start_date": "2011\/08\/14", - "office": "Tokyo", - "extn": "8899" - }, - { - "name": "Michelle House", - "position": "Integration Specialist", - "salary": "$95,400", - "start_date": "2011\/06\/02", - "office": "Sidney", - "extn": "2769" - }, - { - "name": "Suki Burks", - "position": "Developer", - "salary": "$114,500", - "start_date": "2009\/10\/22", - "office": "London", - "extn": "6832" - }, - { - "name": "Prescott Bartlett", - "position": "Technical Author", - "salary": "$145,000", - "start_date": "2011\/05\/07", - "office": "London", - "extn": "3606" - }, - { - "name": "Gavin Cortez", - "position": "Team Leader", - "salary": "$235,500", - "start_date": "2008\/10\/26", - "office": "San Francisco", - "extn": "2860" - }, - { - "name": "Martena Mccray", - "position": "Post-Sales support", - "salary": "$324,050", - "start_date": "2011\/03\/09", - "office": "Edinburgh", - "extn": "8240" - }, - { - "name": "Unity Butler", - "position": "Marketing Designer", - "salary": "$85,675", - "start_date": "2009\/12\/09", - "office": "San Francisco", - "extn": "5384" - }, - { - "name": "Howard Hatfield", - "position": "Office Manager", - "salary": "$164,500", - "start_date": "2008\/12\/16", - "office": "San Francisco", - "extn": "7031" - }, - { - "name": "Hope Fuentes", - "position": "Secretary", - "salary": "$109,850", - "start_date": "2010\/02\/12", - "office": "San Francisco", - "extn": "6318" - }, - { - "name": "Vivian Harrell", - "position": "Financial Controller", - "salary": "$452,500", - "start_date": "2009\/02\/14", - "office": "San Francisco", - "extn": "9422" - }, - { - "name": "Timothy Mooney", - "position": "Office Manager", - "salary": "$136,200", - "start_date": "2008\/12\/11", - "office": "London", - "extn": "7580" - }, - { - "name": "Jackson Bradshaw", - "position": "Director", - "salary": "$645,750", - "start_date": "2008\/09\/26", - "office": "New York", - "extn": "1042" - }, - { - "name": "Olivia Liang", - "position": "Support Engineer", - "salary": "$234,500", - "start_date": "2011\/02\/03", - "office": "Singapore", - "extn": "2120" - }, - { - "name": "Bruno Nash", - "position": "Software Engineer", - "salary": "$163,500", - "start_date": "2011\/05\/03", - "office": "London", - "extn": "6222" - }, - { - "name": "Sakura Yamamoto", - "position": "Support Engineer", - "salary": "$139,575", - "start_date": "2009\/08\/19", - "office": "Tokyo", - "extn": "9383" - }, - { - "name": "Thor Walton", - "position": "Developer", - "salary": "$98,540", - "start_date": "2013\/08\/11", - "office": "New York", - "extn": "8327" - }, - { - "name": "Finn Camacho", - "position": "Support Engineer", - "salary": "$87,500", - "start_date": "2009\/07\/07", - "office": "San Francisco", - "extn": "2927" - }, - { - "name": "Serge Baldwin", - "position": "Data Coordinator", - "salary": "$138,575", - "start_date": "2012\/04\/09", - "office": "Singapore", - "extn": "8352" - }, - { - "name": "Zenaida Frank", - "position": "Software Engineer", - "salary": "$125,250", - "start_date": "2010\/01\/04", - "office": "New York", - "extn": "7439" - }, - { - "name": "Zorita Serrano", - "position": "Software Engineer", - "salary": "$115,000", - "start_date": "2012\/06\/01", - "office": "San Francisco", - "extn": "4389" - }, - { - "name": "Jennifer Acosta", - "position": "Junior Javascript Developer", - "salary": "$75,650", - "start_date": "2013\/02\/01", - "office": "Edinburgh", - "extn": "3431" - }, - { - "name": "Cara Stevens", - "position": "Sales Assistant", - "salary": "$145,600", - "start_date": "2011\/12\/06", - "office": "New York", - "extn": "3990" - }, - { - "name": "Hermione Butler", - "position": "Regional Director", - "salary": "$356,250", - "start_date": "2011\/03\/21", - "office": "London", - "extn": "1016" - }, - { - "name": "Lael Greer", - "position": "Systems Administrator", - "salary": "$103,500", - "start_date": "2009\/02\/27", - "office": "London", - "extn": "6733" - }, - { - "name": "Jonas Alexander", - "position": "Developer", - "salary": "$86,500", - "start_date": "2010\/07\/14", - "office": "San Francisco", - "extn": "8196" - }, - { - "name": "Shad Decker", - "position": "Regional Director", - "salary": "$183,000", - "start_date": "2008\/11\/13", - "office": "Edinburgh", - "extn": "6373" - }, - { - "name": "Michael Bruce", - "position": "Javascript Developer", - "salary": "$183,000", - "start_date": "2011\/06\/27", - "office": "Singapore", - "extn": "5384" - }, - { - "name": "Donna Snider", - "position": "Customer Support", - "salary": "$112,000", - "start_date": "2011\/01\/25", - "office": "New York", - "extn": "4226" - } - ] -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_deep.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_deep.txt deleted file mode 100644 index a69f18d756..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_deep.txt +++ /dev/null @@ -1,688 +0,0 @@ -{ - "data": [ - { - "name": "Tiger Nixon", - "hr": { - "position": "System Architect", - "salary": "$320,800", - "start_date": "2011\/04\/25" - }, - "contact": [ - "Edinburgh", - "5421" - ] - }, - { - "name": "Garrett Winters", - "hr": { - "position": "Accountant", - "salary": "$170,750", - "start_date": "2011\/07\/25" - }, - "contact": [ - "Tokyo", - "8422" - ] - }, - { - "name": "Ashton Cox", - "hr": { - "position": "Junior Technical Author", - "salary": "$86,000", - "start_date": "2009\/01\/12" - }, - "contact": [ - "San Francisco", - "1562" - ] - }, - { - "name": "Cedric Kelly", - "hr": { - "position": "Senior Javascript Developer", - "salary": "$433,060", - "start_date": "2012\/03\/29" - }, - "contact": [ - "Edinburgh", - "6224" - ] - }, - { - "name": "Airi Satou", - "hr": { - "position": "Accountant", - "salary": "$162,700", - "start_date": "2008\/11\/28" - }, - "contact": [ - "Tokyo", - "5407" - ] - }, - { - "name": "Brielle Williamson", - "hr": { - "position": "Integration Specialist", - "salary": "$372,000", - "start_date": "2012\/12\/02" - }, - "contact": [ - "New York", - "4804" - ] - }, - { - "name": "Herrod Chandler", - "hr": { - "position": "Sales Assistant", - "salary": "$137,500", - "start_date": "2012\/08\/06" - }, - "contact": [ - "San Francisco", - "9608" - ] - }, - { - "name": "Rhona Davidson", - "hr": { - "position": "Integration Specialist", - "salary": "$327,900", - "start_date": "2010\/10\/14" - }, - "contact": [ - "Tokyo", - "6200" - ] - }, - { - "name": "Colleen Hurst", - "hr": { - "position": "Javascript Developer", - "salary": "$205,500", - "start_date": "2009\/09\/15" - }, - "contact": [ - "San Francisco", - "2360" - ] - }, - { - "name": "Sonya Frost", - "hr": { - "position": "Software Engineer", - "salary": "$103,600", - "start_date": "2008\/12\/13" - }, - "contact": [ - "Edinburgh", - "1667" - ] - }, - { - "name": "Jena Gaines", - "hr": { - "position": "Office Manager", - "salary": "$90,560", - "start_date": "2008\/12\/19" - }, - "contact": [ - "London", - "3814" - ] - }, - { - "name": "Quinn Flynn", - "hr": { - "position": "Support Lead", - "salary": "$342,000", - "start_date": "2013\/03\/03" - }, - "contact": [ - "Edinburgh", - "9497" - ] - }, - { - "name": "Charde Marshall", - "hr": { - "position": "Regional Director", - "salary": "$470,600", - "start_date": "2008\/10\/16" - }, - "contact": [ - "San Francisco", - "6741" - ] - }, - { - "name": "Haley Kennedy", - "hr": { - "position": "Senior Marketing Designer", - "salary": "$313,500", - "start_date": "2012\/12\/18" - }, - "contact": [ - "London", - "3597" - ] - }, - { - "name": "Tatyana Fitzpatrick", - "hr": { - "position": "Regional Director", - "salary": "$385,750", - "start_date": "2010\/03\/17" - }, - "contact": [ - "London", - "1965" - ] - }, - { - "name": "Michael Silva", - "hr": { - "position": "Marketing Designer", - "salary": "$198,500", - "start_date": "2012\/11\/27" - }, - "contact": [ - "London", - "1581" - ] - }, - { - "name": "Paul Byrd", - "hr": { - "position": "Chief Financial Officer (CFO)", - "salary": "$725,000", - "start_date": "2010\/06\/09" - }, - "contact": [ - "New York", - "3059" - ] - }, - { - "name": "Gloria Little", - "hr": { - "position": "Systems Administrator", - "salary": "$237,500", - "start_date": "2009\/04\/10" - }, - "contact": [ - "New York", - "1721" - ] - }, - { - "name": "Bradley Greer", - "hr": { - "position": "Software Engineer", - "salary": "$132,000", - "start_date": "2012\/10\/13" - }, - "contact": [ - "London", - "2558" - ] - }, - { - "name": "Dai Rios", - "hr": { - "position": "Personnel Lead", - "salary": "$217,500", - "start_date": "2012\/09\/26" - }, - "contact": [ - "Edinburgh", - "2290" - ] - }, - { - "name": "Jenette Caldwell", - "hr": { - "position": "Development Lead", - "salary": "$345,000", - "start_date": "2011\/09\/03" - }, - "contact": [ - "New York", - "1937" - ] - }, - { - "name": "Yuri Berry", - "hr": { - "position": "Chief Marketing Officer (CMO)", - "salary": "$675,000", - "start_date": "2009\/06\/25" - }, - "contact": [ - "New York", - "6154" - ] - }, - { - "name": "Caesar Vance", - "hr": { - "position": "Pre-Sales Support", - "salary": "$106,450", - "start_date": "2011\/12\/12" - }, - "contact": [ - "New York", - "8330" - ] - }, - { - "name": "Doris Wilder", - "hr": { - "position": "Sales Assistant", - "salary": "$85,600", - "start_date": "2010\/09\/20" - }, - "contact": [ - "Sidney", - "3023" - ] - }, - { - "name": "Angelica Ramos", - "hr": { - "position": "Chief Executive Officer (CEO)", - "salary": "$1,200,000", - "start_date": "2009\/10\/09" - }, - "contact": [ - "London", - "5797" - ] - }, - { - "name": "Gavin Joyce", - "hr": { - "position": "Developer", - "salary": "$92,575", - "start_date": "2010\/12\/22" - }, - "contact": [ - "Edinburgh", - "8822" - ] - }, - { - "name": "Jennifer Chang", - "hr": { - "position": "Regional Director", - "salary": "$357,650", - "start_date": "2010\/11\/14" - }, - "contact": [ - "Singapore", - "9239" - ] - }, - { - "name": "Brenden Wagner", - "hr": { - "position": "Software Engineer", - "salary": "$206,850", - "start_date": "2011\/06\/07" - }, - "contact": [ - "San Francisco", - "1314" - ] - }, - { - "name": "Fiona Green", - "hr": { - "position": "Chief Operating Officer (COO)", - "salary": "$850,000", - "start_date": "2010\/03\/11" - }, - "contact": [ - "San Francisco", - "2947" - ] - }, - { - "name": "Shou Itou", - "hr": { - "position": "Regional Marketing", - "salary": "$163,000", - "start_date": "2011\/08\/14" - }, - "contact": [ - "Tokyo", - "8899" - ] - }, - { - "name": "Michelle House", - "hr": { - "position": "Integration Specialist", - "salary": "$95,400", - "start_date": "2011\/06\/02" - }, - "contact": [ - "Sidney", - "2769" - ] - }, - { - "name": "Suki Burks", - "hr": { - "position": "Developer", - "salary": "$114,500", - "start_date": "2009\/10\/22" - }, - "contact": [ - "London", - "6832" - ] - }, - { - "name": "Prescott Bartlett", - "hr": { - "position": "Technical Author", - "salary": "$145,000", - "start_date": "2011\/05\/07" - }, - "contact": [ - "London", - "3606" - ] - }, - { - "name": "Gavin Cortez", - "hr": { - "position": "Team Leader", - "salary": "$235,500", - "start_date": "2008\/10\/26" - }, - "contact": [ - "San Francisco", - "2860" - ] - }, - { - "name": "Martena Mccray", - "hr": { - "position": "Post-Sales support", - "salary": "$324,050", - "start_date": "2011\/03\/09" - }, - "contact": [ - "Edinburgh", - "8240" - ] - }, - { - "name": "Unity Butler", - "hr": { - "position": "Marketing Designer", - "salary": "$85,675", - "start_date": "2009\/12\/09" - }, - "contact": [ - "San Francisco", - "5384" - ] - }, - { - "name": "Howard Hatfield", - "hr": { - "position": "Office Manager", - "salary": "$164,500", - "start_date": "2008\/12\/16" - }, - "contact": [ - "San Francisco", - "7031" - ] - }, - { - "name": "Hope Fuentes", - "hr": { - "position": "Secretary", - "salary": "$109,850", - "start_date": "2010\/02\/12" - }, - "contact": [ - "San Francisco", - "6318" - ] - }, - { - "name": "Vivian Harrell", - "hr": { - "position": "Financial Controller", - "salary": "$452,500", - "start_date": "2009\/02\/14" - }, - "contact": [ - "San Francisco", - "9422" - ] - }, - { - "name": "Timothy Mooney", - "hr": { - "position": "Office Manager", - "salary": "$136,200", - "start_date": "2008\/12\/11" - }, - "contact": [ - "London", - "7580" - ] - }, - { - "name": "Jackson Bradshaw", - "hr": { - "position": "Director", - "salary": "$645,750", - "start_date": "2008\/09\/26" - }, - "contact": [ - "New York", - "1042" - ] - }, - { - "name": "Olivia Liang", - "hr": { - "position": "Support Engineer", - "salary": "$234,500", - "start_date": "2011\/02\/03" - }, - "contact": [ - "Singapore", - "2120" - ] - }, - { - "name": "Bruno Nash", - "hr": { - "position": "Software Engineer", - "salary": "$163,500", - "start_date": "2011\/05\/03" - }, - "contact": [ - "London", - "6222" - ] - }, - { - "name": "Sakura Yamamoto", - "hr": { - "position": "Support Engineer", - "salary": "$139,575", - "start_date": "2009\/08\/19" - }, - "contact": [ - "Tokyo", - "9383" - ] - }, - { - "name": "Thor Walton", - "hr": { - "position": "Developer", - "salary": "$98,540", - "start_date": "2013\/08\/11" - }, - "contact": [ - "New York", - "8327" - ] - }, - { - "name": "Finn Camacho", - "hr": { - "position": "Support Engineer", - "salary": "$87,500", - "start_date": "2009\/07\/07" - }, - "contact": [ - "San Francisco", - "2927" - ] - }, - { - "name": "Serge Baldwin", - "hr": { - "position": "Data Coordinator", - "salary": "$138,575", - "start_date": "2012\/04\/09" - }, - "contact": [ - "Singapore", - "8352" - ] - }, - { - "name": "Zenaida Frank", - "hr": { - "position": "Software Engineer", - "salary": "$125,250", - "start_date": "2010\/01\/04" - }, - "contact": [ - "New York", - "7439" - ] - }, - { - "name": "Zorita Serrano", - "hr": { - "position": "Software Engineer", - "salary": "$115,000", - "start_date": "2012\/06\/01" - }, - "contact": [ - "San Francisco", - "4389" - ] - }, - { - "name": "Jennifer Acosta", - "hr": { - "position": "Junior Javascript Developer", - "salary": "$75,650", - "start_date": "2013\/02\/01" - }, - "contact": [ - "Edinburgh", - "3431" - ] - }, - { - "name": "Cara Stevens", - "hr": { - "position": "Sales Assistant", - "salary": "$145,600", - "start_date": "2011\/12\/06" - }, - "contact": [ - "New York", - "3990" - ] - }, - { - "name": "Hermione Butler", - "hr": { - "position": "Regional Director", - "salary": "$356,250", - "start_date": "2011\/03\/21" - }, - "contact": [ - "London", - "1016" - ] - }, - { - "name": "Lael Greer", - "hr": { - "position": "Systems Administrator", - "salary": "$103,500", - "start_date": "2009\/02\/27" - }, - "contact": [ - "London", - "6733" - ] - }, - { - "name": "Jonas Alexander", - "hr": { - "position": "Developer", - "salary": "$86,500", - "start_date": "2010\/07\/14" - }, - "contact": [ - "San Francisco", - "8196" - ] - }, - { - "name": "Shad Decker", - "hr": { - "position": "Regional Director", - "salary": "$183,000", - "start_date": "2008\/11\/13" - }, - "contact": [ - "Edinburgh", - "6373" - ] - }, - { - "name": "Michael Bruce", - "hr": { - "position": "Javascript Developer", - "salary": "$183,000", - "start_date": "2011\/06\/27" - }, - "contact": [ - "Singapore", - "5384" - ] - }, - { - "name": "Donna Snider", - "hr": { - "position": "Customer Support", - "salary": "$112,000", - "start_date": "2011\/01\/25" - }, - "contact": [ - "New York", - "4226" - ] - } - ] -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_root_array.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_root_array.txt deleted file mode 100644 index 1c2faf3439..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_root_array.txt +++ /dev/null @@ -1,458 +0,0 @@ -[ - { - "name": "Tiger Nixon", - "position": "System Architect", - "salary": "$320,800", - "start_date": "2011\/04\/25", - "office": "Edinburgh", - "extn": "5421" - }, - { - "name": "Garrett Winters", - "position": "Accountant", - "salary": "$170,750", - "start_date": "2011\/07\/25", - "office": "Tokyo", - "extn": "8422" - }, - { - "name": "Ashton Cox", - "position": "Junior Technical Author", - "salary": "$86,000", - "start_date": "2009\/01\/12", - "office": "San Francisco", - "extn": "1562" - }, - { - "name": "Cedric Kelly", - "position": "Senior Javascript Developer", - "salary": "$433,060", - "start_date": "2012\/03\/29", - "office": "Edinburgh", - "extn": "6224" - }, - { - "name": "Airi Satou", - "position": "Accountant", - "salary": "$162,700", - "start_date": "2008\/11\/28", - "office": "Tokyo", - "extn": "5407" - }, - { - "name": "Brielle Williamson", - "position": "Integration Specialist", - "salary": "$372,000", - "start_date": "2012\/12\/02", - "office": "New York", - "extn": "4804" - }, - { - "name": "Herrod Chandler", - "position": "Sales Assistant", - "salary": "$137,500", - "start_date": "2012\/08\/06", - "office": "San Francisco", - "extn": "9608" - }, - { - "name": "Rhona Davidson", - "position": "Integration Specialist", - "salary": "$327,900", - "start_date": "2010\/10\/14", - "office": "Tokyo", - "extn": "6200" - }, - { - "name": "Colleen Hurst", - "position": "Javascript Developer", - "salary": "$205,500", - "start_date": "2009\/09\/15", - "office": "San Francisco", - "extn": "2360" - }, - { - "name": "Sonya Frost", - "position": "Software Engineer", - "salary": "$103,600", - "start_date": "2008\/12\/13", - "office": "Edinburgh", - "extn": "1667" - }, - { - "name": "Jena Gaines", - "position": "Office Manager", - "salary": "$90,560", - "start_date": "2008\/12\/19", - "office": "London", - "extn": "3814" - }, - { - "name": "Quinn Flynn", - "position": "Support Lead", - "salary": "$342,000", - "start_date": "2013\/03\/03", - "office": "Edinburgh", - "extn": "9497" - }, - { - "name": "Charde Marshall", - "position": "Regional Director", - "salary": "$470,600", - "start_date": "2008\/10\/16", - "office": "San Francisco", - "extn": "6741" - }, - { - "name": "Haley Kennedy", - "position": "Senior Marketing Designer", - "salary": "$313,500", - "start_date": "2012\/12\/18", - "office": "London", - "extn": "3597" - }, - { - "name": "Tatyana Fitzpatrick", - "position": "Regional Director", - "salary": "$385,750", - "start_date": "2010\/03\/17", - "office": "London", - "extn": "1965" - }, - { - "name": "Michael Silva", - "position": "Marketing Designer", - "salary": "$198,500", - "start_date": "2012\/11\/27", - "office": "London", - "extn": "1581" - }, - { - "name": "Paul Byrd", - "position": "Chief Financial Officer (CFO)", - "salary": "$725,000", - "start_date": "2010\/06\/09", - "office": "New York", - "extn": "3059" - }, - { - "name": "Gloria Little", - "position": "Systems Administrator", - "salary": "$237,500", - "start_date": "2009\/04\/10", - "office": "New York", - "extn": "1721" - }, - { - "name": "Bradley Greer", - "position": "Software Engineer", - "salary": "$132,000", - "start_date": "2012\/10\/13", - "office": "London", - "extn": "2558" - }, - { - "name": "Dai Rios", - "position": "Personnel Lead", - "salary": "$217,500", - "start_date": "2012\/09\/26", - "office": "Edinburgh", - "extn": "2290" - }, - { - "name": "Jenette Caldwell", - "position": "Development Lead", - "salary": "$345,000", - "start_date": "2011\/09\/03", - "office": "New York", - "extn": "1937" - }, - { - "name": "Yuri Berry", - "position": "Chief Marketing Officer (CMO)", - "salary": "$675,000", - "start_date": "2009\/06\/25", - "office": "New York", - "extn": "6154" - }, - { - "name": "Caesar Vance", - "position": "Pre-Sales Support", - "salary": "$106,450", - "start_date": "2011\/12\/12", - "office": "New York", - "extn": "8330" - }, - { - "name": "Doris Wilder", - "position": "Sales Assistant", - "salary": "$85,600", - "start_date": "2010\/09\/20", - "office": "Sidney", - "extn": "3023" - }, - { - "name": "Angelica Ramos", - "position": "Chief Executive Officer (CEO)", - "salary": "$1,200,000", - "start_date": "2009\/10\/09", - "office": "London", - "extn": "5797" - }, - { - "name": "Gavin Joyce", - "position": "Developer", - "salary": "$92,575", - "start_date": "2010\/12\/22", - "office": "Edinburgh", - "extn": "8822" - }, - { - "name": "Jennifer Chang", - "position": "Regional Director", - "salary": "$357,650", - "start_date": "2010\/11\/14", - "office": "Singapore", - "extn": "9239" - }, - { - "name": "Brenden Wagner", - "position": "Software Engineer", - "salary": "$206,850", - "start_date": "2011\/06\/07", - "office": "San Francisco", - "extn": "1314" - }, - { - "name": "Fiona Green", - "position": "Chief Operating Officer (COO)", - "salary": "$850,000", - "start_date": "2010\/03\/11", - "office": "San Francisco", - "extn": "2947" - }, - { - "name": "Shou Itou", - "position": "Regional Marketing", - "salary": "$163,000", - "start_date": "2011\/08\/14", - "office": "Tokyo", - "extn": "8899" - }, - { - "name": "Michelle House", - "position": "Integration Specialist", - "salary": "$95,400", - "start_date": "2011\/06\/02", - "office": "Sidney", - "extn": "2769" - }, - { - "name": "Suki Burks", - "position": "Developer", - "salary": "$114,500", - "start_date": "2009\/10\/22", - "office": "London", - "extn": "6832" - }, - { - "name": "Prescott Bartlett", - "position": "Technical Author", - "salary": "$145,000", - "start_date": "2011\/05\/07", - "office": "London", - "extn": "3606" - }, - { - "name": "Gavin Cortez", - "position": "Team Leader", - "salary": "$235,500", - "start_date": "2008\/10\/26", - "office": "San Francisco", - "extn": "2860" - }, - { - "name": "Martena Mccray", - "position": "Post-Sales support", - "salary": "$324,050", - "start_date": "2011\/03\/09", - "office": "Edinburgh", - "extn": "8240" - }, - { - "name": "Unity Butler", - "position": "Marketing Designer", - "salary": "$85,675", - "start_date": "2009\/12\/09", - "office": "San Francisco", - "extn": "5384" - }, - { - "name": "Howard Hatfield", - "position": "Office Manager", - "salary": "$164,500", - "start_date": "2008\/12\/16", - "office": "San Francisco", - "extn": "7031" - }, - { - "name": "Hope Fuentes", - "position": "Secretary", - "salary": "$109,850", - "start_date": "2010\/02\/12", - "office": "San Francisco", - "extn": "6318" - }, - { - "name": "Vivian Harrell", - "position": "Financial Controller", - "salary": "$452,500", - "start_date": "2009\/02\/14", - "office": "San Francisco", - "extn": "9422" - }, - { - "name": "Timothy Mooney", - "position": "Office Manager", - "salary": "$136,200", - "start_date": "2008\/12\/11", - "office": "London", - "extn": "7580" - }, - { - "name": "Jackson Bradshaw", - "position": "Director", - "salary": "$645,750", - "start_date": "2008\/09\/26", - "office": "New York", - "extn": "1042" - }, - { - "name": "Olivia Liang", - "position": "Support Engineer", - "salary": "$234,500", - "start_date": "2011\/02\/03", - "office": "Singapore", - "extn": "2120" - }, - { - "name": "Bruno Nash", - "position": "Software Engineer", - "salary": "$163,500", - "start_date": "2011\/05\/03", - "office": "London", - "extn": "6222" - }, - { - "name": "Sakura Yamamoto", - "position": "Support Engineer", - "salary": "$139,575", - "start_date": "2009\/08\/19", - "office": "Tokyo", - "extn": "9383" - }, - { - "name": "Thor Walton", - "position": "Developer", - "salary": "$98,540", - "start_date": "2013\/08\/11", - "office": "New York", - "extn": "8327" - }, - { - "name": "Finn Camacho", - "position": "Support Engineer", - "salary": "$87,500", - "start_date": "2009\/07\/07", - "office": "San Francisco", - "extn": "2927" - }, - { - "name": "Serge Baldwin", - "position": "Data Coordinator", - "salary": "$138,575", - "start_date": "2012\/04\/09", - "office": "Singapore", - "extn": "8352" - }, - { - "name": "Zenaida Frank", - "position": "Software Engineer", - "salary": "$125,250", - "start_date": "2010\/01\/04", - "office": "New York", - "extn": "7439" - }, - { - "name": "Zorita Serrano", - "position": "Software Engineer", - "salary": "$115,000", - "start_date": "2012\/06\/01", - "office": "San Francisco", - "extn": "4389" - }, - { - "name": "Jennifer Acosta", - "position": "Junior Javascript Developer", - "salary": "$75,650", - "start_date": "2013\/02\/01", - "office": "Edinburgh", - "extn": "3431" - }, - { - "name": "Cara Stevens", - "position": "Sales Assistant", - "salary": "$145,600", - "start_date": "2011\/12\/06", - "office": "New York", - "extn": "3990" - }, - { - "name": "Hermione Butler", - "position": "Regional Director", - "salary": "$356,250", - "start_date": "2011\/03\/21", - "office": "London", - "extn": "1016" - }, - { - "name": "Lael Greer", - "position": "Systems Administrator", - "salary": "$103,500", - "start_date": "2009\/02\/27", - "office": "London", - "extn": "6733" - }, - { - "name": "Jonas Alexander", - "position": "Developer", - "salary": "$86,500", - "start_date": "2010\/07\/14", - "office": "San Francisco", - "extn": "8196" - }, - { - "name": "Shad Decker", - "position": "Regional Director", - "salary": "$183,000", - "start_date": "2008\/11\/13", - "office": "Edinburgh", - "extn": "6373" - }, - { - "name": "Michael Bruce", - "position": "Javascript Developer", - "salary": "$183,000", - "start_date": "2011\/06\/27", - "office": "Singapore", - "extn": "5384" - }, - { - "name": "Donna Snider", - "position": "Customer Support", - "salary": "$112,000", - "start_date": "2011\/01\/25", - "office": "New York", - "extn": "4226" - } -] \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_subarrays.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_subarrays.txt deleted file mode 100644 index fd4b0ffdc9..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/objects_subarrays.txt +++ /dev/null @@ -1,745 +0,0 @@ -{ - "data": [ - { - "name": [ - "Nixon", - "Tiger" - ], - "hr": [ - "System Architect", - "$320,800", - "2011\/04\/25" - ], - "office": "Edinburgh", - "extn": "5421" - }, - { - "name": [ - "Winters", - "Garrett" - ], - "hr": [ - "Accountant", - "$170,750", - "2011\/07\/25" - ], - "office": "Tokyo", - "extn": "8422" - }, - { - "name": [ - "Cox", - "Ashton" - ], - "hr": [ - "Junior Technical Author", - "$86,000", - "2009\/01\/12" - ], - "office": "San Francisco", - "extn": "1562" - }, - { - "name": [ - "Kelly", - "Cedric" - ], - "hr": [ - "Senior Javascript Developer", - "$433,060", - "2012\/03\/29" - ], - "office": "Edinburgh", - "extn": "6224" - }, - { - "name": [ - "Satou", - "Airi" - ], - "hr": [ - "Accountant", - "$162,700", - "2008\/11\/28" - ], - "office": "Tokyo", - "extn": "5407" - }, - { - "name": [ - "Williamson", - "Brielle" - ], - "hr": [ - "Integration Specialist", - "$372,000", - "2012\/12\/02" - ], - "office": "New York", - "extn": "4804" - }, - { - "name": [ - "Chandler", - "Herrod" - ], - "hr": [ - "Sales Assistant", - "$137,500", - "2012\/08\/06" - ], - "office": "San Francisco", - "extn": "9608" - }, - { - "name": [ - "Davidson", - "Rhona" - ], - "hr": [ - "Integration Specialist", - "$327,900", - "2010\/10\/14" - ], - "office": "Tokyo", - "extn": "6200" - }, - { - "name": [ - "Hurst", - "Colleen" - ], - "hr": [ - "Javascript Developer", - "$205,500", - "2009\/09\/15" - ], - "office": "San Francisco", - "extn": "2360" - }, - { - "name": [ - "Frost", - "Sonya" - ], - "hr": [ - "Software Engineer", - "$103,600", - "2008\/12\/13" - ], - "office": "Edinburgh", - "extn": "1667" - }, - { - "name": [ - "Gaines", - "Jena" - ], - "hr": [ - "Office Manager", - "$90,560", - "2008\/12\/19" - ], - "office": "London", - "extn": "3814" - }, - { - "name": [ - "Flynn", - "Quinn" - ], - "hr": [ - "Support Lead", - "$342,000", - "2013\/03\/03" - ], - "office": "Edinburgh", - "extn": "9497" - }, - { - "name": [ - "Marshall", - "Charde" - ], - "hr": [ - "Regional Director", - "$470,600", - "2008\/10\/16" - ], - "office": "San Francisco", - "extn": "6741" - }, - { - "name": [ - "Kennedy", - "Haley" - ], - "hr": [ - "Senior Marketing Designer", - "$313,500", - "2012\/12\/18" - ], - "office": "London", - "extn": "3597" - }, - { - "name": [ - "Fitzpatrick", - "Tatyana" - ], - "hr": [ - "Regional Director", - "$385,750", - "2010\/03\/17" - ], - "office": "London", - "extn": "1965" - }, - { - "name": [ - "Silva", - "Michael" - ], - "hr": [ - "Marketing Designer", - "$198,500", - "2012\/11\/27" - ], - "office": "London", - "extn": "1581" - }, - { - "name": [ - "Byrd", - "Paul" - ], - "hr": [ - "Chief Financial Officer (CFO)", - "$725,000", - "2010\/06\/09" - ], - "office": "New York", - "extn": "3059" - }, - { - "name": [ - "Little", - "Gloria" - ], - "hr": [ - "Systems Administrator", - "$237,500", - "2009\/04\/10" - ], - "office": "New York", - "extn": "1721" - }, - { - "name": [ - "Greer", - "Bradley" - ], - "hr": [ - "Software Engineer", - "$132,000", - "2012\/10\/13" - ], - "office": "London", - "extn": "2558" - }, - { - "name": [ - "Rios", - "Dai" - ], - "hr": [ - "Personnel Lead", - "$217,500", - "2012\/09\/26" - ], - "office": "Edinburgh", - "extn": "2290" - }, - { - "name": [ - "Caldwell", - "Jenette" - ], - "hr": [ - "Development Lead", - "$345,000", - "2011\/09\/03" - ], - "office": "New York", - "extn": "1937" - }, - { - "name": [ - "Berry", - "Yuri" - ], - "hr": [ - "Chief Marketing Officer (CMO)", - "$675,000", - "2009\/06\/25" - ], - "office": "New York", - "extn": "6154" - }, - { - "name": [ - "Vance", - "Caesar" - ], - "hr": [ - "Pre-Sales Support", - "$106,450", - "2011\/12\/12" - ], - "office": "New York", - "extn": "8330" - }, - { - "name": [ - "Wilder", - "Doris" - ], - "hr": [ - "Sales Assistant", - "$85,600", - "2010\/09\/20" - ], - "office": "Sidney", - "extn": "3023" - }, - { - "name": [ - "Ramos", - "Angelica" - ], - "hr": [ - "Chief Executive Officer (CEO)", - "$1,200,000", - "2009\/10\/09" - ], - "office": "London", - "extn": "5797" - }, - { - "name": [ - "Joyce", - "Gavin" - ], - "hr": [ - "Developer", - "$92,575", - "2010\/12\/22" - ], - "office": "Edinburgh", - "extn": "8822" - }, - { - "name": [ - "Chang", - "Jennifer" - ], - "hr": [ - "Regional Director", - "$357,650", - "2010\/11\/14" - ], - "office": "Singapore", - "extn": "9239" - }, - { - "name": [ - "Wagner", - "Brenden" - ], - "hr": [ - "Software Engineer", - "$206,850", - "2011\/06\/07" - ], - "office": "San Francisco", - "extn": "1314" - }, - { - "name": [ - "Green", - "Fiona" - ], - "hr": [ - "Chief Operating Officer (COO)", - "$850,000", - "2010\/03\/11" - ], - "office": "San Francisco", - "extn": "2947" - }, - { - "name": [ - "Itou", - "Shou" - ], - "hr": [ - "Regional Marketing", - "$163,000", - "2011\/08\/14" - ], - "office": "Tokyo", - "extn": "8899" - }, - { - "name": [ - "House", - "Michelle" - ], - "hr": [ - "Integration Specialist", - "$95,400", - "2011\/06\/02" - ], - "office": "Sidney", - "extn": "2769" - }, - { - "name": [ - "Burks", - "Suki" - ], - "hr": [ - "Developer", - "$114,500", - "2009\/10\/22" - ], - "office": "London", - "extn": "6832" - }, - { - "name": [ - "Bartlett", - "Prescott" - ], - "hr": [ - "Technical Author", - "$145,000", - "2011\/05\/07" - ], - "office": "London", - "extn": "3606" - }, - { - "name": [ - "Cortez", - "Gavin" - ], - "hr": [ - "Team Leader", - "$235,500", - "2008\/10\/26" - ], - "office": "San Francisco", - "extn": "2860" - }, - { - "name": [ - "Mccray", - "Martena" - ], - "hr": [ - "Post-Sales support", - "$324,050", - "2011\/03\/09" - ], - "office": "Edinburgh", - "extn": "8240" - }, - { - "name": [ - "Butler", - "Unity" - ], - "hr": [ - "Marketing Designer", - "$85,675", - "2009\/12\/09" - ], - "office": "San Francisco", - "extn": "5384" - }, - { - "name": [ - "Hatfield", - "Howard" - ], - "hr": [ - "Office Manager", - "$164,500", - "2008\/12\/16" - ], - "office": "San Francisco", - "extn": "7031" - }, - { - "name": [ - "Fuentes", - "Hope" - ], - "hr": [ - "Secretary", - "$109,850", - "2010\/02\/12" - ], - "office": "San Francisco", - "extn": "6318" - }, - { - "name": [ - "Harrell", - "Vivian" - ], - "hr": [ - "Financial Controller", - "$452,500", - "2009\/02\/14" - ], - "office": "San Francisco", - "extn": "9422" - }, - { - "name": [ - "Mooney", - "Timothy" - ], - "hr": [ - "Office Manager", - "$136,200", - "2008\/12\/11" - ], - "office": "London", - "extn": "7580" - }, - { - "name": [ - "Bradshaw", - "Jackson" - ], - "hr": [ - "Director", - "$645,750", - "2008\/09\/26" - ], - "office": "New York", - "extn": "1042" - }, - { - "name": [ - "Liang", - "Olivia" - ], - "hr": [ - "Support Engineer", - "$234,500", - "2011\/02\/03" - ], - "office": "Singapore", - "extn": "2120" - }, - { - "name": [ - "Nash", - "Bruno" - ], - "hr": [ - "Software Engineer", - "$163,500", - "2011\/05\/03" - ], - "office": "London", - "extn": "6222" - }, - { - "name": [ - "Yamamoto", - "Sakura" - ], - "hr": [ - "Support Engineer", - "$139,575", - "2009\/08\/19" - ], - "office": "Tokyo", - "extn": "9383" - }, - { - "name": [ - "Walton", - "Thor" - ], - "hr": [ - "Developer", - "$98,540", - "2013\/08\/11" - ], - "office": "New York", - "extn": "8327" - }, - { - "name": [ - "Camacho", - "Finn" - ], - "hr": [ - "Support Engineer", - "$87,500", - "2009\/07\/07" - ], - "office": "San Francisco", - "extn": "2927" - }, - { - "name": [ - "Baldwin", - "Serge" - ], - "hr": [ - "Data Coordinator", - "$138,575", - "2012\/04\/09" - ], - "office": "Singapore", - "extn": "8352" - }, - { - "name": [ - "Frank", - "Zenaida" - ], - "hr": [ - "Software Engineer", - "$125,250", - "2010\/01\/04" - ], - "office": "New York", - "extn": "7439" - }, - { - "name": [ - "Serrano", - "Zorita" - ], - "hr": [ - "Software Engineer", - "$115,000", - "2012\/06\/01" - ], - "office": "San Francisco", - "extn": "4389" - }, - { - "name": [ - "Acosta", - "Jennifer" - ], - "hr": [ - "Junior Javascript Developer", - "$75,650", - "2013\/02\/01" - ], - "office": "Edinburgh", - "extn": "3431" - }, - { - "name": [ - "Stevens", - "Cara" - ], - "hr": [ - "Sales Assistant", - "$145,600", - "2011\/12\/06" - ], - "office": "New York", - "extn": "3990" - }, - { - "name": [ - "Butler", - "Hermione" - ], - "hr": [ - "Regional Director", - "$356,250", - "2011\/03\/21" - ], - "office": "London", - "extn": "1016" - }, - { - "name": [ - "Greer", - "Lael" - ], - "hr": [ - "Systems Administrator", - "$103,500", - "2009\/02\/27" - ], - "office": "London", - "extn": "6733" - }, - { - "name": [ - "Alexander", - "Jonas" - ], - "hr": [ - "Developer", - "$86,500", - "2010\/07\/14" - ], - "office": "San Francisco", - "extn": "8196" - }, - { - "name": [ - "Decker", - "Shad" - ], - "hr": [ - "Regional Director", - "$183,000", - "2008\/11\/13" - ], - "office": "Edinburgh", - "extn": "6373" - }, - { - "name": [ - "Bruce", - "Michael" - ], - "hr": [ - "Javascript Developer", - "$183,000", - "2011\/06\/27" - ], - "office": "Singapore", - "extn": "5384" - }, - { - "name": [ - "Snider", - "Donna" - ], - "hr": [ - "Customer Support", - "$112,000", - "2011\/01\/25" - ], - "office": "New York", - "extn": "4226" - } - ] -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/data/orthogonal.txt b/src/sunstone/public/bower_components/datatables/examples/ajax/data/orthogonal.txt deleted file mode 100644 index 11b408c6c6..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/data/orthogonal.txt +++ /dev/null @@ -1,631 +0,0 @@ -{ - "data": [ - { - "name": "Tiger Nixon", - "position": "System Architect", - "salary": "$320,800", - "start_date": { - "display": "Mon 25th Apr 11", - "timestamp": "1303686000" - }, - "office": "Edinburgh", - "extn": "5421" - }, - { - "name": "Garrett Winters", - "position": "Accountant", - "salary": "$170,750", - "start_date": { - "display": "Mon 25th Jul 11", - "timestamp": "1311548400" - }, - "office": "Tokyo", - "extn": "8422" - }, - { - "name": "Ashton Cox", - "position": "Junior Technical Author", - "salary": "$86,000", - "start_date": { - "display": "Mon 12th Jan 09", - "timestamp": "1231718400" - }, - "office": "San Francisco", - "extn": "1562" - }, - { - "name": "Cedric Kelly", - "position": "Senior Javascript Developer", - "salary": "$433,060", - "start_date": { - "display": "Thu 29th Mar 12", - "timestamp": "1332975600" - }, - "office": "Edinburgh", - "extn": "6224" - }, - { - "name": "Airi Satou", - "position": "Accountant", - "salary": "$162,700", - "start_date": { - "display": "Fri 28th Nov 08", - "timestamp": "1227830400" - }, - "office": "Tokyo", - "extn": "5407" - }, - { - "name": "Brielle Williamson", - "position": "Integration Specialist", - "salary": "$372,000", - "start_date": { - "display": "Sun 2nd Dec 12", - "timestamp": "1354406400" - }, - "office": "New York", - "extn": "4804" - }, - { - "name": "Herrod Chandler", - "position": "Sales Assistant", - "salary": "$137,500", - "start_date": { - "display": "Mon 6th Aug 12", - "timestamp": "1344207600" - }, - "office": "San Francisco", - "extn": "9608" - }, - { - "name": "Rhona Davidson", - "position": "Integration Specialist", - "salary": "$327,900", - "start_date": { - "display": "Thu 14th Oct 10", - "timestamp": "1287010800" - }, - "office": "Tokyo", - "extn": "6200" - }, - { - "name": "Colleen Hurst", - "position": "Javascript Developer", - "salary": "$205,500", - "start_date": { - "display": "Tue 15th Sep 09", - "timestamp": "1252969200" - }, - "office": "San Francisco", - "extn": "2360" - }, - { - "name": "Sonya Frost", - "position": "Software Engineer", - "salary": "$103,600", - "start_date": { - "display": "Sat 13th Dec 08", - "timestamp": "1229126400" - }, - "office": "Edinburgh", - "extn": "1667" - }, - { - "name": "Jena Gaines", - "position": "Office Manager", - "salary": "$90,560", - "start_date": { - "display": "Fri 19th Dec 08", - "timestamp": "1229644800" - }, - "office": "London", - "extn": "3814" - }, - { - "name": "Quinn Flynn", - "position": "Support Lead", - "salary": "$342,000", - "start_date": { - "display": "Sun 3rd Mar 13", - "timestamp": "1362268800" - }, - "office": "Edinburgh", - "extn": "9497" - }, - { - "name": "Charde Marshall", - "position": "Regional Director", - "salary": "$470,600", - "start_date": { - "display": "Thu 16th Oct 08", - "timestamp": "1224111600" - }, - "office": "San Francisco", - "extn": "6741" - }, - { - "name": "Haley Kennedy", - "position": "Senior Marketing Designer", - "salary": "$313,500", - "start_date": { - "display": "Tue 18th Dec 12", - "timestamp": "1355788800" - }, - "office": "London", - "extn": "3597" - }, - { - "name": "Tatyana Fitzpatrick", - "position": "Regional Director", - "salary": "$385,750", - "start_date": { - "display": "Wed 17th Mar 10", - "timestamp": "1268784000" - }, - "office": "London", - "extn": "1965" - }, - { - "name": "Michael Silva", - "position": "Marketing Designer", - "salary": "$198,500", - "start_date": { - "display": "Tue 27th Nov 12", - "timestamp": "1353974400" - }, - "office": "London", - "extn": "1581" - }, - { - "name": "Paul Byrd", - "position": "Chief Financial Officer (CFO)", - "salary": "$725,000", - "start_date": { - "display": "Wed 9th Jun 10", - "timestamp": "1276038000" - }, - "office": "New York", - "extn": "3059" - }, - { - "name": "Gloria Little", - "position": "Systems Administrator", - "salary": "$237,500", - "start_date": { - "display": "Fri 10th Apr 09", - "timestamp": "1239318000" - }, - "office": "New York", - "extn": "1721" - }, - { - "name": "Bradley Greer", - "position": "Software Engineer", - "salary": "$132,000", - "start_date": { - "display": "Sat 13th Oct 12", - "timestamp": "1350082800" - }, - "office": "London", - "extn": "2558" - }, - { - "name": "Dai Rios", - "position": "Personnel Lead", - "salary": "$217,500", - "start_date": { - "display": "Wed 26th Sep 12", - "timestamp": "1348614000" - }, - "office": "Edinburgh", - "extn": "2290" - }, - { - "name": "Jenette Caldwell", - "position": "Development Lead", - "salary": "$345,000", - "start_date": { - "display": "Sat 3rd Sep 11", - "timestamp": "1315004400" - }, - "office": "New York", - "extn": "1937" - }, - { - "name": "Yuri Berry", - "position": "Chief Marketing Officer (CMO)", - "salary": "$675,000", - "start_date": { - "display": "Thu 25th Jun 09", - "timestamp": "1245884400" - }, - "office": "New York", - "extn": "6154" - }, - { - "name": "Caesar Vance", - "position": "Pre-Sales Support", - "salary": "$106,450", - "start_date": { - "display": "Mon 12th Dec 11", - "timestamp": "1323648000" - }, - "office": "New York", - "extn": "8330" - }, - { - "name": "Doris Wilder", - "position": "Sales Assistant", - "salary": "$85,600", - "start_date": { - "display": "Mon 20th Sep 10", - "timestamp": "1284937200" - }, - "office": "Sidney", - "extn": "3023" - }, - { - "name": "Angelica Ramos", - "position": "Chief Executive Officer (CEO)", - "salary": "$1,200,000", - "start_date": { - "display": "Fri 9th Oct 09", - "timestamp": "1255042800" - }, - "office": "London", - "extn": "5797" - }, - { - "name": "Gavin Joyce", - "position": "Developer", - "salary": "$92,575", - "start_date": { - "display": "Wed 22nd Dec 10", - "timestamp": "1292976000" - }, - "office": "Edinburgh", - "extn": "8822" - }, - { - "name": "Jennifer Chang", - "position": "Regional Director", - "salary": "$357,650", - "start_date": { - "display": "Sun 14th Nov 10", - "timestamp": "1289692800" - }, - "office": "Singapore", - "extn": "9239" - }, - { - "name": "Brenden Wagner", - "position": "Software Engineer", - "salary": "$206,850", - "start_date": { - "display": "Tue 7th Jun 11", - "timestamp": "1307401200" - }, - "office": "San Francisco", - "extn": "1314" - }, - { - "name": "Fiona Green", - "position": "Chief Operating Officer (COO)", - "salary": "$850,000", - "start_date": { - "display": "Thu 11th Mar 10", - "timestamp": "1268265600" - }, - "office": "San Francisco", - "extn": "2947" - }, - { - "name": "Shou Itou", - "position": "Regional Marketing", - "salary": "$163,000", - "start_date": { - "display": "Sun 14th Aug 11", - "timestamp": "1313276400" - }, - "office": "Tokyo", - "extn": "8899" - }, - { - "name": "Michelle House", - "position": "Integration Specialist", - "salary": "$95,400", - "start_date": { - "display": "Thu 2nd Jun 11", - "timestamp": "1306969200" - }, - "office": "Sidney", - "extn": "2769" - }, - { - "name": "Suki Burks", - "position": "Developer", - "salary": "$114,500", - "start_date": { - "display": "Thu 22nd Oct 09", - "timestamp": "1256166000" - }, - "office": "London", - "extn": "6832" - }, - { - "name": "Prescott Bartlett", - "position": "Technical Author", - "salary": "$145,000", - "start_date": { - "display": "Sat 7th May 11", - "timestamp": "1304722800" - }, - "office": "London", - "extn": "3606" - }, - { - "name": "Gavin Cortez", - "position": "Team Leader", - "salary": "$235,500", - "start_date": { - "display": "Sun 26th Oct 08", - "timestamp": "1224975600" - }, - "office": "San Francisco", - "extn": "2860" - }, - { - "name": "Martena Mccray", - "position": "Post-Sales support", - "salary": "$324,050", - "start_date": { - "display": "Wed 9th Mar 11", - "timestamp": "1299628800" - }, - "office": "Edinburgh", - "extn": "8240" - }, - { - "name": "Unity Butler", - "position": "Marketing Designer", - "salary": "$85,675", - "start_date": { - "display": "Wed 9th Dec 09", - "timestamp": "1260316800" - }, - "office": "San Francisco", - "extn": "5384" - }, - { - "name": "Howard Hatfield", - "position": "Office Manager", - "salary": "$164,500", - "start_date": { - "display": "Tue 16th Dec 08", - "timestamp": "1229385600" - }, - "office": "San Francisco", - "extn": "7031" - }, - { - "name": "Hope Fuentes", - "position": "Secretary", - "salary": "$109,850", - "start_date": { - "display": "Fri 12th Feb 10", - "timestamp": "1265932800" - }, - "office": "San Francisco", - "extn": "6318" - }, - { - "name": "Vivian Harrell", - "position": "Financial Controller", - "salary": "$452,500", - "start_date": { - "display": "Sat 14th Feb 09", - "timestamp": "1234569600" - }, - "office": "San Francisco", - "extn": "9422" - }, - { - "name": "Timothy Mooney", - "position": "Office Manager", - "salary": "$136,200", - "start_date": { - "display": "Thu 11th Dec 08", - "timestamp": "1228953600" - }, - "office": "London", - "extn": "7580" - }, - { - "name": "Jackson Bradshaw", - "position": "Director", - "salary": "$645,750", - "start_date": { - "display": "Fri 26th Sep 08", - "timestamp": "1222383600" - }, - "office": "New York", - "extn": "1042" - }, - { - "name": "Olivia Liang", - "position": "Support Engineer", - "salary": "$234,500", - "start_date": { - "display": "Thu 3rd Feb 11", - "timestamp": "1296691200" - }, - "office": "Singapore", - "extn": "2120" - }, - { - "name": "Bruno Nash", - "position": "Software Engineer", - "salary": "$163,500", - "start_date": { - "display": "Tue 3rd May 11", - "timestamp": "1304377200" - }, - "office": "London", - "extn": "6222" - }, - { - "name": "Sakura Yamamoto", - "position": "Support Engineer", - "salary": "$139,575", - "start_date": { - "display": "Wed 19th Aug 09", - "timestamp": "1250636400" - }, - "office": "Tokyo", - "extn": "9383" - }, - { - "name": "Thor Walton", - "position": "Developer", - "salary": "$98,540", - "start_date": { - "display": "Sun 11th Aug 13", - "timestamp": "1376175600" - }, - "office": "New York", - "extn": "8327" - }, - { - "name": "Finn Camacho", - "position": "Support Engineer", - "salary": "$87,500", - "start_date": { - "display": "Tue 7th Jul 09", - "timestamp": "1246921200" - }, - "office": "San Francisco", - "extn": "2927" - }, - { - "name": "Serge Baldwin", - "position": "Data Coordinator", - "salary": "$138,575", - "start_date": { - "display": "Mon 9th Apr 12", - "timestamp": "1333926000" - }, - "office": "Singapore", - "extn": "8352" - }, - { - "name": "Zenaida Frank", - "position": "Software Engineer", - "salary": "$125,250", - "start_date": { - "display": "Mon 4th Jan 10", - "timestamp": "1262563200" - }, - "office": "New York", - "extn": "7439" - }, - { - "name": "Zorita Serrano", - "position": "Software Engineer", - "salary": "$115,000", - "start_date": { - "display": "Fri 1st Jun 12", - "timestamp": "1338505200" - }, - "office": "San Francisco", - "extn": "4389" - }, - { - "name": "Jennifer Acosta", - "position": "Junior Javascript Developer", - "salary": "$75,650", - "start_date": { - "display": "Fri 1st Feb 13", - "timestamp": "1359676800" - }, - "office": "Edinburgh", - "extn": "3431" - }, - { - "name": "Cara Stevens", - "position": "Sales Assistant", - "salary": "$145,600", - "start_date": { - "display": "Tue 6th Dec 11", - "timestamp": "1323129600" - }, - "office": "New York", - "extn": "3990" - }, - { - "name": "Hermione Butler", - "position": "Regional Director", - "salary": "$356,250", - "start_date": { - "display": "Mon 21st Mar 11", - "timestamp": "1300665600" - }, - "office": "London", - "extn": "1016" - }, - { - "name": "Lael Greer", - "position": "Systems Administrator", - "salary": "$103,500", - "start_date": { - "display": "Fri 27th Feb 09", - "timestamp": "1235692800" - }, - "office": "London", - "extn": "6733" - }, - { - "name": "Jonas Alexander", - "position": "Developer", - "salary": "$86,500", - "start_date": { - "display": "Wed 14th Jul 10", - "timestamp": "1279062000" - }, - "office": "San Francisco", - "extn": "8196" - }, - { - "name": "Shad Decker", - "position": "Regional Director", - "salary": "$183,000", - "start_date": { - "display": "Thu 13th Nov 08", - "timestamp": "1226534400" - }, - "office": "Edinburgh", - "extn": "6373" - }, - { - "name": "Michael Bruce", - "position": "Javascript Developer", - "salary": "$183,000", - "start_date": { - "display": "Mon 27th Jun 11", - "timestamp": "1309129200" - }, - "office": "Singapore", - "extn": "5384" - }, - { - "name": "Donna Snider", - "position": "Customer Support", - "salary": "$112,000", - "start_date": { - "display": "Tue 25th Jan 11", - "timestamp": "1295913600" - }, - "office": "New York", - "extn": "4226" - } - ] -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/deep.html b/src/sunstone/public/bower_components/datatables/examples/ajax/deep.html deleted file mode 100644 index 76dc6efbc0..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/deep.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - - - DataTables example - Nested object data (objects) - - - - - - - - - - - - -
-
-

DataTables example Nested object data (objects)

- -
-

DataTables has the ability to use data from almost data JSON data source through the use of the - columns.dataDT option. In its simplest case, - it can be used to read arbitrary object properties, but can also be extended to n levels of - nested objects / arrays through the use of standard Javascript dotted object notation. Each dot - (.) in the columns.dataDT option represents - another object level.

- -

In this example hr.position refers to the position property of the - hr object in the row's data source object, while contact.0 refers to the - first element of the contact array. Any number of dots can be used to obtain deeply nested - data.

- -

The example below shows DataTables reading information for the columns from nested objects and - arrays, where the structure of the row's data source in this example is:

-
-{
-	"name": "Tiger Nixon",
-	"hr": {
-		"position": "System Architect",
-		"salary": "$3,120",
-		"start_date": "2011/04/25"
-	},
-	"contact": [
-		"Edinburgh",
-		"5421"
-	]
-}
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "ajax": "data/objects_deep.txt", - "columns": [ - { "data": "name" }, - { "data": "hr.position" }, - { "data": "contact.0" }, - { "data": "contact.1" }, - { "data": "hr.start_date" }, - { "data": "hr.salary" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/defer_render.html b/src/sunstone/public/bower_components/datatables/examples/ajax/defer_render.html deleted file mode 100644 index 25d14fe5e1..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/defer_render.html +++ /dev/null @@ -1,307 +0,0 @@ - - - - - - - - DataTables example - Deferred rendering for speed - - - - - - - - - - - - -
-
-

DataTables example Deferred rendering for speed

- -
-

When working with large data sources, you might seek to improve the speed at which DataTables runs. - One method to do this is to make use of the built-in deferred rendering option in DataTables with the - deferRenderDT option.

- -

When deferred rendering is enabled, rather than having DataTables create all TR and TD nodes required for the - table when the data is loaded, DataTables will only create the nodes required for each individual row - at the time of that row being drawn on the page (these nodes are then retained in case they are needed - again so they aren't created multiple times). This can give a significant performance increase, since a - lot less work is done at initialisation time.

- -

The example below shows DataTables with deferred rendering enabled. For this small example you'll - likely notice no difference, but larger tables can benefit significantly from simply enabling this - parameter.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "ajax": "data/arrays.txt", - "deferRender": true - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/index.html b/src/sunstone/public/bower_components/datatables/examples/ajax/index.html deleted file mode 100644 index fea0e5b847..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/index.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Ajax sourced data - - - -
-
-

DataTables example Ajax sourced data

- -
-

DataTables can read data from a server via Ajax, while still performing searching, ordering, paging - etc on the client-side. This is done through use of the ajaxDT option, which has a number of options - to customise how the data is retrieved from the server.

- -

The examples in this section demonstrate the use of Ajax loading data in DataTables, with - client-side processing.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/null_data_source.html b/src/sunstone/public/bower_components/datatables/examples/ajax/null_data_source.html deleted file mode 100644 index 7e8f4aade5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/null_data_source.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - DataTables example - Generated content for a column - - - - - - - - - - - - -
-
-

DataTables example Generated content for a column

- -
-

In some tables you might wish to have some content generated automatically. This can be done in a - number of ways:

- - - -

This examples shows the use of columns.defaultContentDT to create a - button element in the last column of the table. A simple jQuery click event - listener is used to watch for clicks on the row, and when activated uses the row().data()DT method to get the data for the row and - show a bit of information about it in an alert box. This is a simple use case, but it can - be built up to be arbitrarily complex.

- -

Note also that the columns.dataDT option for the column - has been set to null to indicate that the column has no information that should be - obtained data source object.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var table = $('#example').DataTable( { - "ajax": "data/arrays.txt", - "columnDefs": [ { - "targets": -1, - "data": null, - "defaultContent": "<button>Click!</button>" - } ] - } ); - - $('#example tbody').on( 'click', 'button', function () { - var data = table.row( $(this).parents('tr') ).data(); - alert( data[0] +"'s salary is: "+ data[ 5 ] ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/objects.html b/src/sunstone/public/bower_components/datatables/examples/ajax/objects.html deleted file mode 100644 index 649d9fa379..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/objects.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - - - DataTables example - Ajax data source (objects) - - - - - - - - - - - - -
-
-

DataTables example Ajax data source (objects)

- -
-

To try and make life easy, by default, DataTables expects arrays to be used as the data source for - rows in the table. However, this isn't always useful, and you may wish to have DataTables use objects - as the data source for each row (i.e. each row has its data described by an object) as this can make - working with the data much more understandable, particularly if you are using the API and you don't - need to keep track of array indexes.

- -

This can be done quite simply by using the columns.dataDT option which you use to tell - DataTables which property to use from the data source object for each column.

- -

In this example the Ajax source returns an array of objects, which DataTables uses to display the - table. The structure of the row's data source in this example is:

-
-{
-	"name":	   "Tiger Nixon",
-	"position":   "System Architect",
-	"salary":	 "$3,120",
-	"start_date": "2011/04/25",
-	"office":	 "Edinburgh",
-	"extn":	   "5421"
-}
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "ajax": "data/objects.txt", - "columns": [ - { "data": "name" }, - { "data": "position" }, - { "data": "office" }, - { "data": "extn" }, - { "data": "start_date" }, - { "data": "salary" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/objects_subarrays.html b/src/sunstone/public/bower_components/datatables/examples/ajax/objects_subarrays.html deleted file mode 100644 index 067940cbb5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/objects_subarrays.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - - - DataTables example - Nested object data (arrays) - - - - - - - - - - - - -
-
-

DataTables example Nested object data (arrays)

- -
-

The information read from an Ajax data source can be arbitrarily complex, but still be displayed by - DataTables through the columns.dataDT option, which is - particularly useful for working with JSON feeds in an already defined format.

- -

The columns.dataDT option has the ability to - read information not only from objects, but also from arrays using the same dotted object syntax as for - objects. In addition to this, when working with an array data source columns.dataDT can process the data to - combine and display the data in simple forms (more complex forms can be defined by using columns.dataDT as a function).

- -

This example shows two different aspects of using columns.dataDT to read arrays:

- -
    -
  • The Name column is sourced from an array of two elements (first and last name), which - are automatically concatenated together. This is done by using array bracket syntax, with the - characters between the brackets being used as the glue between elements (e.g. name[, - ]).
  • -
  • The Position, Start date and Salary columns are read directly from - array elements using dotted object notation (e.g. hr.0). Note that the order in which - the data can be used in the columns does not have to match the order in which it is defined in the - data source. The structure of the row's data source in this example is:
  • -
-
-{
-	"name": [
-		"Nixon",
-		"Tiger"
-	],
-	"hr": [
-		"System Architect",
-		"$3,120",
-		"2011/04/25"
-	],
-	"office": "Edinburgh",
-	"extn": "5421"
-}
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "ajax": "data/objects_subarrays.txt", - "columns": [ - { "data": "name[, ]" }, - { "data": "hr.0" }, - { "data": "office" }, - { "data": "extn" }, - { "data": "hr.2" }, - { "data": "hr.1" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/orthogonal-data.html b/src/sunstone/public/bower_components/datatables/examples/ajax/orthogonal-data.html deleted file mode 100644 index 626fad4067..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/orthogonal-data.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - - - DataTables example - Orthogonal data - - - - - - - - - - - - -
-
-

DataTables example Orthogonal data

- -
-

To try and make life easy, by default, DataTables expects arrays to be used as the data source for - rows in the table. However, this isn't always useful, and you may wish to have DataTables use objects - as the data source for each row (i.e. each row has its data described by an object) as this can make - working with the data much more understandable, particularly if you are using the API and you don't - need to keep track of array indexes.

- -

This can be done quite simply by using the columns.dataDT option which you use to tell - DataTables which property to use from the data source object for each column.

- -

In this example the Ajax source returns an array of objects, which DataTables uses to display the - table. The structure of the row's data source in this example is:

-
-{
-	"name":	   "Tiger Nixon",
-	"position":   "System Architect",
-	"salary":	 "$3,120",
-	"start_date": {
-		"display": "Mon 25th Apr 11",
-		"timestamp": "1303682400"
-	},
-	"office":	 "Edinburgh",
-	"extn":	   "5421"
-}
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - ajax: "data/orthogonal.txt", - columns: [ - { data: "name" }, - { data: "position" }, - { data: "office" }, - { data: "extn" }, - { data: { - _: "start_date.display", - sort: "start_date.timestamp" - } }, - { data: "salary" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/ajax/simple.html b/src/sunstone/public/bower_components/datatables/examples/ajax/simple.html deleted file mode 100644 index 7c77269dff..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/ajax/simple.html +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - - - DataTables example - Ajax data source (arrays) - - - - - - - - - - - - -
-
-

DataTables example Ajax data source (arrays)

- -
-

DataTables has the ability to read data from virtually any JSON data source that can be obtained by - Ajax. This can be done, in its most simple form, by setting the ajaxDT option to the address of the JSON - data source.

- -

The ajaxDT option also allows for more advanced - configuration such as altering how the Ajax request is made. See the ajaxDT documentation or the other Ajax - examples for DataTables for further information.

- -

By default DataTables will assume that an array data source is to be used and will read the - information to be displayed in each column from the row's array using the column index, making working - with arrays very simple (note that this can be changed, or objects used may using the columns.dataDT option, shown in other - examples).

- -

The example below shows DataTables loading data for a table from arrays as the data source, where - the structure of the row's data source in this example is:

-
-[
-	"Tiger Nixon",
-	"System Architect",
-	"Edinburgh",
-	"5421",
-	"2011/04/25",
-	"$3,120"
-]
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "ajax": "data/arrays.txt" - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/add_row.html b/src/sunstone/public/bower_components/datatables/examples/api/add_row.html deleted file mode 100644 index 72222281f3..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/add_row.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - - - DataTables example - Add rows - - - - - - - - - - - - -
-
-

DataTables example Add rows

- -
-

New rows can be added to a DataTable very easily using the row.add()DT API method. Simply call the API function - with the data that is to be used for the new row (be it an array or object). Multiple rows can be added - using the rows.add()DT method (note the plural).

- -

Note that in order to see the new row in the table you must call the draw()DT method, which is easily done through the - chaining that the DataTables API makes use of.

- -

This example shows a single row being added each time the button below is clicked upon.

-
- - - - - - - - - - - - - - - - - - - - - -
Column 1Column 2Column 3Column 4Column 5
Column 1Column 2Column 3Column 4Column 5
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var t = $('#example').DataTable(); - var counter = 1; - - $('#addRow').on( 'click', function () { - t.row.add( [ - counter +'.1', - counter +'.2', - counter +'.3', - counter +'.4', - counter +'.5' - ] ).draw(); - - counter++; - } ); - - // Automatically add a first row of data - $('#addRow').click(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/api_in_init.html b/src/sunstone/public/bower_components/datatables/examples/api/api_in_init.html deleted file mode 100644 index ae55bd84ff..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/api_in_init.html +++ /dev/null @@ -1,779 +0,0 @@ - - - - - - - - DataTables example - Using API in callbacks - - - - - - - - - - - - -
-
-

DataTables example Using API in callbacks

- -
-

There are times when you may wish to call API functions inside the DataTables callback functions - (for example initCompleteDT, rowCallbackDT etc). The complicating issue - with this is that the object hasn't fully initialised, so you can't assign the result to a variable and - then use that variable in the callback. However, all of DataTables' callback functions are executed in - the scope of the DataTable instance, so you can use the Javascript special variable this - to access the API (this.api() will give an API instance) as this is the - table node.

- -

In this example you will be able to see that the $()DT method is used to get all cell nodes in the - table's body and then act on them (in this case adding a click event). The action here is to apply a - filter to the table with the value of what is in each cell.

- -

It is also worth noting that this same effect could be achieved by attaching a delegated click event - after the table has been initialised - but the example shows the use of the API inside the - callbacks!

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "initComplete": function () { - var api = this.api(); - api.$('td').click( function () { - api.search( this.innerHTML ).draw(); - } ); - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/counter_columns.html b/src/sunstone/public/bower_components/datatables/examples/api/counter_columns.html deleted file mode 100644 index d573cba9da..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/counter_columns.html +++ /dev/null @@ -1,788 +0,0 @@ - - - - - - - - DataTables example - Index column - - - - - - - - - - - - -
-
-

DataTables example Index column

- -
-

A fairly common requirement for highly interactive tables which are displayed on the web is to have - a column which with a 'counter' for the row number. This column should not be sortable, and will change - dynamically as the ordering and searching applied to the table is altered by the end user.

- -

This example shows how this can be achieved with DataTables, where the first column is the counter - column, and is updated when ordering or searching occurs. This is done by listening for the orderDT and searchDT events emitted by the table. When these events are - detected the column().nodes()DT method is used to get the TD/TH - nodes for the target column and the each() helper function used to iterate over each, - which have their contents updated as needed. Note that the filter and order - options are using in the column()DT method to get the nodes in the current order - and with the currently applied filter.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeSalary
NamePositionOfficeAgeSalary
Tiger NixonSystem ArchitectEdinburgh61$320,800
Garrett WintersAccountantTokyo63$170,750
Ashton CoxJunior Technical AuthorSan Francisco66$86,000
Cedric KellySenior Javascript DeveloperEdinburgh22$433,060
Airi SatouAccountantTokyo33$162,700
Brielle WilliamsonIntegration SpecialistNew York61$372,000
Herrod ChandlerSales AssistantSan Francisco59$137,500
Rhona DavidsonIntegration SpecialistTokyo55$327,900
Colleen HurstJavascript DeveloperSan Francisco39$205,500
Sonya FrostSoftware EngineerEdinburgh23$103,600
Jena GainesOffice ManagerLondon30$90,560
Quinn FlynnSupport LeadEdinburgh22$342,000
Charde MarshallRegional DirectorSan Francisco36$470,600
Haley KennedySenior Marketing DesignerLondon43$313,500
Tatyana FitzpatrickRegional DirectorLondon19$385,750
Michael SilvaMarketing DesignerLondon66$198,500
Paul ByrdChief Financial Officer (CFO)New York64$725,000
Gloria LittleSystems AdministratorNew York59$237,500
Bradley GreerSoftware EngineerLondon41$132,000
Dai RiosPersonnel LeadEdinburgh35$217,500
Jenette CaldwellDevelopment LeadNew York30$345,000
Yuri BerryChief Marketing Officer (CMO)New York40$675,000
Caesar VancePre-Sales SupportNew York21$106,450
Doris WilderSales AssistantSidney23$85,600
Angelica RamosChief Executive Officer (CEO)London47$1,200,000
Gavin JoyceDeveloperEdinburgh42$92,575
Jennifer ChangRegional DirectorSingapore28$357,650
Brenden WagnerSoftware EngineerSan Francisco28$206,850
Fiona GreenChief Operating Officer (COO)San Francisco48$850,000
Shou ItouRegional MarketingTokyo20$163,000
Michelle HouseIntegration SpecialistSidney37$95,400
Suki BurksDeveloperLondon53$114,500
Prescott BartlettTechnical AuthorLondon27$145,000
Gavin CortezTeam LeaderSan Francisco22$235,500
Martena MccrayPost-Sales supportEdinburgh46$324,050
Unity ButlerMarketing DesignerSan Francisco47$85,675
Howard HatfieldOffice ManagerSan Francisco51$164,500
Hope FuentesSecretarySan Francisco41$109,850
Vivian HarrellFinancial ControllerSan Francisco62$452,500
Timothy MooneyOffice ManagerLondon37$136,200
Jackson BradshawDirectorNew York65$645,750
Olivia LiangSupport EngineerSingapore64$234,500
Bruno NashSoftware EngineerLondon38$163,500
Sakura YamamotoSupport EngineerTokyo37$139,575
Thor WaltonDeveloperNew York61$98,540
Finn CamachoSupport EngineerSan Francisco47$87,500
Serge BaldwinData CoordinatorSingapore64$138,575
Zenaida FrankSoftware EngineerNew York63$125,250
Zorita SerranoSoftware EngineerSan Francisco56$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh43$75,650
Cara StevensSales AssistantNew York46$145,600
Hermione ButlerRegional DirectorLondon47$356,250
Lael GreerSystems AdministratorLondon21$103,500
Jonas AlexanderDeveloperSan Francisco30$86,500
Shad DeckerRegional DirectorEdinburgh51$183,000
Michael BruceJavascript DeveloperSingapore29$183,000
Donna SniderCustomer SupportNew York27$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var t = $('#example').DataTable( { - "columnDefs": [ { - "searchable": false, - "orderable": false, - "targets": 0 - } ], - "order": [[ 1, 'asc' ]] - } ); - - t.on( 'order.dt search.dt', function () { - t.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) { - cell.innerHTML = i+1; - } ); - } ).draw(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/form.html b/src/sunstone/public/bower_components/datatables/examples/api/form.html deleted file mode 100644 index 82c3892ade..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/form.html +++ /dev/null @@ -1,1841 +0,0 @@ - - - - - - - - DataTables example - Form inputs - - - - - - - - - - - - -
-
-

DataTables example Form inputs

- -
-

In order to perform paging, ordering, searching etc, DataTables can remove rows and cells from the - document (i.e. those rows / cells which are not needed are not inserted into the document). This - increases performance and compatibility, however, it means that submitting forms which span multiple - pages requires a little bit of additional work to get the information that is not in the document any - longer.

- -

The $()DT method can be used to get nodes from the document - regardless of paging, ordering etc. This example shows $()DT being used to get all input elements from the table.

- -

In the example a simple alert() is used to show the information from the form, but an - Ajax call to the server with the form data could easily be performed.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameAgePositionOffice
NameAgePositionOffice
Tiger Nixon
Garrett Winters
Ashton Cox
Cedric Kelly
Airi Satou
Brielle Williamson
Herrod Chandler
Rhona Davidson
Colleen Hurst
Sonya Frost
Jena Gaines
Quinn Flynn
Charde Marshall
Haley Kennedy
Tatyana Fitzpatrick
Michael Silva
Paul Byrd
Gloria Little
Bradley Greer
Dai Rios
Jenette Caldwell
Yuri Berry
Caesar Vance
Doris Wilder
Angelica Ramos
Gavin Joyce
Jennifer Chang
Brenden Wagner
Fiona Green
Shou Itou
Michelle House
Suki Burks
Prescott Bartlett
Gavin Cortez
Martena Mccray
Unity Butler
Howard Hatfield
Hope Fuentes
Vivian Harrell
Timothy Mooney
Jackson Bradshaw
Olivia Liang
Bruno Nash
Sakura Yamamoto
Thor Walton
Finn Camacho
Serge Baldwin
Zenaida Frank
Zorita Serrano
Jennifer Acosta
Cara Stevens
Hermione Butler
Lael Greer
Jonas Alexander
Shad Decker
Michael Bruce
Donna Snider
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var table = $('#example').DataTable(); - - $('button').click( function() { - var data = table.$('input, select').serialize(); - alert( - "The following data would have been submitted to the server: \n\n"+ - data.substr( 0, 120 )+'...' - ); - return false; - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/highlight.html b/src/sunstone/public/bower_components/datatables/examples/api/highlight.html deleted file mode 100644 index 295335a8d6..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/highlight.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - - - - - DataTables example - Highlighting rows and columns - - - - - - - - - - - - -
-
-

DataTables example Highlighting rows and columns

- -
-

Highlighting rows and columns have be quite useful for drawing attention to where the user's cursor - is in a table, particularly if you have a lot of narrow columns. Of course the highlighting of a row is - easy enough using CSS, but for column highlighting, you need to use a little bit of Javascript.

- -

This example shows that in action on DataTable by making use of the cell().index()DT method to get the index of the column - that is to be operated on, and then the cells().nodes()DT and column().nodes()DT methods to remove old classes and - apply the new highlighted class, respectively.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var lastIdx = null; - var table = $('#example').DataTable(); - - $('#example tbody') - .on( 'mouseover', 'td', function () { - var colIdx = table.cell(this).index().column; - - if ( colIdx !== lastIdx ) { - $( table.cells().nodes() ).removeClass( 'highlight' ); - $( table.column( colIdx ).nodes() ).addClass( 'highlight' ); - } - } ) - .on( 'mouseleave', function () { - $( table.cells().nodes() ).removeClass( 'highlight' ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

td.highlight { - background-color: whitesmoke !important; -} -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/index.html b/src/sunstone/public/bower_components/datatables/examples/api/index.html deleted file mode 100644 index cb8c820ccc..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/index.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - DataTables examples - API - - - -
-
-

DataTables example API

- -
-

The real power of DataTables can be exploited through the use of the API that it presents. The - DataTables API is designed to be simple, consistent and easy to use. The examples in this section show - how the API may be used.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/multi_filter.html b/src/sunstone/public/bower_components/datatables/examples/api/multi_filter.html deleted file mode 100644 index cc3d0ac93f..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/multi_filter.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - - - - DataTables example - Individual column searching (text inputs) - - - - - - - - - - - - -
-
-

DataTables example Individual column searching (text inputs)

- -
-

The searching functionality that is provided by DataTables is very useful for quickly search through - the information in the table - however the search is global, and you may wish to present controls to - search on specific columns only.

- -

DataTables has the ability to apply searching to a specific column through the column().search()DT method (note that the name of the - method is search not filter since filter()DT is used to apply a filter to a result - set).

- -

The column searches are cumulative, so you can apply multiple individual column searchs, in addition - to the global search, allowing complex searching options to be presented to the user.

- -

This examples shows text elements being used with the column().search()DT method to add input controls in the - footer of the table for each column. Note that the *index*:visible option is used for the - column selector to ensure that the column()DT method takes into account any hidden - columns when selecting the column to act upon.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - // Setup - add a text input to each footer cell - $('#example tfoot th').each( function () { - var title = $('#example thead th').eq( $(this).index() ).text(); - $(this).html( '<input type="text" placeholder="Search '+title+'" />' ); - } ); - - // DataTable - var table = $('#example').DataTable(); - - // Apply the search - table.columns().eq( 0 ).each( function ( colIdx ) { - $( 'input', table.column( colIdx ).footer() ).on( 'keyup change', function () { - table - .column( colIdx ) - .search( this.value ) - .draw(); - } ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

tfoot input { - width: 100%; - padding: 3px; - box-sizing: border-box; - } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/multi_filter_select.html b/src/sunstone/public/bower_components/datatables/examples/api/multi_filter_select.html deleted file mode 100644 index 9edab30a00..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/multi_filter_select.html +++ /dev/null @@ -1,802 +0,0 @@ - - - - - - - - DataTables example - Individual column searching (select inputs) - - - - - - - - - - - - -
-
-

DataTables example Individual column searching (select inputs)

- -
-

This example is almost identical to text based individual column example and provides the same - functionality, but in this case using select input - controls.

- -

After the table is initialised, the API is used to build the select inputs through the use of the column().data()DT method to get the data for each - column in turn. The helper methods unique()DT and sort()DT are also used to reduce the data for set input - to unique and ordered elements. Finally the change event from the select input is used to trigger a column search using the column().search()DT method.

- -

Note that the column().search()DT method in this particular case - performs an exact match through the use of a custom regular expression and disabling DataTables built - in smart searching. For more information on the search options in DataTables API please refer to the - documentation for search()DT and column().search()DT.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var table = $('#example').DataTable(); - - $("#example tfoot th").each( function ( i ) { - var select = $('<select><option value=""></option></select>') - .appendTo( $(this).empty() ) - .on( 'change', function () { - var val = $(this).val(); - - table.column( i ) - .search( val ? '^'+$(this).val()+'$' : val, true, false ) - .draw(); - } ); - - table.column( i ).data().unique().sort().each( function ( d, j ) { - select.append( '<option value="'+d+'">'+d+'</option>' ) - } ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/regex.html b/src/sunstone/public/bower_components/datatables/examples/api/regex.html deleted file mode 100644 index 701a12fb7b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/regex.html +++ /dev/null @@ -1,873 +0,0 @@ - - - - - - - - DataTables example - Search API (regular expressions) - - - - - - - - - - - - -
-
-

DataTables example Search API (regular expressions)

- -
-

Searching a table is one of the most common user interactions with a DataTables table, and - DataTables provides a number of methods for you to control this interaction. There are APIs for the - global search (search()DT) and for each individual column (column().search()DT).

- -

Note also that you must call the draw()DT method after performing the search, in - order for the results to be displayed.

- -

Each search (global or column) can be marked as a regular expression (allowing you to create very - complex interactions) and as a smart search or not. When smart searching is enabled on a particular - search, DataTables will modify the user input string to a complex regular expression which can make - searching more intuitive.

- -

This example allows you to "play" with the various searching options that DataTables provides.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TargetSearch textTreat as regexUse smart search
Global search
Column - Name
Column - Position
Column - Office
Column - Age
Column - Start date
Column - Salary
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

function filterGlobal () { - $('#example').DataTable().search( - $('#global_filter').val(), - $('#global_regex').prop('checked'), - $('#global_smart').prop('checked') - ).draw(); -} - -function filterColumn ( i ) { - $('#example').DataTable().column( i ).search( - $('#col'+i+'_filter').val(), - $('#col'+i+'_regex').prop('checked'), - $('#col'+i+'_smart').prop('checked') - ).draw(); -} - -$(document).ready(function() { - $('#example').dataTable(); - - $('input.global_filter').on( 'keyup click', function () { - filterGlobal(); - } ); - - $('input.column_filter').on( 'keyup click', function () { - filterColumn( $(this).parents('tr').attr('data-column') ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/row_details.html b/src/sunstone/public/bower_components/datatables/examples/api/row_details.html deleted file mode 100644 index aa9eb89bf5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/row_details.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - - - DataTables example - Child rows (show extra / detailed information) - - - - - - - - - - - - -
-
-

DataTables example Child rows (show extra / detailed information)

- -
-

The DataTables API has a number of methods available for attaching child rows to a parent - row in the DataTable. This can be used to show additional information about a row, useful for cases - where you wish to convey more information about a row than there is space for in the host table.

- -

The example below makes use of the row().childDT methods to firstly check if a - row is already displayed, and if so hide it (row().child.hide()DT), otherwise show it (row().child.show()DT). The content of the child row is, - in this example, defined by the formatDetails() function, but you would replace that with - whatever you wanted to show the content required, possibly including, for example, an Ajax call to the - server to obtain the extra information to show.

-
- - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeSalary
NamePositionOfficeSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

/* Formatting function for row details - modify as you need */ -function format ( d ) { - // `d` is the original data object for the row - return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">'+ - '<tr>'+ - '<td>Full name:</td>'+ - '<td>'+d.name+'</td>'+ - '</tr>'+ - '<tr>'+ - '<td>Extension number:</td>'+ - '<td>'+d.extn+'</td>'+ - '</tr>'+ - '<tr>'+ - '<td>Extra info:</td>'+ - '<td>And any further details here (images etc)...</td>'+ - '</tr>'+ - '</table>'; -} - -$(document).ready(function() { - var table = $('#example').DataTable( { - "ajax": "../ajax/data/objects.txt", - "columns": [ - { - "class": 'details-control', - "orderable": false, - "data": null, - "defaultContent": '' - }, - { "data": "name" }, - { "data": "position" }, - { "data": "office" }, - { "data": "salary" } - ], - "order": [[1, 'asc']] - } ); - - // Add event listener for opening and closing details - $('#example tbody').on('click', 'td.details-control', function () { - var tr = $(this).closest('tr'); - var row = table.row( tr ); - - if ( row.child.isShown() ) { - // This row is already open - close it - row.child.hide(); - tr.removeClass('shown'); - } - else { - // Open this row - row.child( format(row.data()) ).show(); - tr.addClass('shown'); - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

td.details-control { - background: url('../resources/details_open.png') no-repeat center center; - cursor: pointer; -} -tr.shown td.details-control { - background: url('../resources/details_close.png') no-repeat center center; -} -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/select_row.html b/src/sunstone/public/bower_components/datatables/examples/api/select_row.html deleted file mode 100644 index a6de3649b8..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/select_row.html +++ /dev/null @@ -1,771 +0,0 @@ - - - - - - - - DataTables example - Row selection (multiple rows) - - - - - - - - - - - - -
-
-

DataTables example Row selection (multiple rows)

- -
-

It can be quite useful at times to provide the user with the option to select rows in a DataTable. - This can be done by simply using a click event to add / remove a class on the table rows. The rows().data()DT method can then be used to get the data - for the selected rows. In this case it is simply counting the number of selected rows, but much more - complex interactions can easily be developed.

- -

If you are looking for a more complete row selection option TableTools for DataTables provides a complete API for - selecting rows and acting upon those selected rows.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var table = $('#example').DataTable(); - - $('#example tbody').on( 'click', 'tr', function () { - $(this).toggleClass('selected'); - } ); - - $('#button').click( function () { - alert( table.rows('.selected').data().length +' row(s) selected' ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/select_single_row.html b/src/sunstone/public/bower_components/datatables/examples/api/select_single_row.html deleted file mode 100644 index 3770907dff..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/select_single_row.html +++ /dev/null @@ -1,789 +0,0 @@ - - - - - - - - DataTables example - Row selection and deletion (single row) - - - - - - - - - - - - -
-
-

DataTables example Row selection and deletion (single row)

- -
-

This example shows a modification of the multiple row selection example, where just a single can now - be selected. This is done simply by checking to see if the row already has a selected class or not, and - if so removing it, if not then the class is removed from any other row in the table which does have it - and applied to the row to be selected.

- -

Also shown is the row().remove()DT method which will delete a row from a - table, and the draw()DT method with false as its first - parameter. This will redraw the table keeping the current paging (without the false - parameter the paging would be reset to the first page).

- -

If you are looking for a more complete row selection option TableTools for DataTables provides a complete API for - selecting rows and acting upon those selected rows.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var table = $('#example').DataTable(); - - $('#example tbody').on( 'click', 'tr', function () { - if ( $(this).hasClass('selected') ) { - $(this).removeClass('selected'); - } - else { - table.$('tr.selected').removeClass('selected'); - $(this).addClass('selected'); - } - } ); - - $('#button').click( function () { - table.row('.selected').remove().draw( false ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/show_hide.html b/src/sunstone/public/bower_components/datatables/examples/api/show_hide.html deleted file mode 100644 index 12eead8e4b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/show_hide.html +++ /dev/null @@ -1,793 +0,0 @@ - - - - - - - - DataTables example - Show / hide columns dynamically - - - - - - - - - - - - -
-
-

DataTables example Show / hide columns dynamically

- -
-

This example shows how you can make use of the column().visible()DT API method to dynamically show and - hide columns in a table. Also included here is scrolling, just to show it enabled with this API method, - although that is not required for the API function to work.

- -

In addition to this, groups of columns can be shown and hidden at the same time using the columns()DT method to select multiple columns and then - using the columns().visible()DT method to set their state.

- -

If you are looking for a more complete column visibility interaction controls ColVis for DataTables provides a complete interface for - allowing the user to show and hide columns in the table.

-
- -
- Toggle column: Name - Position - Office - Age - Start date - Salary -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var table = $('#example').DataTable( { - "scrollY": "200px", - "paging": false - } ); - - $('a.toggle-vis').on( 'click', function (e) { - e.preventDefault(); - - // Get the column API object - var column = table.column( $(this).attr('data-column') ); - - // Toggle the visibility - column.visible( ! column.visible() ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/api/tabs_and_scrolling.html b/src/sunstone/public/bower_components/datatables/examples/api/tabs_and_scrolling.html deleted file mode 100644 index 2b8a3c6537..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/api/tabs_and_scrolling.html +++ /dev/null @@ -1,790 +0,0 @@ - - - - - - - - DataTables example - Scrolling and jQuery UI tabs - - - - - - - - - - - - - - -
-
-

DataTables example Scrolling and jQuery UI tabs

- -
-

This example shows how DataTables with scrolling can be used together with jQuery UI tabs (or indeed - any other method whereby the table is in a hidden, display:none, element when it is - initialised). The reason this requires special consideration, is that when the DataTable is initialised - in a hidden element the browser doesn't have any measurements with which to give the DataTable, and - this will result in the misalignment of columns when scrolling is enabled.

- -

This misalignment can be corrected by the columns.adjust()DT method when the table is made - visible (i.e. it has dimensions).

- -

This example shows how the jQuery UI show event can be used to trigger this method - call. The visible tables on the page are selected using the static dt-api-static tables() - method and passing the result to columns.adjust()DT.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $("#tabs").tabs( { - "activate": function(event, ui) { - $( $.fn.dataTable.tables( true ) ).DataTable().columns.adjust(); - } - } ); - - $('table.display').dataTable( { - "scrollY": "200px", - "scrollCollapse": true, - "paging": false, - "jQueryUI": true - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/alt_pagination.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/alt_pagination.html deleted file mode 100644 index c8eb70c4be..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/alt_pagination.html +++ /dev/null @@ -1,777 +0,0 @@ - - - - - - - - DataTables example - Alternative pagination - - - - - - - - - - - - -
-
-

DataTables example Alternative pagination

- -
-

The default page control presented by DataTables (forward and backward buttons with up to 7 page - numbers in-between) is fine for most situations, but there are cases where you may wish to customise - the options presented to the end user. This is done through DataTables' extensible pagination - mechanism, the pagingTypeDT option.

- -

There are four built-in options for which pagination controls DataTables should show:

- -
    -
  • simple - 'Previous' and 'Next' buttons only
  • -
  • simple_numbers - 'Previous' and 'Next' buttons, plus - page numbers
  • -
  • full - 'First', 'Previous', 'Next' and 'Last' - buttons
  • -
  • full_numbers - 'First', 'Previous', 'Next' and - 'Last' buttons, plus page numbers
  • -
- -

The language strings of 'First', 'Previous' etc can be optionally through the internationalisation - options of DataTables; language.paginate.firstDT, - language.paginate.previousDT etc.

- -

Additional options for the buttons that are shown can be added through the use of pagination type - plug-ins. Furthermore, how the buttons are actually shown can be altered through the use of plug-in - pagination renderers.

- -

The example below shows the full_numbers type of - pagination.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "pagingType": "full_numbers" - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/comma-decimal.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/comma-decimal.html deleted file mode 100644 index 59c65f75f8..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/comma-decimal.html +++ /dev/null @@ -1,774 +0,0 @@ - - - - - - - - DataTables example - Language - Comma decimal place - - - - - - - - - - - - -
-
-

DataTables example Language - Comma decimal place

- -
-

A dot (.) is used to mark the decimal place in Javascript, however, many parts of the world use a comma (,) - and other characters such as the Unicode decimal separator (⎖) or a dash - (-) are often used to show the decimal place in a displayed number.

- -

When reading such numbers, Javascript won't automatically recognise them as numbers, however, - DataTables' type detection and sorting methods can be instructed through the language.decimalDT option which character is - used as the decimal place in your numbers. This will be used to correctly adjust DataTables' type - detection and sorting algorithms to sort numbers in your table.

- -

Any character can be passed in using the language.decimalDT option, although the - decimal place character used in a single table must be consistent (i.e. numbers with a dot decimal - place and comma decimal place cannot both appear in the same table). Different tables on the same page - can use different decimal characters if required.

- -

The example below shows a comma being used as the decimal place in the currency numbers shown in the - final column.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320.800,00
Garrett WintersAccountantTokyo632011/07/25$170.750,00
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86.000,00
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433.060,00
Airi SatouAccountantTokyo332008/11/28$162.700,00
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372.000,00
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137.500,00
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327.900,00
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205.500,00
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103.600,00
Jena GainesOffice ManagerLondon302008/12/19$90.560,00
Quinn FlynnSupport LeadEdinburgh222013/03/03$342.000,00
Charde MarshallRegional DirectorSan Francisco362008/10/16$470.600,00
Haley KennedySenior Marketing DesignerLondon432012/12/18$313.500,00
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385.750,00
Michael SilvaMarketing DesignerLondon662012/11/27$198.500,00
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725.000,00
Gloria LittleSystems AdministratorNew York592009/04/10$237.500,00
Bradley GreerSoftware EngineerLondon412012/10/13$132.000,00
Dai RiosPersonnel LeadEdinburgh352012/09/26$217.500,00
Jenette CaldwellDevelopment LeadNew York302011/09/03$345.000,00
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675.000,00
Caesar VancePre-Sales SupportNew York212011/12/12$106.450,00
Doris WilderSales AssistantSidney232010/09/20$85.600,00
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1.200.000,00
Gavin JoyceDeveloperEdinburgh422010/12/22$92.575,00
Jennifer ChangRegional DirectorSingapore282010/11/14$357.650,00
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206.850,00
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850.000,00
Shou ItouRegional MarketingTokyo202011/08/14$163.000,00
Michelle HouseIntegration SpecialistSidney372011/06/02$95.400,00
Suki BurksDeveloperLondon532009/10/22$114.500,00
Prescott BartlettTechnical AuthorLondon272011/05/07$145.000,00
Gavin CortezTeam LeaderSan Francisco222008/10/26$235.500,00
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324.050,00
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85.675,00
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164.500,00
Hope FuentesSecretarySan Francisco412010/02/12$109.850,00
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452.500,00
Timothy MooneyOffice ManagerLondon372008/12/11$136.200,00
Jackson BradshawDirectorNew York652008/09/26$645.750,00
Olivia LiangSupport EngineerSingapore642011/02/03$234.500,00
Bruno NashSoftware EngineerLondon382011/05/03$163.500,00
Sakura YamamotoSupport EngineerTokyo372009/08/19$139.575,00
Thor WaltonDeveloperNew York612013/08/11$98.540,00
Finn CamachoSupport EngineerSan Francisco472009/07/07$87.500,00
Serge BaldwinData CoordinatorSingapore642012/04/09$138.575,00
Zenaida FrankSoftware EngineerNew York632010/01/04$125.250,00
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115.000,00
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75.650,00
Cara StevensSales AssistantNew York462011/12/06$145.600,00
Hermione ButlerRegional DirectorLondon472011/03/21$356.250,00
Lael GreerSystems AdministratorLondon212009/02/27$103.500,00
Jonas AlexanderDeveloperSan Francisco302010/07/14$86.500,00
Shad DeckerRegional DirectorEdinburgh512008/11/13$183.000,00
Michael BruceJavascript DeveloperSingapore292011/06/27$183.000,00
Donna SniderCustomer SupportNew York272011/01/25$112.000,00
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "language": { - "decimal": ",", - "thousands": "." - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/complex_header.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/complex_header.html deleted file mode 100644 index 120ffb8010..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/complex_header.html +++ /dev/null @@ -1,760 +0,0 @@ - - - - - - - - DataTables example - Complex headers (rowspan and colspan) - - - - - - - - - - - - -
-
-

DataTables example Complex headers (rowspan and colspan)

- -
-

When using tables to display data, you will often wish to display column information in groups. - DataTables fully supports colspan and rowspan in the table's header, - assigning the required order listeners to the TH element suitable for that column.

- -

Each column must have one TH cell which is unique to it for the listeners to be added. By default - DataTables will use the bottom unique cell for the column to attach the order listener, if more than - one cell for a column if found. The orderCellsTopDT option can be used to tell - DataTables to use the top cell if you prefer.

- -

The example shown below has two sets of grouped information, grouped by colspan in the header.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameHR InformationContact
PositionSalaryOfficeExtn.E-mail
NamePositionSalaryOfficeExtn.E-mail
Tiger NixonSystem Architect$320,800Edinburgh5421t.nixon@datatables.net
Garrett WintersAccountant$170,750Tokyo8422g.winters@datatables.net
Ashton CoxJunior Technical Author$86,000San Francisco1562a.cox@datatables.net
Cedric KellySenior Javascript Developer$433,060Edinburgh6224c.kelly@datatables.net
Airi SatouAccountant$162,700Tokyo5407a.satou@datatables.net
Brielle WilliamsonIntegration Specialist$372,000New York4804b.williamson@datatables.net
Herrod ChandlerSales Assistant$137,500San Francisco9608h.chandler@datatables.net
Rhona DavidsonIntegration Specialist$327,900Tokyo6200r.davidson@datatables.net
Colleen HurstJavascript Developer$205,500San Francisco2360c.hurst@datatables.net
Sonya FrostSoftware Engineer$103,600Edinburgh1667s.frost@datatables.net
Jena GainesOffice Manager$90,560London3814j.gaines@datatables.net
Quinn FlynnSupport Lead$342,000Edinburgh9497q.flynn@datatables.net
Charde MarshallRegional Director$470,600San Francisco6741c.marshall@datatables.net
Haley KennedySenior Marketing Designer$313,500London3597h.kennedy@datatables.net
Tatyana FitzpatrickRegional Director$385,750London1965t.fitzpatrick@datatables.net
Michael SilvaMarketing Designer$198,500London1581m.silva@datatables.net
Paul ByrdChief Financial Officer (CFO)$725,000New York3059p.byrd@datatables.net
Gloria LittleSystems Administrator$237,500New York1721g.little@datatables.net
Bradley GreerSoftware Engineer$132,000London2558b.greer@datatables.net
Dai RiosPersonnel Lead$217,500Edinburgh2290d.rios@datatables.net
Jenette CaldwellDevelopment Lead$345,000New York1937j.caldwell@datatables.net
Yuri BerryChief Marketing Officer (CMO)$675,000New York6154y.berry@datatables.net
Caesar VancePre-Sales Support$106,450New York8330c.vance@datatables.net
Doris WilderSales Assistant$85,600Sidney3023d.wilder@datatables.net
Angelica RamosChief Executive Officer (CEO)$1,200,000London5797a.ramos@datatables.net
Gavin JoyceDeveloper$92,575Edinburgh8822g.joyce@datatables.net
Jennifer ChangRegional Director$357,650Singapore9239j.chang@datatables.net
Brenden WagnerSoftware Engineer$206,850San Francisco1314b.wagner@datatables.net
Fiona GreenChief Operating Officer (COO)$850,000San Francisco2947f.green@datatables.net
Shou ItouRegional Marketing$163,000Tokyo8899s.itou@datatables.net
Michelle HouseIntegration Specialist$95,400Sidney2769m.house@datatables.net
Suki BurksDeveloper$114,500London6832s.burks@datatables.net
Prescott BartlettTechnical Author$145,000London3606p.bartlett@datatables.net
Gavin CortezTeam Leader$235,500San Francisco2860g.cortez@datatables.net
Martena MccrayPost-Sales support$324,050Edinburgh8240m.mccray@datatables.net
Unity ButlerMarketing Designer$85,675San Francisco5384u.butler@datatables.net
Howard HatfieldOffice Manager$164,500San Francisco7031h.hatfield@datatables.net
Hope FuentesSecretary$109,850San Francisco6318h.fuentes@datatables.net
Vivian HarrellFinancial Controller$452,500San Francisco9422v.harrell@datatables.net
Timothy MooneyOffice Manager$136,200London7580t.mooney@datatables.net
Jackson BradshawDirector$645,750New York1042j.bradshaw@datatables.net
Olivia LiangSupport Engineer$234,500Singapore2120o.liang@datatables.net
Bruno NashSoftware Engineer$163,500London6222b.nash@datatables.net
Sakura YamamotoSupport Engineer$139,575Tokyo9383s.yamamoto@datatables.net
Thor WaltonDeveloper$98,540New York8327t.walton@datatables.net
Finn CamachoSupport Engineer$87,500San Francisco2927f.camacho@datatables.net
Serge BaldwinData Coordinator$138,575Singapore8352s.baldwin@datatables.net
Zenaida FrankSoftware Engineer$125,250New York7439z.frank@datatables.net
Zorita SerranoSoftware Engineer$115,000San Francisco4389z.serrano@datatables.net
Jennifer AcostaJunior Javascript Developer$75,650Edinburgh3431j.acosta@datatables.net
Cara StevensSales Assistant$145,600New York3990c.stevens@datatables.net
Hermione ButlerRegional Director$356,250London1016h.butler@datatables.net
Lael GreerSystems Administrator$103,500London6733l.greer@datatables.net
Jonas AlexanderDeveloper$86,500San Francisco8196j.alexander@datatables.net
Shad DeckerRegional Director$183,000Edinburgh6373s.decker@datatables.net
Michael BruceJavascript Developer$183,000Singapore5384m.bruce@datatables.net
Donna SniderCustomer Support$112,000New York4226d.snider@datatables.net
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/dom.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/dom.html deleted file mode 100644 index fea3b0a32d..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/dom.html +++ /dev/null @@ -1,824 +0,0 @@ - - - - - - - - DataTables example - DOM positioning - - - - - - - - - - - - -
-
-

DataTables example DOM positioning

- -
-

When customising DataTables for your own usage, you might find that the default position of the - feature elements (filter input etc) is not quite to your liking. To address this issue DataTables takes - inspiration from the CSS 3 Advanced Layout Module and provides the domDT initialisation parameter which can be - set to indicate where you which particular features to appear in the DOM. You can also specify - div wrapping containers (with an id and / or class) to provide complete layout - flexibility.

- -

Each HTML control element presented by DataTables is denoted by a single character in the domDT option. For example the l - option is used for the Length changing input option.

- -

The built-in options available are:

- -
    -
  • l - Length changing
  • -
  • f - Filtering input
  • -
  • t - The Table!
  • -
  • i - Information
  • -
  • p - Pagination
  • -
  • r - pRocessing
  • -
  • < and > - div elements
  • -
  • <"#id" and > - div with an id
  • -
  • <"class" and > - div with a class
  • -
  • <"#id.class" and > - div with an id and class
  • -
- -

Example 1:

-
-<"wrapper"flipt>
-
-
- -

This results in the following DOM structure:

-
-<div class="wrapper">
-	{ filter }
-	{ length }
-	{ info }
-	{ paging }
-	{ table }
-</div>
-
-
- -

Example 2:

-
-<lf<t>ip>
-
-
- -

This results in the following DOM structure:

-
-<div>
-	{ length }
-	{ filter }
-	<div>
-		{ table }
-	</div>
-	{ info }
-	{ paging }
-</div>
-
-
- -

All options (with the exception of the t (table) option can be specified multiple - times, for if you want to show the same control multiple times (pagination at the top and bottom of the - table for example).

- -

Furthermore, note that additional domDT options can be added to - DataTables through the use of plug-ins.

- -

In the example below, the table information is moved to the top of the table, and all the - interaction elements to the bottom, each wrapper in a container div.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "dom": '<"top"i>rt<"bottom"flp><"clear">' - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/filter_only.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/filter_only.html deleted file mode 100644 index ad8a8d07a8..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/filter_only.html +++ /dev/null @@ -1,754 +0,0 @@ - - - - - - - - DataTables example - Feature enable / disable - - - - - - - - - - - - -
-
-

DataTables example Feature enable / disable

- -
-

Disabling features that you don't wish to use for a particular table is easily done by setting a - variable in the initialisation object. In the following example only the filter feature is left enabled - (which is enabled by default).

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "paging": false, - "ordering": false, - "info": false - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/flexible_width.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/flexible_width.html deleted file mode 100644 index 0ebe941a7b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/flexible_width.html +++ /dev/null @@ -1,757 +0,0 @@ - - - - - - - - DataTables example - Flexible table width - - - - - - - - - - - - -
-
-

DataTables example Flexible table width

- -
-

Often you may want to have your table resize dynamically with the page. Typically this is done by - assigning width:100% in your CSS, but this presents a problem for Javascript since it can - be very hard to get that relative size rather than the absolute pixels. As such, if you apply the - width attribute to the HTML table tag, it will be used as the width for the table - (overruling any CSS styles).

- -

This example shows a table with width="100%" and the container is also flexible width, - so as the window is resized, the table will also resize dynamically.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

div.container { - width: 80%; - } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/hidden_columns.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/hidden_columns.html deleted file mode 100644 index b71ba47846..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/hidden_columns.html +++ /dev/null @@ -1,783 +0,0 @@ - - - - - - - - DataTables example - Hidden columns - - - - - - - - - - - - -
-
-

DataTables example Hidden columns

- -
-

There are times when you might find it useful to display only a sub-set of the information that was - available in the original table. For example you might want to reduce the amount of data shown on - screen to make it clearer for the user. This is done through the columns.visibleDT column option.

- -

The column that is hidden is still part of the table and can be made visible through the api - column().visible() API method at a future time if you wish to have columns which can be shown - and hidden.

- -

Furthermore, as the hidden data is still part of the table, it can still, optionally, be filtered - upon allowing the user access to that data (for example 'tag' information for a row entry might - used).

- -

In the table below both the office and age version columns have been hidden, the former is - searchable, the latter is not.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "columnDefs": [ - { - "targets": [ 2 ], - "visible": false, - "searchable": false - }, - { - "targets": [ 3 ], - "visible": false - } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/index.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/index.html deleted file mode 100644 index bbfdbe6a49..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/index.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Basic initialisation - - - -
-
-

DataTables example Basic initialisation

- -
-

DataTables is very simple to use as a jQuery plug-in with a huge range of customisable option. The - examples in this section demonstrate basic initialisation of DataTables and how it can be easily - customised by passing an object with the options you want.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/language.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/language.html deleted file mode 100644 index ddbe2f3450..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/language.html +++ /dev/null @@ -1,765 +0,0 @@ - - - - - - - - DataTables example - Language options - - - - - - - - - - - - -
-
-

DataTables example Language options

- -
-

Changing the language information displayed by DataTables is as simple as passing in a languageDT object to the DataTable - constructor.

- -

The example above shows a different set of English string being used, rather than the defaults.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "language": { - "lengthMenu": "Display _MENU_ records per page", - "zeroRecords": "Nothing found - sorry", - "info": "Showing page _PAGE_ of _PAGES_", - "infoEmpty": "No records available", - "infoFiltered": "(filtered from _MAX_ total records)" - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/multi_col_sort.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/multi_col_sort.html deleted file mode 100644 index 85a49b49c6..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/multi_col_sort.html +++ /dev/null @@ -1,722 +0,0 @@ - - - - - - - - DataTables example - Multi-column ordering - - - - - - - - - - - - -
-
-

DataTables example Multi-column ordering

- -
-

DataTables allows ordering by multiple columns at the same time, which can be activated in a number - of different ways:

- -
    -
  • User shift click on a column (added the clicked column as a secondary, tertiary etc ordering - column).
  • -
  • On a per-column basis (i.e. order by a specific column and then a secondary column if the data - in the first column is identical), through the columns.orderDataDT option.
  • -
  • Using the columns.orderDataDT option to - specify a multiple column order by default (for example [ [0,'asc'], [1,'asc'] - ]).
  • -
  • Through the order()DT API method.
  • -
- -

Note that, the ability for the user to shift click to order multiple columns can be disabled through - the orderMultiDT option.

- -

The example below shows the first column having a secondary order applied to the second column in - the table, vice-versa for the second column being tied directly to the first and the salary column to - the first name column.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
First nameLast namePositionOfficeSalary
TigerNixonSystem ArchitectEdinburgh$320,800
GarrettWintersAccountantTokyo$170,750
AshtonCoxJunior Technical AuthorSan Francisco$86,000
CedricKellySenior Javascript DeveloperEdinburgh$433,060
AiriSatouAccountantTokyo$162,700
BrielleWilliamsonIntegration SpecialistNew York$372,000
HerrodChandlerSales AssistantSan Francisco$137,500
RhonaDavidsonIntegration SpecialistTokyo$327,900
ColleenHurstJavascript DeveloperSan Francisco$205,500
SonyaFrostSoftware EngineerEdinburgh$103,600
JenaGainesOffice ManagerLondon$90,560
QuinnFlynnSupport LeadEdinburgh$342,000
ChardeMarshallRegional DirectorSan Francisco$470,600
HaleyKennedySenior Marketing DesignerLondon$313,500
TatyanaFitzpatrickRegional DirectorLondon$385,750
MichaelSilvaMarketing DesignerLondon$198,500
PaulByrdChief Financial Officer (CFO)New York$725,000
GloriaLittleSystems AdministratorNew York$237,500
BradleyGreerSoftware EngineerLondon$132,000
DaiRiosPersonnel LeadEdinburgh$217,500
JenetteCaldwellDevelopment LeadNew York$345,000
YuriBerryChief Marketing Officer (CMO)New York$675,000
CaesarVancePre-Sales SupportNew York$106,450
DorisWilderSales AssistantSidney$85,600
AngelicaRamosChief Executive Officer (CEO)London$1,200,000
GavinJoyceDeveloperEdinburgh$92,575
JenniferChangRegional DirectorSingapore$357,650
BrendenWagnerSoftware EngineerSan Francisco$206,850
FionaGreenChief Operating Officer (COO)San Francisco$850,000
ShouItouRegional MarketingTokyo$163,000
MichelleHouseIntegration SpecialistSidney$95,400
SukiBurksDeveloperLondon$114,500
PrescottBartlettTechnical AuthorLondon$145,000
GavinCortezTeam LeaderSan Francisco$235,500
MartenaMccrayPost-Sales supportEdinburgh$324,050
UnityButlerMarketing DesignerSan Francisco$85,675
HowardHatfieldOffice ManagerSan Francisco$164,500
HopeFuentesSecretarySan Francisco$109,850
VivianHarrellFinancial ControllerSan Francisco$452,500
TimothyMooneyOffice ManagerLondon$136,200
JacksonBradshawDirectorNew York$645,750
OliviaLiangSupport EngineerSingapore$234,500
BrunoNashSoftware EngineerLondon$163,500
SakuraYamamotoSupport EngineerTokyo$139,575
ThorWaltonDeveloperNew York$98,540
FinnCamachoSupport EngineerSan Francisco$87,500
SergeBaldwinData CoordinatorSingapore$138,575
ZenaidaFrankSoftware EngineerNew York$125,250
ZoritaSerranoSoftware EngineerSan Francisco$115,000
JenniferAcostaJunior Javascript DeveloperEdinburgh$75,650
CaraStevensSales AssistantNew York$145,600
HermioneButlerRegional DirectorLondon$356,250
LaelGreerSystems AdministratorLondon$103,500
JonasAlexanderDeveloperSan Francisco$86,500
ShadDeckerRegional DirectorEdinburgh$183,000
MichaelBruceJavascript DeveloperSingapore$183,000
DonnaSniderCustomer SupportNew York$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - columnDefs: [ { - targets: [ 0 ], - orderData: [ 0, 1 ] - }, { - targets: [ 1 ], - orderData: [ 1, 0 ] - }, { - targets: [ 4 ], - orderData: [ 4, 0 ] - } ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/multiple_tables.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/multiple_tables.html deleted file mode 100644 index 532d2931ef..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/multiple_tables.html +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - - DataTables example - Multiple tables - - - - - - - - - - - - -
-
-

DataTables example Multiple tables

- -
-

Often you might wish to initialise multiple tables with a single statement. This is trivially done - by using a jQuery selector which will pick up multiple tables.

- -

The tables are independent for user control (i.e. user controlled paging on one table does not - effect the others), but they do share the initialisation parameters given (for example if you specific - the Spanish language file, all tables will be shown in Spanish). Additionally, the API can be used to - manipulate both together, or independently.

- -

The example below shows two tables initialised with a single line of code, through the use of the - table.display selector (i.e. select all elements which have the class of - table.display (which is suitable in this example, you might wish to use a different - selector).

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeSalary
NamePositionOfficeAgeSalary
Tiger NixonSystem ArchitectEdinburgh61$320,800
Cedric KellySenior Javascript DeveloperEdinburgh22$433,060
Sonya FrostSoftware EngineerEdinburgh23$103,600
Quinn FlynnSupport LeadEdinburgh22$342,000
Dai RiosPersonnel LeadEdinburgh35$217,500
Gavin JoyceDeveloperEdinburgh42$92,575
Martena MccrayPost-Sales supportEdinburgh46$324,050
Jennifer AcostaJunior Javascript DeveloperEdinburgh43$75,650
Shad DeckerRegional DirectorEdinburgh51$183,000
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeSalary
NamePositionOfficeAgeSalary
Jena GainesOffice ManagerLondon30$90,560
Haley KennedySenior Marketing DesignerLondon43$313,500
Tatyana FitzpatrickRegional DirectorLondon19$385,750
Michael SilvaMarketing DesignerLondon66$198,500
Bradley GreerSoftware EngineerLondon41$132,000
Angelica RamosChief Executive Officer (CEO)London47$1,200,000
Suki BurksDeveloperLondon53$114,500
Prescott BartlettTechnical AuthorLondon27$145,000
Timothy MooneyOffice ManagerLondon37$136,200
Bruno NashSoftware EngineerLondon38$163,500
Hermione ButlerRegional DirectorLondon47$356,250
Lael GreerSystems AdministratorLondon21$103,500
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('table.display').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

div.dataTables_wrapper { - margin-bottom: 3em; - } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_x.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_x.html deleted file mode 100644 index 713680344d..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_x.html +++ /dev/null @@ -1,931 +0,0 @@ - - - - - - - - DataTables example - Scroll - horizontal - - - - - - - - - - - - -
-
-

DataTables example Scroll - horizontal

- -
-

DataTables has the ability to show tables with horizontal scrolling, which is very useful for when - you have a wide table, but want to constrain it to a limited horizontal display area. To enable - x-scrolling simply set the scrollXDT parameter to be whatever you - want the container wrapper's width to be (this should be 100% in almost all cases with the width being - constrained by the container element).

- -

The example below shows a table too wide for the containing element with x-scrolling enabled. The - CSS option of th, td { white-space: nowrap; } is also set to have the text content of each - row on a single line (otherwise the browser will line break the text to have it fit into the available - area).

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
First nameLast namePositionOfficeAgeStart dateSalaryExtn.E-mail
TigerNixonSystem ArchitectEdinburgh612011/04/25$320,8005421t.nixon@datatables.net
GarrettWintersAccountantTokyo632011/07/25$170,7508422g.winters@datatables.net
AshtonCoxJunior Technical AuthorSan Francisco662009/01/12$86,0001562a.cox@datatables.net
CedricKellySenior Javascript DeveloperEdinburgh222012/03/29$433,0606224c.kelly@datatables.net
AiriSatouAccountantTokyo332008/11/28$162,7005407a.satou@datatables.net
BrielleWilliamsonIntegration SpecialistNew York612012/12/02$372,0004804b.williamson@datatables.net
HerrodChandlerSales AssistantSan Francisco592012/08/06$137,5009608h.chandler@datatables.net
RhonaDavidsonIntegration SpecialistTokyo552010/10/14$327,9006200r.davidson@datatables.net
ColleenHurstJavascript DeveloperSan Francisco392009/09/15$205,5002360c.hurst@datatables.net
SonyaFrostSoftware EngineerEdinburgh232008/12/13$103,6001667s.frost@datatables.net
JenaGainesOffice ManagerLondon302008/12/19$90,5603814j.gaines@datatables.net
QuinnFlynnSupport LeadEdinburgh222013/03/03$342,0009497q.flynn@datatables.net
ChardeMarshallRegional DirectorSan Francisco362008/10/16$470,6006741c.marshall@datatables.net
HaleyKennedySenior Marketing DesignerLondon432012/12/18$313,5003597h.kennedy@datatables.net
TatyanaFitzpatrickRegional DirectorLondon192010/03/17$385,7501965t.fitzpatrick@datatables.net
MichaelSilvaMarketing DesignerLondon662012/11/27$198,5001581m.silva@datatables.net
PaulByrdChief Financial Officer (CFO)New York642010/06/09$725,0003059p.byrd@datatables.net
GloriaLittleSystems AdministratorNew York592009/04/10$237,5001721g.little@datatables.net
BradleyGreerSoftware EngineerLondon412012/10/13$132,0002558b.greer@datatables.net
DaiRiosPersonnel LeadEdinburgh352012/09/26$217,5002290d.rios@datatables.net
JenetteCaldwellDevelopment LeadNew York302011/09/03$345,0001937j.caldwell@datatables.net
YuriBerryChief Marketing Officer (CMO)New York402009/06/25$675,0006154y.berry@datatables.net
CaesarVancePre-Sales SupportNew York212011/12/12$106,4508330c.vance@datatables.net
DorisWilderSales AssistantSidney232010/09/20$85,6003023d.wilder@datatables.net
AngelicaRamosChief Executive Officer (CEO)London472009/10/09$1,200,0005797a.ramos@datatables.net
GavinJoyceDeveloperEdinburgh422010/12/22$92,5758822g.joyce@datatables.net
JenniferChangRegional DirectorSingapore282010/11/14$357,6509239j.chang@datatables.net
BrendenWagnerSoftware EngineerSan Francisco282011/06/07$206,8501314b.wagner@datatables.net
FionaGreenChief Operating Officer (COO)San Francisco482010/03/11$850,0002947f.green@datatables.net
ShouItouRegional MarketingTokyo202011/08/14$163,0008899s.itou@datatables.net
MichelleHouseIntegration SpecialistSidney372011/06/02$95,4002769m.house@datatables.net
SukiBurksDeveloperLondon532009/10/22$114,5006832s.burks@datatables.net
PrescottBartlettTechnical AuthorLondon272011/05/07$145,0003606p.bartlett@datatables.net
GavinCortezTeam LeaderSan Francisco222008/10/26$235,5002860g.cortez@datatables.net
MartenaMccrayPost-Sales supportEdinburgh462011/03/09$324,0508240m.mccray@datatables.net
UnityButlerMarketing DesignerSan Francisco472009/12/09$85,6755384u.butler@datatables.net
HowardHatfieldOffice ManagerSan Francisco512008/12/16$164,5007031h.hatfield@datatables.net
HopeFuentesSecretarySan Francisco412010/02/12$109,8506318h.fuentes@datatables.net
VivianHarrellFinancial ControllerSan Francisco622009/02/14$452,5009422v.harrell@datatables.net
TimothyMooneyOffice ManagerLondon372008/12/11$136,2007580t.mooney@datatables.net
JacksonBradshawDirectorNew York652008/09/26$645,7501042j.bradshaw@datatables.net
OliviaLiangSupport EngineerSingapore642011/02/03$234,5002120o.liang@datatables.net
BrunoNashSoftware EngineerLondon382011/05/03$163,5006222b.nash@datatables.net
SakuraYamamotoSupport EngineerTokyo372009/08/19$139,5759383s.yamamoto@datatables.net
ThorWaltonDeveloperNew York612013/08/11$98,5408327t.walton@datatables.net
FinnCamachoSupport EngineerSan Francisco472009/07/07$87,5002927f.camacho@datatables.net
SergeBaldwinData CoordinatorSingapore642012/04/09$138,5758352s.baldwin@datatables.net
ZenaidaFrankSoftware EngineerNew York632010/01/04$125,2507439z.frank@datatables.net
ZoritaSerranoSoftware EngineerSan Francisco562012/06/01$115,0004389z.serrano@datatables.net
JenniferAcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,6503431j.acosta@datatables.net
CaraStevensSales AssistantNew York462011/12/06$145,6003990c.stevens@datatables.net
HermioneButlerRegional DirectorLondon472011/03/21$356,2501016h.butler@datatables.net
LaelGreerSystems AdministratorLondon212009/02/27$103,5006733l.greer@datatables.net
JonasAlexanderDeveloperSan Francisco302010/07/14$86,5008196j.alexander@datatables.net
ShadDeckerRegional DirectorEdinburgh512008/11/13$183,0006373s.decker@datatables.net
MichaelBruceJavascript DeveloperSingapore292011/06/27$183,0005384m.bruce@datatables.net
DonnaSniderCustomer SupportNew York272011/01/25$112,0004226d.snider@datatables.net
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "scrollX": true - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

th, td { white-space: nowrap; } - div.dataTables_wrapper { - width: 800px; - margin: 0 auto; - } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_xy.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_xy.html deleted file mode 100644 index bb1cede8e1..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_xy.html +++ /dev/null @@ -1,924 +0,0 @@ - - - - - - - - DataTables example - Scroll - horizontal and vertical - - - - - - - - - - - - -
-
-

DataTables example Scroll - horizontal and vertical

- -
-

In this example you can see DataTables doing both horizontal and vertical scrolling at the same - time. Note also that pagination is enabled in this example, and the scrolling accounts for this.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
First nameLast namePositionOfficeAgeStart dateSalaryExtn.E-mail
TigerNixonSystem ArchitectEdinburgh612011/04/25$320,8005421t.nixon@datatables.net
GarrettWintersAccountantTokyo632011/07/25$170,7508422g.winters@datatables.net
AshtonCoxJunior Technical AuthorSan Francisco662009/01/12$86,0001562a.cox@datatables.net
CedricKellySenior Javascript DeveloperEdinburgh222012/03/29$433,0606224c.kelly@datatables.net
AiriSatouAccountantTokyo332008/11/28$162,7005407a.satou@datatables.net
BrielleWilliamsonIntegration SpecialistNew York612012/12/02$372,0004804b.williamson@datatables.net
HerrodChandlerSales AssistantSan Francisco592012/08/06$137,5009608h.chandler@datatables.net
RhonaDavidsonIntegration SpecialistTokyo552010/10/14$327,9006200r.davidson@datatables.net
ColleenHurstJavascript DeveloperSan Francisco392009/09/15$205,5002360c.hurst@datatables.net
SonyaFrostSoftware EngineerEdinburgh232008/12/13$103,6001667s.frost@datatables.net
JenaGainesOffice ManagerLondon302008/12/19$90,5603814j.gaines@datatables.net
QuinnFlynnSupport LeadEdinburgh222013/03/03$342,0009497q.flynn@datatables.net
ChardeMarshallRegional DirectorSan Francisco362008/10/16$470,6006741c.marshall@datatables.net
HaleyKennedySenior Marketing DesignerLondon432012/12/18$313,5003597h.kennedy@datatables.net
TatyanaFitzpatrickRegional DirectorLondon192010/03/17$385,7501965t.fitzpatrick@datatables.net
MichaelSilvaMarketing DesignerLondon662012/11/27$198,5001581m.silva@datatables.net
PaulByrdChief Financial Officer (CFO)New York642010/06/09$725,0003059p.byrd@datatables.net
GloriaLittleSystems AdministratorNew York592009/04/10$237,5001721g.little@datatables.net
BradleyGreerSoftware EngineerLondon412012/10/13$132,0002558b.greer@datatables.net
DaiRiosPersonnel LeadEdinburgh352012/09/26$217,5002290d.rios@datatables.net
JenetteCaldwellDevelopment LeadNew York302011/09/03$345,0001937j.caldwell@datatables.net
YuriBerryChief Marketing Officer (CMO)New York402009/06/25$675,0006154y.berry@datatables.net
CaesarVancePre-Sales SupportNew York212011/12/12$106,4508330c.vance@datatables.net
DorisWilderSales AssistantSidney232010/09/20$85,6003023d.wilder@datatables.net
AngelicaRamosChief Executive Officer (CEO)London472009/10/09$1,200,0005797a.ramos@datatables.net
GavinJoyceDeveloperEdinburgh422010/12/22$92,5758822g.joyce@datatables.net
JenniferChangRegional DirectorSingapore282010/11/14$357,6509239j.chang@datatables.net
BrendenWagnerSoftware EngineerSan Francisco282011/06/07$206,8501314b.wagner@datatables.net
FionaGreenChief Operating Officer (COO)San Francisco482010/03/11$850,0002947f.green@datatables.net
ShouItouRegional MarketingTokyo202011/08/14$163,0008899s.itou@datatables.net
MichelleHouseIntegration SpecialistSidney372011/06/02$95,4002769m.house@datatables.net
SukiBurksDeveloperLondon532009/10/22$114,5006832s.burks@datatables.net
PrescottBartlettTechnical AuthorLondon272011/05/07$145,0003606p.bartlett@datatables.net
GavinCortezTeam LeaderSan Francisco222008/10/26$235,5002860g.cortez@datatables.net
MartenaMccrayPost-Sales supportEdinburgh462011/03/09$324,0508240m.mccray@datatables.net
UnityButlerMarketing DesignerSan Francisco472009/12/09$85,6755384u.butler@datatables.net
HowardHatfieldOffice ManagerSan Francisco512008/12/16$164,5007031h.hatfield@datatables.net
HopeFuentesSecretarySan Francisco412010/02/12$109,8506318h.fuentes@datatables.net
VivianHarrellFinancial ControllerSan Francisco622009/02/14$452,5009422v.harrell@datatables.net
TimothyMooneyOffice ManagerLondon372008/12/11$136,2007580t.mooney@datatables.net
JacksonBradshawDirectorNew York652008/09/26$645,7501042j.bradshaw@datatables.net
OliviaLiangSupport EngineerSingapore642011/02/03$234,5002120o.liang@datatables.net
BrunoNashSoftware EngineerLondon382011/05/03$163,5006222b.nash@datatables.net
SakuraYamamotoSupport EngineerTokyo372009/08/19$139,5759383s.yamamoto@datatables.net
ThorWaltonDeveloperNew York612013/08/11$98,5408327t.walton@datatables.net
FinnCamachoSupport EngineerSan Francisco472009/07/07$87,5002927f.camacho@datatables.net
SergeBaldwinData CoordinatorSingapore642012/04/09$138,5758352s.baldwin@datatables.net
ZenaidaFrankSoftware EngineerNew York632010/01/04$125,2507439z.frank@datatables.net
ZoritaSerranoSoftware EngineerSan Francisco562012/06/01$115,0004389z.serrano@datatables.net
JenniferAcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,6503431j.acosta@datatables.net
CaraStevensSales AssistantNew York462011/12/06$145,6003990c.stevens@datatables.net
HermioneButlerRegional DirectorLondon472011/03/21$356,2501016h.butler@datatables.net
LaelGreerSystems AdministratorLondon212009/02/27$103,5006733l.greer@datatables.net
JonasAlexanderDeveloperSan Francisco302010/07/14$86,5008196j.alexander@datatables.net
ShadDeckerRegional DirectorEdinburgh512008/11/13$183,0006373s.decker@datatables.net
MichaelBruceJavascript DeveloperSingapore292011/06/27$183,0005384m.bruce@datatables.net
DonnaSniderCustomer SupportNew York272011/01/25$112,0004226d.snider@datatables.net
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "scrollY": 200, - "scrollX": true - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

th, td { white-space: nowrap; } - div.dataTables_wrapper { - width: 800px; - margin: 0 auto; - } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_y.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_y.html deleted file mode 100644 index 25992cfc17..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_y.html +++ /dev/null @@ -1,768 +0,0 @@ - - - - - - - - DataTables example - Scroll - vertical - - - - - - - - - - - - -
-
-

DataTables example Scroll - vertical

- -
-

This example shows the DataTables table body scrolling in the vertical direction. This can generally - be seen as an alternative method to pagination for displaying a large table in a fairly small vertical - area, and as such pagination has been disabled here (note that this is not mandatory, it will work just - fine with pagination enabled as well!).

- -

To enable y-scrolling simply set the scrollYDT parameter to be whatever you want - the container wrapper's height to be (any CSS measurement is acceptable, or just a number which is - treated as pixels).

- -

Note also that the scrollCollapseDT option is enabled in - this example. This will have the container match the height of the rows shown in the table if that - height is smaller than that given height by the scrollYDT.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "scrollY": "200px", - "scrollCollapse": true, - "paging": false - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_y_theme.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_y_theme.html deleted file mode 100644 index 166026a9ca..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/scroll_y_theme.html +++ /dev/null @@ -1,758 +0,0 @@ - - - - - - - - DataTables example - Scroll - vertical with jQuery UI ThemeRoller - - - - - - - - - - - - - -
-
-

DataTables example Scroll - vertical with jQuery UI ThemeRoller

- -
-

This example is an extension of the vertical scrolling example, showing DataTables ability to be - themed by jQuery UI's ThemeRoller.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "scrollY": 200, - "scrollCollapse": true, - "jQueryUI": true - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/state_save.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/state_save.html deleted file mode 100644 index 406ba2b3a9..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/state_save.html +++ /dev/null @@ -1,771 +0,0 @@ - - - - - - - - DataTables example - State saving - - - - - - - - - - - - -
-
-

DataTables example State saving

- -
-

DataTables has the option of being able to save the state of a table (its paging position, ordering - state etc) so that is can be restored when the user reloads a page, or comes back to the page after - visiting a sub-page. This state saving ability is enabled by the stateSaveDT option.

- -

The built in state saving method uses the HTML5 localStorage and - sessionStorage APIs for efficient storage of the data. Please note that this means that - the built in state saving option will not work with IE6/7 as these browsers do not - support these APIs. Alternative options of using cookies or saving the state on the server through Ajax - can be used through the stateSaveCallbackDT and - stateLoadCallbackDT options.

- -

The duration for which the saved state is valid and can be used to restore the table state can be - set using the stateDurationDT initialisation parameter (2 - hours by default). This parameter also controls if localStorage (0 or greater) or - sessionStorage (-1) is used to store the data.

- -

The example below simply shows state saving enabled in DataTables with the stateSaveDT option.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - stateSave: true - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/table_sorting.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/table_sorting.html deleted file mode 100644 index 81e71263c6..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/table_sorting.html +++ /dev/null @@ -1,762 +0,0 @@ - - - - - - - - DataTables example - Default ordering (sorting) - - - - - - - - - - - - -
-
-

DataTables example Default ordering (sorting)

- -
-

With DataTables you can alter the ordering characteristics of the table at initialisation time. - Using the orderDT initialisation parameter, you can - set the table to display the data in exactly the order that you want.

- -

The orderDT parameter is an array of arrays - where the first value of the inner array is the column to order on, and the second is 'asc' (ascending ordering) or 'desc' (descending ordering) as required. orderDT is a 2D array to allow multi-column - ordering to be defined.

- -

The table below is ordered (descending) by the Age column.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "order": [[ 3, "desc" ]] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/basic_init/zero_configuration.html b/src/sunstone/public/bower_components/datatables/examples/basic_init/zero_configuration.html deleted file mode 100644 index 77c2746750..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/basic_init/zero_configuration.html +++ /dev/null @@ -1,750 +0,0 @@ - - - - - - - - DataTables example - Zero configuration - - - - - - - - - - - - -
-
-

DataTables example Zero configuration

- -
-

DataTables has most features enabled by default, so all you need to do to use it with your own - tables is to call the construction function.

- -

Searching, ordering, paging etc goodness will be immediately added to the table, as shown in this - example.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/data_sources/ajax.html b/src/sunstone/public/bower_components/datatables/examples/data_sources/ajax.html deleted file mode 100644 index 8f981bd094..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/data_sources/ajax.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - - - DataTables example - Ajax sourced data - - - - - - - - - - - - -
-
-

DataTables example Ajax sourced data

- -
-

DataTables has the ability to read data from virtually any JSON data source that can be obtained by - Ajax. This can be done, in its most simple form, by setting the ajaxDT option to the address of the JSON - data source.

- -

The ajaxDT option also allows for more advanced - configuration such as altering how the Ajax request is made. See the ajaxDT documentation and the other Ajax examples for further information.

- -

The example below shows DataTables loading data for a table from arrays as the data source (object - parameters can also be used through the columns.dataDT option ).

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "ajax": '../ajax/data/arrays.txt' - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/data_sources/dom.html b/src/sunstone/public/bower_components/datatables/examples/data_sources/dom.html deleted file mode 100644 index 78ef99d766..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/data_sources/dom.html +++ /dev/null @@ -1,754 +0,0 @@ - - - - - - - - DataTables example - HTML (DOM) sourced data - - - - - - - - - - - - -
-
-

DataTables example HTML (DOM) sourced data

- -
-

The foundation for DataTables is progressive enhancement, so it is very adept at reading table - information directly from the DOM. This example shows how easy it is to add searching, ordering and - paging to your HTML table by simply running DataTables on it.

- -

For further and more complex examples of using DataTables with DOM sourced data, please refer to the - basic initialisation and advanced - examples.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/data_sources/index.html b/src/sunstone/public/bower_components/datatables/examples/data_sources/index.html deleted file mode 100644 index 4189bf8dfc..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/data_sources/index.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Data sources - - - -
-
-

DataTables example Data sources

- -
-

DataTables can obtain data from four different fundamental sources:

- -
    -
  • HTML document (DOM)
  • -
  • Javascript (array / objects)
  • -
  • Ajax sourced data with client-side processing
  • -
  • Ajax sourced data with server-side processing
  • -
- -

Which of these options is used to populate the table with data depends upon how the table is - initialised. The examples in this section show these four different data source types.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/data_sources/js_array.html b/src/sunstone/public/bower_components/datatables/examples/data_sources/js_array.html deleted file mode 100644 index 1baea23bce..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/data_sources/js_array.html +++ /dev/null @@ -1,419 +0,0 @@ - - - - - - - - DataTables example - Javascript sourced data - - - - - - - - - - - - -
-
-

DataTables example Javascript sourced data

- -
-

At times you will wish to be able to create a table from dynamic information passed directly to - DataTables, rather than having it read from the document. This is achieved using the dataDT option in the initialisation object, - passing in an array of data to be used (like all other DataTables handled data, this can be arrays or - objects using the columns.dataDT option).

- -

A <table> must be available on the page for DataTables to use. This examples - shows the element being added by Javascript and then initialising the DataTable with a set of data from - a Javascript array.

-
- -
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

var dataSet = [ - ['Trident','Internet Explorer 4.0','Win 95+','4','X'], - ['Trident','Internet Explorer 5.0','Win 95+','5','C'], - ['Trident','Internet Explorer 5.5','Win 95+','5.5','A'], - ['Trident','Internet Explorer 6','Win 98+','6','A'], - ['Trident','Internet Explorer 7','Win XP SP2+','7','A'], - ['Trident','AOL browser (AOL desktop)','Win XP','6','A'], - ['Gecko','Firefox 1.0','Win 98+ / OSX.2+','1.7','A'], - ['Gecko','Firefox 1.5','Win 98+ / OSX.2+','1.8','A'], - ['Gecko','Firefox 2.0','Win 98+ / OSX.2+','1.8','A'], - ['Gecko','Firefox 3.0','Win 2k+ / OSX.3+','1.9','A'], - ['Gecko','Camino 1.0','OSX.2+','1.8','A'], - ['Gecko','Camino 1.5','OSX.3+','1.8','A'], - ['Gecko','Netscape 7.2','Win 95+ / Mac OS 8.6-9.2','1.7','A'], - ['Gecko','Netscape Browser 8','Win 98SE+','1.7','A'], - ['Gecko','Netscape Navigator 9','Win 98+ / OSX.2+','1.8','A'], - ['Gecko','Mozilla 1.0','Win 95+ / OSX.1+',1,'A'], - ['Gecko','Mozilla 1.1','Win 95+ / OSX.1+',1.1,'A'], - ['Gecko','Mozilla 1.2','Win 95+ / OSX.1+',1.2,'A'], - ['Gecko','Mozilla 1.3','Win 95+ / OSX.1+',1.3,'A'], - ['Gecko','Mozilla 1.4','Win 95+ / OSX.1+',1.4,'A'], - ['Gecko','Mozilla 1.5','Win 95+ / OSX.1+',1.5,'A'], - ['Gecko','Mozilla 1.6','Win 95+ / OSX.1+',1.6,'A'], - ['Gecko','Mozilla 1.7','Win 98+ / OSX.1+',1.7,'A'], - ['Gecko','Mozilla 1.8','Win 98+ / OSX.1+',1.8,'A'], - ['Gecko','Seamonkey 1.1','Win 98+ / OSX.2+','1.8','A'], - ['Gecko','Epiphany 2.20','Gnome','1.8','A'], - ['Webkit','Safari 1.2','OSX.3','125.5','A'], - ['Webkit','Safari 1.3','OSX.3','312.8','A'], - ['Webkit','Safari 2.0','OSX.4+','419.3','A'], - ['Webkit','Safari 3.0','OSX.4+','522.1','A'], - ['Webkit','OmniWeb 5.5','OSX.4+','420','A'], - ['Webkit','iPod Touch / iPhone','iPod','420.1','A'], - ['Webkit','S60','S60','413','A'], - ['Presto','Opera 7.0','Win 95+ / OSX.1+','-','A'], - ['Presto','Opera 7.5','Win 95+ / OSX.2+','-','A'], - ['Presto','Opera 8.0','Win 95+ / OSX.2+','-','A'], - ['Presto','Opera 8.5','Win 95+ / OSX.2+','-','A'], - ['Presto','Opera 9.0','Win 95+ / OSX.3+','-','A'], - ['Presto','Opera 9.2','Win 88+ / OSX.3+','-','A'], - ['Presto','Opera 9.5','Win 88+ / OSX.3+','-','A'], - ['Presto','Opera for Wii','Wii','-','A'], - ['Presto','Nokia N800','N800','-','A'], - ['Presto','Nintendo DS browser','Nintendo DS','8.5','C/A<sup>1</sup>'], - ['KHTML','Konqureror 3.1','KDE 3.1','3.1','C'], - ['KHTML','Konqureror 3.3','KDE 3.3','3.3','A'], - ['KHTML','Konqureror 3.5','KDE 3.5','3.5','A'], - ['Tasman','Internet Explorer 4.5','Mac OS 8-9','-','X'], - ['Tasman','Internet Explorer 5.1','Mac OS 7.6-9','1','C'], - ['Tasman','Internet Explorer 5.2','Mac OS 8-X','1','C'], - ['Misc','NetFront 3.1','Embedded devices','-','C'], - ['Misc','NetFront 3.4','Embedded devices','-','A'], - ['Misc','Dillo 0.8','Embedded devices','-','X'], - ['Misc','Links','Text only','-','X'], - ['Misc','Lynx','Text only','-','X'], - ['Misc','IE Mobile','Windows Mobile 6','-','C'], - ['Misc','PSP browser','PSP','-','C'], - ['Other browsers','All others','-','-','U'] -]; - -$(document).ready(function() { - $('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' ); - - $('#example').dataTable( { - "data": dataSet, - "columns": [ - { "title": "Engine" }, - { "title": "Browser" }, - { "title": "Platform" }, - { "title": "Version", "class": "center" }, - { "title": "Grade", "class": "center" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/data_sources/server_side.html b/src/sunstone/public/bower_components/datatables/examples/data_sources/server_side.html deleted file mode 100644 index b2ded4f086..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/data_sources/server_side.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - - - DataTables example - Server-side processing - - - - - - - - - - - - -
-
-

DataTables example Server-side processing

- -
-

There are many ways to get your data into DataTables, and if you are working with seriously large - databases, you might want to consider using the server-side options that DataTables provides. With - server-side processing enabled, all paging, searching, ordering actions that DataTables performs are - handed off to a server where an SQL engine (or similar) can perform these actions on the large data set - (after all, that's what the database engine is designed for!). As such, each draw of the table will - result in a new Ajax request being made to get the required data.

- -

Server-side processing is enabled by setting the serverSideDT option to true and - providing an Ajax data source through the ajaxDT option.

- -

This example shows a very simple table, matching the other examples, but in this instance using - server-side processing. For further and more complex examples of using server-side processing, please - refer to the server-side processing examples.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": "../server_side/scripts/server_processing.php" - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/index.html b/src/sunstone/public/bower_components/datatables/examples/index.html deleted file mode 100644 index 2458922d53..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/index.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Examples index - - - -
-
-

DataTables example Examples index

- -
-

One of the best ways to learn how to do anything new (including software APIs!) is to get your hands - dirty as quickly as possible. These examples will show you how to perform tasks ranging from something - as simple as applying DataTables to an HTML table, right the way through to doing server-side - processing with pipelining and custom plug-in functions.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/plug-ins/api.html b/src/sunstone/public/bower_components/datatables/examples/plug-ins/api.html deleted file mode 100644 index 861f09ea2a..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/plug-ins/api.html +++ /dev/null @@ -1,803 +0,0 @@ - - - - - - - - DataTables example - API plug-in methods - - - - - - - - - - - - -
-
-

DataTables example API plug-in methods

- -
-

The DataTables API is designed to be fully extensible, with custom functions being very easy to add - using the $.fn.dataTable.Api.register function. This function takes two arguments; the - first being the name of the method to be added and its chaining hierarchy, and the second the function - itself.

- -

This example shows how a sum() method can easily be added to the Api so you can get the - sum of a column in a single line: table.column().data().sum(). Due to the chaining of the - methods, this allows sum() to very easily give the sum for any selected column, and to - limit the sum to just the current page, filtered data or all pages. This is done using the options for - the column()DT method and the options for its - selectors.

- -

For more information about API plug-ins; creating them and their requirements, please refer to the - plug-in development documentation.

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$.fn.dataTable.Api.register( 'column().data().sum()', function () { - return this.reduce( function (a, b) { - var x = parseFloat( a ) || 0; - var y = parseFloat( b ) || 0; - return x + y; - } ); -} ); - -/* Init the table and fire off a call to get the hidden nodes. */ -$(document).ready(function() { - var table = $('#example').DataTable(); - - $('<button>Click to sum age in all rows</button>') - .prependTo( '#demo' ) - .on( 'click', function () { - alert( 'Column sum is: '+ table.column( 3 ).data().sum() ); - } ); - - $('<button>Click to sum age of visible rows</button>') - .prependTo( '#demo' ) - .on( 'click', function () { - alert( 'Column sum is: '+ table.column( 3, {page:'current'} ).data().sum() ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/plug-ins/dom_sort.html b/src/sunstone/public/bower_components/datatables/examples/plug-ins/dom_sort.html deleted file mode 100644 index 28fe313918..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/plug-ins/dom_sort.html +++ /dev/null @@ -1,1906 +0,0 @@ - - - - - - - - DataTables example - Live DOM ordering - - - - - - - - - - - - -
-
-

DataTables example Live DOM ordering

- -
-

This example shows how you can use information available in the DOM to order columns. Typically - DataTables will read information to be ordered during it's initialisation phase, and this will not be - updated based on user interaction, so ordering on columns which have, for example, form elements in - them, may not reflect the current value of the input. To overcome this problem, you must update the - data that DataTables will order on, just prior to the order. This method is much more efficient than - actually ordering using the DOM, since only one DOM query is needed for each cell to be ordered.

- -

The example below shows the first two columns as normal text with ordering as you would expect. The - following columns all have a form input element of different kinds, and the information contained - within is what DataTables will perform the order on, based on the value at the time of the order.

- -

This is a fairly simple example, but it you aren't constrained to just using form input elements, - you could use anything and customise your DOM queries to suit yourself. You could also update the - ordering live as a user in entered data into a form using an event handler calling order()DT or draw()DT methods.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameAgePositionOffice
NameAgePositionOffice
Tiger Nixon
Garrett Winters
Ashton Cox
Cedric Kelly
Airi Satou
Brielle Williamson
Herrod Chandler
Rhona Davidson
Colleen Hurst
Sonya Frost
Jena Gaines
Quinn Flynn
Charde Marshall
Haley Kennedy
Tatyana Fitzpatrick
Michael Silva
Paul Byrd
Gloria Little
Bradley Greer
Dai Rios
Jenette Caldwell
Yuri Berry
Caesar Vance
Doris Wilder
Angelica Ramos
Gavin Joyce
Jennifer Chang
Brenden Wagner
Fiona Green
Shou Itou
Michelle House
Suki Burks
Prescott Bartlett
Gavin Cortez
Martena Mccray
Unity Butler
Howard Hatfield
Hope Fuentes
Vivian Harrell
Timothy Mooney
Jackson Bradshaw
Olivia Liang
Bruno Nash
Sakura Yamamoto
Thor Walton
Finn Camacho
Serge Baldwin
Zenaida Frank
Zorita Serrano
Jennifer Acosta
Cara Stevens
Hermione Butler
Lael Greer
Jonas Alexander
Shad Decker
Michael Bruce
Donna Snider
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

/* Create an array with the values of all the input boxes in a column */ -$.fn.dataTable.ext.order['dom-text'] = function ( settings, col ) -{ - return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) { - return $('input', td).val(); - } ); -} - -/* Create an array with the values of all the input boxes in a column, parsed as numbers */ -$.fn.dataTable.ext.order['dom-text-numeric'] = function ( settings, col ) -{ - return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) { - return $('input', td).val() * 1; - } ); -} - -/* Create an array with the values of all the select options in a column */ -$.fn.dataTable.ext.order['dom-select'] = function ( settings, col ) -{ - return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) { - return $('select', td).val(); - } ); -} - -/* Create an array with the values of all the checkboxes in a column */ -$.fn.dataTable.ext.order['dom-checkbox'] = function ( settings, col ) -{ - return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) { - return $('input', td).prop('checked') ? '1' : '0'; - } ); -} - -/* Initialise the table with the required column ordering data types */ -$(document).ready(function() { - $('#example').dataTable( { - "columns": [ - null, - { "orderDataType": "dom-text-numeric" }, - { "orderDataType": "dom-text" }, - { "orderDataType": "dom-select" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/plug-ins/index.html b/src/sunstone/public/bower_components/datatables/examples/plug-ins/index.html deleted file mode 100644 index 6bb5ca011b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/plug-ins/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Plug-ins - - - -
-
-

DataTables example Plug-ins

- -
-

While DataTables has a wide range of options and data type support built in, it can never cater for - every type of data out of the box. For this reason, DataTables exposes an extension API which allows - you, the developers using DataTables, to add support for your own data types, searching, ordering and - feature plug-ins.

- -

The examples in this section show how plug-ins can be used and developed for DataTables.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/plug-ins/range_filtering.html b/src/sunstone/public/bower_components/datatables/examples/plug-ins/range_filtering.html deleted file mode 100644 index 2234f1d5c9..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/plug-ins/range_filtering.html +++ /dev/null @@ -1,811 +0,0 @@ - - - - - - - - DataTables example - Custom filtering - range search - - - - - - - - - - - - -
-
-

DataTables example Custom filtering - range search

- -
-

There may be occasions when you wish to search data presented to the end user in your own manner, - common examples are number range search (in between two numbers) and date range search. DataTables - provide an API method to add your own search functions, $.fn.dataTable.ext.search. This is - an array of functions (push your own onto it) which will will be run at table draw time to see if a - particular row should be included or not.

- -

This example shows a search being performed on the age column in the data, based upon two - inputs.

-
- - - - - - - - - - -
Minimum age:
Maximum age:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

/* Custom filtering function which will search data in column four between two values */ -$.fn.dataTable.ext.search.push( - function( settings, data, dataIndex ) { - var min = parseInt( $('#min').val(), 10 ); - var max = parseInt( $('#max').val(), 10 ); - var age = parseFloat( data[3] ) || 0; // use data for the age column - - if ( ( isNaN( min ) && isNaN( max ) ) || - ( isNaN( min ) && age <= max ) || - ( min <= age && isNaN( max ) ) || - ( min <= age && age <= max ) ) - { - return true; - } - return false; - } -); - -$(document).ready(function() { - var table = $('#example').DataTable(); - - // Event listener to the two range filtering inputs to redraw on input - $('#min, #max').keyup( function() { - table.draw(); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/plug-ins/sorting_auto.html b/src/sunstone/public/bower_components/datatables/examples/plug-ins/sorting_auto.html deleted file mode 100644 index f44da1aebd..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/plug-ins/sorting_auto.html +++ /dev/null @@ -1,796 +0,0 @@ - - - - - - - - DataTables example - Ordering plug-ins (with type detection) - - - - - - - - - - - - -
-
-

DataTables example Ordering plug-ins (with type detection)

- -
-

Although DataTables will automatically order data from a number of different data types using the - built in methods, When dealing with more complex formatted data, it can be desirable to define the - ordering order yourself. Using plug-in ordering functions, you have have DataTables sort data in any - manner you wish.

- -

Formatted data of a particular kind can be automatically detected and a suitable ordering plug-in - assigned to it by making use of DataTables' plug-in type detection abilities. For complete information - about type detection and ordering plug-ins; creating them and their requirements, please refer to the - plug-in development documentation.

- -

This example shows ordering with using an enumerated type.

- -

A wide variety of ready made ordering plug-ins can be found on the DataTables plug-ins page.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25Low
Garrett WintersAccountantTokyo632011/07/25Low
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12Low
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29Medium
Airi SatouAccountantTokyo332008/11/28Low
Brielle WilliamsonIntegration SpecialistNew York612012/12/02Medium
Herrod ChandlerSales AssistantSan Francisco592012/08/06Low
Rhona DavidsonIntegration SpecialistTokyo552010/10/14Low
Colleen HurstJavascript DeveloperSan Francisco392009/09/15Low
Sonya FrostSoftware EngineerEdinburgh232008/12/13Low
Jena GainesOffice ManagerLondon302008/12/19Low
Quinn FlynnSupport LeadEdinburgh222013/03/03Low
Charde MarshallRegional DirectorSan Francisco362008/10/16Medium
Haley KennedySenior Marketing DesignerLondon432012/12/18Low
Tatyana FitzpatrickRegional DirectorLondon192010/03/17Medium
Michael SilvaMarketing DesignerLondon662012/11/27Low
Paul ByrdChief Financial Officer (CFO)New York642010/06/09High
Gloria LittleSystems AdministratorNew York592009/04/10Low
Bradley GreerSoftware EngineerLondon412012/10/13Low
Dai RiosPersonnel LeadEdinburgh352012/09/26Low
Jenette CaldwellDevelopment LeadNew York302011/09/03Low
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25High
Caesar VancePre-Sales SupportNew York212011/12/12Low
Doris WilderSales AssistantSidney232010/09/20Low
Angelica RamosChief Executive Officer (CEO)London472009/10/09High
Gavin JoyceDeveloperEdinburgh422010/12/22Low
Jennifer ChangRegional DirectorSingapore282010/11/14Medium
Brenden WagnerSoftware EngineerSan Francisco282011/06/07Low
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11High
Shou ItouRegional MarketingTokyo202011/08/14Low
Michelle HouseIntegration SpecialistSidney372011/06/02Low
Suki BurksDeveloperLondon532009/10/22Low
Prescott BartlettTechnical AuthorLondon272011/05/07Low
Gavin CortezTeam LeaderSan Francisco222008/10/26Low
Martena MccrayPost-Sales supportEdinburgh462011/03/09Low
Unity ButlerMarketing DesignerSan Francisco472009/12/09Low
Howard HatfieldOffice ManagerSan Francisco512008/12/16Low
Hope FuentesSecretarySan Francisco412010/02/12Low
Vivian HarrellFinancial ControllerSan Francisco622009/02/14Medium
Timothy MooneyOffice ManagerLondon372008/12/11Low
Jackson BradshawDirectorNew York652008/09/26Medium
Olivia LiangSupport EngineerSingapore642011/02/03Low
Bruno NashSoftware EngineerLondon382011/05/03Low
Sakura YamamotoSupport EngineerTokyo372009/08/19Low
Thor WaltonDeveloperNew York612013/08/11Low
Finn CamachoSupport EngineerSan Francisco472009/07/07Low
Serge BaldwinData CoordinatorSingapore642012/04/09Low
Zenaida FrankSoftware EngineerNew York632010/01/04Low
Zorita SerranoSoftware EngineerSan Francisco562012/06/01Low
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01Low
Cara StevensSales AssistantNew York462011/12/06Low
Hermione ButlerRegional DirectorLondon472011/03/21Medium
Lael GreerSystems AdministratorLondon212009/02/27Low
Jonas AlexanderDeveloperSan Francisco302010/07/14Low
Shad DeckerRegional DirectorEdinburgh512008/11/13Low
Michael BruceJavascript DeveloperSingapore292011/06/27Low
Donna SniderCustomer SupportNew York272011/01/25Low
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$.fn.dataTable.ext.type.detect.unshift( - function ( d ) { - return d === 'Low' || d === 'Medium' || d === 'High' ? - 'salary-grade' : - null; - } -); - -$.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) { - switch ( d ) { - case 'Low': return 1; - case 'Medium': return 2; - case 'High': return 3; - } - return 0; -}; - - -$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/plug-ins/sorting_manual.html b/src/sunstone/public/bower_components/datatables/examples/plug-ins/sorting_manual.html deleted file mode 100644 index 9baa8ca63d..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/plug-ins/sorting_manual.html +++ /dev/null @@ -1,789 +0,0 @@ - - - - - - - - DataTables example - Ordering plug-ins (no type detection) - - - - - - - - - - - - -
-
-

DataTables example Ordering plug-ins (no type detection)

- -
-

Although DataTables will order a number of data types using the built in methods, When dealing with - more complex formatted data, it can be desirable to define the ordering order yourself. Using plug-in - ordering functions, you have have DataTables order data in any manner you wish.

- -

This is done by using the columns.typeDT parameter, in - combination with a ordering plug-in. The ordering plug-in can be be of any level of complexity (natural - ordering for example can be fairly complex while also very powerful), and is defined by attaching to - the $.fn.dataTable.ext.type.order object. For more information about ordering plug-ins; - creating them and their requirements, please refer to the plug-in development documentation.

- -

This example shows ordering with using an enumerated type.

- -

A wide variety of ready made ordering plug-ins can be found on the DataTables plug-ins page.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25Low
Garrett WintersAccountantTokyo632011/07/25Low
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12Low
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29Medium
Airi SatouAccountantTokyo332008/11/28Low
Brielle WilliamsonIntegration SpecialistNew York612012/12/02Medium
Herrod ChandlerSales AssistantSan Francisco592012/08/06Low
Rhona DavidsonIntegration SpecialistTokyo552010/10/14Low
Colleen HurstJavascript DeveloperSan Francisco392009/09/15Low
Sonya FrostSoftware EngineerEdinburgh232008/12/13Low
Jena GainesOffice ManagerLondon302008/12/19Low
Quinn FlynnSupport LeadEdinburgh222013/03/03Low
Charde MarshallRegional DirectorSan Francisco362008/10/16Medium
Haley KennedySenior Marketing DesignerLondon432012/12/18Low
Tatyana FitzpatrickRegional DirectorLondon192010/03/17Medium
Michael SilvaMarketing DesignerLondon662012/11/27Low
Paul ByrdChief Financial Officer (CFO)New York642010/06/09High
Gloria LittleSystems AdministratorNew York592009/04/10Low
Bradley GreerSoftware EngineerLondon412012/10/13Low
Dai RiosPersonnel LeadEdinburgh352012/09/26Low
Jenette CaldwellDevelopment LeadNew York302011/09/03Low
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25High
Caesar VancePre-Sales SupportNew York212011/12/12Low
Doris WilderSales AssistantSidney232010/09/20Low
Angelica RamosChief Executive Officer (CEO)London472009/10/09High
Gavin JoyceDeveloperEdinburgh422010/12/22Low
Jennifer ChangRegional DirectorSingapore282010/11/14Medium
Brenden WagnerSoftware EngineerSan Francisco282011/06/07Low
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11High
Shou ItouRegional MarketingTokyo202011/08/14Low
Michelle HouseIntegration SpecialistSidney372011/06/02Low
Suki BurksDeveloperLondon532009/10/22Low
Prescott BartlettTechnical AuthorLondon272011/05/07Low
Gavin CortezTeam LeaderSan Francisco222008/10/26Low
Martena MccrayPost-Sales supportEdinburgh462011/03/09Low
Unity ButlerMarketing DesignerSan Francisco472009/12/09Low
Howard HatfieldOffice ManagerSan Francisco512008/12/16Low
Hope FuentesSecretarySan Francisco412010/02/12Low
Vivian HarrellFinancial ControllerSan Francisco622009/02/14Medium
Timothy MooneyOffice ManagerLondon372008/12/11Low
Jackson BradshawDirectorNew York652008/09/26Medium
Olivia LiangSupport EngineerSingapore642011/02/03Low
Bruno NashSoftware EngineerLondon382011/05/03Low
Sakura YamamotoSupport EngineerTokyo372009/08/19Low
Thor WaltonDeveloperNew York612013/08/11Low
Finn CamachoSupport EngineerSan Francisco472009/07/07Low
Serge BaldwinData CoordinatorSingapore642012/04/09Low
Zenaida FrankSoftware EngineerNew York632010/01/04Low
Zorita SerranoSoftware EngineerSan Francisco562012/06/01Low
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01Low
Cara StevensSales AssistantNew York462011/12/06Low
Hermione ButlerRegional DirectorLondon472011/03/21Medium
Lael GreerSystems AdministratorLondon212009/02/27Low
Jonas AlexanderDeveloperSan Francisco302010/07/14Low
Shad DeckerRegional DirectorEdinburgh512008/11/13Low
Michael BruceJavascript DeveloperSingapore292011/06/27Low
Donna SniderCustomer SupportNew York272011/01/25Low
- - - -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) { - switch ( d ) { - case 'Low': return 1; - case 'Medium': return 2; - case 'High': return 3; - } - return 0; -}; - -$(document).ready(function() { - $('#example').dataTable( { - "columnDefs": [ { - "type": "salary-grade", - "targets": -1 - } ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/dataTables.bootstrap.css b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/dataTables.bootstrap.css deleted file mode 100644 index 416f17e354..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/dataTables.bootstrap.css +++ /dev/null @@ -1,204 +0,0 @@ - -div.dataTables_length label { - font-weight: normal; - float: left; - text-align: left; -} - -div.dataTables_length select { - width: 75px; -} - -div.dataTables_filter label { - font-weight: normal; - float: right; -} - -div.dataTables_filter input { - width: 16em; -} - -div.dataTables_info { - padding-top: 8px; -} - -div.dataTables_paginate { - float: right; - margin: 0; -} - -div.dataTables_paginate ul.pagination { - margin: 2px; -} - -table.table { - clear: both; - margin-top: 6px !important; - margin-bottom: 6px !important; - max-width: none !important; -} - -table.table thead .sorting, -table.table thead .sorting_asc, -table.table thead .sorting_desc, -table.table thead .sorting_asc_disabled, -table.table thead .sorting_desc_disabled { - cursor: pointer; -} - -table.table thead .sorting { background: url('../images/sort_both.png') no-repeat center right; } -table.table thead .sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; } -table.table thead .sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; } - -table.table thead .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; } -table.table thead .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; } - -table.dataTable th:active { - outline: none; -} - -/* Scrolling */ -div.dataTables_scrollHead table { - margin-bottom: 0 !important; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; -} - -div.dataTables_scrollHead table thead tr:last-child th:first-child, -div.dataTables_scrollHead table thead tr:last-child td:first-child { - border-bottom-left-radius: 0 !important; - border-bottom-right-radius: 0 !important; -} - -div.dataTables_scrollBody table { - border-top: none; - margin-bottom: 0 !important; -} - -div.dataTables_scrollBody tbody tr:first-child th, -div.dataTables_scrollBody tbody tr:first-child td { - border-top: none; -} - -div.dataTables_scrollFoot table { - border-top: none; -} - - - - -/* - * TableTools styles - */ -.table tbody tr.active td, -.table tbody tr.active th { - background-color: #08C; - color: white; -} - -.table tbody tr.active:hover td, -.table tbody tr.active:hover th { - background-color: #0075b0 !important; -} - -.table-striped tbody tr.active:nth-child(odd) td, -.table-striped tbody tr.active:nth-child(odd) th { - background-color: #017ebc; -} - -table.DTTT_selectable tbody tr { - cursor: pointer; -} - -div.DTTT .btn { - color: #333 !important; - font-size: 12px; -} - -div.DTTT .btn:hover { - text-decoration: none !important; -} - -ul.DTTT_dropdown.dropdown-menu { - z-index: 2003; -} - -ul.DTTT_dropdown.dropdown-menu a { - color: #333 !important; /* needed only when demo_page.css is included */ -} - -ul.DTTT_dropdown.dropdown-menu li { - position: relative; -} - -ul.DTTT_dropdown.dropdown-menu li:hover a { - background-color: #0088cc; - color: white !important; -} - -/* TableTools information display */ -div.DTTT_print_info.modal { - height: 150px; - margin-top: -75px; - text-align: center; -} - -div.DTTT_print_info h6 { - font-weight: normal; - font-size: 28px; - line-height: 28px; - margin: 1em; -} - -div.DTTT_print_info p { - font-size: 14px; - line-height: 20px; -} - - - -/* - * FixedColumns styles - */ -div.DTFC_LeftHeadWrapper table, -div.DTFC_LeftFootWrapper table, -div.DTFC_RightHeadWrapper table, -div.DTFC_RightFootWrapper table, -table.DTFC_Cloned tr.even { - background-color: white; -} - -div.DTFC_RightHeadWrapper table , -div.DTFC_LeftHeadWrapper table { - margin-bottom: 0 !important; - border-top-right-radius: 0 !important; - border-bottom-left-radius: 0 !important; - border-bottom-right-radius: 0 !important; -} - -div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child, -div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child, -div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child, -div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child { - border-bottom-left-radius: 0 !important; - border-bottom-right-radius: 0 !important; -} - -div.DTFC_RightBodyWrapper table, -div.DTFC_LeftBodyWrapper table { - border-top: none; - margin-bottom: 0 !important; -} - -div.DTFC_RightBodyWrapper tbody tr:first-child th, -div.DTFC_RightBodyWrapper tbody tr:first-child td, -div.DTFC_LeftBodyWrapper tbody tr:first-child th, -div.DTFC_LeftBodyWrapper tbody tr:first-child td { - border-top: none; -} - -div.DTFC_RightFootWrapper table, -div.DTFC_LeftFootWrapper table { - border-top: none; -} - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/dataTables.bootstrap.js b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/dataTables.bootstrap.js deleted file mode 100644 index 5037d7d59f..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/dataTables.bootstrap.js +++ /dev/null @@ -1,152 +0,0 @@ -/* Set the defaults for DataTables initialisation */ -$.extend( true, $.fn.dataTable.defaults, { - "sDom": "<'row'<'col-xs-6'l><'col-xs-6'f>r>t<'row'<'col-xs-6'i><'col-xs-6'p>>", - "sPaginationType": "bootstrap", - "oLanguage": { - "sLengthMenu": "_MENU_ records per page" - } -} ); - - - - -/* Default class modification */ -$.extend( $.fn.dataTableExt.oStdClasses, { - "sWrapper": "dataTables_wrapper form-inline", - "sFilterInput": "form-control input-sm", - "sLengthSelect": "form-control input-sm" -} ); - - -/* API method to get paging information */ -$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings ) -{ - return { - "iStart": oSettings._iDisplayStart, - "iEnd": oSettings.fnDisplayEnd(), - "iLength": oSettings._iDisplayLength, - "iTotal": oSettings.fnRecordsTotal(), - "iFilteredTotal": oSettings.fnRecordsDisplay(), - "iPage": oSettings._iDisplayLength === -1 ? - 0 : Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ), - "iTotalPages": oSettings._iDisplayLength === -1 ? - 0 : Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength ) - }; -}; - - -/* Bootstrap style pagination control */ -$.extend( $.fn.dataTableExt.oPagination, { - "bootstrap": { - "fnInit": function( oSettings, nPaging, fnDraw ) { - var oLang = oSettings.oLanguage.oPaginate; - var fnClickHandler = function ( e ) { - e.preventDefault(); - if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) { - fnDraw( oSettings ); - } - }; - - $(nPaging).append( - '' - ); - var els = $('a', nPaging); - $(els[0]).bind( 'click.DT', { action: "previous" }, fnClickHandler ); - $(els[1]).bind( 'click.DT', { action: "next" }, fnClickHandler ); - }, - - "fnUpdate": function ( oSettings, fnDraw ) { - var iListLength = 5; - var oPaging = oSettings.oInstance.fnPagingInfo(); - var an = oSettings.aanFeatures.p; - var i, ien, j, sClass, iStart, iEnd, iHalf=Math.floor(iListLength/2); - - if ( oPaging.iTotalPages < iListLength) { - iStart = 1; - iEnd = oPaging.iTotalPages; - } - else if ( oPaging.iPage <= iHalf ) { - iStart = 1; - iEnd = iListLength; - } else if ( oPaging.iPage >= (oPaging.iTotalPages-iHalf) ) { - iStart = oPaging.iTotalPages - iListLength + 1; - iEnd = oPaging.iTotalPages; - } else { - iStart = oPaging.iPage - iHalf + 1; - iEnd = iStart + iListLength - 1; - } - - for ( i=0, ien=an.length ; i'+j+'') - .insertBefore( $('li:last', an[i])[0] ) - .bind('click', function (e) { - e.preventDefault(); - oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength; - fnDraw( oSettings ); - } ); - } - - // Add / remove disabled classes from the static elements - if ( oPaging.iPage === 0 ) { - $('li:first', an[i]).addClass('disabled'); - } else { - $('li:first', an[i]).removeClass('disabled'); - } - - if ( oPaging.iPage === oPaging.iTotalPages-1 || oPaging.iTotalPages === 0 ) { - $('li:last', an[i]).addClass('disabled'); - } else { - $('li:last', an[i]).removeClass('disabled'); - } - } - } - } -} ); - - -/* - * TableTools Bootstrap compatibility - * Required TableTools 2.1+ - */ -if ( $.fn.DataTable.TableTools ) { - // Set the classes that TableTools uses to something suitable for Bootstrap - $.extend( true, $.fn.DataTable.TableTools.classes, { - "container": "DTTT btn-group", - "buttons": { - "normal": "btn btn-default", - "disabled": "disabled" - }, - "collection": { - "container": "DTTT_dropdown dropdown-menu", - "buttons": { - "normal": "", - "disabled": "disabled" - } - }, - "print": { - "info": "DTTT_print_info modal" - }, - "select": { - "row": "active" - } - } ); - - // Have the collection use a bootstrap compatible dropdown - $.extend( true, $.fn.DataTable.TableTools.DEFAULTS.oTags, { - "collection": { - "container": "ul", - "button": "li", - "liner": "a" - } - } ); -} - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/index.html b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/index.html deleted file mode 100644 index b4c7b182f9..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/3/index.html +++ /dev/null @@ -1,442 +0,0 @@ - - - - - - DataTables Bootstrap 2 example - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+ 4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_asc.png b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_asc.png deleted file mode 100644 index a88d7975fe..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_asc.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_asc_disabled.png b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_asc_disabled.png deleted file mode 100644 index 4e144cf0b1..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_asc_disabled.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_both.png b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_both.png deleted file mode 100644 index 18670406bc..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_both.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_desc.png b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_desc.png deleted file mode 100644 index def071ed5a..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_desc.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_desc_disabled.png b/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_desc_disabled.png deleted file mode 100644 index 7824973cc6..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/bootstrap/images/sort_desc_disabled.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/de_DE.txt b/src/sunstone/public/bower_components/datatables/examples/resources/de_DE.txt deleted file mode 100644 index 74db039cc9..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/de_DE.txt +++ /dev/null @@ -1,17 +0,0 @@ -{ - "processing": "Bitte warten...", - "lengthMenu": "_MENU_ Einträge anzeigen", - "zeroRecords": "Keine Einträge vorhanden.", - "info": "_START_ bis _END_ von _TOTAL_ Einträgen", - "infoEmpty": "0 bis 0 von 0 Einträgen", - "infoFiltered": "(gefiltert von _MAX_ Einträgen)", - "infoPostFix": "", - "search": "Suchen", - "url": "", - "paginate": { - "first": "Erster", - "previous": "Zurück", - "next": "Nächster", - "last": "Letzter" - } -} \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/demo.css b/src/sunstone/public/bower_components/datatables/examples/resources/demo.css deleted file mode 100644 index 9e2813f634..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/demo.css +++ /dev/null @@ -1,343 +0,0 @@ - -@font-face { - /* RaleWay Thin from - https://www.theleagueofmoveabletype.com, Font Squirrel for Web Font creation with "Adjust Glyph Spacing" -50 */ - font-family: 'ralewaythin'; - src: url('font/raleway_thin-webfont.eot'); - src: url('font/raleway_thin-webfont.eot?#iefix') format('embedded-opentype'), - url('font/raleway_thin-webfont.woff') format('woff'), - url('font/raleway_thin-webfont.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - - -body { - font: 90%/1.45em "Helvetica Neue", HelveticaNeue, Verdana, Arial, Helvetica, sans-serif; - margin: 0; - padding: 0; - color: #333; - background-color: #fff; -} - - -div.container { - max-width: 980px; - margin: 0 auto; -} - -h1 { - font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'ralewaythin', 'Helvetica Neue', Arial, Helvetica, sans-serif; - font-weight: 100; - letter-spacing: 1px; - font-size: 3em; - line-height: 1em; -} - -h1 span { - font-size: 0.5em; - line-height: 1em; -} - -a { - cursor: pointer; - color: #3174c7; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -div.toc ul { - color: #4E6CA3; - list-style-type: none; - padding-left: 0; -} - -div.toc li { - padding: 0.2em 1em; - border-left: 4px solid transparent; - border-bottom: 1px solid #e6e6e6; -} - -div.toc li.active { - border-left: 4px solid #458ae0; -} - - -div.toc li:first-child { - border-top: 1px solid #efefef; -} - -div.toc li:last-child { - border-bottom: 1px solid #efefef; -} - - -div.epilogue { - text-align: center; -} - -p.copyright { - font-size: 0.8em; - padding-bottom: 2em; - margin-bottom: 0; -} - -.clear { - clear: both; - height: 0; -} - - -div.info { - margin-bottom: 2em; - - -webkit-column-count: 2; - -moz-column-count: 2; - -ms-column-count: 2; - -o-column-count: 2; - column-count: 2; - - - -webkit-column-rule: 1px solid #F3F3F3; - -moz-column-rule: 1px solid #F3F3F3; - -ms-column-rule: 1px solid #F3F3F3; - -o-column-rule: 1px solid #F3F3F3; - column-rule: 1px solid #F3F3F3; -} - -div.info > * { - -webkit-column-break-inside: avoid; - break-inside: avoid; -} - -div.info li { - margin-top: 0.75em; -} - -div.info p:first-child { - margin-top: 0; -} - -div.footer { - position: relative; - margin-top: 3em; - border-top: 1px solid #999; - background-color: #eee; -} - -div.footer > div.liner { - max-width: 960px; - margin: 0 auto; -} - -div.footer > div.gradient { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 6px; - - background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.2)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* IE10+ */ - background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(0,0,0,0) 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */ -} - -div.toc { - -webkit-column-count: 2; - -moz-column-count: 2; - -ms-column-count: 2; - -o-column-count: 2; - column-count: 2; -} - -div.toc-group { - display: inline-block; - width: 100%; -} - -div.box { - overflow: auto; - height: 8em; - padding: 1em; - color: #444; - background-color: #fcfcfc; - border: 1px solid #e0e0e0; - margin-bottom: 2em; -} - - -code { - font-family: "Source Code Pro", Consolas, Menlo, Monaco, "Courier New", monospace; - padding: 1px 4px; - font-size: 0.8em; - - color: #444; - background-color: #fcfcfc; - - border: 1px solid #e0e0e0; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -code > span { - border-left: 1px solid rgba( 0, 0, 0, 0.2 ); - margin-left: 4px; - padding-left: 4px; - opacity: 0.5; -} - -code.option { - color: #D14; /* red */ - background-color: #fcf6f8; - border: 1px solid #f7d6df; -} - -code.path { - color: #095c05; /* dark green */ - border: 1px solid #D6E9C6; -} - -code.tag { - color: #a1a713; /* yellow */ - background-color: #f7f8e6; - border: 1px solid #D6E9C6; -} - -code.api { - color: #0c199c; /* dark blue */ - background-color: #f4f5fc; - border: 1px solid #c6cbe9; -} - -code.type { - color: #d119cf; /* purple */ - background-color: #faebfa; - border: 1px solid #f3aef2; -} - -code.event { - color: #2a839e; /* deep aqua */ - background-color: #f5fafb; - border: 1px solid #a8ddec; -} - -code.string { - color: #e8941e; /* orange */ - background-color: #fcf8f1; - border: 1px solid #f7e4c9; -} - -code.field { - color: #ad1ee8; /* purple */ - background-color: #f9f1fc; - border: 1px solid #ebc9f7; -} - -code.multiline { - display: inline-block; - width: 95%; -} - - -ul.tabs { - position: relative; - top: 1px; - height: 40px; - margin: 20px 20px 0 0; -} - - -ul.tabs li { - display: block; - float: left; - padding: 0 15px; - height: 40px; - font-size: 1.2em; - margin: 0 5px; - cursor: pointer; - line-height: 40px; - color: #121e32; - border: 1px solid white; - border-bottom: none; - margin-top: -1px; -} - -ul.tabs li.active { - border: 1px solid #ccc; - border-bottom: 1px solid white; - margin-top: 0; - border-top-left-radius: 5px; - border-top-right-radius: 5px; -} - -ul.tabs li:hover { - background-color: #fafafa; -} - -ul.tabs li.active:hover { - background-color: white; -} - -div.tabs { - clear: both; -} - -div.tabs>div { - padding: 0 15px; - border: 1px solid #ccc; - margin-top: 1px; - display: none; - border-radius: 5px; - box-shadow: 2px 2px 2px #bbb; -} - -div.tabs>div h1 { - border-bottom: none; - margin-top: 1em; -} - -div.column_half { - float: left; - width: 49%; - padding-right: 1%; -} - - -@media only screen and (max-width : 979px) { - div.container, - div.footer { - padding: 0 1em; - } -} - -@media - screen and (max-width : 767px), - screen and (max-width : 768px) and (orientation: portrait) { - div.info { - -webkit-column-count: 1; - -moz-column-count: 1; - -ms-column-count: 1; - -o-column-count: 1; - column-count: 1; - } - - div.toc { - -webkit-column-count: 1; - -moz-column-count: 1; - -ms-column-count: 1; - -o-column-count: 1; - column-count: 1; - } - - h1 span { - display: block; - } -} - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/demo.js b/src/sunstone/public/bower_components/datatables/examples/resources/demo.js deleted file mode 100644 index 4339032e92..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/demo.js +++ /dev/null @@ -1,116 +0,0 @@ - -/*global SyntaxHighlighter*/ -SyntaxHighlighter.config.tagName = 'code'; - -$(document).ready( function () { - if ( ! $.fn.dataTable ) { - return; - } - var dt110 = $.fn.dataTable.Api ? true : false; - - // Work around for WebKit bug 55740 - var info = $('div.info'); - - if ( info.height() < 115 ) { - info.css( 'min-height', '8em' ); - } - - var escapeHtml = function ( str ) { - return str.replace(/&/g, '&').replace(//g, '>'); - }; - - // css - var cssContainer = $('div.tabs div.css'); - if ( $.trim( cssContainer.find('code').text() ) === '' ) { - cssContainer.find('code, p:eq(0), div').css('display', 'none'); - } - - // init html - var table = $('

').append( $('table').clone() ).html(); - $('div.tabs div.table').append( - '\t\t\t'+ - escapeHtml( table )+ - '' - ); - //SyntaxHighlighter.highlight({}, $('#display-init-html')[0]); - - // Allow the demo code to run if DT 1.9 is used - if ( dt110 ) { - // json - var ajaxTab = $('ul.tabs li').eq(3).css('display', 'none'); - - $(document).on( 'init.dt', function ( e, settings ) { - var api = new $.fn.dataTable.Api( settings ); - - var show = function ( str ) { - ajaxTab.css( 'display', 'block' ); - $('div.tabs div.ajax code').remove(); - - // Old IE :-| - try { - str = JSON.stringify( str, null, 2 ); - } catch ( e ) {} - - $('div.tabs div.ajax').append( - ''+str+'' - ); - SyntaxHighlighter.highlight( {}, $('div.tabs div.ajax code')[0] ); - }; - - // First draw - var json = api.ajax.json(); - if ( json ) { - show( json ); - } - - // Subsequent draws - api.on( 'xhr.dt', function ( e, settings, json ) { - show( json ); - } ); - } ); - - // php - var phpTab = $('ul.tabs li').eq(4).css('display', 'none'); - - $(document).on( 'init.dt.demoSSP', function ( e, settings ) { - if ( settings.oFeatures.bServerSide ) { - if ( $.isFunction( settings.ajax ) ) { - return; - } - $.ajax( { - url: '../resources/examples.php', - data: { - src: settings.sAjaxSource || settings.ajax.url || settings.ajax - }, - dataType: 'text', - type: 'post', - success: function ( txt ) { - phpTab.css( 'display', 'block' ); - $('div.tabs div.php').append( - ''+txt+'' - ); - SyntaxHighlighter.highlight( {}, $('div.tabs div.php code')[0] ); - } - } ); - } - } ); - } - else { - $('ul.tabs li').eq(3).css('display', 'none'); - $('ul.tabs li').eq(4).css('display', 'none'); - } - - // Tabs - $('ul.tabs').on( 'click', 'li', function () { - $('ul.tabs li.active').removeClass('active'); - $(this).addClass('active'); - - $('div.tabs>div') - .css('display', 'none') - .eq( $(this).index() ).css('display', 'block'); - } ); - $('ul.tabs li.active').click(); -} ); - - - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/details_close.png b/src/sunstone/public/bower_components/datatables/examples/resources/details_close.png deleted file mode 100644 index fcc23c63e2..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/details_close.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/details_open.png b/src/sunstone/public/bower_components/datatables/examples/resources/details_open.png deleted file mode 100644 index 6f034d0f2d..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/details_open.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/examples.php b/src/sunstone/public/bower_components/datatables/examples/resources/examples.php deleted file mode 100644 index 303d3bdb28..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/examples.php +++ /dev/null @@ -1,10 +0,0 @@ -<'large-6 columns'f>r>"+ - "t"+ - "<'row'<'large-6 columns'i><'large-6 columns'p>>", - "sPaginationType": "bootstrap", - "oLanguage": { - "sLengthMenu": "_MENU_ records per page" - } -} ); - - -/* API method to get paging information */ -$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings ) -{ - return { - "iStart": oSettings._iDisplayStart, - "iEnd": oSettings.fnDisplayEnd(), - "iLength": oSettings._iDisplayLength, - "iTotal": oSettings.fnRecordsTotal(), - "iFilteredTotal": oSettings.fnRecordsDisplay(), - "iPage": oSettings._iDisplayLength === -1 ? - 0 : Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ), - "iTotalPages": oSettings._iDisplayLength === -1 ? - 0 : Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength ) - }; -}; - - -/* Bootstrap style pagination control */ -$.extend( $.fn.dataTableExt.oPagination, { - "bootstrap": { - "fnInit": function( oSettings, nPaging, fnDraw ) { - var oLang = oSettings.oLanguage.oPaginate; - var fnClickHandler = function ( e ) { - e.preventDefault(); - if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) { - fnDraw( oSettings ); - } - }; - - $(nPaging).append( - '

' - ); - var els = $('a', nPaging); - $(els[0]).bind( 'click.DT', { action: "previous" }, fnClickHandler ); - $(els[1]).bind( 'click.DT', { action: "next" }, fnClickHandler ); - }, - - "fnUpdate": function ( oSettings, fnDraw ) { - var iListLength = 5; - var oPaging = oSettings.oInstance.fnPagingInfo(); - var an = oSettings.aanFeatures.p; - var pages = []; - var i, ien, klass, host; - - // This could use some improving - however, see - // https://github.com/DataTables/DataTables/issues/163 - this will - // be changing in the near future, so not much point in doing too - // much just now - if ( oPaging.iTotalPages <= 6 ) { - for ( i=0 ; i= oPaging.iTotalPages ? - oPaging.iTotalPages : - oPaging.iPage + 2; - for ( i=oPaging.iPage+1 ; i 0 ? - oPaging.iPage - 2 : - 0; - for ( i=oPaging.iPage-1 ; i>pagesBefore ; i-- ) { - pages.unshift( i ); - } - - // Before gap - if ( pagesBefore > 1 ) { - pages.unshift( null ); - } - - // Start - if ( $.inArray( 1, pages ) === -1 && oPaging.iTotalPages > 1 ) { - pages.unshift( 1 ); - } - if ( $.inArray( 0, pages ) === -1 ) { - pages.unshift( 0 ); - } - } - - for ( i=0, ien=an.length ; i'+(page===null? '…' : page+1)+'') - .insertBefore( $('li:last', host) ) - .bind('click', function (e) { - e.preventDefault(); - oSettings._iDisplayStart = (parseInt($('a', this).text(),10)-1) * oPaging.iLength; - fnDraw( oSettings ); - } ); - } ); - - // Add / remove disabled classes from the static elements - if ( oPaging.iPage === 0 ) { - $('li:first', host).addClass('unavailable'); - } else { - $('li:first', host).removeClass('unavailable'); - } - - if ( oPaging.iPage === oPaging.iTotalPages-1 || oPaging.iTotalPages === 0 ) { - $('li:last', host).addClass('unavailable'); - } else { - $('li:last', host).removeClass('unavailable'); - } - } - } - } -} ); - - -/* - * TableTools Foundation compatibility - * Required TableTools 2.1+ - */ -if ( $.fn.DataTable.TableTools ) { - // Set the classes that TableTools uses to something suitable for Foundation - $.extend( true, $.fn.DataTable.TableTools.classes, { - "container": "DTTT button-group", - "buttons": { - "normal": "button", - "disabled": "disabled" - }, - "collection": { - "container": "DTTT_dropdown dropdown-menu", - "buttons": { - "normal": "", - "disabled": "disabled" - } - }, - "select": { - "row": "active" - } - } ); - - // Have the collection use a bootstrap compatible dropdown - $.extend( true, $.fn.DataTable.TableTools.DEFAULTS.oTags, { - "collection": { - "container": "ul", - "button": "li", - "liner": "a" - } - } ); -} - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_asc.png b/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_asc.png deleted file mode 100644 index a88d7975fe..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_asc.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_asc_disabled.png b/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_asc_disabled.png deleted file mode 100644 index 9ed137c58d..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_asc_disabled.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_both.png b/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_both.png deleted file mode 100644 index 18670406bc..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_both.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_desc.png b/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_desc.png deleted file mode 100644 index def071ed5a..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_desc.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_desc_disabled.png b/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_desc_disabled.png deleted file mode 100644 index 7824973cc6..0000000000 Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/foundation/images/sort_desc_disabled.png and /dev/null differ diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.css b/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.css deleted file mode 100644 index f4a28a9e0b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.css +++ /dev/null @@ -1,316 +0,0 @@ -/* - * Table styles - */ -table.dataTable { - width: 100%; - margin: 0 auto; - clear: both; - border-collapse: separate; - border-spacing: 0; - /* - * Header and footer styles - */ - /* - * Body styles - */ -} -table.dataTable thead th, -table.dataTable thead td, -table.dataTable tfoot th, -table.dataTable tfoot td { - padding: 4px 10px; -} -table.dataTable thead th, -table.dataTable tfoot th { - font-weight: bold; -} -table.dataTable thead th:active, -table.dataTable thead td:active { - outline: none; -} -table.dataTable thead .sorting_asc, -table.dataTable thead .sorting_desc, -table.dataTable thead .sorting { - cursor: pointer; - *cursor: hand; -} -table.dataTable thead th div.DataTables_sort_wrapper { - position: relative; - padding-right: 10px; -} -table.dataTable thead th div.DataTables_sort_wrapper span { - position: absolute; - top: 50%; - margin-top: -8px; - right: -5px; -} -table.dataTable thead th.ui-state-default { - border-right-width: 0; -} -table.dataTable thead th.ui-state-default:last-child { - border-right-width: 1px; -} -table.dataTable tbody tr { - background-color: white; -} -table.dataTable tbody tr.selected { - background-color: #b0bed9; -} -table.dataTable tbody th, -table.dataTable tbody td { - padding: 8px 10px; -} -table.dataTable th.center, -table.dataTable td.center, -table.dataTable td.dataTables_empty { - text-align: center; -} -table.dataTable th.right, -table.dataTable td.right { - text-align: right; -} -table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td { - border-top: 1px solid #dddddd; -} -table.dataTable.row-border tbody tr:first-child th, -table.dataTable.row-border tbody tr:first-child td, table.dataTable.display tbody tr:first-child th, -table.dataTable.display tbody tr:first-child td { - border-top: none; -} -table.dataTable.cell-border tbody th, table.dataTable.cell-border tbody td { - border-top: 1px solid #dddddd; - border-right: 1px solid #dddddd; -} -table.dataTable.cell-border tbody tr th:first-child, -table.dataTable.cell-border tbody tr td:first-child { - border-left: 1px solid #dddddd; -} -table.dataTable.cell-border tbody tr:first-child th, -table.dataTable.cell-border tbody tr:first-child td { - border-top: none; -} -table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd { - background-color: #f9f9f9; -} -table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected { - background-color: #abb9d3; -} -table.dataTable.hover tbody tr:hover, -table.dataTable.hover tbody tr.odd:hover, -table.dataTable.hover tbody tr.even:hover, table.dataTable.display tbody tr:hover, -table.dataTable.display tbody tr.odd:hover, -table.dataTable.display tbody tr.even:hover { - background-color: whitesmoke; -} -table.dataTable.hover tbody tr:hover.selected, -table.dataTable.hover tbody tr.odd:hover.selected, -table.dataTable.hover tbody tr.even:hover.selected, table.dataTable.display tbody tr:hover.selected, -table.dataTable.display tbody tr.odd:hover.selected, -table.dataTable.display tbody tr.even:hover.selected { - background-color: #a9b7d1; -} -table.dataTable.order-column tbody tr > .sorting_1, -table.dataTable.order-column tbody tr > .sorting_2, -table.dataTable.order-column tbody tr > .sorting_3, table.dataTable.display tbody tr > .sorting_1, -table.dataTable.display tbody tr > .sorting_2, -table.dataTable.display tbody tr > .sorting_3 { - background-color: #f9f9f9; -} -table.dataTable.order-column tbody tr.selected > .sorting_1, -table.dataTable.order-column tbody tr.selected > .sorting_2, -table.dataTable.order-column tbody tr.selected > .sorting_3, table.dataTable.display tbody tr.selected > .sorting_1, -table.dataTable.display tbody tr.selected > .sorting_2, -table.dataTable.display tbody tr.selected > .sorting_3 { - background-color: #acbad4; -} -table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 { - background-color: #f1f1f1; -} -table.dataTable.display tbody tr.odd > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd > .sorting_2 { - background-color: #f3f3f3; -} -table.dataTable.display tbody tr.odd > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd > .sorting_3 { - background-color: whitesmoke; -} -table.dataTable.display tbody tr.odd.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_1 { - background-color: #a6b3cd; -} -table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 { - background-color: #a7b5ce; -} -table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 { - background-color: #a9b6d0; -} -table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 { - background-color: #f9f9f9; -} -table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 { - background-color: #fbfbfb; -} -table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 { - background-color: #fdfdfd; -} -table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 { - background-color: #acbad4; -} -table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 { - background-color: #adbbd6; -} -table.dataTable.display tbody tr.even.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_3 { - background-color: #afbdd8; -} -table.dataTable.display tbody tr:hover > .sorting_1, -table.dataTable.display tbody tr.odd:hover > .sorting_1, -table.dataTable.display tbody tr.even:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1, -table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_1, -table.dataTable.order-column.hover tbody tr.even:hover > .sorting_1 { - background-color: #eaeaea; -} -table.dataTable.display tbody tr:hover > .sorting_2, -table.dataTable.display tbody tr.odd:hover > .sorting_2, -table.dataTable.display tbody tr.even:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2, -table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_2, -table.dataTable.order-column.hover tbody tr.even:hover > .sorting_2 { - background-color: #ebebeb; -} -table.dataTable.display tbody tr:hover > .sorting_3, -table.dataTable.display tbody tr.odd:hover > .sorting_3, -table.dataTable.display tbody tr.even:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3, -table.dataTable.order-column.hover tbody tr.odd:hover > .sorting_3, -table.dataTable.order-column.hover tbody tr.even:hover > .sorting_3 { - background-color: #eeeeee; -} -table.dataTable.display tbody tr:hover.selected > .sorting_1, -table.dataTable.display tbody tr.odd:hover.selected > .sorting_1, -table.dataTable.display tbody tr.even:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1, -table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_1, -table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_1 { - background-color: #a1aec7; -} -table.dataTable.display tbody tr:hover.selected > .sorting_2, -table.dataTable.display tbody tr.odd:hover.selected > .sorting_2, -table.dataTable.display tbody tr.even:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2, -table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_2, -table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_2 { - background-color: #a2afc8; -} -table.dataTable.display tbody tr:hover.selected > .sorting_3, -table.dataTable.display tbody tr.odd:hover.selected > .sorting_3, -table.dataTable.display tbody tr.even:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3, -table.dataTable.order-column.hover tbody tr.odd:hover.selected > .sorting_3, -table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_3 { - background-color: #a4b2cb; -} - -table.dataTable, -table.dataTable th, -table.dataTable td { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} - -/* - * Control feature layout - */ -.dataTables_wrapper { - position: relative; - clear: both; - *zoom: 1; - zoom: 1; -} -.dataTables_wrapper .dataTables_length { - float: left; -} -.dataTables_wrapper .dataTables_filter { - float: right; - text-align: right; -} -.dataTables_wrapper .dataTables_filter input { - margin-left: 0.5em; -} -.dataTables_wrapper .dataTables_info { - clear: both; - float: left; - padding-top: 0.55em; -} -.dataTables_wrapper .dataTables_paginate { - float: right; - text-align: right; -} -.dataTables_wrapper .dataTables_paginate .fg-button { - box-sizing: border-box; - display: inline-block; - min-width: 1.5em; - padding: 0.5em; - margin-left: 2px; - text-align: center; - text-decoration: none !important; - cursor: pointer; - *cursor: hand; - color: #333333 !important; - border: 1px solid transparent; -} -.dataTables_wrapper .dataTables_paginate .fg-button:active { - outline: none; -} -.dataTables_wrapper .dataTables_paginate .fg-button:first-child { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} -.dataTables_wrapper .dataTables_paginate .fg-button:last-child { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} -.dataTables_wrapper .dataTables_processing { - position: absolute; - top: 50%; - left: 50%; - width: 100%; - height: 40px; - margin-left: -50%; - margin-top: -25px; - padding-top: 20px; - text-align: center; - font-size: 1.2em; - background-color: white; - background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0))); - /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%); - /* Chrome10+,Safari5.1+ */ - background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%); - /* FF3.6+ */ - background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%); - /* IE10+ */ - background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%); - /* Opera 11.10+ */ - background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%); - /* W3C */ -} -.dataTables_wrapper .dataTables_length, -.dataTables_wrapper .dataTables_filter, -.dataTables_wrapper .dataTables_info, -.dataTables_wrapper .dataTables_processing, -.dataTables_wrapper .dataTables_paginate { - color: #333333; -} -.dataTables_wrapper .dataTables_scroll { - clear: both; -} -.dataTables_wrapper .dataTables_scrollBody { - *margin-top: -1px; - -webkit-overflow-scrolling: touch; -} -.dataTables_wrapper .ui-widget-header { - font-weight: normal; -} -.dataTables_wrapper .ui-toolbar { - padding: 8px; -} -.dataTables_wrapper:after { - visibility: hidden; - display: block; - content: ""; - clear: both; - height: 0; -} diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.js b/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.js deleted file mode 100644 index 3575e8228a..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.js +++ /dev/null @@ -1,102 +0,0 @@ - -(function(){ - -var DataTable = $.fn.dataTable; -var sort_prefix = 'css_right ui-icon ui-icon-'; -var toolbar_prefix = 'fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-'; - -/* Set the defaults for DataTables initialisation */ -$.extend( true, DataTable.defaults, { - dom: - '<"'+toolbar_prefix+'tl ui-corner-tr"lfr>'+ - 't'+ - '<"'+toolbar_prefix+'bl ui-corner-br"ip>', - renderer: 'jqueryui' -} ); - - -$.extend( DataTable.ext.classes, { - /* Full numbers paging buttons */ - "sPageButton": "fg-button ui-button ui-state-default", - "sPageButtonActive": "ui-state-disabled", - "sPageButtonDisabled": "ui-state-disabled", - - /* Features */ - "sPaging": "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi "+ - "ui-buttonset-multi paging_", /* Note that the type is postfixed */ - - /* Sorting */ - "sSortAsc": "ui-state-default sorting_asc", - "sSortDesc": "ui-state-default sorting_desc", - "sSortable": "ui-state-default sorting", - "sSortableAsc": "ui-state-default sorting_asc_disabled", - "sSortableDesc": "ui-state-default sorting_desc_disabled", - "sSortableNone": "ui-state-default sorting_disabled", - "sSortIcon": "DataTables_sort_icon", - - /* Scrolling */ - "sScrollHead": "dataTables_scrollHead "+"ui-state-default", - "sScrollFoot": "dataTables_scrollFoot "+"ui-state-default", - - /* Misc */ - "sHeaderTH": "ui-state-default", - "sFooterTH": "ui-state-default", -} ); - - -DataTable.ext.renderer.header.jqueryui = function ( settings, cell, column, idx, classes ) { - $('
') - .addClass( 'DataTables_sort_wrapper' ) - .append( cell.contents() ) - .append( $('') - .addClass( classes.sSortIcon+' '+column.sSortingClassJUI ) - ) - .appendTo( cell ); - - // Attach a sort listener to update on sort - $(settings.nTable).on( 'order.dt', function ( e, settings, sorting, columns ) { - cell - .removeClass( classes.sSortAsc +" "+classes.sSortDesc ) - .addClass( columns[ idx ] == 'asc' ? - classes.sSortAsc : columns[ idx ] == 'desc' ? - classes.sSortDesc : - column.sSortingClass - ); - - cell - .find( 'span' ) - .removeClass( - sort_prefix+'triangle-1-n' +" "+ - sort_prefix+'triangle-1-s' +" "+ - sort_prefix+'carat-2-n-s' +" "+ - sort_prefix+'carat-1-n' +" "+ - sort_prefix+'carat-1-s' - ) - .addClass( columns[ idx ] == 'asc' ? - sort_prefix+'triangle-1-n' : columns[ idx ] == 'desc' ? - sort_prefix+'triangle-1-s' : - column.sSortingClassJUI - ); - } ); -} - - -/* - * TableTools jQuery UI compatibility - * Required TableTools 2.1+ - */ -if ( DataTable.TableTools ) { - $.extend( true, DataTable.TableTools.classes, { - "container": "DTTT_container ui-buttonset ui-buttonset-multi", - "buttons": { - "normal": "DTTT_button ui-button ui-state-default" - }, - "collection": { - "container": "DTTT_collection ui-buttonset ui-buttonset-multi" - } - } ); -} - - -}()); - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.scss b/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.scss deleted file mode 100644 index 910dc6a890..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/dataTables.jqueryui.scss +++ /dev/null @@ -1,408 +0,0 @@ - - - // - // Colour customisation - // - -// Border between the header (and footer) and the table body -$table-header-border: 1px solid #111; - -// Border of rows / cells -$table-body-border: 1px solid #ddd; - -// Row background colour (hover, striping etc are all based on this colour and -// calculated automatically) -$table-row-background: #ffffff; - -// Row colour, when selected (tr.selected) -$table-row-selected: #B0BED9; - -// Text colour of the interaction control elements (info, filter, paging etc) -$table-control-color: #333; - -// Highlight colour of the paging button for the current page -$table-paging-button-active: #dcdcdc; - -// Hover colour of paging buttons on mouse over -$table-paging-button-hover: #111; - - - -// -// Functions / mixins -// -@function tint( $color, $percent ) { - @return mix(white, $color, $percent); -} - -@function shade( $color, $percent ) { - @return mix(black, $color, $percent); -} - -@mixin gradient( $from, $to ) { - background-color: $from; - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$from), color-stop(100%,$to)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, $from 0%, $to 100%); /* Chrome10+,Safari5.1+ */ - background: -moz-linear-gradient(top, $from 0%, $to 100%); /* FF3.6+ */ - background: -ms-linear-gradient(top, $from 0%, $to 100%); /* IE10+ */ - background: -o-linear-gradient(top, $from 0%, $to 100%); /* Opera 11.10+ */ - background: linear-gradient(to bottom, $from 0%, $to 100%); /* W3C */ -} - - -/* - * Table styles - */ -table.dataTable { - width: 100%; - margin: 0 auto; - clear: both; - border-collapse: separate; - border-spacing: 0; - - /* - * Header and footer styles - */ - thead, - tfoot { - th, - td { - padding: 4px 10px; - } - - th { - font-weight: bold; - } - } - - thead th, - thead td { - &:active { - outline: none; - } - } - - // Sorting - thead { - .sorting_asc, - .sorting_desc, - .sorting { - cursor: pointer; - *cursor: hand; - } - - th div.DataTables_sort_wrapper { - position: relative; - padding-right: 10px; - - span { - position: absolute; - top: 50%; - margin-top: -8px; - right: -5px; - } - } - - th.ui-state-default { - border-right-width: 0; - - &:last-child { - border-right-width: 1px; - } - } - } - - - /* - * Body styles - */ - tbody { - tr { - background-color: $table-row-background; - - &.selected { - background-color: $table-row-selected; - } - } - - th, - td { - padding: 8px 10px; - } - } - - th.center, - td.center, - td.dataTables_empty { - text-align: center; - } - - th.right, - td.right { - text-align: right; - } - - - // Stripe classes - add "row-border" class to the table to activate - &.row-border tbody, - &.display tbody { - th, td { - border-top: $table-body-border; - } - - tr:first-child th, - tr:first-child td { - border-top: none; - } - } - - - // Stripe classes - add "cell-border" class to the table to activate - &.cell-border tbody { - th, td { - border-top: $table-body-border; - border-right: $table-body-border; - } - - tr th:first-child, - tr td:first-child { - border-left: $table-body-border; - } - - tr:first-child th, - tr:first-child td { - border-top: none; - } - } - - - // Stripe classes - add "stripe" class to the table to activate - &.stripe tbody, - &.display tbody { - tr.odd { - background-color: shade($table-row-background, 2.35%); // shade by f9 - - &.selected { - background-color: shade($table-row-selected, 2.35%); - } - } - } - - - // Hover classes - add "hover" class to the table to activate - &.hover tbody, - &.display tbody { - tr:hover, - tr.odd:hover, - tr.even:hover { - background-color: shade($table-row-background, 3.6%); // shade by f5 - - &.selected { - background-color: shade($table-row-selected, 3.6%); - } - } - } - - - // Sort column highlighting - add "hover" class to the table to activate - &.order-column, - &.display { - tbody { - tr>.sorting_1, - tr>.sorting_2, - tr>.sorting_3 { - background-color: shade($table-row-background, 2%); // shade by fa - } - - tr.selected>.sorting_1, - tr.selected>.sorting_2, - tr.selected>.sorting_3 { - background-color: shade($table-row-selected, 2%); - } - } - } - - &.display tbody, - &.order-column.stripe tbody { - tr.odd { - >.sorting_1 { background-color: shade($table-row-background, 5.4%); } // shade by f1 - >.sorting_2 { background-color: shade($table-row-background, 4.7%); } // shade by f3 - >.sorting_3 { background-color: shade($table-row-background, 3.9%); } // shade by f5 - - &.selected { - >.sorting_1 { background-color: shade($table-row-selected, 5.4%); } - >.sorting_2 { background-color: shade($table-row-selected, 4.7%); } - >.sorting_3 { background-color: shade($table-row-selected, 3.9%); } - } - } - - tr.even { - >.sorting_1 { background-color: shade($table-row-background, 2%); } // shade by fa - >.sorting_2 { background-color: shade($table-row-background, 1.2%); } // shade by fc - >.sorting_3 { background-color: shade($table-row-background, 0.4%); } // shade by fe - - &.selected { - >.sorting_1 { background-color: shade($table-row-selected, 2%); } - >.sorting_2 { background-color: shade($table-row-selected, 1.2%); } - >.sorting_3 { background-color: shade($table-row-selected, 0.4%); } - } - } - } - - &.display tbody, - &.order-column.hover tbody { - tr:hover, - tr.odd:hover, - tr.even:hover { - >.sorting_1 { background-color: shade($table-row-background, 8.2%); } // shade by ea - >.sorting_2 { background-color: shade($table-row-background, 7.5%); } // shade by ec - >.sorting_3 { background-color: shade($table-row-background, 6.3%); } // shade by ef - - &.selected { - >.sorting_1 { background-color: shade($table-row-selected, 8.2%); } - >.sorting_2 { background-color: shade($table-row-selected, 7.5%); } - >.sorting_3 { background-color: shade($table-row-selected, 6.3%); } - } - } - } -} - -// Its not uncommon to use * {border-box} now, but it messes up the column width -// calculations, so use content-box for the table and cells -table.dataTable, -table.dataTable th, -table.dataTable td { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} - - - -/* - * Control feature layout - */ -.dataTables_wrapper { - position: relative; - clear: both; - *zoom: 1; - - // Page length options - .dataTables_length { - float: left; - } - - // Filtering input - .dataTables_filter { - float: right; - text-align: right; - - input { - margin-left: 0.5em; - } - } - - // Table info - .dataTables_info { - clear: both; - float: left; - padding-top: 0.55em; - } - - // Paging - .dataTables_paginate { - float: right; - text-align: right; - - .fg-button { - box-sizing: border-box; - display: inline-block; - min-width: 1.5em; - padding: 0.5em; - margin-left: 2px; - text-align: center; - text-decoration: none !important; - cursor: pointer; - *cursor: hand; - - color: $table-control-color !important; - border: 1px solid transparent; - - &:active { - outline: none; - } - } - - .fg-button:first-child { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; - } - - .fg-button:last-child { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; - } - } - - // Processing - .dataTables_processing { - position: absolute; - top: 50%; - left: 50%; - width: 100%; - height: 40px; - margin-left: -50%; - margin-top: -25px; - padding-top: 20px; - - text-align: center; - font-size: 1.2em; - - background-color: white; - background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba($table-row-background, 0)), color-stop(25%,rgba($table-row-background, 0.9)), color-stop(75%,rgba($table-row-background, 0.9)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%); /* Chrome10+,Safari5.1+ */ - background: -moz-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%); /* FF3.6+ */ - background: -ms-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%); /* IE10+ */ - background: -o-linear-gradient(left, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%); /* Opera 11.10+ */ - background: linear-gradient(to right, rgba($table-row-background, 0) 0%, rgba($table-row-background, 0.9) 25%, rgba($table-row-background, 0.9) 75%, rgba($table-row-background, 0) 100%); /* W3C */ - } - - .dataTables_length, - .dataTables_filter, - .dataTables_info, - .dataTables_processing, - .dataTables_paginate { - color: $table-control-color; - } - - // Scrolling - .dataTables_scroll { - clear: both; - } - - .dataTables_scrollBody { - *margin-top: -1px; - -webkit-overflow-scrolling: touch; - } - - - .ui-widget-header { - font-weight: normal; - } - - .ui-toolbar { - padding: 8px; - } - - // Self clear the wrapper - &:after { - visibility: hidden; - display: block; - content: ""; - clear: both; - height: 0; - } - zoom: 1; // Poor old IE -} - - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/index.html b/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/index.html deleted file mode 100644 index 303dbc151b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/jqueryui/index.html +++ /dev/null @@ -1,443 +0,0 @@ - - - - - - DataTables jQuery UI example - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+ 4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/syntax/Syntax Highlighter license b/src/sunstone/public/bower_components/datatables/examples/resources/syntax/Syntax Highlighter license deleted file mode 100644 index e7c70ba14a..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/syntax/Syntax Highlighter license +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2003, 2004 Jim Weirich - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/syntax/shCore.css b/src/sunstone/public/bower_components/datatables/examples/resources/syntax/shCore.css deleted file mode 100644 index 9d10ed05cb..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/syntax/shCore.css +++ /dev/null @@ -1,389 +0,0 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html - * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. - */ -.syntaxhighlighter a, -.syntaxhighlighter div, -.syntaxhighlighter code, -.syntaxhighlighter table, -.syntaxhighlighter table td, -.syntaxhighlighter table tr, -.syntaxhighlighter table tbody, -.syntaxhighlighter table thead, -.syntaxhighlighter table caption, -.syntaxhighlighter textarea { - -moz-border-radius: 0 0 0 0 !important; - -webkit-border-radius: 0 0 0 0 !important; - background: none !important; - border: 0 !important; - bottom: auto !important; - float: none !important; - height: auto !important; - left: auto !important; - line-height: 1.1em !important; - margin: 0 !important; - outline: 0 !important; - overflow: visible !important; - padding: 0 !important; - position: static !important; - right: auto !important; - text-align: left !important; - top: auto !important; - vertical-align: baseline !important; - width: auto !important; - box-sizing: content-box !important; - font-family: "Source Code Pro","Consolas","Monaco","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important; - font-weight: normal !important; - font-style: normal !important; - font-size: 1em !important; - min-height: inherit !important; - min-height: auto !important; -} - -.syntaxhighlighter { - width: 100% !important; - margin: 1em 0 1em 0 !important; - position: relative !important; - overflow: auto !important; - font-size: 1em !important; -} -.syntaxhighlighter.source { - overflow: hidden !important; -} -.syntaxhighlighter .bold { - font-weight: bold !important; -} -.syntaxhighlighter .italic { - font-style: italic !important; -} -.syntaxhighlighter .line { - white-space: pre !important; -} -.syntaxhighlighter table { - width: 100% !important; -} -.syntaxhighlighter table caption { - text-align: left !important; - padding: .5em 0 0.5em 1em !important; -} -.syntaxhighlighter table td.code { - width: 100% !important; -} -.syntaxhighlighter table td.code .container { - position: relative !important; -} -.syntaxhighlighter table td.code .container textarea { - box-sizing: border-box !important; - position: absolute !important; - left: 0 !important; - top: 0 !important; - width: 100% !important; - height: 100% !important; - border: none !important; - background: white !important; - padding-left: 1em !important; - overflow: hidden !important; - white-space: pre !important; -} -.syntaxhighlighter table td.gutter .line { - text-align: right !important; - padding: 2px 0.5em 2px 1em !important; -} -.syntaxhighlighter table td.code .line { - padding: 2px 1em !important; -} -.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line { - padding-left: 0em !important; -} -.syntaxhighlighter.show { - display: block !important; -} -.syntaxhighlighter.collapsed table { - display: none !important; -} -.syntaxhighlighter.collapsed .toolbar { - padding: 0.1em 0.8em 0em 0.8em !important; - font-size: 1em !important; - position: static !important; - width: auto !important; - height: auto !important; -} -.syntaxhighlighter.collapsed .toolbar span { - display: inline !important; - margin-right: 1em !important; -} -.syntaxhighlighter.collapsed .toolbar span a { - padding: 0 !important; - display: none !important; -} -.syntaxhighlighter.collapsed .toolbar span a.expandSource { - display: inline !important; -} -.syntaxhighlighter .toolbar { - position: absolute !important; - right: 1px !important; - top: 1px !important; - font-size: 10px !important; - z-index: 7 !important; -} -.syntaxhighlighter .toolbar span.title { - display: inline !important; -} -.syntaxhighlighter .toolbar a { - display: block !important; - text-align: center !important; - text-decoration: none !important; - padding-top: 1px !important; -} -.syntaxhighlighter .toolbar a.expandSource { - display: none !important; -} -.syntaxhighlighter.ie { - font-size: .9em !important; - padding: 1px 0 1px 0 !important; -} -.syntaxhighlighter.ie .toolbar { - line-height: 8px !important; -} -.syntaxhighlighter.ie .toolbar a { - padding-top: 0px !important; -} -.syntaxhighlighter.printing .line.alt1 .content, -.syntaxhighlighter.printing .line.alt2 .content, -.syntaxhighlighter.printing .line.highlighted .number, -.syntaxhighlighter.printing .line.highlighted.alt1 .content, -.syntaxhighlighter.printing .line.highlighted.alt2 .content { - background: none !important; -} -.syntaxhighlighter.printing .line .number { - color: #bbbbbb !important; -} -.syntaxhighlighter.printing .line .content { - color: black !important; -} -.syntaxhighlighter.printing .toolbar { - display: none !important; -} -.syntaxhighlighter.printing a { - text-decoration: none !important; -} -.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a { - color: black !important; -} -.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a { - color: #008200 !important; -} -.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a { - color: blue !important; -} -.syntaxhighlighter.printing .keyword { - color: #006699 !important; - font-weight: bold !important; -} -.syntaxhighlighter.printing .preprocessor { - color: gray !important; -} -.syntaxhighlighter.printing .variable { - color: #aa7700 !important; -} -.syntaxhighlighter.printing .value { - color: #009900 !important; -} -.syntaxhighlighter.printing .functions { - color: #ff1493 !important; -} -.syntaxhighlighter.printing .constants { - color: #0066cc !important; -} -.syntaxhighlighter.printing .script { - font-weight: bold !important; -} -.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a { - color: gray !important; -} -.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a { - color: #ff1493 !important; -} -.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a { - color: red !important; -} -.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a { - color: black !important; -} - - - -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html - * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. - */ -.syntaxhighlighter { - background-color: white !important; - font-size: 13px !important; - overflow: visible !important; -} -.syntaxhighlighter .line.alt1 { - background-color: white !important; -} -.syntaxhighlighter .line.alt2 { - background-color: #F8F8F8 !important; -} -.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { - background-color: #e0e0e0 !important; -} -.syntaxhighlighter .line.highlighted.number { - color: black !important; -} -.syntaxhighlighter table caption { - color: black !important; -} -.syntaxhighlighter .gutter { -} -.syntaxhighlighter .gutter div { - color: #5C5C5C !important; -} -.syntaxhighlighter .gutter .line.alt1, .syntaxhighlighter .gutter .line.alt2 { - background-color: white !important; -} -.odd .syntaxhighlighter .gutter .line.alt1, .odd .syntaxhighlighter .gutter .line.alt2 { - background-color: #F2F2F2 !important; -} -.syntaxhighlighter .gutter .line { - border-right: 3px solid #4E6CA3 !important; -} -.syntaxhighlighter .gutter .line.highlighted { - background-color: #4E6CA3 !important; - color: white !important; -} -.syntaxhighlighter.printing .line .content { - border: none !important; -} -.syntaxhighlighter.collapsed { - overflow: visible !important; -} -.syntaxhighlighter.collapsed .toolbar { - color: blue !important; - background: white !important; - border: 1px solid #4E6CA3 !important; -} -.syntaxhighlighter.collapsed .toolbar a { - color: blue !important; -} -.syntaxhighlighter.collapsed .toolbar a:hover { - color: red !important; -} -.syntaxhighlighter .toolbar { - color: white !important; - border: none !important; -} -.syntaxhighlighter .toolbar a { - font: 100%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif !important; - color: white !important; - background: #4E6CA3 !important; - float: right !important; - padding: 2px 5px !important; - clear: both; -} -.syntaxhighlighter .toolbar a:hover { - color: #b7c5df !important; - background: #39568b !important; -} -.syntaxhighlighter .plain, .syntaxhighlighter .plain a { - color: black !important; -} -.syntaxhighlighter .comments, .syntaxhighlighter .comments a { - color: #008200 !important; -} -.syntaxhighlighter .string, .syntaxhighlighter .string a { - color: blue !important; -} -.syntaxhighlighter .keyword { - color: #006699 !important; -} -.syntaxhighlighter .preprocessor { - color: gray !important; -} -.syntaxhighlighter .variable { - color: #aa7700 !important; -} -.syntaxhighlighter .value { - color: #009900 !important; -} -.syntaxhighlighter .functions { - color: #ff1493 !important; -} -.syntaxhighlighter .constants { - color: #0066cc !important; -} -.syntaxhighlighter .script { - font-weight: bold !important; - color: #006699 !important; - background-color: none !important; -} -.syntaxhighlighter .color1, .syntaxhighlighter .color1 a { - color: gray !important; -} -.syntaxhighlighter .color2, .syntaxhighlighter .color2 a { - color: #ff1493 !important; -} -.syntaxhighlighter .color3, .syntaxhighlighter .color3 a { - color: red !important; -} - -.syntaxhighlighter .keyword { - font-weight: bold !important; -} - -.datatables_ref:hover { - text-decoration: underline; - cursor: pointer; - *cursor: hand; -} - -.syntaxhighlighter .dtapi { - color: #069; -} - -.syntaxhighlighter .dtapi:hover { - text-decoration: underline; - cursor: pointer; - *cursor: hand; -} - -.syntaxhighlighter table { - table-layout: fixed !important; -} - -.syntaxhighlighter table td.gutter { - width: 46px !important; /* enough for three digits */ -} - -.syntaxhighlighter table td.code { - width: auto !important; - overflow: auto !important; -} - diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/syntax/shCore.js b/src/sunstone/public/bower_components/datatables/examples/resources/syntax/shCore.js deleted file mode 100644 index bd586f7cdf..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/resources/syntax/shCore.js +++ /dev/null @@ -1,2064 +0,0 @@ -/*! - * XRegExp 2.0.0 MIT License - */ -var XRegExp;XRegExp=XRegExp||function(n){"use strict";function v(n,i,r){var u;for(u in t.prototype)t.prototype.hasOwnProperty(u)&&(n[u]=t.prototype[u]);return n.xregexp={captureNames:i,isNative:!!r},n}function g(n){return(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.extended?"x":"")+(n.sticky?"y":"")}function o(n,r,u){if(!t.isRegExp(n))throw new TypeError("type RegExp expected");var f=i.replace.call(g(n)+(r||""),h,"");return u&&(f=i.replace.call(f,new RegExp("["+u+"]+","g"),"")),n=n.xregexp&&!n.xregexp.isNative?v(t(n.source,f),n.xregexp.captureNames?n.xregexp.captureNames.slice(0):null):v(new RegExp(n.source,f),null,!0)}function a(n,t){var i=n.length;if(Array.prototype.lastIndexOf)return n.lastIndexOf(t);while(i--)if(n[i]===t)return i;return-1}function s(n,t){return Object.prototype.toString.call(n).toLowerCase()==="[object "+t+"]"}function d(n){return n=n||{},n==="all"||n.all?n={natives:!0,extensibility:!0}:s(n,"string")&&(n=t.forEach(n,/[^\s,]+/,function(n){this[n]=!0},{})),n}function ut(n,t,i,u){var o=p.length,s=null,e,f;y=!0;try{while(o--)if(f=p[o],(f.scope==="all"||f.scope===i)&&(!f.trigger||f.trigger.call(u))&&(f.pattern.lastIndex=t,e=r.exec.call(f.pattern,n),e&&e.index===t)){s={output:f.handler.call(u,e,i),match:e};break}}catch(h){throw h;}finally{y=!1}return s}function b(n){t.addToken=c[n?"on":"off"],f.extensibility=n}function tt(n){RegExp.prototype.exec=(n?r:i).exec,RegExp.prototype.test=(n?r:i).test,String.prototype.match=(n?r:i).match,String.prototype.replace=(n?r:i).replace,String.prototype.split=(n?r:i).split,f.natives=n}var t,c,u,f={natives:!1,extensibility:!1},i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},r={},k={},p=[],e="default",rt="class",it={"default":/^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??)/,"class":/^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/},et=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g,h=/([\s\S])(?=[\s\S]*\1)/g,nt=/^(?:[?*+]|{\d+(?:,\d*)?})\??/,ft=i.exec.call(/()??/,"")[1]===n,l=RegExp.prototype.sticky!==n,y=!1,w="gim"+(l?"y":"");return t=function(r,u){if(t.isRegExp(r)){if(u!==n)throw new TypeError("can't supply flags when constructing one RegExp from another");return o(r)}if(y)throw new Error("can't call the XRegExp constructor within token definition functions");var l=[],a=e,b={hasNamedCapture:!1,captureNames:[],hasFlag:function(n){return u.indexOf(n)>-1}},f=0,c,s,p;if(r=r===n?"":String(r),u=u===n?"":String(u),i.match.call(u,h))throw new SyntaxError("invalid duplicate regular expression flag");for(r=i.replace.call(r,/^\(\?([\w$]+)\)/,function(n,t){if(i.test.call(/[gy]/,t))throw new SyntaxError("can't use flag g or y in mode modifier");return u=i.replace.call(u+t,h,""),""}),t.forEach(u,/[\s\S]/,function(n){if(w.indexOf(n[0])<0)throw new SyntaxError("invalid regular expression flag "+n[0]);});f"}else if(i)return"\\"+(+i+f);return n},e=[],r,u;if(!(s(n,"array")&&n.length))throw new TypeError("patterns must be a nonempty array");for(u=0;u1&&a(r,"")>-1&&(e=new RegExp(this.source,i.replace.call(g(this),"g","")),i.replace.call(String(t).slice(r.index),e,function(){for(var t=1;tr.index&&(this.lastIndex=r.index)}return this.global||(this.lastIndex=o),r},r.test=function(n){return!!r.exec.call(this,n)},r.match=function(n){if(t.isRegExp(n)){if(n.global){var u=i.match.apply(this,arguments);return n.lastIndex=0,u}}else n=new RegExp(n);return r.exec.call(n,this)},r.replace=function(n,r){var e=t.isRegExp(n),u,f,h,o;return e?(n.xregexp&&(u=n.xregexp.captureNames),n.global||(o=n.lastIndex)):n+="",s(r,"function")?f=i.replace.call(String(this),n,function(){var t=arguments,i;if(u)for(t[0]=new String(t[0]),i=0;in.length-3)throw new SyntaxError("backreference to undefined group "+t);return n[r]||""}throw new SyntaxError("invalid token "+t);})})),e&&(n.lastIndex=n.global?0:o),f},r.split=function(r,u){if(!t.isRegExp(r))return i.split.apply(this,arguments);var e=String(this),h=r.lastIndex,f=[],o=0,s;return u=(u===n?-1:u)>>>0,t.forEach(e,r,function(n){n.index+n[0].length>o&&(f.push(e.slice(o,n.index)),n.length>1&&n.indexu?f.slice(0,u):f},u=c.on,u(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4})|x(?![\dA-Fa-f]{2}))/,function(n,t){if(n[1]==="B"&&t===e)return n[0];throw new SyntaxError("invalid escape "+n[0]);},{scope:"all"}),u(/\[(\^?)]/,function(n){return n[1]?"[\\s\\S]":"\\b\\B"}),u(/(?:\(\?#[^)]*\))+/,function(n){return i.test.call(nt,n.input.slice(n.index+n[0].length))?"":"(?:)"}),u(/\\k<([\w$]+)>/,function(n){var t=isNaN(n[1])?a(this.captureNames,n[1])+1:+n[1],i=n.index+n[0].length;if(!t||t>this.captureNames.length)throw new SyntaxError("backreference to undefined group "+n[0]);return"\\"+t+(i===n.input.length||isNaN(n.input.charAt(i))?"":"(?:)")}),u(/(?:\s+|#.*)+/,function(n){return i.test.call(nt,n.input.slice(n.index+n[0].length))?"":"(?:)"},{trigger:function(){return this.hasFlag("x")},customFlags:"x"}),u(/\./,function(){return"[\\s\\S]"},{trigger:function(){return this.hasFlag("s")},customFlags:"s"}),u(/\(\?P?<([\w$]+)>/,function(n){if(!isNaN(n[1]))throw new SyntaxError("can't use integer as capture name "+n[0]);return this.captureNames.push(n[1]),this.hasNamedCapture=!0,"("}),u(/\\(\d+)/,function(n,t){if(!(t===e&&/^[1-9]/.test(n[1])&&+n[1]<=this.captureNames.length)&&n[1]!=="0")throw new SyntaxError("can't use octal escape or backreference to undefined group "+n[0]);return n[0]},{scope:"all"}),u(/\((?!\?)/,function(){return this.hasFlag("n")?"(?:":(this.captureNames.push(null),"(")},{customFlags:"n"}),typeof exports!="undefined"&&(exports.XRegExp=t),t}() - - -/*! - * SyntaxHighlighter by Alex Gorbatchev - * https://github.com/alexgorbatchev/SyntaxHighlighter - MIT license - */ - -// -// Begin anonymous function. This is used to contain local scope variables without polutting global scope. -// -if (typeof(SyntaxHighlighter) == 'undefined') var SyntaxHighlighter = function() { - -// CommonJS -if (typeof(require) != 'undefined' && typeof(XRegExp) == 'undefined') -{ - XRegExp = require('xregexp').XRegExp; -} - -// Shortcut object which will be assigned to the SyntaxHighlighter variable. -// This is a shorthand for local reference in order to avoid long namespace -// references to SyntaxHighlighter.whatever... -var sh = { - defaults : { - /** Additional CSS class names to be added to highlighter elements. */ - 'class-name' : '', - - /** First line number. */ - 'first-line' : 1, - - /** - * Pads line numbers. Possible values are: - * - * false - don't pad line numbers. - * true - automaticaly pad numbers with minimum required number of leading zeroes. - * [int] - length up to which pad line numbers. - */ - 'pad-line-numbers' : false, - - /** Lines to highlight. */ - 'highlight' : null, - - /** Title to be displayed above the code block. */ - 'title' : null, - - /** Enables or disables smart tabs. */ - 'smart-tabs' : true, - - /** Gets or sets tab size. */ - 'tab-size' : 4, - - /** Enables or disables gutter. */ - 'gutter' : true, - - /** Enables or disables toolbar. */ - 'toolbar' : true, - - /** Enables quick code copy and paste from double click. */ - 'quick-code' : true, - - /** Forces code view to be collapsed. */ - 'collapse' : false, - - /** Enables or disables automatic links. */ - 'auto-links' : true, - - /** Gets or sets light mode. Equavalent to turning off gutter and toolbar. */ - 'light' : false, - - 'unindent' : true, - - 'html-script' : false - }, - - config : { - space : ' ', - - /** Enables use of - - - - - - - -
-
-

DataTables example Custom HTTP variables

- -
-

It can often be useful to send extra information to the server when utilising DataTables' - server-side processing option. This is done by using the ajaxDT option's data parameter - which can be used in one of two different ways:

- -
    -
  • object - An object data to send to the server. This is useful for adding static - data to the request.
  • -
  • function - A function which will manipulate the data object to send to the server, - adding values as required. Using the data parameter as a function allows the - additional data to evaluated and added to the request at the time the request is made.
  • -
- -

The example below shows server-side processing being used with an extra parameter being sent to the - server by using the ajax.data option as a function.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": { - "url": "scripts/server_processing.php", - "data": function ( d ) { - d.myKey = "myValue"; - // d.custom = $('#myInput').val(); - // etc - } - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/defer_loading.html b/src/sunstone/public/bower_components/datatables/examples/server_side/defer_loading.html deleted file mode 100644 index d81abba8a7..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/defer_loading.html +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - - - DataTables example - Deferred loading of data - - - - - - - - - - - - -
-
-

DataTables example Deferred loading of data

- -
-

When using DataTables with server-side processing, the default behaviour is to have DataTables - automatically make an Ajax call and load the data, removing anything which might have already been in - the table. However, this behaviour might not always be desirable when the first page of the table has - already been preloaded in the HTML (which you might do to ensure accessibility or for performance - reasons).

- -

This automatic Ajax call to get the first page of data can be overridden by using the deferLoadingDT initialisation property. It - serves two purposes, firstly to indicate that deferred loading is required, but also to tell DataTables - how many records there are in the full table, in this case 57 (this allows the information element and - pagination to be displayed correctly).

- -

In the example below, the HTML page already has the first 10 rows of data available it in, so we use - deferLoadingDT to tell DataTables that this - data is available and that it should wait for under interaction (ordering, paging etc) before making an - Ajax call.

-
" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
First nameLast namePositionOfficeStart dateSalary
First nameLast namePositionOfficeStart dateSalary
Airi SatouAccountantTokyo332008/11/28$162,700
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Cara StevensSales AssistantNew York462011/12/06$145,600
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": "scripts/server_processing.php", - "deferLoading": 57 - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/ids.html b/src/sunstone/public/bower_components/datatables/examples/server_side/ids.html deleted file mode 100644 index 70d1936568..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/ids.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - - - DataTables example - Automatic addition of row ID attributes - - - - - - - - - - - - -
-
-

DataTables example Automatic addition of row ID attributes

- -
-

Often when using server-side processing you will find that it can be useful to have a specific ID on - each row (the primary key value from the database for example). By assigning the ID you want to apply - to each row using the property DT_RowId of the data source object for each row, DataTables - will automatically add it for you.

- -

In addition to DT_RowId there are two other properties which perform similar actions: - DT_RowClass and DT_RowData:

- -
    -
  • {string} DT_RowId - Add an ID to the TR element
  • -
  • {string} DT_RowClass - Add a class name to the TR element
  • -
  • {object} DT_RowData - Add HTML5 data- attributes to the TR - element. This is an object of key / value pairs which are assigned as data attributes to the - TR element.
  • -
- -

This example below shows DT_RowId being used to add information to the table. In - addition objects are used as the data source for the rows.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": "scripts/ids-objects.php", - "columns": [ - { "data": "first_name" }, - { "data": "last_name" }, - { "data": "position" }, - { "data": "office" }, - { "data": "start_date" }, - { "data": "salary" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/index.html b/src/sunstone/public/bower_components/datatables/examples/server_side/index.html deleted file mode 100644 index 2c5059c045..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/index.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Server-side processing - - - -
-
-

DataTables example Server-side processing

- -
-

There are many ways to get your data into DataTables, and if you are working with seriously large - databases, you might want to consider using the server-side options that DataTables provides. With - server-side processing enabled, all paging, searching, ordering etc actions that DataTables performs - are handed off to a server where an SQL engine (or similar) can perform these actions on the large data - set (after all, that's what the database engine is designed for!). As such, each draw of the table will - result in a new Ajax request being made to get the required data.

- -

Server-side processing is enabled by setting the serverSideDT option to true and - providing an Ajax data source through the ajaxDT option.

- -

The examples in this section shows server-side processing in use and how it can be customised to - suit your needs.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/jsonp.html b/src/sunstone/public/bower_components/datatables/examples/server_side/jsonp.html deleted file mode 100644 index 71fb4b4a52..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/jsonp.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - - - DataTables example - JSONP data source for remote domains - - - - - - - - - - - - -
-
-

DataTables example JSONP data source for remote domains

- -
-

JSONP is one of - several methods to allow the use of JSON data from any server (browsers have XSS protection rules which - will block standard Ajax requests to remote source for security reasons). Using JSONP allows DataTables - to load server-side sourced data from any domain and is quite simply done with the - dataType option of the ajaxDT initialisation - option.

- -

When given as an object, the ajaxDT option maps directly onto the - jQuery ajax options (i.e. any option that can be used - in jQuery's Ajax function can also be used in DataTable's ajaxDT option).

- -

The example below shows ajaxDT being used with the - dataType option set to retrieve JSONP data for server-side processing in DataTables.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": { - "url": "scripts/jsonp.php", - "dataType": "jsonp" - } - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/object_data.html b/src/sunstone/public/bower_components/datatables/examples/server_side/object_data.html deleted file mode 100644 index cd714ce289..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/object_data.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - - - - DataTables example - Object data source - - - - - - - - - - - - -
-
-

DataTables example Object data source

- -
-

The default data format that DataTables expects for server-side processing is a 2D array of data - (rows by columns). However, this is often not flexible enough for either the server-side environment, - or you might want to convey more information in the data source than is necessary to show in the table - (row IDs from the database for example). For these situations DataTables supports the reading of data - for objects as well as arrays.

- -

In this example the server responds with an array of objects, where DataTables will look up and use - each property that is specified by the columns.dataDT property given for each - column.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": "scripts/objects.php", - "columns": [ - { "data": "first_name" }, - { "data": "last_name" }, - { "data": "position" }, - { "data": "office" }, - { "data": "start_date" }, - { "data": "salary" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/pipeline.html b/src/sunstone/public/bower_components/datatables/examples/server_side/pipeline.html deleted file mode 100644 index 96c0d35ba5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/pipeline.html +++ /dev/null @@ -1,554 +0,0 @@ - - - - - - - - DataTables example - Pipelining data to reduce Ajax calls for paging - - - - - - - - - - - - -
-
-

DataTables example Pipelining data to reduce Ajax calls for paging

- -
-

Sever-side processing can be quite hard on your server, since it makes an Ajax call to the server - for every draw request that is made. On sites with a large number of page views, you could potentially - end up DDoSing your own server with your own applications!

- -

This example shows one technique to reduce the number of Ajax calls that are made to the server by - caching more data than is needed for each draw. This is done by intercepting the Ajax call and routing - it through a data cache control; using the data from the cache if available, and making the Ajax - request if not. This intercept of the Ajax request is performed by giving the ajaxDT option as a function. This function - then performs the logic of deciding if another Ajax call is needed, or if data from the cache can be - used.

- -

Keep in mind that this caching is for paging only; the pipeline must be cleared for other - interactions such as ordering and searching since the full data set, when using server-side processing, - is only available at the server.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

// -// Pipelining function for DataTables. To be used to the `ajax` option of DataTables -// -$.fn.dataTable.pipeline = function ( opts ) { - // Configuration options - var conf = $.extend( { - pages: 5, // number of pages to cache - url: '', // script url - data: null, // function or object with parameters to send to the server - // matching how `ajax.data` works in DataTables - method: 'GET' // Ajax HTTP method - }, opts ); - - // Private variables for storing the cache - var cacheLower = -1; - var cacheUpper = null; - var cacheLastRequest = null; - var cacheLastJson = null; - - return function ( request, drawCallback, settings ) { - var ajax = false; - var requestStart = request.start; - var drawStart = request.start; - var requestLength = request.length; - var requestEnd = requestStart + requestLength; - - if ( settings.clearCache ) { - // API requested that the cache be cleared - ajax = true; - settings.clearCache = false; - } - else if ( cacheLower < 0 || requestStart < cacheLower || requestEnd > cacheUpper ) { - // outside cached data - need to make a request - ajax = true; - } - else if ( JSON.stringify( request.order ) !== JSON.stringify( cacheLastRequest.order ) || - JSON.stringify( request.columns ) !== JSON.stringify( cacheLastRequest.columns ) || - JSON.stringify( request.search ) !== JSON.stringify( cacheLastRequest.search ) - ) { - // properties changed (ordering, columns, searching) - ajax = true; - } - - // Store the request for checking next time around - cacheLastRequest = $.extend( true, {}, request ); - - if ( ajax ) { - // Need data from the server - if ( requestStart < cacheLower ) { - requestStart = requestStart - (requestLength*(conf.pages-1)); - - if ( requestStart < 0 ) { - requestStart = 0; - } - } - - cacheLower = requestStart; - cacheUpper = requestStart + (requestLength * conf.pages); - - request.start = requestStart; - request.length = requestLength*conf.pages; - - // Provide the same `data` options as DataTables. - if ( $.isFunction ( conf.data ) ) { - // As a function it is executed with the data object as an arg - // for manipulation. If an object is returned, it is used as the - // data object to submit - var d = conf.data( request ); - if ( d ) { - $.extend( request, d ); - } - } - else if ( $.isPlainObject( conf.data ) ) { - // As an object, the data given extends the default - $.extend( request, conf.data ); - } - - settings.jqXHR = $.ajax( { - "type": conf.method, - "url": conf.url, - "data": request, - "dataType": "json", - "cache": false, - "success": function ( json ) { - cacheLastJson = $.extend(true, {}, json); - - if ( cacheLower != drawStart ) { - json.data.splice( 0, drawStart-cacheLower ); - } - json.data.splice( requestLength, json.data.length ); - - drawCallback( json ); - } - } ); - } - else { - json = $.extend( true, {}, cacheLastJson ); - json.draw = request.draw; // Update the echo for each response - json.data.splice( 0, requestStart-cacheLower ); - json.data.splice( requestLength, json.data.length ); - - drawCallback(json); - } - } -}; - -// Register an API method that will empty the pipelined data, forcing an Ajax -// fetch on the next draw (i.e. `table.clearPipeline().draw()`) -$.fn.dataTable.Api.register( 'clearPipeline()', function () { - return this.iterator( 'table', function ( settings ) { - settings.clearCache = true; - } ); -} ); - - -// -// DataTables initialisation -// -$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": $.fn.dataTable.pipeline( { - url: 'scripts/server_processing.php', - pages: 5 // number of pages to cache - } ) - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/post.html b/src/sunstone/public/bower_components/datatables/examples/server_side/post.html deleted file mode 100644 index df5cb3fec5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/post.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - - - DataTables example - POST data - - - - - - - - - - - - -
-
-

DataTables example POST data

- -
-

By default, the Ajax request that DataTables makes to obtain server-side processing data is an HTTP - GET request. However, there are times when you might wish to use POST. This is very easily done by - using the type option of the ajaxDT initialisation - option.

- -

When given as an object, the ajaxDT option maps directly onto the - jQuery ajax options (i.e. any option that can be used - in jQuery's Ajax function can also be used in DataTable's ajaxDT option).

- -

The example below shows ajaxDT being used with the type - option set to POST to make a POST request.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": { - "url": "scripts/post.php", - "type": "POST" - }, - "columns": [ - { "data": "first_name" }, - { "data": "last_name" }, - { "data": "position" }, - { "data": "office" }, - { "data": "start_date" }, - { "data": "salary" } - ] - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/row_details.html b/src/sunstone/public/bower_components/datatables/examples/server_side/row_details.html deleted file mode 100644 index bb3085692f..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/row_details.html +++ /dev/null @@ -1,437 +0,0 @@ - - - - - - - - DataTables example - Row details - - - - - - - - - - - - -
-
-

DataTables example Row details

- -
-

This example shows the use of DataTables' ability to show and hide child rows which are attached to - a parent row in the host table. This is often used to show additional information about a row, - particularly when you wish to convey more information about a row than there is space for in the host - table.

- -

The example below shows server-side processing being used with the first column having an event - listener attached to it which will toggle the child row's display. This is set up using columns.dataDT and columns.defaultContentDT, in combination - with CSS to show an empty cell with a background image which can be clicked upon.

- -

The event handler makes use of the row().childDT methods to firstly check if a - row is already displayed, and if so hide it, if not show it. The content of the child row is, in this - example, defined by the formatDetails() function, but you would replace that with whatever - you wanted to show the content required, possibly including, for example, an Ajax call to the server to - obtain the extra information to show. Note that the format details function has access to the full data - source object for the row, including information that is not actually shown in the table (the salary - parameter for example).

- -

Furthermore, this example shows a small difference from the client-side row details example in that to have rows automatically reopen - when the table is redrawn, we need to track a unique identifier for each row - in this case the row - id. This is required because in server-side processing mode rows are automatically - destroyed and recreated on each draw.

-
- - - - - - - - - - - - - - - - - - - - - -
First nameLast namePositionOffice
First nameLast namePositionOffice
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

function format ( d ) { - return 'Full name: '+d.first_name+' '+d.last_name+'<br>'+ - 'Salary: '+d.salary+'<br>'+ - 'The child row can contain any data you wish, including links, images, inner tables etc.'; -} - -$(document).ready(function() { - var dt = $('#example').DataTable( { - "processing": true, - "serverSide": true, - "ajax": "scripts/ids-objects.php", - "columns": [ - { - "class": "details-control", - "orderable": false, - "data": null, - "defaultContent": "" - }, - { "data": "first_name" }, - { "data": "last_name" }, - { "data": "position" }, - { "data": "office" } - ], - "order": [[1, 'asc']] - } ); - - // Array to track the ids of the details displayed rows - var detailRows = []; - - $('#example tbody').on( 'click', 'tr td:first-child', function () { - var tr = $(this).closest('tr'); - var row = dt.row( tr ); - var idx = $.inArray( tr.attr('id'), detailRows ); - - if ( row.child.isShown() ) { - tr.removeClass( 'details' ); - row.child.hide(); - - // Remove from the 'open' array - detailRows.splice( idx, 1 ); - } - else { - tr.addClass( 'details' ); - row.child( format( row.data() ) ).show(); - - // Add to the 'open' array - if ( idx === -1 ) { - detailRows.push( tr.attr('id') ); - } - } - } ); - - // On each draw, loop over the `detailRows` array and show any child rows - dt.on( 'draw', function () { - $.each( detailRows, function ( i, id ) { - $('#'+id+' td:first-child').trigger( 'click' ); - } ); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

td.details-control { - background: url('../resources/details_open.png') no-repeat center center; - cursor: pointer; -} -tr.details td.details-control { - background: url('../resources/details_close.png') no-repeat center center; -} -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-arrays.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-arrays.php deleted file mode 100644 index f8e69c8ffa..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-arrays.php +++ /dev/null @@ -1,81 +0,0 @@ - 'id', - 'dt' => 'DT_RowId', - 'formatter' => function( $d, $row ) { - // Technically a DOM id cannot start with an integer, so we prefix - // a string. This can also be useful if you have multiple tables - // to ensure that the id is unique with a different prefix - return 'row_'.$d; - } - ), - array( 'db' => 'first_name', 'dt' => 0 ), - array( 'db' => 'last_name', 'dt' => 1 ), - array( 'db' => 'position', 'dt' => 2 ), - array( 'db' => 'office', 'dt' => 3 ), - array( - 'db' => 'start_date', - 'dt' => 4, - 'formatter' => function( $d, $row ) { - return date( 'jS M y', strtotime($d)); - } - ), - array( - 'db' => 'salary', - 'dt' => 5, - 'formatter' => function( $d, $row ) { - return '$'.number_format($d); - } - ) -); - -// SQL server connection information -$sql_details = array( - 'user' => '', - 'pass' => '', - 'db' => '', - 'host' => '' -); - - -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * If you just want to use the basic configuration for DataTables with PHP - * server-side, there is no need to edit below this line. - */ - -require( 'ssp.class.php' ); - -echo json_encode( - SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) -); - diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-objects.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-objects.php deleted file mode 100644 index c3d339f1be..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-objects.php +++ /dev/null @@ -1,80 +0,0 @@ - 'id', - 'dt' => 'DT_RowId', - 'formatter' => function( $d, $row ) { - // Technically a DOM id cannot start with an integer, so we prefix - // a string. This can also be useful if you have multiple tables - // to ensure that the id is unique with a different prefix - return 'row_'.$d; - } - ), - array( 'db' => 'first_name', 'dt' => 'first_name' ), - array( 'db' => 'last_name', 'dt' => 'last_name' ), - array( 'db' => 'position', 'dt' => 'position' ), - array( 'db' => 'office', 'dt' => 'office' ), - array( - 'db' => 'start_date', - 'dt' => 'start_date', - 'formatter' => function( $d, $row ) { - return date( 'jS M y', strtotime($d)); - } - ), - array( - 'db' => 'salary', - 'dt' => 'salary', - 'formatter' => function( $d, $row ) { - return '$'.number_format($d); - } - ) -); - -$sql_details = array( - 'user' => '', - 'pass' => '', - 'db' => '', - 'host' => '' -); - - -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * If you just want to use the basic configuration for DataTables with PHP - * server-side, there is no need to edit below this line. - */ - -require( 'ssp.class.php' ); - -echo json_encode( - SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) -); - diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/jsonp.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/jsonp.php deleted file mode 100644 index ee6c36c41c..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/jsonp.php +++ /dev/null @@ -1,69 +0,0 @@ - 'first_name', 'dt' => 0 ), - array( 'db' => 'last_name', 'dt' => 1 ), - array( 'db' => 'position', 'dt' => 2 ), - array( 'db' => 'office', 'dt' => 3 ), - array( - 'db' => 'start_date', - 'dt' => 4, - 'formatter' => function( $d, $row ) { - return date( 'jS M y', strtotime($d)); - } - ), - array( - 'db' => 'salary', - 'dt' => 5, - 'formatter' => function( $d, $row ) { - return '$'.number_format($d); - } - ) -); - -$sql_details = array( - 'user' => '', - 'pass' => '', - 'db' => '', - 'host' => '' -); - - -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * If you just want to use the basic configuration for DataTables with PHP - * server-side, there is no need to edit below this line. - */ -require( 'ssp.class.php' ); - -echo $_GET['callback'].'('.json_encode( - SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) -).');'; - diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/mysql.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/mysql.sql deleted file mode 100644 index b0fa6267a5..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/mysql.sql +++ /dev/null @@ -1,80 +0,0 @@ --- --- DataTables Ajax and server-side processing database (MySQL) --- - -DROP TABLE IF EXISTS `datatables_demo`; - -CREATE TABLE `datatables_demo` ( - `id` int(10) NOT NULL auto_increment, - `first_name` varchar(250) NOT NULL default '', - `last_name` varchar(250) NOT NULL default '', - `position` varchar(250) NOT NULL default '', - `email` varchar(250) NOT NULL default '', - `office` varchar(250) NOT NULL default '', - `start_date` timestamp DEFAULT CURRENT_TIMESTAMP, - `age` int(8), - `salary` int(8), - `extn` int(8), - PRIMARY KEY (`id`) -); - -INSERT INTO `datatables_demo` - ( id, first_name, last_name, age, position, salary, start_date, extn, email, office ) - VALUES - ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ), - ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ), - ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ), - ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ), - ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ), - ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ), - ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ), - ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ), - ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ), - ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ), - ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ), - ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ), - ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ), - ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ), - ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ), - ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ), - ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ), - ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ), - ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ), - ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ), - ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ), - ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ), - ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ), - ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ), - ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ), - ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ), - ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ), - ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ), - ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ), - ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ), - ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ), - ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ), - ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ), - ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ), - ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ), - ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ), - ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ), - ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ), - ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ), - ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ), - ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ), - ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ), - ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ), - ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ), - ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ), - ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ), - ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ), - ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ), - ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ), - ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ), - ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ), - ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ), - ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ), - ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ), - ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ), - ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ), - ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/objects.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/objects.php deleted file mode 100644 index a10c866833..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/objects.php +++ /dev/null @@ -1,57 +0,0 @@ - 'first_name', 'dt' => 'first_name' ), - array( 'db' => 'last_name', 'dt' => 'last_name' ), - array( 'db' => 'position', 'dt' => 'position' ), - array( 'db' => 'office', 'dt' => 'office' ), - array( - 'db' => 'start_date', - 'dt' => 'start_date', - 'formatter' => function( $d, $row ) { - return date( 'jS M y', strtotime($d)); - } - ), - array( - 'db' => 'salary', - 'dt' => 'salary', - 'formatter' => function( $d, $row ) { - return '$'.number_format($d); - } - ) -); - -// SQL server connection information -$sql_details = array( - 'user' => '', - 'pass' => '', - 'db' => '', - 'host' => '' -); - - -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * If you just want to use the basic configuration for DataTables with PHP - * server-side, there is no need to edit below this line. - */ - -require( 'ssp.class.php' ); - -echo json_encode( - SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) -); - diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/post.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/post.php deleted file mode 100644 index 41901d7d4d..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/post.php +++ /dev/null @@ -1,71 +0,0 @@ - 'first_name', 'dt' => 'first_name' ), - array( 'db' => 'last_name', 'dt' => 'last_name' ), - array( 'db' => 'position', 'dt' => 'position' ), - array( 'db' => 'office', 'dt' => 'office' ), - array( - 'db' => 'start_date', - 'dt' => 'start_date', - 'formatter' => function( $d, $row ) { - return date( 'jS M y', strtotime($d)); - } - ), - array( - 'db' => 'salary', - 'dt' => 'salary', - 'formatter' => function( $d, $row ) { - return '$'.number_format($d); - } - ) -); - -// SQL server connection information -$sql_details = array( - 'user' => '', - 'pass' => '', - 'db' => '', - 'host' => '' -); - - -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * If you just want to use the basic configuration for DataTables with PHP - * server-side, there is no need to edit below this line. - */ - -require( 'ssp.class.php' ); - -echo json_encode( - SSP::simple( $_POST, $sql_details, $table, $primaryKey, $columns ) -); - diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/postgres.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/postgres.sql deleted file mode 100644 index e5039ea940..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/postgres.sql +++ /dev/null @@ -1,79 +0,0 @@ --- --- DataTables Ajax and server-side processing database (Postgres) --- -DROP TABLE IF EXISTS datatables_demo; - -CREATE TABLE datatables_demo ( - id serial, - first_name text NOT NULL default '', - last_name text NOT NULL default '', - position text NOT NULL default '', - email text NOT NULL default '', - office text NOT NULL default '', - start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP, - age integer, - salary integer, - extn integer, - PRIMARY KEY (id) -); - -INSERT INTO datatables_demo - ( id, first_name, last_name, age, position, salary, start_date, extn, email, office ) - VALUES - ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ), - ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ), - ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ), - ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ), - ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ), - ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ), - ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ), - ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ), - ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ), - ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ), - ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ), - ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ), - ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ), - ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ), - ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ), - ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ), - ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ), - ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ), - ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ), - ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ), - ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ), - ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ), - ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ), - ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ), - ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ), - ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ), - ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ), - ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ), - ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ), - ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ), - ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ), - ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ), - ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ), - ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ), - ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ), - ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ), - ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ), - ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ), - ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ), - ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ), - ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ), - ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ), - ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ), - ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ), - ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ), - ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ), - ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ), - ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ), - ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ), - ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ), - ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ), - ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ), - ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ), - ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ), - ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ), - ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ), - ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/server_processing.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/server_processing.php deleted file mode 100644 index 7717d6efb9..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/server_processing.php +++ /dev/null @@ -1,72 +0,0 @@ - 'first_name', 'dt' => 0 ), - array( 'db' => 'last_name', 'dt' => 1 ), - array( 'db' => 'position', 'dt' => 2 ), - array( 'db' => 'office', 'dt' => 3 ), - array( - 'db' => 'start_date', - 'dt' => 4, - 'formatter' => function( $d, $row ) { - return date( 'jS M y', strtotime($d)); - } - ), - array( - 'db' => 'salary', - 'dt' => 5, - 'formatter' => function( $d, $row ) { - return '$'.number_format($d); - } - ) -); - -// SQL server connection information -$sql_details = array( - 'user' => '', - 'pass' => '', - 'db' => '', - 'host' => '' -); - - -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * If you just want to use the basic configuration for DataTables with PHP - * server-side, there is no need to edit below this line. - */ - -require( 'ssp.class.php' ); - -echo json_encode( - SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) -); - - diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlite.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlite.sql deleted file mode 100644 index d5620e7d18..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlite.sql +++ /dev/null @@ -1,78 +0,0 @@ --- --- DataTables Ajax and server-side processing database (SQLite) --- -DROP TABLE IF EXISTS datatables_demo; - -CREATE TABLE datatables_demo ( - id integer primary key, - first_name text NOT NULL default '', - last_name text NOT NULL default '', - position text NOT NULL default '', - email text NOT NULL default '', - office text NOT NULL default '', - start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP, - age integer, - salary integer, - extn integer -); - -INSERT INTO datatables_demo - ( id, first_name, last_name, age, position, salary, start_date, extn, email, office ) - VALUES - ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ), - ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ), - ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ), - ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ), - ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ), - ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ), - ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ), - ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ), - ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ), - ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ), - ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ), - ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ), - ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ), - ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ), - ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ), - ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ), - ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ), - ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ), - ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ), - ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ), - ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ), - ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ), - ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ), - ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ), - ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ), - ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ), - ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ), - ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ), - ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ), - ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ), - ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ), - ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ), - ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ), - ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ), - ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ), - ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ), - ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ), - ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ), - ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ), - ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ), - ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ), - ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ), - ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ), - ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ), - ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ), - ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ), - ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ), - ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ), - ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ), - ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ), - ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ), - ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ), - ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ), - ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ), - ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ), - ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ), - ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlserver.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlserver.sql deleted file mode 100644 index 0abd4f3438..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlserver.sql +++ /dev/null @@ -1,80 +0,0 @@ --- --- DataTables Ajax and server-side processing database (SQL Server) --- -IF OBJECT_ID('dbo.datatables_demo', 'U') IS NOT NULL - DROP TABLE dbo.datatables_demo; - -CREATE TABLE datatables_demo ( - id int NOT NULL identity, - first_name varchar(250) NOT NULL default '', - last_name varchar(250) NOT NULL default '', - position varchar(250) NOT NULL default '', - email varchar(250) NOT NULL default '', - office varchar(250) NOT NULL default '', - start_date datetime DEFAULT GETDATE(), - age int, - salary int, - extn int, - PRIMARY KEY (id) -); - -INSERT INTO datatables_demo - ( id, first_name, last_name, age, position, salary, start_date, extn, email, office ) - VALUES - ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ), - ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ), - ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ), - ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ), - ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ), - ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ), - ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ), - ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ), - ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ), - ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ), - ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ), - ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ), - ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ), - ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ), - ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ), - ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ), - ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ), - ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ), - ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ), - ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ), - ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ), - ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ), - ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ), - ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ), - ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ), - ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ), - ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ), - ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ), - ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ), - ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ), - ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ), - ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ), - ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ), - ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ), - ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ), - ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ), - ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ), - ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ), - ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ), - ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ), - ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ), - ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ), - ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ), - ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ), - ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ), - ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ), - ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ), - ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ), - ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ), - ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ), - ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ), - ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ), - ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ), - ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ), - ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ), - ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ), - ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ssp.class.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ssp.class.php deleted file mode 100644 index 3b37189bdd..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ssp.class.php +++ /dev/null @@ -1,390 +0,0 @@ - intval( $request['draw'] ), - "recordsTotal" => intval( $recordsTotal ), - "recordsFiltered" => intval( $recordsFiltered ), - "data" => self::data_output( $columns, $data ) - ); - } - - - /** - * Connect to the database - * - * @param array $sql_details SQL server connection details array, with the - * properties: - * * host - host name - * * db - database name - * * user - user name - * * pass - user password - * @return resource Database connection handle - */ - static function sql_connect ( $sql_details ) - { - try { - $db = @new PDO( - "mysql:host={$sql_details['host']};dbname={$sql_details['db']}", - $sql_details['user'], - $sql_details['pass'], - array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION ) - ); - } - catch (PDOException $e) { - self::fatal( - "An error occurred while connecting to the database. ". - "The error reported by the server was: ".$e->getMessage() - ); - } - - return $db; - } - - - /** - * Execute an SQL query on the database - * - * @param resource $db Database handler - * @param array $bindings Array of PDO binding values from bind() to be - * used for safely escaping strings. Note that this can be given as the - * SQL query string if no bindings are required. - * @param string $sql SQL query to execute. - * @return array Result from the query (all rows) - */ - static function sql_exec ( $db, $bindings, $sql=null ) - { - // Argument shifting - if ( $sql === null ) { - $sql = $bindings; - } - - $stmt = $db->prepare( $sql ); - //echo $sql; - - // Bind parameters - if ( is_array( $bindings ) ) { - for ( $i=0, $ien=count($bindings) ; $i<$ien ; $i++ ) { - $binding = $bindings[$i]; - $stmt->bindValue( $binding['key'], $binding['val'], $binding['type'] ); - } - } - - // Execute - try { - $stmt->execute(); - } - catch (PDOException $e) { - self::fatal( "An SQL error occurred: ".$e->getMessage() ); - } - - // Return all - return $stmt->fetchAll(); - } - - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Internal methods - */ - - /** - * Throw a fatal error. - * - * This writes out an error message in a JSON string which DataTables will - * see and show to the user in the browser. - * - * @param string $msg Message to send to the client - */ - static function fatal ( $msg ) - { - echo json_encode( array( - "error" => $msg - ) ); - - exit(0); - } - - /** - * Create a PDO binding key which can be used for escaping variables safely - * when executing a query with sql_exec() - * - * @param array &$a Array of bindings - * @param * $val Value to bind - * @param int $type PDO field type - * @return string Bound key to be used in the SQL where this parameter - * would be used. - */ - static function bind ( &$a, $val, $type ) - { - $key = ':binding_'.count( $a ); - - $a[] = array( - 'key' => $key, - 'val' => $val, - 'type' => $type - ); - - return $key; - } - - - /** - * Pull a particular property from each assoc. array in a numeric array, - * returning and array of the property values from each item. - * - * @param array $a Array to get data from - * @param string $prop Property to read - * @return array Array of property values - */ - static function pluck ( $a, $prop ) - { - $out = array(); - - for ( $i=0, $len=count($a) ; $i<$len ; $i++ ) { - $out[] = $a[$i][$prop]; - } - - return $out; - } -} - diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/select_rows.html b/src/sunstone/public/bower_components/datatables/examples/server_side/select_rows.html deleted file mode 100644 index e0c82237a3..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/select_rows.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - - - DataTables example - Row selection - - - - - - - - - - - - -
-
-

DataTables example Row selection

- -
-

When you want to have user selectable rows in DataTables, it is relatively trivial when using DOM - based data - but when using server-side processing, DataTables doesn't retain DOM row elements over - pages / filtering etc. As such, you will need to keep a track of which rows a user as selected and mark - them as selected on each draw.

- -

This is shown in this demo, which uses a unique ID assigned to the TR element (this is done - automatically through the use of the DT_RowId special property returned as part of the - object given by the server for each row) to track which rows are selected and reselect them is - appropriate on a draw.

-
- - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeExtn.Start dateSalary
NamePositionOfficeExtn.Start dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - var selected = []; - - $("#example").dataTable({ - "processing": true, - "serverSide": true, - "ajax": "scripts/ids-arrays.php", - "rowCallback": function( row, data, displayIndex ) { - if ( $.inArray(data.DT_RowId, selected) !== -1 ) { - $(row).addClass('selected'); - } - } - }); - - $('#example tbody').on('click', 'tr', function () { - var id = this.id; - var index = $.inArray(id, selected); - - if ( index === -1 ) { - selected.push( id ); - } else { - selected.splice( index, 1 ); - } - - $(this).toggleClass('selected'); - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/simple.html b/src/sunstone/public/bower_components/datatables/examples/server_side/simple.html deleted file mode 100644 index 8156d40249..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/server_side/simple.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - - - DataTables example - Server-side processing - - - - - - - - - - - - -
-
-

DataTables example Server-side processing

- -
-

There are many ways to get your data into DataTables, and if you are working with seriously large - databases, you might want to consider using the server-side options that DataTables provides. With - server-side processing enabled, all paging, searching, ordering etc actions that DataTables performs - are handed off to a server where an SQL engine (or similar) can perform these actions on the large data - set (after all, that's what the database engine is designed for!). As such, each draw of the table will - result in a new Ajax request being made to get the required data.

- -

Server-side processing is enabled by setting the serverSideDT option to true and - providing an Ajax data source through the ajaxDT option.

- -

This example shows a very simple table, matching the other client-side processing examples, but in - this instance using server-side processing.

-
- - - - - - - - - - - - - - - - - - - - - - - -
First nameLast namePositionOfficeStart dateSalary
First nameLast namePositionOfficeStart dateSalary
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable( { - "processing": true, - "serverSide": true, - "ajax": "scripts/server_processing.php" - } ); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/bootstrap.html b/src/sunstone/public/bower_components/datatables/examples/styling/bootstrap.html deleted file mode 100644 index 984f8d00b7..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/bootstrap.html +++ /dev/null @@ -1,764 +0,0 @@ - - - - - - - - DataTables example - Bootstrap - - - - - - - - - - - - - - -
-
-

DataTables example Bootstrap

- -
-

DataTables can integrate seamlessly with Bootstrap using - Bootstrap's table styling options to present a - consistent interface with your Bootstrap driven site / app.

- -

DataTables' Bootstrap integration also provides a renderer for the pagination control in DataTables - to ensure that the pagination of the table is also styled consistently by Bootstrap.

- -

This integration is done simply by including the DataTables Bootstrap files (CSS and JS) which will - set the defaults needed for DataTables to be initialised as normal, as shown in this examples.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

body { font-size: 140%; } -
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/cell-border.html b/src/sunstone/public/bower_components/datatables/examples/styling/cell-border.html deleted file mode 100644 index 44ba9ee2bc..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/cell-border.html +++ /dev/null @@ -1,747 +0,0 @@ - - - - - - - - DataTables example - Base style - cell borders - - - - - - - - - - - - -
-
-

DataTables example Base style - cell borders

- -
-

This example shows DataTables with just the cell-border class specified, giving a - strong delineation between individual cells.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/compact.html b/src/sunstone/public/bower_components/datatables/examples/styling/compact.html deleted file mode 100644 index bd2529f9f0..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/compact.html +++ /dev/null @@ -1,747 +0,0 @@ - - - - - - - - DataTables example - Base style - compact - - - - - - - - - - - - -
-
-

DataTables example Base style - compact

- -
-

The compact class is used to reduce the amount of white-space the default styling for - the DataTable uses, increasing the information density on screen, as shown below.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/display.html b/src/sunstone/public/bower_components/datatables/examples/styling/display.html deleted file mode 100644 index 2784a4c694..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/display.html +++ /dev/null @@ -1,764 +0,0 @@ - - - - - - - - DataTables example - Base style - - - - - - - - - - - - -
-
-

DataTables example Base style

- -
-

The DataTables default style file has a number of features which can be enabled based on the class - name of the table. These features are:

- -
    -
  • cell-border - Cells with a border
  • -
  • compact - Increase the data density by reducing the cell padding
  • -
  • hover - Highlight a row when hovered over
  • -
  • order-column - Highlight the cells in the column currently being ordering - upon
  • -
  • row-border - Rows with a border
  • -
  • stripe - Zebra striped rows
  • -
- -

These classes can be combined (simply assign multiple classes to the table) to build up the styling - that you want for your table. For more information on the options in the DataTables stylesheet, please - refer to the DataTables styling manual

- -

The display class is a short-cut for specifying the stripe hover order-column - row-border as the class name for a table. This is shown in the example below.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/foundation.html b/src/sunstone/public/bower_components/datatables/examples/styling/foundation.html deleted file mode 100644 index 7d343e910b..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/foundation.html +++ /dev/null @@ -1,763 +0,0 @@ - - - - - - - - DataTables example - Foundation - - - - - - - - - - - - - - -
-
-

DataTables example Foundation

- -
-

DataTables can integrate seamlessly with Foundation using - Foundations's table styling - options to present a consistent interface with your Foundation driven site / app.

- -

DataTables' Foundation integration also provides a renderer for the pagination control in DataTables - to ensure that the pagination of the table is also styled consistently by Foundation.

- -

This integration is done simply by including the DataTables Foundation files (CSS and JS) which will - set the defaults needed for DataTables to be initialised as normal, as shown in this examples.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/hover.html b/src/sunstone/public/bower_components/datatables/examples/styling/hover.html deleted file mode 100644 index 5f452f07bf..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/hover.html +++ /dev/null @@ -1,747 +0,0 @@ - - - - - - - - DataTables example - Base style - hover - - - - - - - - - - - - -
-
-

DataTables example Base style - hover

- -
-

This example shows DataTables with just the hover class specified. This class will - instruct DataTables' styling to highlight a row when the mouse is hovered over it.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/index.html b/src/sunstone/public/bower_components/datatables/examples/styling/index.html deleted file mode 100644 index fa64fa847a..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - DataTables examples - Styling - - - -
-
-

DataTables example Styling

- -
-

When using DataTables, you want your tables to fit in with your site / app to make the end user - experience as seamless as possible. For this reason, DataTables provides an easy to customise core - stylesheet, which has a number of features that you can enable or disable as you required. Additionally - there are a number of integration packages which can be used to fit DataTables into a site which uses - some of the popular CSS libraries such as Twitter Bootstrap and Foundation. Or of course you can craft - your own CSS to fit it into your site perfectly!

- -

This section includes examples of how DataTables can be styled using these methods.

-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/jqueryUI.html b/src/sunstone/public/bower_components/datatables/examples/styling/jqueryUI.html deleted file mode 100644 index 25b6cfc1ee..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/jqueryUI.html +++ /dev/null @@ -1,768 +0,0 @@ - - - - - - - - DataTables example - jQuery UI ThemeRoller - - - - - - - - - - - - - - -
-
-

DataTables example jQuery UI ThemeRoller

- -
-

DataTables has the ability to integrate seamlessly with almost any styling library, and integration - files are provided for several of the popular styling libraries, including jQuery UI.

- -

To have your table styles integrate with jQuery UI's ThemeRoller styles, simply include the - DataTables CSS and JS integration files for jQuery UI, as shown in this example. Note also that because - jQuery doesn't provide table styles like some other CSS frameworks, the CSS integration file does add - this styling information.

- -

Please note that DataTables 1.10- actually has built-in support for jQuery UI styling integration - through the jQueryUIDT option. However, this option is - deprecated in DataTables 1.10 and will be removed DataTables 1.11, matching how styling integration is - provided for other libraries - a more modular, maintainable and extensible method. The method presented - on this page is the method that will be use in future.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/no-classes.html b/src/sunstone/public/bower_components/datatables/examples/styling/no-classes.html deleted file mode 100644 index 5b0a64a62f..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/no-classes.html +++ /dev/null @@ -1,747 +0,0 @@ - - - - - - - - DataTables example - Base style - no styling classes - - - - - - - - - - - - -
-
-

DataTables example Base style - no styling classes

- -
-

This example shows the base DataTables style file being used, with none of the additional feature - style classes being used.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/order-column.html b/src/sunstone/public/bower_components/datatables/examples/styling/order-column.html deleted file mode 100644 index cd6ec82e0e..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/order-column.html +++ /dev/null @@ -1,748 +0,0 @@ - - - - - - - - DataTables example - Base style - order-column - - - - - - - - - - - - -
-
-

DataTables example Base style - order-column

- -
-

This example shows DataTables with just the order-column class specified. Typically you - would want to use the stripe feature class in addition to order-column - (possibly hover as well), but this example shows just the ordered column highlighting.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/row-border.html b/src/sunstone/public/bower_components/datatables/examples/styling/row-border.html deleted file mode 100644 index fd78c95081..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/row-border.html +++ /dev/null @@ -1,747 +0,0 @@ - - - - - - - - DataTables example - Base style - row borders - - - - - - - - - - - - -
-
-

DataTables example Base style - row borders

- -
-

This example shows DataTables with just the row-border class specified, which can - create a pleasing, minimalist, interface for your tables.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/stripe.html b/src/sunstone/public/bower_components/datatables/examples/styling/stripe.html deleted file mode 100644 index a796a2d555..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/styling/stripe.html +++ /dev/null @@ -1,746 +0,0 @@ - - - - - - - - DataTables example - Base style - stripe - - - - - - - - - - - - -
-
-

DataTables example Base style - stripe

- -
-

This example shows DataTables with just the stripe class specified.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Tiger NixonSystem ArchitectEdinburgh612011/04/25$320,800
Garrett WintersAccountantTokyo632011/07/25$170,750
Ashton CoxJunior Technical AuthorSan Francisco662009/01/12$86,000
Cedric KellySenior Javascript DeveloperEdinburgh222012/03/29$433,060
Airi SatouAccountantTokyo332008/11/28$162,700
Brielle WilliamsonIntegration SpecialistNew York612012/12/02$372,000
Herrod ChandlerSales AssistantSan Francisco592012/08/06$137,500
Rhona DavidsonIntegration SpecialistTokyo552010/10/14$327,900
Colleen HurstJavascript DeveloperSan Francisco392009/09/15$205,500
Sonya FrostSoftware EngineerEdinburgh232008/12/13$103,600
Jena GainesOffice ManagerLondon302008/12/19$90,560
Quinn FlynnSupport LeadEdinburgh222013/03/03$342,000
Charde MarshallRegional DirectorSan Francisco362008/10/16$470,600
Haley KennedySenior Marketing DesignerLondon432012/12/18$313,500
Tatyana FitzpatrickRegional DirectorLondon192010/03/17$385,750
Michael SilvaMarketing DesignerLondon662012/11/27$198,500
Paul ByrdChief Financial Officer (CFO)New York642010/06/09$725,000
Gloria LittleSystems AdministratorNew York592009/04/10$237,500
Bradley GreerSoftware EngineerLondon412012/10/13$132,000
Dai RiosPersonnel LeadEdinburgh352012/09/26$217,500
Jenette CaldwellDevelopment LeadNew York302011/09/03$345,000
Yuri BerryChief Marketing Officer (CMO)New York402009/06/25$675,000
Caesar VancePre-Sales SupportNew York212011/12/12$106,450
Doris WilderSales AssistantSidney232010/09/20$85,600
Angelica RamosChief Executive Officer (CEO)London472009/10/09$1,200,000
Gavin JoyceDeveloperEdinburgh422010/12/22$92,575
Jennifer ChangRegional DirectorSingapore282010/11/14$357,650
Brenden WagnerSoftware EngineerSan Francisco282011/06/07$206,850
Fiona GreenChief Operating Officer (COO)San Francisco482010/03/11$850,000
Shou ItouRegional MarketingTokyo202011/08/14$163,000
Michelle HouseIntegration SpecialistSidney372011/06/02$95,400
Suki BurksDeveloperLondon532009/10/22$114,500
Prescott BartlettTechnical AuthorLondon272011/05/07$145,000
Gavin CortezTeam LeaderSan Francisco222008/10/26$235,500
Martena MccrayPost-Sales supportEdinburgh462011/03/09$324,050
Unity ButlerMarketing DesignerSan Francisco472009/12/09$85,675
Howard HatfieldOffice ManagerSan Francisco512008/12/16$164,500
Hope FuentesSecretarySan Francisco412010/02/12$109,850
Vivian HarrellFinancial ControllerSan Francisco622009/02/14$452,500
Timothy MooneyOffice ManagerLondon372008/12/11$136,200
Jackson BradshawDirectorNew York652008/09/26$645,750
Olivia LiangSupport EngineerSingapore642011/02/03$234,500
Bruno NashSoftware EngineerLondon382011/05/03$163,500
Sakura YamamotoSupport EngineerTokyo372009/08/19$139,575
Thor WaltonDeveloperNew York612013/08/11$98,540
Finn CamachoSupport EngineerSan Francisco472009/07/07$87,500
Serge BaldwinData CoordinatorSingapore642012/04/09$138,575
Zenaida FrankSoftware EngineerNew York632010/01/04$125,250
Zorita SerranoSoftware EngineerSan Francisco562012/06/01$115,000
Jennifer AcostaJunior Javascript DeveloperEdinburgh432013/02/01$75,650
Cara StevensSales AssistantNew York462011/12/06$145,600
Hermione ButlerRegional DirectorLondon472011/03/21$356,250
Lael GreerSystems AdministratorLondon212009/02/27$103,500
Jonas AlexanderDeveloperSan Francisco302010/07/14$86,500
Shad DeckerRegional DirectorEdinburgh512008/11/13$183,000
Michael BruceJavascript DeveloperSingapore292011/06/27$183,000
Donna SniderCustomer SupportNew York272011/01/25$112,000
- -
    -
  • Javascript
  • -
  • HTML
  • -
  • CSS
  • -
  • Ajax
  • -
  • Server-side script
  • -
- -
-
-

The Javascript shown below is used to initialise the table shown in this - example:

$(document).ready(function() { - $('#example').dataTable(); -} ); - -

In addition to the above code, the following Javascript library files are loaded for use in this - example:

- - -
- -
-

The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:

-
- -
-
-

This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:

-
- -

The following CSS library files are loaded for use in this example to provide the styling of the - table:

- - -
- -
-

This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.

-
- -
-

The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.

-
-
-
-
- -
- -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js index 8ca3b5d0c8..4aab04b1cc 100644 --- a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js +++ b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js @@ -1,11 +1,11 @@ -/*! DataTables 1.10.2 +/*! DataTables 1.10.3 * ©2008-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary DataTables * @description Paginate, search and order HTML tables - * @version 1.10.2 + * @version 1.10.3 * @file jquery.dataTables.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact @@ -133,7 +133,7 @@ if ( ! _re_dic[ decimalPoint ] ) { _re_dic[ decimalPoint ] = new RegExp( _fnEscapeRegex( decimalPoint ), 'g' ); } - return typeof num === 'string' ? + return typeof num === 'string' && decimalPoint !== '.' ? num.replace( /\./g, '' ).replace( _re_dic[ decimalPoint ], '.' ) : num; }; @@ -310,7 +310,6 @@ newKey = key.replace( match[0], match[2].toLowerCase() ); map[ newKey ] = key; - //console.log( key, match ); if ( match[1] === 'o' ) { _fnHungarianMap( o[key] ); @@ -673,6 +672,12 @@ return _fnSetObjectDataFn( mDataSrc )( rowData, val, meta ); }; + // Indicate if DataTables should read DOM data as an object or array + // Used in _fnGetRowElements + if ( typeof mDataSrc !== 'number' ) { + oSettings._rowReadObject = true; + } + /* Feature sorting overrides column specific when off */ if ( !oSettings.oFeatures.bSort ) { @@ -1498,19 +1503,22 @@ function _fnGetRowElements( settings, row ) { var - d = [], tds = [], td = row.firstChild, name, col, o, i=0, contents, - columns = settings.aoColumns; + columns = settings.aoColumns, + objectRead = settings._rowReadObject; - var attr = function ( str, data, td ) { + var d = objectRead ? {} : []; + + var attr = function ( str, td ) { if ( typeof str === 'string' ) { var idx = str.indexOf('@'); if ( idx !== -1 ) { - var src = str.substring( idx+1 ); - o[ '@'+src ] = td.getAttribute( src ); + var attr = str.substring( idx+1 ); + var setter = _fnSetObjectDataFn( str ); + setter( d, td.getAttribute( attr ) ); } } }; @@ -1520,18 +1528,26 @@ contents = $.trim(cell.innerHTML); if ( col && col._bAttrSrc ) { - o = { - display: contents - }; + var setter = _fnSetObjectDataFn( col.mData._ ); + setter( d, contents ); - attr( col.mData.sort, o, cell ); - attr( col.mData.type, o, cell ); - attr( col.mData.filter, o, cell ); - - d.push( o ); + attr( col.mData.sort, cell ); + attr( col.mData.type, cell ); + attr( col.mData.filter, cell ); } else { - d.push( contents ); + // Depending on the `data` option for the columns the data can be + // read to either an object or an array. + if ( objectRead ) { + if ( ! col._setter ) { + // Cache the setter function + col._setter = _fnSetObjectDataFn( col.mData ); + } + col._setter( d, contents ); + } + else { + d.push( contents ); + } } i++; @@ -1950,7 +1966,9 @@ } } - /* Row callback functions - might want to manipulate the row */ + // Row callback functions - might want to manipulate the row + // iRowCount and j are not currently documented. Are they at all + // useful? _fnCallbackFire( oSettings, 'aoRowCallback', null, [nRow, aoData._aData, iRowCount, j] ); @@ -2695,13 +2713,20 @@ _fnDraw( settings ); } }; + + var searchDelay = settings.searchDelay !== null ? + settings.searchDelay : + _fnDataSource( settings ) === 'ssp' ? + 400 : + 0; + var jqFilter = $('input', filter) .val( previousSearch.sSearch ) .attr( 'placeholder', language.sSearchPlaceholder ) .bind( 'keyup.DT search.DT input.DT paste.DT cut.DT', - _fnDataSource( settings ) === 'ssp' ? - _fnThrottle( searchFn, 400 ): + searchDelay ? + _fnThrottle( searchFn, searchDelay ) : searchFn ) .bind( 'keypress.DT', function(e) { @@ -2924,9 +2949,12 @@ * ^(?=.*?\bone\b)(?=.*?\btwo three\b)(?=.*?\bfour\b).*$ */ var a = $.map( search.match( /"[^"]+"|[^ ]+/g ) || '', function ( word ) { - return word.charAt(0) === '"' ? - word.match( /^"(.*)"$/ )[1] : - word; + if ( word.charAt(0) === '"' ) { + var m = word.match( /^"(.*)"$/ ); + word = m ? m[1] : word; + } + + return word.replace('"', ''); } ); search = '^(?=.*?'+a.join( ')(?=.*?' )+').*$'; @@ -4168,7 +4196,7 @@ */ function _fnThrottle( fn, freq ) { var - frequency = freq || 200, + frequency = freq !== undefined ? freq : 200, last, timer; @@ -4409,11 +4437,15 @@ iCol = aDataSort[k]; sType = aoColumns[ iCol ].sType || 'string'; + if ( nestedSort[i]._idx === undefined ) { + nestedSort[i]._idx = $.inArray( nestedSort[i][1], aoColumns[iCol].asSorting ); + } + aSort.push( { src: srcCol, col: iCol, dir: nestedSort[i][1], - index: nestedSort[i][2], + index: nestedSort[i]._idx, type: sType, formatter: DataTable.ext.type.order[ sType+"-pre" ] } ); @@ -4616,13 +4648,17 @@ var sorting = settings.aaSorting; var asSorting = col.asSorting; var nextSortIdx; - var next = function ( a ) { + var next = function ( a, overflow ) { var idx = a._idx; if ( idx === undefined ) { idx = $.inArray( a[1], asSorting ); } - return idx+1 >= asSorting.length ? 0 : idx+1; + return idx+1 < asSorting.length ? + idx+1 : + overflow ? + null : + 0; }; // Convert to 2D array if needed @@ -4637,10 +4673,15 @@ if ( sortIdx !== -1 ) { // Yes, modify the sort - nextSortIdx = next( sorting[sortIdx] ); + nextSortIdx = next( sorting[sortIdx], true ); - sorting[sortIdx][1] = asSorting[ nextSortIdx ]; - sorting[sortIdx]._idx = nextSortIdx; + if ( nextSortIdx === null ) { + sorting.splice( sortIdx, 1 ); + } + else { + sorting[sortIdx][1] = asSorting[ nextSortIdx ]; + sorting[sortIdx]._idx = nextSortIdx; + } } else { // No sort on this column yet @@ -5119,7 +5160,7 @@ len = settings._iDisplayLength; /* If we have space to show extra rows (backing up from the end point - then do so */ - if ( end === settings.fnRecordsDisplay() ) + if (start >= end) { start = end - len; } @@ -6095,6 +6136,7 @@ "fnStateLoadCallback", "fnStateSaveCallback", "renderer", + "searchDelay", [ "iCookieDuration", "iStateDuration" ], // backwards compat [ "oSearch", "oPreviousSearch" ], [ "aoSearchCols", "aoPreSearchCols" ], @@ -6725,8 +6767,10 @@ } for ( i=0, ien=context.length ; i= 0 ? selInt : // Count from left columns.length + selInt // Count from right (+ because its a negative value) ]; } - else { - var match = typeof s === 'string' ? - s.match( __re_column_selector ) : - ''; + + // Selector = function + if ( typeof s === 'function' ) { + var rows = _selector_row_indexes( settings, opts ); - if ( match ) { - switch( match[2] ) { - case 'visIdx': - case 'visible': - var idx = parseInt( match[1], 10 ); - // Visible index given, convert to column index - if ( idx < 0 ) { - // Counting from the right - var visColumns = $.map( columns, function (col,i) { - return col.bVisible ? i : null; - } ); - return [ visColumns[ visColumns.length + idx ] ]; - } - // Counting from the left - return [ _fnVisibleToColumnIndex( settings, idx ) ]; + return $.map( columns, function (col, idx) { + return s( + idx, + __columnData( settings, idx, 0, 0, rows ), + nodes[ idx ] + ) ? idx : null; + } ); + } - case 'name': - // match by name. `names` is column index complete and in order - return $.map( names, function (name, i) { - return name === match[1] ? i : null; + // jQuery or string selector + var match = typeof s === 'string' ? + s.match( __re_column_selector ) : + ''; + + if ( match ) { + switch( match[2] ) { + case 'visIdx': + case 'visible': + var idx = parseInt( match[1], 10 ); + // Visible index given, convert to column index + if ( idx < 0 ) { + // Counting from the right + var visColumns = $.map( columns, function (col,i) { + return col.bVisible ? i : null; } ); - } - } - else { - // jQuery selector on the TH elements for the columns - return $( nodes ) - .filter( s ) - .map( function () { - return $.inArray( this, nodes ); // `nodes` is column index complete and in order - } ) - .toArray(); + return [ visColumns[ visColumns.length + idx ] ]; + } + // Counting from the left + return [ _fnVisibleToColumnIndex( settings, idx ) ]; + + case 'name': + // match by name. `names` is column index complete and in order + return $.map( names, function (name, i) { + return name === match[1] ? i : null; + } ); } } + else { + // jQuery selector on the TH elements for the columns + return $( nodes ) + .filter( s ) + .map( function () { + return $.inArray( this, nodes ); // `nodes` is column index complete and in order + } ) + .toArray(); + } } ); }; - - - var __setColumnVis = function ( settings, column, vis, recalc ) { var cols = settings.aoColumns, @@ -8167,12 +8241,13 @@ * */ _api_registerPlural( 'columns().data()', 'column().data()', function () { - return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) { - var a = []; - for ( var row=0, ien=rows.length ; row') .addClass( classes.sSortJUIWrapper ) .append( cell.contents() ) @@ -14226,6 +14373,8 @@ return; } + var colIdx = column.idx; + cell .removeClass( classes.sSortAsc +" "+classes.sSortDesc ) .addClass( columns[ colIdx ] == 'asc' ? diff --git a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js index 3248d74907..9b72ba30c0 100644 --- a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js +++ b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js @@ -1,155 +1,157 @@ -/*! DataTables 1.10.2 +/*! DataTables 1.10.3 * ©2008-2014 SpryMedia Ltd - datatables.net/license */ -(function(za,O,l){var N=function(h){function T(a){var b,c,d={};h.each(a,function(e){if((b=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=e.replace(b[0],b[2].toLowerCase()),d[c]=e,"o"===b[1]&&T(a[e])});a._hungarianMap=d}function G(a,b,c){a._hungarianMap||T(a);var d;h.each(b,function(e){d=a._hungarianMap[e];if(d!==l&&(c||b[d]===l))"o"===d.charAt(0)?(b[d]||(b[d]={}),h.extend(!0,b[d],b[e]),G(a[d],b[d],c)):b[d]=b[e]})}function N(a){var b=p.defaults.oLanguage,c=a.sZeroRecords; -!a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&D(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&D(a,a,"sZeroRecords","sLoadingRecords");a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&cb(a)}function db(a){w(a,"ordering","bSort");w(a,"orderMulti","bSortMulti");w(a,"orderClasses","bSortClasses");w(a,"orderCellsTop","bSortCellsTop");w(a,"order","aaSorting");w(a,"orderFixed","aaSortingFixed");w(a,"paging","bPaginate"); -w(a,"pagingType","sPaginationType");w(a,"pageLength","iDisplayLength");w(a,"searching","bFilter");if(a=a.aoSearchCols)for(var b=0,c=a.length;b").css({position:"absolute",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(h("
").css({position:"absolute",top:1,left:1,width:100, -overflow:"scroll"}).append(h('
').css({width:"100%",height:10}))).appendTo("body"),c=b.find(".test");a.bScrollOversize=100===c[0].offsetWidth;a.bScrollbarLeft=1!==c.offset().left;b.remove()}function gb(a,b,c,d,e,f){var g,j=!1;c!==l&&(g=c,j=!0);for(;d!==e;)a.hasOwnProperty(d)&&(g=j?b(g,a[d],d,a):a[d],j=!0,d+=f);return g}function Aa(a,b){var c=p.defaults.column,d=a.aoColumns.length,c=h.extend({},p.models.oColumn,c,{nTh:b?b:O.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML: -"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=h.extend({},p.models.oSearch,c[d]);fa(a,d,null)}function fa(a,b,c){var b=a.aoColumns[b],d=a.oClasses,e=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=e.attr("width")||null;var f=(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==l&&null!==c&&(eb(c),G(p.defaults.column,c),c.mDataProp!==l&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&& -!c.sClass&&(c.sClass=c.className),h.extend(b,c),D(b,c,"sWidth","sWidthOrig"),"number"===typeof c.iDataSort&&(b.aDataSort=[c.iDataSort]),D(b,c,"aDataSort"));var g=b.mData,j=U(g),i=b.mRender?U(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&(c(g.sort)||c(g.type)||c(g.filter));b.fnGetData=function(a,b,c){var d=j(a,b,l,c);return i&&b?i(d,b,a,c):d};b.fnSetData=function(a,b,c){return Ba(g)(a,b,c)};a.oFeatures.bSort||(b.bSortable=!1,e.addClass(d.sSortableNone)); -a=-1!==h.inArray("asc",b.asSorting);c=-1!==h.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=d.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI)}function V(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Ca(a);for(var c=0,d=b.length;co[f])d(m.length+ -o[f],n);else if("string"===typeof o[f]){j=0;for(i=m.length;jb&&a[e]--; -1!=d&&c===l&&a.splice(d,1)}function la(a,b,c,d){var e=a.aoData[b],f;if("dom"===c||(!c||"auto"===c)&&"dom"===e.src)e._aData= -ia(a,e).data;else{var g=e.anCells,j;if(g){c=0;for(f=g.length;c").appendTo(g));b=0;for(c=m.length;btr").attr("role","row");h(g).find(">tr>th, >tr>td").addClass(n.sHeaderTH);h(j).find(">tr>th, >tr>td").addClass(n.sFooterTH);if(null!==j){a=a.aoFooter[0];b=0;for(c=a.length;b=a.fnRecordsDisplay()?0:g,a.iInitDisplayStart=-1);var g=a._iDisplayStart,n=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,B(a,!1);else if(j){if(!a.bDestroying&&!jb(a))return}else a.iDraw++;if(0!==i.length){f=j?a.aoData.length:n;for(j=j?0:g;j",{"class":e?d[0]:""}).append(h("",{valign:"top",colSpan:Z(a),"class":a.oClasses.sRowEmpty}).html(c))[0];u(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],Ha(a),g,n,i]);u(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0], -Ha(a),g,n,i]);d=h(a.nTBody);d.children().detach();d.append(h(b));u(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function L(a,b){var c=a.oFeatures,d=c.bFilter;c.bSort&&kb(a);d?ca(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;K(a);a._drawHold=!1}function lb(a){var b=a.oClasses,c=h(a.nTable),c=h("
").insertBefore(c),d=a.oFeatures,e=h("
",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)}); -a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),g,j,i,n,m,o,k=0;k")[0];n=f[k+1];if("'"==n||'"'==n){m="";for(o=2;f[k+o]!=n;)m+=f[k+o],o++;"H"==m?m=b.sJUIHeader:"F"==m&&(m=b.sJUIFooter);-1!=m.indexOf(".")?(n=m.split("."),i.id=n[0].substr(1,n[0].length-1),i.className=n[1]):"#"==m.charAt(0)?i.id=m.substr(1,m.length-1):i.className=m;k+=o}e.append(i);e=h(i)}else if(">"==j)e=e.parent();else if("l"== -j&&d.bPaginate&&d.bLengthChange)g=mb(a);else if("f"==j&&d.bFilter)g=nb(a);else if("r"==j&&d.bProcessing)g=ob(a);else if("t"==j)g=pb(a);else if("i"==j&&d.bInfo)g=qb(a);else if("p"==j&&d.bPaginate)g=rb(a);else if(0!==p.ext.feature.length){i=p.ext.feature;o=0;for(n=i.length;o',j=d.sSearch,j=j.match(/_INPUT_/)?j.replace("_INPUT_",g):j+g,b=h("
", -{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(h("
").addClass(b.sLength); -a.aanFeatures.l||(i[0].id=c+"_length");i.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",e[0].outerHTML));h("select",i).val(a._iDisplayLength).bind("change.DT",function(){Pa(a,h(this).val());K(a)});h(a.nTable).bind("length.dt.DT",function(b,c,d){a===c&&h("select",i).val(d)});return i[0]}function rb(a){var b=a.sPaginationType,c=p.ext.pager[b],d="function"===typeof c,e=function(a){K(a)},b=h("
").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;d||c.fnInit(a,b,e);f.p||(b.id=a.sTableId+ -"_paginate",a.aoDrawCallback.push({fn:function(a){if(d){var b=a._iDisplayStart,i=a._iDisplayLength,h=a.fnRecordsDisplay(),m=-1===i,b=m?0:Math.ceil(b/i),i=m?1:Math.ceil(h/i),h=c(b,i),o,m=0;for(o=f.p.length;mf&&(d=0)):"first"==b?d=0:"previous"==b?(d=0<=e?d-e:0,0>d&&(d=0)):"next"== -b?d+e",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]}function B(a,b){a.oFeatures.bProcessing&&h(a.aanFeatures.r).css("display",b?"block":"none");u(a,null,"processing",[a,b])}function pb(a){var b=h(a.nTable);b.attr("role", -"grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var d=c.sX,e=c.sY,f=a.oClasses,g=b.children("caption"),j=g.length?g[0]._captionSide:null,i=h(b[0].cloneNode(!1)),n=h(b[0].cloneNode(!1)),m=b.children("tfoot");c.sX&&"100%"===b.attr("width")&&b.removeAttr("width");m.length||(m=null);c=h("
",{"class":f.sScrollWrapper}).append(h("
",{"class":f.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:d?!d?null:s(d):"100%"}).append(h("
",{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box", -width:c.sXInner||"100%"}).append(i.removeAttr("id").css("margin-left",0).append(b.children("thead")))).append("top"===j?g:null)).append(h("
",{"class":f.sScrollBody}).css({overflow:"auto",height:!e?null:s(e),width:!d?null:s(d)}).append(b));m&&c.append(h("
",{"class":f.sScrollFoot}).css({overflow:"hidden",border:0,width:d?!d?null:s(d):"100%"}).append(h("
",{"class":f.sScrollFootInner}).append(n.removeAttr("id").css("margin-left",0).append(b.children("tfoot")))).append("bottom"===j?g: -null));var b=c.children(),o=b[0],f=b[1],k=m?b[2]:null;d&&h(f).scroll(function(){var a=this.scrollLeft;o.scrollLeft=a;m&&(k.scrollLeft=a)});a.nScrollHead=o;a.nScrollBody=f;a.nScrollFoot=k;a.aoDrawCallback.push({fn:W,sName:"scrolling"});return c[0]}function W(a){var b=a.oScroll,c=b.sX,d=b.sXInner,e=b.sY,f=b.iBarWidth,g=h(a.nScrollHead),j=g[0].style,i=g.children("div"),n=i[0].style,m=i.children("table"),i=a.nScrollBody,o=h(i),k=i.style,l=h(a.nScrollFoot).children("div"),p=l.children("table"),r=h(a.nTHead), -q=h(a.nTable),da=q[0],M=da.style,J=a.nTFoot?h(a.nTFoot):null,u=a.oBrowser,v=u.bScrollOversize,y,t,x,w,z,A=[],B=[],C=[],D,E=function(a){a=a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};q.children("thead, tfoot").remove();z=r.clone().prependTo(q);y=r.find("tr");x=z.find("tr");z.find("th, td").removeAttr("tabindex");J&&(w=J.clone().prependTo(q),t=J.find("tr"),w=w.find("tr"));c||(k.width="100%",g[0].style.width="100%");h.each(ma(a,z),function(b,c){D= -ga(a,b);c.style.width=a.aoColumns[D].sWidth});J&&F(function(a){a.style.width=""},w);b.bCollapse&&""!==e&&(k.height=o[0].offsetHeight+r[0].offsetHeight+"px");g=q.outerWidth();if(""===c){if(M.width="100%",v&&(q.find("tbody").height()>i.offsetHeight||"scroll"==o.css("overflow-y")))M.width=s(q.outerWidth()-f)}else""!==d?M.width=s(d):g==o.width()&&o.height()g-f&&(M.width=s(g))):M.width=s(g);g=q.outerWidth();F(E,x);F(function(a){C.push(a.innerHTML);A.push(s(h(a).css("width")))}, -x);F(function(a,b){a.style.width=A[b]},y);h(x).height(0);J&&(F(E,w),F(function(a){B.push(s(h(a).css("width")))},w),F(function(a,b){a.style.width=B[b]},t),h(w).height(0));F(function(a,b){a.innerHTML='
'+C[b]+"
";a.style.width=A[b]},x);J&&F(function(a,b){a.innerHTML="";a.style.width=B[b]},w);if(q.outerWidth()i.offsetHeight||"scroll"==o.css("overflow-y")?g+f:g;if(v&&(i.scrollHeight>i.offsetHeight||"scroll"==o.css("overflow-y")))M.width= -s(t-f);(""===c||""!==d)&&P(a,1,"Possible column misalignment",6)}else t="100%";k.width=s(t);j.width=s(t);J&&(a.nScrollFoot.style.width=s(t));!e&&v&&(k.height=s(da.offsetHeight+f));e&&b.bCollapse&&(k.height=s(e),b=c&&da.offsetWidth>i.offsetWidth?f:0,da.offsetHeighti.clientHeight||"scroll"==o.css("overflow-y");u="padding"+(u.bScrollbarLeft?"Left":"Right");n[u]=m?f+"px":"0px";J&&(p[0].style.width= -s(b),l[0].style.width=s(b),l[0].style[u]=m?f+"px":"0px");o.scroll();if((a.bSorted||a.bFiltered)&&!a._drawHold)i.scrollTop=0}function F(a,b,c){for(var d=0,e=0,f=b.length,g,j;e"));j.find("tfoot th, tfoot td").css("width","");var p=j.find("tbody tr"),i=ma(a,j.find("thead")[0]);for(k=0;k").css("width",s(a)).appendTo(b||O.body),d=c[0].offsetWidth;c.remove();return d}function Eb(a,b){var c= -a.oScroll;if(c.sX||c.sY)c=!c.sX?c.iBarWidth:0,b.style.width=s(h(b).outerWidth()-c)}function Db(a,b){var c=Fb(a,b);if(0>c)return null;var d=a.aoData[c];return!d.nTr?h("").html(A(a,c,b,"display"))[0]:d.anCells[b]}function Fb(a,b){for(var c,d=-1,e=-1,f=0,g=a.aoData.length;fd&&(d=c.length,e=f);return e}function s(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function Gb(){if(!p.__scrollbarWidth){var a= -h("

").css({width:"100%",height:200,padding:0})[0],b=h("

").css({position:"absolute",top:0,left:0,width:200,height:150,padding:0,overflow:"hidden",visibility:"hidden"}).append(a).appendTo("body"),c=a.offsetWidth;b.css("overflow","scroll");a=a.offsetWidth;c===a&&(a=b[0].clientWidth);b.remove();p.__scrollbarWidth=c-a}return p.__scrollbarWidth}function R(a){var b,c,d=[],e=a.aoColumns,f,g,j,i;b=a.aaSortingFixed;c=h.isPlainObject(b);var n=[];f=function(a){a.length&&!h.isArray(a[0])?n.push(a):n.push.apply(n, -a)};h.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a=0;ae?1:0,0!==c)return"asc"===j.dir?c:-c;c=d[a];e=d[b];return ce?1:0}):i.sort(function(a,b){var c,g,j,i,l=h.length,p=f[a]._aSortData,r=f[b]._aSortData;for(j=0;jg?1:0})}a.bSorted=!0}function Ib(a){for(var b,c, -d=a.aoColumns,e=R(a),a=a.oLanguage.oAria,f=0,g=d.length;f/g,"");var i=c.nTh;i.removeAttribute("aria-sort");c.bSortable&&(0=f.length?0:b+1};"number"===typeof e[0]&&(e=a.aaSorting=[e]);c&&a.oFeatures.bSortMulti?(c=h.inArray(b,C(e,"0")),-1!==c?(b=g(e[c]),e[c][1]=f[b],e[c]._idx=b):(e.push([b,f[0],0]),e[e.length-1]._idx=0)):e.length&&e[0][0]==b?(b=g(e[0]),e.length=1,e[0][1]=f[b],e[0]._idx=b):(e.length=0,e.push([b,f[0]]),e[0]._idx=0);L(a);"function"==typeof d&&d(a)}function Ka(a,b,c,d){var e=a.aoColumns[c];Ta(b,{},function(b){!1!==e.bSortable&&(a.oFeatures.bProcessing?(B(a,!0),setTimeout(function(){Sa(a,c,b.shiftKey, -d);"ssp"!==z(a)&&B(a,!1)},0)):Sa(a,c,b.shiftKey,d))})}function sa(a){var b=a.aLastSort,c=a.oClasses.sSortColumn,d=R(a),e=a.oFeatures,f,g;if(e.bSort&&e.bSortClasses){e=0;for(f=b.length;ee?e+1:3));e=0;for(f=d.length;ee?e+1:3))}a.aLastSort=d}function Hb(a,b){var c=a.aoColumns[b],d=p.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,Y(a,b)));for(var f,g=p.ext.type.order[c.sType+ -"-pre"],j=0,i=a.aoData.length;j= -d.length?[0,c[1]]:c)});h.extend(a.oPreviousSearch,zb(e.search));b=0;for(c=e.columns.length;bb)b=0;a._iDisplayStart=b}function La(a,b){var c= -a.renderer,d=p.ext.renderer[b];return h.isPlainObject(c)&&c[b]?d[c[b]]||d._:"string"===typeof c?d[c]||d._:d._}function z(a){return a.oFeatures.bServerSide?"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Ua(a,b){var c=[],c=Lb.numbers_length,d=Math.floor(c/2);b<=c?c=S(0,b):a<=d?(c=S(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-d?c=S(b-(c-2),b):(c=S(a-1,a+2),c.push("ellipsis"),c.push(b-1)),c.splice(0,0,"ellipsis"),c.splice(0,0,0));c.DT_el="span";return c}function cb(a){h.each({num:function(b){return va(b, -a)},"num-fmt":function(b){return va(b,a,Va)},"html-num":function(b){return va(b,a,wa)},"html-num-fmt":function(b){return va(b,a,wa,Va)}},function(b,c){t.type.order[b+a+"-pre"]=c})}function Mb(a){return function(){var b=[ua(this[p.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return p.ext.internal[a].apply(this,b)}}var p,t,q,r,v,Wa={},Nb=/[\r\n]/g,wa=/<.*?>/g,Yb=/^[\w\+\-]/,Zb=/[\w\+\-]$/,Vb=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Va=/[',$\u00a3\u20ac\u00a5%\u2009\u202F]/g, -H=function(a){return!a||!0===a||"-"===a?!0:!1},Ob=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Pb=function(a,b){Wa[b]||(Wa[b]=RegExp(Oa(b),"g"));return"string"===typeof a?a.replace(/\./g,"").replace(Wa[b],"."):a},Xa=function(a,b,c){var d="string"===typeof a;b&&d&&(a=Pb(a,b));c&&d&&(a=a.replace(Va,""));return H(a)||!isNaN(parseFloat(a))&&isFinite(a)},Qb=function(a,b,c){return H(a)?!0:!(H(a)||"string"===typeof a)?null:Xa(a.replace(wa,""),b,c)?!0:null},C=function(a,b,c){var d= -[],e=0,f=a.length;if(c!==l)for(;e")[0],Wb=qa.textContent!==l,Xb=/<.*?>/g;p=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a,b){return this.api(!0).rows(a,b).data()};this.api=function(a){return a?new q(ua(this[t.iApiIndex])):new q(this)};this.fnAddData=function(a,b){var c=this.api(!0),d=h.isArray(a)&&(h.isArray(a[0])||h.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===l||b)&&c.draw();return d.flatten().toArray()};this.fnAdjustColumnSizing= -function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],d=c.oScroll;a===l||a?b.draw(!1):(""!==d.sX||""!==d.sY)&&W(c)};this.fnClearTable=function(a){var b=this.api(!0).clear();(a===l||a)&&b.draw()};this.fnClose=function(a){this.api(!0).row(a).child.hide()};this.fnDeleteRow=function(a,b,c){var d=this.api(!0),a=d.rows(a),e=a.settings()[0],h=e.aoData[a[0][0]];a.remove();b&&b.call(this,e,h);(c===l||c)&&d.draw();return h};this.fnDestroy=function(a){this.api(!0).destroy(a)};this.fnDraw=function(a){this.api(!0).draw(!a)}; -this.fnFilter=function(a,b,c,d,e,h){e=this.api(!0);null===b||b===l?e.search(a,c,d,h):e.column(b).search(a,c,d,h);e.draw()};this.fnGetData=function(a,b){var c=this.api(!0);if(a!==l){var d=a.nodeName?a.nodeName.toLowerCase():"";return b!==l||"td"==d||"th"==d?c.cell(a,b).data():c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==l?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=function(a){var b=this.api(!0),c=a.nodeName.toUpperCase(); -return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()};this.fnOpen=function(a,b,c){return this.api(!0).row(a).child(b,c).show().child()[0]};this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===l||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===l||c)&&a.columns.adjust().draw()};this.fnSettings=function(){return ua(this[t.iApiIndex])}; -this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,d,e){var h=this.api(!0);c===l||null===c?h.row(b).data(a):h.cell(b,c).data(a);(e===l||e)&&h.columns.adjust();(d===l||d)&&h.draw();return 0};this.fnVersionCheck=t.fnVersionCheck;var b=this,c=a===l,d=this.length;c&&(a={});this.oApi=this.internal=t.internal;for(var e in p.ext.internal)e&&(this[e]=Mb(e));this.each(function(){var e={},g=1t<"F"ip>'),k.renderer)?h.isPlainObject(k.renderer)&&!k.renderer.header&&(k.renderer.header="jqueryui"):k.renderer="jqueryui":h.extend(n,p.ext.classes,g.oClasses);h(this).addClass(n.sTable);if(""!==k.oScroll.sX||""!==k.oScroll.sY)k.oScroll.iBarWidth=Gb();!0===k.oScroll.sX&&(k.oScroll.sX= -"100%");k.iInitDisplayStart===l&&(k.iInitDisplayStart=g.iDisplayStart,k._iDisplayStart=g.iDisplayStart);null!==g.iDeferLoading&&(k.bDeferLoading=!0,j=h.isArray(g.iDeferLoading),k._iRecordsDisplay=j?g.iDeferLoading[0]:g.iDeferLoading,k._iRecordsTotal=j?g.iDeferLoading[1]:g.iDeferLoading);""!==g.oLanguage.sUrl?(k.oLanguage.sUrl=g.oLanguage.sUrl,h.getJSON(k.oLanguage.sUrl,null,function(a){N(a);G(m.oLanguage,a);h.extend(true,k.oLanguage,g.oLanguage,a);ra(k)}),e=!0):h.extend(!0,k.oLanguage,g.oLanguage); -null===g.asStripeClasses&&(k.asStripeClasses=[n.sStripeOdd,n.sStripeEven]);var j=k.asStripeClasses,r=h("tbody tr:eq(0)",this);-1!==h.inArray(!0,h.map(j,function(a){return r.hasClass(a)}))&&(h("tbody tr",this).removeClass(j.join(" ")),k.asDestroyStripes=j.slice());var o=[],q,j=this.getElementsByTagName("thead");0!==j.length&&(aa(k.aoHeader,j[0]),o=ma(k));if(null===g.aoColumns){q=[];j=0;for(i=o.length;j").appendTo(this));k.nTHead= -i[0];i=h(this).children("tbody");0===i.length&&(i=h("").appendTo(this));k.nTBody=i[0];i=h(this).children("tfoot");if(0===i.length&&0").appendTo(this);0===i.length||0===i.children().length?h(this).addClass(n.sNoFooter):0a?new q(b[a],this[a]):null},filter:function(a){var b=[];if(y.filter)b=y.filter.call(this,a,this);else for(var c=0,d=this.length;c").addClass(b);h("td",c).addClass(b).html(a)[0].colSpan=Z(d);e.push(c[0])}};if(h.isArray(a)|| -a instanceof h)for(var g=0,j=a.length;g=0?c:f.length+c];var e=typeof a==="string"?a.match(ac):"";if(e)switch(e[2]){case "visIdx":case "visible":a=parseInt(e[1],10);if(a<0){c=h.map(f,function(a, -b){return a.bVisible?b:null});return[c[c.length+a]]}return[ga(b,a)];case "name":return h.map(g,function(a,b){return a===e[1]?b:null})}else return h(j).filter(a).map(function(){return h.inArray(this,j)}).toArray()})});c.selector.cols=a;c.selector.opts=b;return c});v("columns().header()","column().header()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTh})});v("columns().footer()","column().footer()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTf})}); -v("columns().data()","column().data()",function(){return this.iterator("column-rows",function(a,b,c,d,e){for(var c=[],d=0,f=e.length;dd;return!0};p.isDataTable=p.fnIsDataTable=function(a){var b=h(a).get(0),c=!1;h.each(p.settings,function(a,e){if(e.nTable===b||e.nScrollHead=== -b||e.nScrollFoot===b)c=!0});return c};p.tables=p.fnTables=function(a){return jQuery.map(p.settings,function(b){if(!a||a&&h(b.nTable).is(":visible"))return b.nTable})};p.camelToHungarian=G;r("$()",function(a,b){var c=this.rows(b).nodes(),c=h(c);return h([].concat(c.filter(a).toArray(),c.find(a).toArray()))});h.each(["on","one","off"],function(a,b){r(b+"()",function(){var a=Array.prototype.slice.call(arguments);a[0].match(/\.dt\b/)||(a[0]+=".dt");var d=h(this.tables().nodes());d[b].apply(d,a);return this})}); -r("clear()",function(){return this.iterator("table",function(a){ja(a)})});r("settings()",function(){return new q(this.context,this.context)});r("data()",function(){return this.iterator("table",function(a){return C(a.aoData,"_aData")}).flatten()});r("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,d=b.oClasses,e=b.nTable,f=b.nTBody,g=b.nTHead,j=b.nTFoot,i=h(e),f=h(f),l=h(b.nTableWrapper),m=h.map(b.aoData,function(a){return a.nTr}),o;b.bDestroying= -!0;u(b,"aoDestroyCallback","destroy",[b]);a||(new q(b)).columns().visible(!0);l.unbind(".DT").find(":not(tbody *)").unbind(".DT");h(za).unbind(".DT-"+b.sInstance);e!=g.parentNode&&(i.children("thead").detach(),i.append(g));j&&e!=j.parentNode&&(i.children("tfoot").detach(),i.append(j));i.detach();l.detach();b.aaSorting=[];b.aaSortingFixed=[];sa(b);h(m).removeClass(b.asStripeClasses.join(" "));h("th, td",g).removeClass(d.sSortable+" "+d.sSortableAsc+" "+d.sSortableDesc+" "+d.sSortableNone);b.bJUI&& -(h("th span."+d.sSortIcon+", td span."+d.sSortIcon,g).detach(),h("th, td",g).each(function(){var a=h("div."+d.sSortJUIWrapper,this);h(this).append(a.contents());a.detach()}));!a&&c&&c.insertBefore(e,b.nTableReinsertBefore);f.children().detach();f.append(m);i.css("width",b.sDestroyWidth).removeClass(d.sTable);(o=b.asDestroyStripes.length)&&f.children().each(function(a){h(this).addClass(b.asDestroyStripes[a%o])});c=h.inArray(b,p.settings);-1!==c&&p.settings.splice(c,1)})});p.version="1.10.2";p.settings= +(function(Da,P,l){var O=function(h){function V(a){var b,c,d={};h.each(a,function(e){if((b=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=e.replace(b[0],b[2].toLowerCase()),d[c]=e,"o"===b[1]&&V(a[e])});a._hungarianMap=d}function G(a,b,c){a._hungarianMap||V(a);var d;h.each(b,function(e){d=a._hungarianMap[e];if(d!==l&&(c||b[d]===l))"o"===d.charAt(0)?(b[d]||(b[d]={}),h.extend(!0,b[d],b[e]),G(a[d],b[d],c)):b[d]=b[e]})}function O(a){var b=p.defaults.oLanguage,c=a.sZeroRecords; +!a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&D(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&D(a,a,"sZeroRecords","sLoadingRecords");a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&db(a)}function eb(a){z(a,"ordering","bSort");z(a,"orderMulti","bSortMulti");z(a,"orderClasses","bSortClasses");z(a,"orderCellsTop","bSortCellsTop");z(a,"order","aaSorting");z(a,"orderFixed","aaSortingFixed");z(a,"paging","bPaginate"); +z(a,"pagingType","sPaginationType");z(a,"pageLength","iDisplayLength");z(a,"searching","bFilter");if(a=a.aoSearchCols)for(var b=0,c=a.length;b").css({position:"absolute",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(h("
").css({position:"absolute",top:1,left:1,width:100, +overflow:"scroll"}).append(h('
').css({width:"100%",height:10}))).appendTo("body"),c=b.find(".test");a.bScrollOversize=100===c[0].offsetWidth;a.bScrollbarLeft=1!==c.offset().left;b.remove()}function hb(a,b,c,d,e,f){var g,i=!1;c!==l&&(g=c,i=!0);for(;d!==e;)a.hasOwnProperty(d)&&(g=i?b(g,a[d],d,a):a[d],i=!0,d+=f);return g}function Ea(a,b){var c=p.defaults.column,d=a.aoColumns.length,c=h.extend({},p.models.oColumn,c,{nTh:b?b:P.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML: +"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=h.extend({},p.models.oSearch,c[d]);ia(a,d,null)}function ia(a,b,c){var b=a.aoColumns[b],d=a.oClasses,e=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=e.attr("width")||null;var f=(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==l&&null!==c&&(fb(c),G(p.defaults.column,c),c.mDataProp!==l&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&& +!c.sClass&&(c.sClass=c.className),h.extend(b,c),D(b,c,"sWidth","sWidthOrig"),"number"===typeof c.iDataSort&&(b.aDataSort=[c.iDataSort]),D(b,c,"aDataSort"));var g=b.mData,i=W(g),j=b.mRender?W(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&(c(g.sort)||c(g.type)||c(g.filter));b.fnGetData=function(a,b,c){var d=i(a,b,l,c);return j&&b?j(d,b,a,c):d};b.fnSetData=function(a,b,c){return Q(g)(a,b,c)};"number"!==typeof g&&(a._rowReadObject=!0);a.oFeatures.bSort|| +(b.bSortable=!1,e.addClass(d.sSortableNone));a=-1!==h.inArray("asc",b.asSorting);c=-1!==h.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=d.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI)}function X(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Fa(a);for(var c=0,d=b.length;c< +d;c++)b[c].nTh.style.width=b[c].sWidth}b=a.oScroll;(""!==b.sY||""!==b.sX)&&Y(a);u(a,null,"column-sizing",[a])}function ja(a,b){var c=Z(a,"bVisible");return"number"===typeof c[b]?c[b]:null}function $(a,b){var c=Z(a,"bVisible"),c=h.inArray(b,c);return-1!==c?c:null}function aa(a){return Z(a,"bVisible").length}function Z(a,b){var c=[];h.map(a.aoColumns,function(a,e){a[b]&&c.push(e)});return c}function Ga(a){var b=a.aoColumns,c=a.aoData,d=p.ext.type.detect,e,f,g,i,j,h,m,o,k;e=0;for(f=b.length;eo[f])d(m.length+o[f],n);else if("string"===typeof o[f]){i=0;for(j=m.length;ib&&a[e]--; -1!=d&&c===l&& +a.splice(d,1)}function oa(a,b,c,d){var e=a.aoData[b],f;if("dom"===c||(!c||"auto"===c)&&"dom"===e.src)e._aData=la(a,e).data;else{var g=e.anCells,i;if(g){c=0;for(f=g.length;c").appendTo(g));b=0;for(c=m.length;btr").attr("role","row");h(g).find(">tr>th, >tr>td").addClass(n.sHeaderTH);h(i).find(">tr>th, >tr>td").addClass(n.sFooterTH);if(null!==i){a=a.aoFooter[0];b=0;for(c=a.length;b=a.fnRecordsDisplay()?0:g,a.iInitDisplayStart=-1);var g=a._iDisplayStart,n=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,B(a,!1);else if(i){if(!a.bDestroying&& +!kb(a))return}else a.iDraw++;if(0!==j.length){f=i?a.aoData.length:n;for(i=i?0:g;i",{"class":e?d[0]:""}).append(h("",{valign:"top",colSpan:aa(a), +"class":a.oClasses.sRowEmpty}).html(c))[0];u(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],Ka(a),g,n,j]);u(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0],Ka(a),g,n,j]);d=h(a.nTBody);d.children().detach();d.append(h(b));u(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function M(a,b){var c=a.oFeatures,d=c.bFilter;c.bSort&&lb(a);d?ea(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;L(a);a._drawHold= +!1}function mb(a){var b=a.oClasses,c=h(a.nTable),c=h("
").insertBefore(c),d=a.oFeatures,e=h("
",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),g,i,j,n,m,o,k=0;k")[0];n=f[k+1];if("'"==n||'"'==n){m="";for(o=2;f[k+o]!=n;)m+=f[k+o],o++;"H"==m?m=b.sJUIHeader:"F"==m&&(m=b.sJUIFooter);-1!=m.indexOf(".")?(n=m.split("."), +j.id=n[0].substr(1,n[0].length-1),j.className=n[1]):"#"==m.charAt(0)?j.id=m.substr(1,m.length-1):j.className=m;k+=o}e.append(j);e=h(j)}else if(">"==i)e=e.parent();else if("l"==i&&d.bPaginate&&d.bLengthChange)g=nb(a);else if("f"==i&&d.bFilter)g=ob(a);else if("r"==i&&d.bProcessing)g=pb(a);else if("t"==i)g=qb(a);else if("i"==i&&d.bInfo)g=rb(a);else if("p"==i&&d.bPaginate)g=sb(a);else if(0!==p.ext.feature.length){j=p.ext.feature;o=0;for(n=j.length;o',i=d.sSearch,i=i.match(/_INPUT_/)?i.replace("_INPUT_",g):i+g,b=h("
",{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(h("
").addClass(b.sLength);a.aanFeatures.l||(j[0].id=c+"_length");j.children().append(a.oLanguage.sLengthMenu.replace("_MENU_",e[0].outerHTML));h("select",j).val(a._iDisplayLength).bind("change.DT",function(){Ra(a,h(this).val());L(a)});h(a.nTable).bind("length.dt.DT",function(b,c,d){a===c&&h("select",j).val(d)});return j[0]}function sb(a){var b= +a.sPaginationType,c=p.ext.pager[b],d="function"===typeof c,e=function(a){L(a)},b=h("
").addClass(a.oClasses.sPaging+b)[0],f=a.aanFeatures;d||c.fnInit(a,b,e);f.p||(b.id=a.sTableId+"_paginate",a.aoDrawCallback.push({fn:function(a){if(d){var b=a._iDisplayStart,j=a._iDisplayLength,h=a.fnRecordsDisplay(),m=-1===j,b=m?0:Math.ceil(b/j),j=m?1:Math.ceil(h/j),h=c(b,j),o,m=0;for(o=f.p.length;mf&&(d=0)):"first"==b?d=0:"previous"==b?(d=0<=e?d-e:0,0>d&&(d=0)):"next"==b?d+e",{id:!a.aanFeatures.r?a.sTableId+"_processing":null,"class":a.oClasses.sProcessing}).html(a.oLanguage.sProcessing).insertBefore(a.nTable)[0]} +function B(a,b){a.oFeatures.bProcessing&&h(a.aanFeatures.r).css("display",b?"block":"none");u(a,null,"processing",[a,b])}function qb(a){var b=h(a.nTable);b.attr("role","grid");var c=a.oScroll;if(""===c.sX&&""===c.sY)return a.nTable;var d=c.sX,e=c.sY,f=a.oClasses,g=b.children("caption"),i=g.length?g[0]._captionSide:null,j=h(b[0].cloneNode(!1)),n=h(b[0].cloneNode(!1)),m=b.children("tfoot");c.sX&&"100%"===b.attr("width")&&b.removeAttr("width");m.length||(m=null);c=h("
",{"class":f.sScrollWrapper}).append(h("
", +{"class":f.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:d?!d?null:s(d):"100%"}).append(h("
",{"class":f.sScrollHeadInner}).css({"box-sizing":"content-box",width:c.sXInner||"100%"}).append(j.removeAttr("id").css("margin-left",0).append(b.children("thead")))).append("top"===i?g:null)).append(h("
",{"class":f.sScrollBody}).css({overflow:"auto",height:!e?null:s(e),width:!d?null:s(d)}).append(b));m&&c.append(h("
",{"class":f.sScrollFoot}).css({overflow:"hidden", +border:0,width:d?!d?null:s(d):"100%"}).append(h("
",{"class":f.sScrollFootInner}).append(n.removeAttr("id").css("margin-left",0).append(b.children("tfoot")))).append("bottom"===i?g:null));var b=c.children(),o=b[0],f=b[1],k=m?b[2]:null;d&&h(f).scroll(function(){var a=this.scrollLeft;o.scrollLeft=a;m&&(k.scrollLeft=a)});a.nScrollHead=o;a.nScrollBody=f;a.nScrollFoot=k;a.aoDrawCallback.push({fn:Y,sName:"scrolling"});return c[0]}function Y(a){var b=a.oScroll,c=b.sX,d=b.sXInner,e=b.sY,f=b.iBarWidth, +g=h(a.nScrollHead),i=g[0].style,j=g.children("div"),n=j[0].style,m=j.children("table"),j=a.nScrollBody,o=h(j),k=j.style,l=h(a.nScrollFoot).children("div"),p=l.children("table"),r=h(a.nTHead),q=h(a.nTable),fa=q[0],N=fa.style,J=a.nTFoot?h(a.nTFoot):null,t=a.oBrowser,u=t.bScrollOversize,x,v,w,K,y,z=[],A=[],B=[],C,D=function(a){a=a.style;a.paddingTop="0";a.paddingBottom="0";a.borderTopWidth="0";a.borderBottomWidth="0";a.height=0};q.children("thead, tfoot").remove();y=r.clone().prependTo(q);x=r.find("tr"); +w=y.find("tr");y.find("th, td").removeAttr("tabindex");J&&(K=J.clone().prependTo(q),v=J.find("tr"),K=K.find("tr"));c||(k.width="100%",g[0].style.width="100%");h.each(pa(a,y),function(b,c){C=ja(a,b);c.style.width=a.aoColumns[C].sWidth});J&&F(function(a){a.style.width=""},K);b.bCollapse&&""!==e&&(k.height=o[0].offsetHeight+r[0].offsetHeight+"px");g=q.outerWidth();if(""===c){if(N.width="100%",u&&(q.find("tbody").height()>j.offsetHeight||"scroll"==o.css("overflow-y")))N.width=s(q.outerWidth()-f)}else""!== +d?N.width=s(d):g==o.width()&&o.height()g-f&&(N.width=s(g))):N.width=s(g);g=q.outerWidth();F(D,w);F(function(a){B.push(a.innerHTML);z.push(s(h(a).css("width")))},w);F(function(a,b){a.style.width=z[b]},x);h(w).height(0);J&&(F(D,K),F(function(a){A.push(s(h(a).css("width")))},K),F(function(a,b){a.style.width=A[b]},v),h(K).height(0));F(function(a,b){a.innerHTML='
'+B[b]+"
";a.style.width=z[b]}, +w);J&&F(function(a,b){a.innerHTML="";a.style.width=A[b]},K);if(q.outerWidth()j.offsetHeight||"scroll"==o.css("overflow-y")?g+f:g;if(u&&(j.scrollHeight>j.offsetHeight||"scroll"==o.css("overflow-y")))N.width=s(v-f);(""===c||""!==d)&&R(a,1,"Possible column misalignment",6)}else v="100%";k.width=s(v);i.width=s(v);J&&(a.nScrollFoot.style.width=s(v));!e&&u&&(k.height=s(fa.offsetHeight+f));e&&b.bCollapse&&(k.height=s(e),b=c&&fa.offsetWidth>j.offsetWidth?f:0,fa.offsetHeightj.clientHeight||"scroll"==o.css("overflow-y");t="padding"+(t.bScrollbarLeft?"Left":"Right");n[t]=m?f+"px":"0px";J&&(p[0].style.width=s(b),l[0].style.width=s(b),l[0].style[t]=m?f+"px":"0px");o.scroll();if((a.bSorted||a.bFiltered)&&!a._drawHold)j.scrollTop=0}function F(a,b,c){for(var d=0,e=0,f=b.length,g,i;e")); +i.find("tfoot th, tfoot td").css("width","");var p=i.find("tbody tr"),j=pa(a,i.find("thead")[0]);for(k=0;k").css("width",s(a)).appendTo(b||P.body),d=c[0].offsetWidth;c.remove();return d}function Fb(a,b){var c=a.oScroll;if(c.sX||c.sY)c=!c.sX?c.iBarWidth:0,b.style.width=s(h(b).outerWidth()-c)}function Eb(a,b){var c=Gb(a,b);if(0>c)return null;var d=a.aoData[c];return!d.nTr?h("").html(w(a,c,b,"display"))[0]:d.anCells[b]}function Gb(a,b){for(var c,d=-1,e=-1,f=0,g=a.aoData.length;fd&&(d=c.length,e=f);return e}function s(a){return null===a?"0px":"number"==typeof a?0>a?"0px":a+"px":a.match(/\d$/)?a+"px":a}function Hb(){if(!p.__scrollbarWidth){var a=h("

").css({width:"100%",height:200,padding:0})[0],b=h("

").css({position:"absolute",top:0,left:0,width:200,height:150,padding:0,overflow:"hidden",visibility:"hidden"}).append(a).appendTo("body"),c=a.offsetWidth;b.css("overflow","scroll");a=a.offsetWidth;c===a&&(a=b[0].clientWidth);b.remove();p.__scrollbarWidth= +c-a}return p.__scrollbarWidth}function T(a){var b,c,d=[],e=a.aoColumns,f,g,i,j;b=a.aaSortingFixed;c=h.isPlainObject(b);var n=[];f=function(a){a.length&&!h.isArray(a[0])?n.push(a):n.push.apply(n,a)};h.isArray(b)&&f(b);c&&b.pre&&f(b.pre);f(a.aaSorting);c&&b.post&&f(b.post);for(a=0;ae?1:0,0!==c)return"asc"===i.dir?c:-c;c=d[a];e=d[b];return ce?1:0}):h.sort(function(a,b){var c, +g,i,h,j=n.length,l=f[a]._aSortData,p=f[b]._aSortData;for(i=0;ig?1:0})}a.bSorted=!0}function Jb(a){for(var b,c,d=a.aoColumns,e=T(a),a=a.oLanguage.oAria,f=0,g=d.length;f/g,"");var h=c.nTh;h.removeAttribute("aria-sort");c.bSortable&&(0e?e+1:3));e=0;for(f=d.length;ee?e+1:3))}a.aLastSort=d}function Ib(a,b){var c=a.aoColumns[b],d=p.ext.order[c.sSortDataType],e;d&&(e=d.call(a.oInstance,a,b,$(a,b)));for(var f,g=p.ext.type.order[c.sType+"-pre"],i=0,h=a.aoData.length;i=d.length?[0,c[1]]:c)});h.extend(a.oPreviousSearch,Ab(e.search));b=0;for(c=e.columns.length;b=c&&(b=c-d);if(-1===d||0>b)b=0;a._iDisplayStart=b}function Oa(a,b){var c=a.renderer,d=p.ext.renderer[b];return h.isPlainObject(c)&&c[b]?d[c[b]]||d._:"string"===typeof c?d[c]||d._:d._}function A(a){return a.oFeatures.bServerSide?"ssp":a.ajax||a.sAjaxSource?"ajax":"dom"}function Wa(a,b){var c= +[],c=Mb.numbers_length,d=Math.floor(c/2);b<=c?c=U(0,b):a<=d?(c=U(0,c-2),c.push("ellipsis"),c.push(b-1)):(a>=b-1-d?c=U(b-(c-2),b):(c=U(a-1,a+2),c.push("ellipsis"),c.push(b-1)),c.splice(0,0,"ellipsis"),c.splice(0,0,0));c.DT_el="span";return c}function db(a){h.each({num:function(b){return za(b,a)},"num-fmt":function(b){return za(b,a,Xa)},"html-num":function(b){return za(b,a,Aa)},"html-num-fmt":function(b){return za(b,a,Aa,Xa)}},function(b,c){v.type.order[b+a+"-pre"]=c})}function Nb(a){return function(){var b= +[ya(this[p.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return p.ext.internal[a].apply(this,b)}}var p,v,q,r,t,Ya={},Ob=/[\r\n]/g,Aa=/<.*?>/g,$b=/^[\w\+\-]/,ac=/[\w\+\-]$/,Xb=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Xa=/[',$\u00a3\u20ac\u00a5%\u2009\u202F]/g,H=function(a){return!a||!0===a||"-"===a?!0:!1},Pb=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Qb=function(a,b){Ya[b]||(Ya[b]=RegExp(Qa(b),"g"));return"string"=== +typeof a&&"."!==b?a.replace(/\./g,"").replace(Ya[b],"."):a},Za=function(a,b,c){var d="string"===typeof a;b&&d&&(a=Qb(a,b));c&&d&&(a=a.replace(Xa,""));return H(a)||!isNaN(parseFloat(a))&&isFinite(a)},Rb=function(a,b,c){return H(a)?!0:!(H(a)||"string"===typeof a)?null:Za(a.replace(Aa,""),b,c)?!0:null},C=function(a,b,c){var d=[],e=0,f=a.length;if(c!==l)for(;e")[0],Yb=ua.textContent!==l,Zb=/<.*?>/g;p=function(a){this.$=function(a,b){return this.api(!0).$(a,b)};this._=function(a, +b){return this.api(!0).rows(a,b).data()};this.api=function(a){return a?new q(ya(this[v.iApiIndex])):new q(this)};this.fnAddData=function(a,b){var c=this.api(!0),d=h.isArray(a)&&(h.isArray(a[0])||h.isPlainObject(a[0]))?c.rows.add(a):c.row.add(a);(b===l||b)&&c.draw();return d.flatten().toArray()};this.fnAdjustColumnSizing=function(a){var b=this.api(!0).columns.adjust(),c=b.settings()[0],d=c.oScroll;a===l||a?b.draw(!1):(""!==d.sX||""!==d.sY)&&Y(c)};this.fnClearTable=function(a){var b=this.api(!0).clear(); +(a===l||a)&&b.draw()};this.fnClose=function(a){this.api(!0).row(a).child.hide()};this.fnDeleteRow=function(a,b,c){var d=this.api(!0),a=d.rows(a),e=a.settings()[0],h=e.aoData[a[0][0]];a.remove();b&&b.call(this,e,h);(c===l||c)&&d.draw();return h};this.fnDestroy=function(a){this.api(!0).destroy(a)};this.fnDraw=function(a){this.api(!0).draw(!a)};this.fnFilter=function(a,b,c,d,e,h){e=this.api(!0);null===b||b===l?e.search(a,c,d,h):e.column(b).search(a,c,d,h);e.draw()};this.fnGetData=function(a,b){var c= +this.api(!0);if(a!==l){var d=a.nodeName?a.nodeName.toLowerCase():"";return b!==l||"td"==d||"th"==d?c.cell(a,b).data():c.row(a).data()||null}return c.data().toArray()};this.fnGetNodes=function(a){var b=this.api(!0);return a!==l?b.row(a).node():b.rows().nodes().flatten().toArray()};this.fnGetPosition=function(a){var b=this.api(!0),c=a.nodeName.toUpperCase();return"TR"==c?b.row(a).index():"TD"==c||"TH"==c?(a=b.cell(a).index(),[a.row,a.columnVisible,a.column]):null};this.fnIsOpen=function(a){return this.api(!0).row(a).child.isShown()}; +this.fnOpen=function(a,b,c){return this.api(!0).row(a).child(b,c).show().child()[0]};this.fnPageChange=function(a,b){var c=this.api(!0).page(a);(b===l||b)&&c.draw(!1)};this.fnSetColumnVis=function(a,b,c){a=this.api(!0).column(a).visible(b);(c===l||c)&&a.columns.adjust().draw()};this.fnSettings=function(){return ya(this[v.iApiIndex])};this.fnSort=function(a){this.api(!0).order(a).draw()};this.fnSortListener=function(a,b,c){this.api(!0).order.listener(a,b,c)};this.fnUpdate=function(a,b,c,d,e){var h= +this.api(!0);c===l||null===c?h.row(b).data(a):h.cell(b,c).data(a);(e===l||e)&&h.columns.adjust();(d===l||d)&&h.draw();return 0};this.fnVersionCheck=v.fnVersionCheck;var b=this,c=a===l,d=this.length;c&&(a={});this.oApi=this.internal=v.internal;for(var e in p.ext.internal)e&&(this[e]=Nb(e));this.each(function(){var e={},g=1t<"F"ip>'),k.renderer)?h.isPlainObject(k.renderer)&&!k.renderer.header&&(k.renderer.header="jqueryui"):k.renderer="jqueryui":h.extend(n,p.ext.classes,g.oClasses);h(this).addClass(n.sTable);if(""!==k.oScroll.sX||""!==k.oScroll.sY)k.oScroll.iBarWidth=Hb();!0===k.oScroll.sX&&(k.oScroll.sX="100%");k.iInitDisplayStart===l&&(k.iInitDisplayStart= +g.iDisplayStart,k._iDisplayStart=g.iDisplayStart);null!==g.iDeferLoading&&(k.bDeferLoading=!0,i=h.isArray(g.iDeferLoading),k._iRecordsDisplay=i?g.iDeferLoading[0]:g.iDeferLoading,k._iRecordsTotal=i?g.iDeferLoading[1]:g.iDeferLoading);""!==g.oLanguage.sUrl?(k.oLanguage.sUrl=g.oLanguage.sUrl,h.getJSON(k.oLanguage.sUrl,null,function(a){O(a);G(m.oLanguage,a);h.extend(true,k.oLanguage,g.oLanguage,a);va(k)}),e=!0):h.extend(!0,k.oLanguage,g.oLanguage);null===g.asStripeClasses&&(k.asStripeClasses=[n.sStripeOdd, +n.sStripeEven]);var i=k.asStripeClasses,r=h("tbody tr:eq(0)",this);-1!==h.inArray(!0,h.map(i,function(a){return r.hasClass(a)}))&&(h("tbody tr",this).removeClass(i.join(" ")),k.asDestroyStripes=i.slice());var o=[],q,i=this.getElementsByTagName("thead");0!==i.length&&(ca(k.aoHeader,i[0]),o=pa(k));if(null===g.aoColumns){q=[];i=0;for(j=o.length;i").appendTo(this));k.nTHead=j[0];j=h(this).children("tbody");0===j.length&&(j=h("").appendTo(this));k.nTBody= +j[0];j=h(this).children("tfoot");if(0===j.length&&0").appendTo(this);0===j.length||0===j.children().length?h(this).addClass(n.sNoFooter):0a?new q(b[a],this[a]):null},filter:function(a){var b=[]; +if(x.filter)b=x.filter.call(this,a,this);else for(var c=0,d=this.length;c").addClass(b);h("td",c).addClass(b).html(a)[0].colSpan=aa(d);e.push(c[0])}};if(h.isArray(a)|| +a instanceof h)for(var g=0,i=a.length;g=0?b:g.length+b];if(typeof a==="function"){var e=Ba(c,f);return h.map(g, +function(b,f){return a(f,Vb(c,f,0,0,e),j[f])?f:null})}var k=typeof a==="string"?a.match(cc):"";if(k)switch(k[2]){case "visIdx":case "visible":b=parseInt(k[1],10);if(b<0){var l=h.map(g,function(a,b){return a.bVisible?b:null});return[l[l.length+b]]}return[ja(c,b)];case "name":return h.map(i,function(a,b){return a===k[1]?b:null})}else return h(j).filter(a).map(function(){return h.inArray(this,j)}).toArray()})});c.selector.cols=a;c.selector.opts=b;return c});t("columns().header()","column().header()", +function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTh})});t("columns().footer()","column().footer()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].nTf})});t("columns().data()","column().data()",function(){return this.iterator("column-rows",Vb)});t("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(a,b){return a.aoColumns[b].mData})});t("columns().cache()","column().cache()",function(a){return this.iterator("column-rows", +function(b,c,d,e,f){return ga(b.aoData,f,"search"===a?"_aFilterData":"_aSortData",c)})});t("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(a,b,c,d,e){return ga(a.aoData,e,"anCells",b)})});t("columns().visible()","column().visible()",function(a,b){return this.iterator("column",function(c,d){var e;if(a===l)e=c.aoColumns[d].bVisible;else{var f=c.aoColumns;e=f[d];var g=c.aoData,i,j,n;if(a===l)e=e.bVisible;else{if(e.bVisible!==a){if(a){var m=h.inArray(!0,C(f, +"bVisible"),d+1);i=0;for(j=g.length;id;return!0};p.isDataTable=p.fnIsDataTable=function(a){var b=h(a).get(0),c=!1;h.each(p.settings,function(a,e){if(e.nTable===b||e.nScrollHead===b||e.nScrollFoot===b)c=!0}); +return c};p.tables=p.fnTables=function(a){return jQuery.map(p.settings,function(b){if(!a||a&&h(b.nTable).is(":visible"))return b.nTable})};p.util={throttle:ta};p.camelToHungarian=G;r("$()",function(a,b){var c=this.rows(b).nodes(),c=h(c);return h([].concat(c.filter(a).toArray(),c.find(a).toArray()))});h.each(["on","one","off"],function(a,b){r(b+"()",function(){var a=Array.prototype.slice.call(arguments);a[0].match(/\.dt\b/)||(a[0]+=".dt");var d=h(this.tables().nodes());d[b].apply(d,a);return this})}); +r("clear()",function(){return this.iterator("table",function(a){ma(a)})});r("settings()",function(){return new q(this.context,this.context)});r("data()",function(){return this.iterator("table",function(a){return C(a.aoData,"_aData")}).flatten()});r("destroy()",function(a){a=a||!1;return this.iterator("table",function(b){var c=b.nTableWrapper.parentNode,d=b.oClasses,e=b.nTable,f=b.nTBody,g=b.nTHead,i=b.nTFoot,j=h(e),f=h(f),l=h(b.nTableWrapper),m=h.map(b.aoData,function(a){return a.nTr}),o;b.bDestroying= +!0;u(b,"aoDestroyCallback","destroy",[b]);a||(new q(b)).columns().visible(!0);l.unbind(".DT").find(":not(tbody *)").unbind(".DT");h(Da).unbind(".DT-"+b.sInstance);e!=g.parentNode&&(j.children("thead").detach(),j.append(g));i&&e!=i.parentNode&&(j.children("tfoot").detach(),j.append(i));j.detach();l.detach();b.aaSorting=[];b.aaSortingFixed=[];wa(b);h(m).removeClass(b.asStripeClasses.join(" "));h("th, td",g).removeClass(d.sSortable+" "+d.sSortableAsc+" "+d.sSortableDesc+" "+d.sSortableNone);b.bJUI&& +(h("th span."+d.sSortIcon+", td span."+d.sSortIcon,g).detach(),h("th, td",g).each(function(){var a=h("div."+d.sSortJUIWrapper,this);h(this).append(a.contents());a.detach()}));!a&&c&&c.insertBefore(e,b.nTableReinsertBefore);f.children().detach();f.append(m);j.css("width",b.sDestroyWidth).removeClass(d.sTable);(o=b.asDestroyStripes.length)&&f.children().each(function(a){h(this).addClass(b.asDestroyStripes[a%o])});c=h.inArray(b,p.settings);-1!==c&&p.settings.splice(c,1)})});p.version="1.10.3";p.settings= [];p.models={};p.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0};p.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null};p.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std", sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null};p.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1, fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(a){try{return JSON.parse((-1===a.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+a.sInstance+"_"+location.pathname))}catch(b){}},fnStateLoadParams:null, fnStateLoaded:null,fnStateSaveCallback:function(a,b){try{(-1===a.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+a.sInstance+"_"+location.pathname,JSON.stringify(b))}catch(c){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"}, -sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:h.extend({},p.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",sPaginationType:"simple_numbers", -sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null};T(p.defaults);p.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};T(p.defaults.column);p.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null, -bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[], -aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:l,oAjaxData:l, -fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==z(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==z(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var a= -this._iDisplayLength,b=this._iDisplayStart,c=b+a,d=this.aiDisplay.length,e=this.oFeatures,f=e.bPaginate;return e.bServerSide?!1===f||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!f||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{}};p.ext=t={classes:{},errMode:"alert",feature:[],search:[],internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:p.fnVersionCheck, -iApiIndex:0,oJUIClasses:{},sVersion:p.version};h.extend(t,{afnFiltering:t.search,aTypes:t.type.detect,ofnSearch:t.type.search,oSort:t.type.order,afnSortData:t.order,aoFeatures:t.feature,oApi:t.internal,oStdClasses:t.classes,oPagination:t.pager});h.extend(p.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter", -sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody", -sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var ya="",ya="",E=ya+"ui-state-default",ea=ya+"css_right ui-icon ui-icon-",Ub=ya+"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";h.extend(p.ext.oJUIClasses,p.ext.classes,{sPageButton:"fg-button ui-button "+E,sPageButtonActive:"ui-state-disabled", -sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:E+" sorting_asc",sSortDesc:E+" sorting_desc",sSortable:E+" sorting",sSortableAsc:E+" sorting_asc_disabled",sSortableDesc:E+" sorting_desc_disabled",sSortableNone:E+" sorting_disabled",sSortJUIAsc:ea+"triangle-1-n",sSortJUIDesc:ea+"triangle-1-s",sSortJUI:ea+"carat-2-n-s",sSortJUIAscAllowed:ea+"carat-1-n",sSortJUIDescAllowed:ea+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper", -sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+E,sScrollFoot:"dataTables_scrollFoot "+E,sHeaderTH:E,sFooterTH:E,sJUIHeader:Ub+" ui-corner-tl ui-corner-tr",sJUIFooter:Ub+" ui-corner-bl ui-corner-br"});var Lb=p.ext.pager;h.extend(Lb,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},simple_numbers:function(a,b){return["previous",Ua(a,b),"next"]},full_numbers:function(a,b){return["first","previous",Ua(a,b),"next","last"]},_numbers:Ua, -numbers_length:7});h.extend(!0,p.ext.renderer,{pageButton:{_:function(a,b,c,d,e,f){var g=a.oClasses,j=a.oLanguage.oPaginate,i,l,m=0,o=function(b,d){var k,p,r,q,s=function(b){Ra(a,b.data.action,true)};k=0;for(p=d.length;k").appendTo(b);o(r,q)}else{l=i="";switch(q){case "ellipsis":b.append("…");break;case "first":i=j.sFirst;l=q+(e>0?"":" "+g.sPageButtonDisabled);break;case "previous":i=j.sPrevious;l=q+(e>0?"":" "+g.sPageButtonDisabled); -break;case "next":i=j.sNext;l=q+(e",{"class":g.sPageButton+" "+l,"aria-controls":a.sTableId,"data-dt-idx":m,tabindex:a.iTabIndex,id:c===0&&typeof q==="string"?a.sTableId+"_"+q:null}).html(i).appendTo(b);Ta(r,{action:q},s);m++}}}};try{var k=h(O.activeElement).data("dt-idx");o(h(b).empty(),d);k!==null&&h(b).find("[data-dt-idx="+k+"]").focus()}catch(p){}}}}); -var va=function(a,b,c,d){if(!a||"-"===a)return-Infinity;b&&(a=Pb(a,b));a.replace&&(c&&(a=a.replace(c,"")),d&&(a=a.replace(d,"")));return 1*a};h.extend(t.type.order,{"date-pre":function(a){return Date.parse(a)||0},"html-pre":function(a){return H(a)?"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return H(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a,b){return ab?1:0},"string-desc":function(a,b){return a -b?-1:0}});cb("");h.extend(p.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Xa(a,c)?"num"+c:null},function(a){if(a&&(!Yb.test(a)||!Zb.test(a)))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||H(a)?"date":null},function(a,b){var c=b.oLanguage.sDecimal;return Xa(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Qb(a,c)?"html-num"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Qb(a,c,!0)?"html-num-fmt"+c:null},function(a){return H(a)||"string"=== -typeof a&&-1!==a.indexOf("<")?"html":null}]);h.extend(p.ext.type.search,{html:function(a){return H(a)?a:"string"===typeof a?a.replace(Nb," ").replace(wa,""):""},string:function(a){return H(a)?a:"string"===typeof a?a.replace(Nb," "):a}});h.extend(!0,p.ext.renderer,{header:{_:function(a,b,c,d){h(a.nTable).on("order.dt.DT",function(e,f,g,h){if(a===f){e=c.idx;b.removeClass(c.sSortingClass+" "+d.sSortAsc+" "+d.sSortDesc).addClass(h[e]=="asc"?d.sSortAsc:h[e]=="desc"?d.sSortDesc:c.sSortingClass)}})},jqueryui:function(a, -b,c,d){var e=c.idx;h("
").addClass(d.sSortJUIWrapper).append(b.contents()).append(h("").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);h(a.nTable).on("order.dt.DT",function(f,g,h,i){if(a===g){b.removeClass(d.sSortAsc+" "+d.sSortDesc).addClass(i[e]=="asc"?d.sSortAsc:i[e]=="desc"?d.sSortDesc:c.sSortingClass);b.find("span."+d.sSortIcon).removeClass(d.sSortJUIAsc+" "+d.sSortJUIDesc+" "+d.sSortJUI+" "+d.sSortJUIAscAllowed+" "+d.sSortJUIDescAllowed).addClass(i[e]=="asc"?d.sSortJUIAsc: -i[e]=="desc"?d.sSortJUIDesc:c.sSortingClassJUI)}})}}});p.render={number:function(a,b,c,d){return{display:function(e){var f=0>e?"-":"",e=Math.abs(parseFloat(e)),g=parseInt(e,10),e=c?b+(e-g).toFixed(c).substring(2):"";return f+(d||"")+g.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+e}}}};h.extend(p.ext.internal,{_fnExternApiFunc:Mb,_fnBuildAjax:na,_fnAjaxUpdate:jb,_fnAjaxParameters:sb,_fnAjaxUpdateDraw:tb,_fnAjaxDataSrc:oa,_fnAddColumn:Aa,_fnColumnOptions:fa,_fnAdjustColumnSizing:V,_fnVisibleToColumnIndex:ga, -_fnColumnIndexToVisible:Y,_fnVisbleColumns:Z,_fnGetColumns:X,_fnColumnTypes:Da,_fnApplyColumnDefs:hb,_fnHungarianMap:T,_fnCamelToHungarian:G,_fnLanguageCompat:N,_fnBrowserDetect:fb,_fnAddData:I,_fnAddTr:ha,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==l?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return h.inArray(c,a.aoData[b].anCells)},_fnGetCellData:A,_fnSetCellData:Ea,_fnSplitObjNotation:Ga,_fnGetObjectDataFn:U,_fnSetObjectDataFn:Ba,_fnGetDataMaster:Ha,_fnClearTable:ja, -_fnDeleteIndex:ka,_fnInvalidateRow:la,_fnGetRowElements:ia,_fnCreateTr:Fa,_fnBuildHead:ib,_fnDrawHead:ba,_fnDraw:K,_fnReDraw:L,_fnAddOptionsHtml:lb,_fnDetectHeader:aa,_fnGetUniqueThs:ma,_fnFeatureHtmlFilter:nb,_fnFilterComplete:ca,_fnFilterCustom:wb,_fnFilterColumn:vb,_fnFilter:ub,_fnFilterCreateSearch:Na,_fnEscapeRegex:Oa,_fnFilterData:xb,_fnFeatureHtmlInfo:qb,_fnUpdateInfo:Ab,_fnInfoMacros:Bb,_fnInitialise:ra,_fnInitComplete:pa,_fnLengthChange:Pa,_fnFeatureHtmlLength:mb,_fnFeatureHtmlPaginate:rb, -_fnPageChange:Ra,_fnFeatureHtmlProcessing:ob,_fnProcessingDisplay:B,_fnFeatureHtmlTable:pb,_fnScrollDraw:W,_fnApplyToChildren:F,_fnCalculateColumnWidths:Ca,_fnThrottle:Ma,_fnConvertToWidth:Cb,_fnScrollingWidthAdjust:Eb,_fnGetWidestNode:Db,_fnGetMaxLenString:Fb,_fnStringToCss:s,_fnScrollBarWidth:Gb,_fnSortFlatten:R,_fnSort:kb,_fnSortAria:Ib,_fnSortListener:Sa,_fnSortAttachListener:Ka,_fnSortingClasses:sa,_fnSortData:Hb,_fnSaveState:ta,_fnLoadState:Jb,_fnSettingsFromNode:ua,_fnLog:P,_fnMap:D,_fnBindAction:Ta, -_fnCallbackReg:x,_fnCallbackFire:u,_fnLengthOverflow:Qa,_fnRenderer:La,_fnDataSource:z,_fnRowAttributes:Ia,_fnCalculateEnd:function(){}});h.fn.dataTable=p;h.fn.dataTableSettings=p.settings;h.fn.dataTableExt=p.ext;h.fn.DataTable=function(a){return h(this).dataTable(a).api()};h.each(p,function(a,b){h.fn.DataTable[a]=b});return h.fn.dataTable};"function"===typeof define&&define.amd?define("datatables",["jquery"],N):"object"===typeof exports?N(require("jquery")):jQuery&&!jQuery.fn.dataTable&&N(jQuery)})(window, -document); +sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:h.extend({},p.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null, +sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null};V(p.defaults);p.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null};V(p.defaults.column);p.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null, +bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[], +sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null, +bAjaxDataGet:!0,jqXHR:null,json:l,oAjaxData:l,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==A(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==A(this)?1*this._iRecordsDisplay: +this.aiDisplay.length},fnDisplayEnd:function(){var a=this._iDisplayLength,b=this._iDisplayStart,c=b+a,d=this.aiDisplay.length,e=this.oFeatures,f=e.bPaginate;return e.bServerSide?!1===f||-1===a?b+d:Math.min(b+a,this._iRecordsDisplay):!f||c>d||-1===a?d:c},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{}};p.ext=v={classes:{},errMode:"alert",feature:[],search:[],internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[], +search:{},order:{}},_unique:0,fnVersionCheck:p.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:p.version};h.extend(v,{afnFiltering:v.search,aTypes:v.type.detect,ofnSearch:v.type.search,oSort:v.type.order,afnSortData:v.order,aoFeatures:v.feature,oApi:v.internal,oStdClasses:v.classes,oPagination:v.pager});h.extend(p.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty", +sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner", +sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ca="",Ca="",E=Ca+"ui-state-default",ha=Ca+"css_right ui-icon ui-icon-",Wb=Ca+"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";h.extend(p.ext.oJUIClasses,p.ext.classes,{sPageButton:"fg-button ui-button "+ +E,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:E+" sorting_asc",sSortDesc:E+" sorting_desc",sSortable:E+" sorting",sSortableAsc:E+" sorting_asc_disabled",sSortableDesc:E+" sorting_desc_disabled",sSortableNone:E+" sorting_disabled",sSortJUIAsc:ha+"triangle-1-n",sSortJUIDesc:ha+"triangle-1-s",sSortJUI:ha+"carat-2-n-s",sSortJUIAscAllowed:ha+"carat-1-n",sSortJUIDescAllowed:ha+ +"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+E,sScrollFoot:"dataTables_scrollFoot "+E,sHeaderTH:E,sFooterTH:E,sJUIHeader:Wb+" ui-corner-tl ui-corner-tr",sJUIFooter:Wb+" ui-corner-bl ui-corner-br"});var Mb=p.ext.pager;h.extend(Mb,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},simple_numbers:function(a,b){return["previous",Wa(a,b),"next"]},full_numbers:function(a,b){return["first", +"previous",Wa(a,b),"next","last"]},_numbers:Wa,numbers_length:7});h.extend(!0,p.ext.renderer,{pageButton:{_:function(a,b,c,d,e,f){var g=a.oClasses,i=a.oLanguage.oPaginate,j,l,m=0,o=function(b,d){var k,p,r,q,s=function(b){Ta(a,b.data.action,true)};k=0;for(p=d.length;k").appendTo(b);o(r,q)}else{l=j="";switch(q){case "ellipsis":b.append("…");break;case "first":j=i.sFirst;l=q+(e>0?"":" "+g.sPageButtonDisabled);break;case "previous":j= +i.sPrevious;l=q+(e>0?"":" "+g.sPageButtonDisabled);break;case "next":j=i.sNext;l=q+(e",{"class":g.sPageButton+" "+l,"aria-controls":a.sTableId,"data-dt-idx":m,tabindex:a.iTabIndex,id:c===0&&typeof q==="string"?a.sTableId+"_"+q:null}).html(j).appendTo(b);Va(r,{action:q},s);m++}}}};try{var k=h(P.activeElement).data("dt-idx");o(h(b).empty(), +d);k!==null&&h(b).find("[data-dt-idx="+k+"]").focus()}catch(p){}}}});var za=function(a,b,c,d){if(0!==a&&(!a||"-"===a))return-Infinity;b&&(a=Qb(a,b));a.replace&&(c&&(a=a.replace(c,"")),d&&(a=a.replace(d,"")));return 1*a};h.extend(v.type.order,{"date-pre":function(a){return Date.parse(a)||0},"html-pre":function(a){return H(a)?"":a.replace?a.replace(/<.*?>/g,"").toLowerCase():a+""},"string-pre":function(a){return H(a)?"":"string"===typeof a?a.toLowerCase():!a.toString?"":a.toString()},"string-asc":function(a, +b){return ab?1:0},"string-desc":function(a,b){return ab?-1:0}});db("");h.extend(p.ext.type.detect,[function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c)?"num"+c:null},function(a){if(a&&!(a instanceof Date)&&(!$b.test(a)||!ac.test(a)))return null;var b=Date.parse(a);return null!==b&&!isNaN(b)||H(a)?"date":null},function(a,b){var c=b.oLanguage.sDecimal;return Za(a,c,!0)?"num-fmt"+c:null},function(a,b){var c=b.oLanguage.sDecimal;return Rb(a,c)?"html-num"+c:null},function(a,b){var c= +b.oLanguage.sDecimal;return Rb(a,c,!0)?"html-num-fmt"+c:null},function(a){return H(a)||"string"===typeof a&&-1!==a.indexOf("<")?"html":null}]);h.extend(p.ext.type.search,{html:function(a){return H(a)?a:"string"===typeof a?a.replace(Ob," ").replace(Aa,""):""},string:function(a){return H(a)?a:"string"===typeof a?a.replace(Ob," "):a}});h.extend(!0,p.ext.renderer,{header:{_:function(a,b,c,d){h(a.nTable).on("order.dt.DT",function(e,f,g,h){if(a===f){e=c.idx;b.removeClass(c.sSortingClass+" "+d.sSortAsc+ +" "+d.sSortDesc).addClass(h[e]=="asc"?d.sSortAsc:h[e]=="desc"?d.sSortDesc:c.sSortingClass)}})},jqueryui:function(a,b,c,d){h("
").addClass(d.sSortJUIWrapper).append(b.contents()).append(h("").addClass(d.sSortIcon+" "+c.sSortingClassJUI)).appendTo(b);h(a.nTable).on("order.dt.DT",function(e,f,g,h){if(a===f){e=c.idx;b.removeClass(d.sSortAsc+" "+d.sSortDesc).addClass(h[e]=="asc"?d.sSortAsc:h[e]=="desc"?d.sSortDesc:c.sSortingClass);b.find("span."+d.sSortIcon).removeClass(d.sSortJUIAsc+" "+d.sSortJUIDesc+ +" "+d.sSortJUI+" "+d.sSortJUIAscAllowed+" "+d.sSortJUIDescAllowed).addClass(h[e]=="asc"?d.sSortJUIAsc:h[e]=="desc"?d.sSortJUIDesc:c.sSortingClassJUI)}})}}});p.render={number:function(a,b,c,d){return{display:function(e){var f=0>e?"-":"",e=Math.abs(parseFloat(e)),g=parseInt(e,10),e=c?b+(e-g).toFixed(c).substring(2):"";return f+(d||"")+g.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+e}}}};h.extend(p.ext.internal,{_fnExternApiFunc:Nb,_fnBuildAjax:qa,_fnAjaxUpdate:kb,_fnAjaxParameters:tb,_fnAjaxUpdateDraw:ub, +_fnAjaxDataSrc:ra,_fnAddColumn:Ea,_fnColumnOptions:ia,_fnAdjustColumnSizing:X,_fnVisibleToColumnIndex:ja,_fnColumnIndexToVisible:$,_fnVisbleColumns:aa,_fnGetColumns:Z,_fnColumnTypes:Ga,_fnApplyColumnDefs:ib,_fnHungarianMap:V,_fnCamelToHungarian:G,_fnLanguageCompat:O,_fnBrowserDetect:gb,_fnAddData:I,_fnAddTr:ka,_fnNodeToDataIndex:function(a,b){return b._DT_RowIndex!==l?b._DT_RowIndex:null},_fnNodeToColumnIndex:function(a,b,c){return h.inArray(c,a.aoData[b].anCells)},_fnGetCellData:w,_fnSetCellData:Ha, +_fnSplitObjNotation:Ja,_fnGetObjectDataFn:W,_fnSetObjectDataFn:Q,_fnGetDataMaster:Ka,_fnClearTable:ma,_fnDeleteIndex:na,_fnInvalidateRow:oa,_fnGetRowElements:la,_fnCreateTr:Ia,_fnBuildHead:jb,_fnDrawHead:da,_fnDraw:L,_fnReDraw:M,_fnAddOptionsHtml:mb,_fnDetectHeader:ca,_fnGetUniqueThs:pa,_fnFeatureHtmlFilter:ob,_fnFilterComplete:ea,_fnFilterCustom:xb,_fnFilterColumn:wb,_fnFilter:vb,_fnFilterCreateSearch:Pa,_fnEscapeRegex:Qa,_fnFilterData:yb,_fnFeatureHtmlInfo:rb,_fnUpdateInfo:Bb,_fnInfoMacros:Cb,_fnInitialise:va, +_fnInitComplete:sa,_fnLengthChange:Ra,_fnFeatureHtmlLength:nb,_fnFeatureHtmlPaginate:sb,_fnPageChange:Ta,_fnFeatureHtmlProcessing:pb,_fnProcessingDisplay:B,_fnFeatureHtmlTable:qb,_fnScrollDraw:Y,_fnApplyToChildren:F,_fnCalculateColumnWidths:Fa,_fnThrottle:ta,_fnConvertToWidth:Db,_fnScrollingWidthAdjust:Fb,_fnGetWidestNode:Eb,_fnGetMaxLenString:Gb,_fnStringToCss:s,_fnScrollBarWidth:Hb,_fnSortFlatten:T,_fnSort:lb,_fnSortAria:Jb,_fnSortListener:Ua,_fnSortAttachListener:Na,_fnSortingClasses:wa,_fnSortData:Ib, +_fnSaveState:xa,_fnLoadState:Kb,_fnSettingsFromNode:ya,_fnLog:R,_fnMap:D,_fnBindAction:Va,_fnCallbackReg:y,_fnCallbackFire:u,_fnLengthOverflow:Sa,_fnRenderer:Oa,_fnDataSource:A,_fnRowAttributes:La,_fnCalculateEnd:function(){}});h.fn.dataTable=p;h.fn.dataTableSettings=p.settings;h.fn.dataTableExt=p.ext;h.fn.DataTable=function(a){return h(this).dataTable(a).api()};h.each(p,function(a,b){h.fn.DataTable[a]=b});return h.fn.dataTable};"function"===typeof define&&define.amd?define("datatables",["jquery"], +O):"object"===typeof exports?O(require("jquery")):jQuery&&!jQuery.fn.dataTable&&O(jQuery)})(window,document); diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/controller.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/controller.js deleted file mode 100644 index 590b756ab2..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/controller.js +++ /dev/null @@ -1,94 +0,0 @@ -var giTotalTestCount = 0; -var giActiveModule = 0; -var giModuleTests; -var giStartTime; -var giTest; -var gbStop = false; -var gtoTest; - -function fnTestStart ( sTestInfo ) -{ - gaoTest[ giActiveModule ].iTests++; - document.getElementById('test_info').innerHTML += - (giActiveModule+1)+'.'+(giModuleTests+1)+'. '+sTestInfo+'... '; - document.getElementById('test_number').innerHTML = giTotalTestCount+1; - giModuleTests++; - giTotalTestCount++; - - /* Set a timer to catch stalled script */ - gtoTest = setTimeout( function () { - fnMessage( 'WARNING - test script stalled. Likely a JS error' ); - gbStop = true; - }, 3000 ); -} - -function fnTestResult ( bResult ) -{ - clearTimeout( gtoTest ); - if ( bResult ) - { - fnMessage( 'Passed' ); - } - else - { - fnMessage( 'FAILED' ); - gbStop = true; - fnEnd( false ); - } -} - -function fnUnitStart( iTest ) -{ - if ( !gbStop ) - { - giModuleTests = 0; - window.parent.test_arena.location.href = - (iTest==0?"":"../")+'templates/'+gaoTest[iTest].sTemplate+'.php?scripts='+gaoTest[iTest].sTest; - giTest = iTest; - } -} - -function fnStartMessage( sMessage ) -{ - fnMessage( '
'+gaoTest[giTest].sGroup+' - '+sMessage+'' ); -} - -function fnMessage( sMessage ) -{ - var nInfo = document.getElementById('test_info'); - nInfo.innerHTML += sMessage+'
'; - nInfo.scrollTop = nInfo.scrollHeight; -} - -function fnUnitComplete() -{ - if ( giActiveModule < gaoTest.length - 1 ) - { - fnUnitStart( ++giActiveModule ); - } - else - { - fnEnd( true ); - } -} - -function fnEnd( bSuccess ) -{ - var iEndTime = new Date().getTime(); - var sTime = '
This test run took '+parseInt((iEndTime-giStartTime)/1000, 10)+ - ' second(s) to complete.'; - - if ( bSuccess ) - { - $('#test_running').html( 'Tests complete. '+giTotalTestCount+' tests were run.'+sTime ); - } - else - { - $('#test_running').html( 'Unit tests failed at test '+giTotalTestCount+'.'+sTime ); - } -} - -$(document).ready( function () { - giStartTime = new Date().getTime(); - fnUnitStart( giActiveModule ); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/controller.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/controller.php deleted file mode 100644 index 33f751e2cf..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/controller.php +++ /dev/null @@ -1,100 +0,0 @@ - - - - - DataTables unit test controller - - - - - - - - -

DataTables unit testing

-
Running test:
-
- Test information:
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/arrays.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/arrays.php deleted file mode 100644 index 91ac027258..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/arrays.php +++ /dev/null @@ -1,50 +0,0 @@ - array( - array(1, 2, 3, 4, 5) - ) - ); - } - else if ( $_REQUEST['dataSrc'] === 'data' ) { - return array( - 'data' => array( - array(1, 2, 3, 4, 5) - ) - ); - } - else if ( $_REQUEST['dataSrc'] === 'nested' ) { - return array( - 'data' => array( - 'inner' => array( - array(1, 2, 3, 4, 5) - ) - ) - ); - } - else if ( $_REQUEST['dataSrc'] === 'plain' ) { - return array( - array(1, 2, 3, 4, 5) - ); - } -} - - diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/method.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/method.php deleted file mode 100644 index 954e74a769..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/method.php +++ /dev/null @@ -1,53 +0,0 @@ - intval( $_REQUEST['sEcho'] ), - 'iTotalRecords' => 1, - 'iTotalDisplayRecords' => 1, - 'aaData' => array( - array(1, 2, 3, 4, 5) - ) - ) ); - } - else { - // Client-side processing - echo json_encode( array( - 'aaData' => array( - array(1, 2, 3, 4, 5) - ) - ) ); - } -} - - -function fail() -{ - if ( isset($_REQUEST['sEcho']) ) { - // Server-side processing - echo json_encode( array( - 'sEcho' => intval( $_REQUEST['sEcho'] ), - 'iTotalRecords' => 0, - 'iTotalDisplayRecords' => 0, - 'aaData' => array() - ) ); - } - else { - // Client-side processing - echo json_encode( array( - 'aaData' => array() - ) ); - } -} - diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/objects.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/objects.php deleted file mode 100644 index 480dbf6d24..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/objects.php +++ /dev/null @@ -1,33 +0,0 @@ - intval( $_REQUEST['sEcho'] ), - 'iTotalRecords' => 1, - 'iTotalDisplayRecords' => 1, - 'aaData' => array( - array( - 'engine' => 10, - 'browser' => 20, - 'platform' => 30, - 'version' => 40, - 'grade' => 50 - ) - ) - ) ); -} -else { - echo json_encode( array( - 'aaData' => array( - array( - 'engine' => 10, - 'browser' => 20, - 'platform' => 30, - 'version' => 40, - 'grade' => 50 - ) - ) - ) ); -} - diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/param.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/param.php deleted file mode 100644 index 021225ee54..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/data_sources/param.php +++ /dev/null @@ -1,42 +0,0 @@ - intval( $_REQUEST['sEcho'] ), - 'iTotalRecords' => 1, - 'iTotalDisplayRecords' => 1, - 'aaData' => array( - array(1, 2, 3, 4, 5) - ), - 'post' => xss( $_POST ), - 'get' => xss( $_GET ), - 'post_length' => count( array_keys( $_POST ) ), - 'get_length' => count( array_keys( $_GET ) ) - ) ); -} -else { - echo json_encode( array( - 'aaData' => array( - array(1, 2, 3, 4, 5) - ), - 'post' => xss( $_POST ), - 'get' => xss( $_GET ), - 'post_length' => count( array_keys( $_POST ) ), - 'get_length' => count( array_keys( $_GET ) ) - ) ); -} - - - -// This script shouldn't be hosted on a public server, but to prevent attacks: -function xss ( $a ) -{ - $out = array(); - - foreach ($a as $key => $value) { - $out[ $key ] = htmlentities( $value ); - } - - return $out; -} diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/index.html b/src/sunstone/public/bower_components/datatables/media/unit_testing/index.html deleted file mode 100644 index caab383bad..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/index.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/draw.html b/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/draw.html deleted file mode 100644 index 32af1a91bb..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/draw.html +++ /dev/null @@ -1,482 +0,0 @@ - - - - - - - DataTables example - - - - - - -
-
- DataTables performance test - draw -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
- - - -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/large.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/large.php deleted file mode 100644 index 83819ea8aa..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/large.php +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - DataTables example - - - - - - -
-
- DataTables performance test - draw -
-
- -
- - - - - - - - - - - - - - - -'; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } -?> - -
idnamephoneemailcityzipstatecountryzip2
'.$aRow['id'].''.$aRow['name'].''.$aRow['phone'].''.$aRow['email'].''.$aRow['city'].''.$aRow['zip'].''.$aRow['state'].''.$aRow['country'].''.$aRow['zip2'].'
-
-
- - -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/page.html b/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/page.html deleted file mode 100644 index 77c6c2a550..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/page.html +++ /dev/null @@ -1,477 +0,0 @@ - - - - - - - DataTables example - - - - - - -
-
- DataTables performance test - draw -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
- - - -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/sort.html b/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/sort.html deleted file mode 100644 index d154fb0b89..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/performance/sort.html +++ /dev/null @@ -1,477 +0,0 @@ - - - - - - - DataTables example - - - - - - -
-
- DataTables performance test - draw -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
- - - -
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/-complex_header.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/-complex_header.php deleted file mode 100644 index 2cdc425065..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/-complex_header.php +++ /dev/null @@ -1,469 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowser detailsCSS grade
BrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/2512.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/2512.php deleted file mode 100644 index 9ef8e2f078..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/2512.php +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
Tridenttestsearchstring
html & entity
Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/6776.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/6776.php deleted file mode 100644 index 62defd140a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/6776.php +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
-

Live example

- - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet Explorer 4.0Win 95+ 4X
TridentInternet Explorer 4.0Win 95+ 4X
TridentInternet Explorer 4.0Win 95+ 4X
TridentInternet Explorer 4.0Win 95+ 4X
TridentInternet Explorer 4.0Win 95+ 4X
TridentInternet Explorer 4.0Win 95+ 4X
TridentInternet Explorer 4.0Win 95+ 4X
TridentInternet Explorer 4.0Win 95+ 4X
-
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/complex_header_2.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/complex_header_2.php deleted file mode 100644 index 6795dbe370..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/complex_header_2.php +++ /dev/null @@ -1,485 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
123
45
678
910
1112
123
45
6
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/deferred_table.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/deferred_table.php deleted file mode 100644 index d98a4de980..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/deferred_table.php +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data.php deleted file mode 100644 index b5fed4738d..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data.php +++ /dev/null @@ -1,465 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data_th.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data_th.php deleted file mode 100644 index 1faf9ab33f..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data_th.php +++ /dev/null @@ -1,465 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data_two_headers.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data_two_headers.php deleted file mode 100644 index 09093b9951..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dom_data_two_headers.php +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data - with two rows in header -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet - Explorer 4.0Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dymanic_table.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dymanic_table.php deleted file mode 100644 index 49606c5f04..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/dymanic_table.php +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - DataTables unit testing - - - - - - '."\n"; - } - ?> - - -
-
- DataTables dynamic table template -
- -

Live example

-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/empty_table.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/empty_table.php deleted file mode 100644 index 0647f30828..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/empty_table.php +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables empty table template -
- -

Live example

-
- - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/html_table.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/html_table.php deleted file mode 100644 index 123f54b996..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/html_table.php +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables table with HTML elements template -
- -

Live example

-
- - - - - - - - - - - - - - - - - - - - - - - - -
ReflectionLink
1DataTables
2A link to Integrity
3Integrity
4EIntegrity
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/js_data.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/js_data.php deleted file mode 100644 index 61f1852b27..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/js_data.php +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - DataTables unit testing - - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/js_data_mixed_types.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/js_data_mixed_types.php deleted file mode 100644 index 9cdd0aa491..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/js_data_mixed_types.php +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - DataTables unit testing - - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for reading DOM data -
- -
- - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
Rendering engineBrowserPlatform(s)Engine versionCSS grade
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/two_tables.php b/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/two_tables.php deleted file mode 100644 index 89b2aa03f8..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/templates/two_tables.php +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - DataTables unit testing - - - - - '."\n"; - } - ?> - - -
-
- DataTables unit test template for two tables -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
Tridenttestsearchstring
html & entity
Win 95+4X
TridentInternet - Explorer 5.0Win 95+5C
TridentInternet - Explorer 5.5Win 95+5.5A
TridentInternet - Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
Rendering engineBrowserPlatform(s)Engine versionCSS grade
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)
GeckoFirefox 1.0Win 98+ / OSX.2+
GeckoFirefox 1.5Win 98+ / OSX.2+
GeckoFirefox 2.0Win 98+ / OSX.2+
GeckoFirefox 3.0Win 2k+ / OSX.3+
GeckoCamino 1.0OSX.2+
GeckoCamino 1.5OSX.3+
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.2
GeckoNetscape Browser 8Win 98SE+
GeckoNetscape Navigator 9Win 98+ / OSX.2+
GeckoMozilla 1.0Win 95+ / OSX.1+
GeckoMozilla 1.1Win 95+ / OSX.1+
GeckoMozilla 1.2Win 95+ / OSX.1+
GeckoMozilla 1.3Win 95+ / OSX.1+
GeckoMozilla 1.4Win 95+ / OSX.1+
GeckoMozilla 1.5Win 95+ / OSX.1+
GeckoMozilla 1.6Win 95+ / OSX.1+
GeckoMozilla 1.7Win 98+ / OSX.1+
GeckoMozilla 1.8Win 98+ / OSX.1+
GeckoSeamonkey 1.1Win 98+ / OSX.2+
GeckoEpiphany 2.20Gnome
Rendering engineBrowserPlatform(s)
-
-
-
- - \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests/6776-scrolling-table-grows.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests/6776-scrolling-table-grows.js deleted file mode 100755 index cfc70d5ff6..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests/6776-scrolling-table-grows.js +++ /dev/null @@ -1,64 +0,0 @@ -// DATA_TEMPLATE: 6776 -oTest.fnStart( "Actions on a scrolling table keep width" ); - - -$(document).ready( function () { - var oTable = $('#example').dataTable( { - "bFilter": true, - "bSort": true, - "sScrollY": "100px", - "bPaginate": false - } ); - - var iWidth = $('div.dataTables_wrapper').width(); - - oTest.fnTest( - "First sort has no effect on width", - function () { $('th:eq(1)').click(); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Second sort has no effect on width", - function () { $('th:eq(1)').click(); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Third sort has no effect on width", - function () { $('th:eq(2)').click(); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Filter has no effect on width", - function () { oTable.fnFilter('i'); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Filter 2 has no effect on width", - function () { oTable.fnFilter('in'); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "No result filter has header and body at same width", - function () { oTable.fnFilter('xxx'); }, - function () { return $('#example').width() == $('div.dataTables_scrollHeadInner').width(); } - ); - - oTest.fnTest( - "Filter with no results has no effect on width", - function () { oTable.fnFilter('xxx'); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Filter with no results has table equal to wrapper width", - function () { oTable.fnFilter('xxx'); }, - function () { return $('div.dataTables_wrapper').width() == $('#example').width(); } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/-complex_header.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/-complex_header.js deleted file mode 100755 index fb173a785c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/-complex_header.js +++ /dev/null @@ -1,52 +0,0 @@ -// DATA_TEMPLATE: -complex_header -oTest.fnStart( "Complex header" ); - - -$(document).ready( function () { - $('#example').dataTable(); - - oTest.fnTest( - "Sorting on colspan has no effect", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr td:eq(1)').html() == "Firefox 1.0"; } - ); - - oTest.fnTest( - "Sorting on non-unique TH and first TH has no effect", - function () { $('#example thead th:eq(2)').click(); }, - function () { return $('#example tbody tr td:eq(1)').html() == "Firefox 1.0"; } - ); - - oTest.fnTest( - "Sorting on non-unique TH and second TH will sort", - function () { $('#example thead th:eq(6)').click(); }, - function () { return $('#example tbody tr td:eq(4)').html() == "A"; } - ); - - oTest.fnTest( - "Sorting on non-unique TH and second TH will sort - reserve", - function () { $('#example thead th:eq(6)').click(); }, - function () { return $('#example tbody tr td:eq(4)').html() == "X"; } - ); - - oTest.fnTest( - "Sorting on unique TH will sort", - function () { $('#example thead th:eq(5)').click(); }, - function () { return $('#example tbody tr td:eq(3)').html() == "-"; } - ); - - oTest.fnTest( - "Sorting on unique TH will sort - reserve", - function () { $('#example thead th:eq(5)').click(); }, - function () { return $('#example tbody tr td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Sorting on unique rowspan TH will sort", - function () { $('#example thead th:eq(0)').click(); }, - function () { return $('#example tbody tr td:eq(0)').html() == "Gecko"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/-iDraw.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/-iDraw.js deleted file mode 100755 index efbf7415f2..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/-iDraw.js +++ /dev/null @@ -1,41 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "iDraw - check that iDraw increments for each draw" ); - - -$(document).ready( function () { - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "After first draw, iDraw is 1", - null, - function () { return oSettings.iDraw == 1; } - ); - - oTest.fnTest( - "After second draw, iDraw is 2", - function () { oTable.fnDraw() }, - function () { return oSettings.iDraw == 2; } - ); - - oTest.fnTest( - "After sort", - function () { oTable.fnSort([[1,'asc']]) }, - function () { return oSettings.iDraw == 3; } - ); - - oTest.fnTest( - "After filter", - function () { oTable.fnFilter('gecko') }, - function () { return oSettings.iDraw == 4; } - ); - - oTest.fnTest( - "After another filter", - function () { oTable.fnFilter('gec') }, - function () { return oSettings.iDraw == 5; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2512.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2512.js deleted file mode 100755 index e0c91798f4..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2512.js +++ /dev/null @@ -1,17 +0,0 @@ -// DATA_TEMPLATE: 2512 -oTest.fnStart( "Check filtering with BR and HTML entity" ); - - -$(document).ready( function () { - $('#example').dataTable(); - - /* Basic checks */ - oTest.fnTest( - "Check filtering", - function () { $('#example').dataTable().fnFilter('testsearchstring'); }, - function () { return $('#example tbody tr').length == 1; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2530-2.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2530-2.js deleted file mode 100755 index cba8cf813f..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2530-2.js +++ /dev/null @@ -1,15 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "User given with is left when no scrolling" ); - -$(document).ready( function () { - $('#example')[0].style.width = "80%"; - $('#example').dataTable(); - - oTest.fnTest( - "Check user width is left", - null, - function () { return $('#example').width() == 640; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2530.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2530.js deleted file mode 100755 index 29e642d77c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2530.js +++ /dev/null @@ -1,29 +0,0 @@ -// DATA_TEMPLATE: dymanic_table -oTest.fnStart( "2530 - Check width's when dealing with empty strings" ); - - -$(document).ready( function () { - $('#example').dataTable( { - "aaData": [ - ['','Internet Explorer 4.0','Win 95+','4','X'], - ['','Internet Explorer 5.0','Win 95+','5','C'] - ], - "aoColumns": [ - { "sTitle": "", "sWidth": "40px" }, - { "sTitle": "Browser" }, - { "sTitle": "Platform" }, - { "sTitle": "Version", "sClass": "center" }, - { "sTitle": "Grade", "sClass": "center" } - ] - } ); - - /* Basic checks */ - oTest.fnTest( - "Check calculated widths", - null, - function () { return $('#example tbody tr td:eq(0)').width() < 100; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2569.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2569.js deleted file mode 100755 index 59eae2eff8..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2569.js +++ /dev/null @@ -1,36 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "Destroy with hidden columns" ); - -$(document).ready( function () { - $('#example').dataTable( { - "aoColumnDefs": [ - { "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] }, - { "bVisible": false, "aTargets": [ 3 ] } - ] - } ); - $('#example').dataTable().fnDestroy(); - - oTest.fnTest( - "Check that the number of columns in table is correct", - null, - function () { return $('#example tbody tr:eq(0) td').length == 5; } - ); - - - oTest.fnTest( - "And with scrolling", - function () { - $('#example').dataTable( { - "sScrollY": 200, - "aoColumnDefs": [ - { "bSearchable": false, "bVisible": false, "aTargets": [ 2 ] }, - { "bVisible": false, "aTargets": [ 3 ] } - ] - } ); - $('#example').dataTable().fnDestroy(); - }, - function () { return $('#example tbody tr:eq(0) td').length == 5; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2600.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2600.js deleted file mode 100755 index 7acda55b90..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2600.js +++ /dev/null @@ -1,44 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "2600 - Display rewind when changing length" ); - -$(document).ready( function () { - $('#example').dataTable(); - - oTest.fnTest( - "Info correct on init", - null, - function () { return $('#example_info').html() == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Page 2", - function () { $('#example_next').click(); }, - function () { return $('#example_info').html() == "Showing 11 to 20 of 57 entries"; } - ); - - oTest.fnTest( - "Page 3", - function () { $('#example_next').click(); }, - function () { return $('#example_info').html() == "Showing 21 to 30 of 57 entries"; } - ); - - oTest.fnTest( - "Page 4", - function () { $('#example_next').click(); }, - function () { return $('#example_info').html() == "Showing 31 to 40 of 57 entries"; } - ); - - oTest.fnTest( - "Page 5", - function () { $('#example_next').click(); }, - function () { return $('#example_info').html() == "Showing 41 to 50 of 57 entries"; } - ); - - oTest.fnTest( - "Rewind", - function () { $('#example_length select').val('100'); $('#example_length select').change(); }, - function () { return $('#example_info').html() == "Showing 1 to 57 of 57 entries"; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2608.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2608.js deleted file mode 100644 index e306c4fccb..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2608.js +++ /dev/null @@ -1,54 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "2608 - State saving escaping filters" ); - -$(document).ready( function () { - $('#example').dataTable( { - "bStateSave": true - } ); - - oTest.fnTest( - "Set the filter", - function () { - $('#example_filter input').val( '\\s*CVM\\s*$' ); - $('#example_filter input').keyup(); - }, - function () { return $('#example_filter input').val() == '\\s*CVM\\s*$'; } - ); - - oTest.fnTest( - "Destroy the table and remake it - checking the filter was saved", - function () { - $('#example').dataTable( { - "bStateSave": true, - "bDestroy": true - } ); - }, - function () { return $('#example_filter input').val() == '\\s*CVM\\s*$'; } - ); - - oTest.fnTest( - "Do it again without state saving and make sure filter is empty", - function () { - $('#example').dataTable( { - "bDestroy": true - } ); - }, - function () { return $('#example_filter input').val() == ''; } - ); - - oTest.fnTest( - "Clean up", - function () { - $('#example').dataTable( { - "bStateSave": true, - "bDestroy": true - } ); - $('#example_filter input').val( '' ); - $('#example_filter input').keyup(); - }, - function () { return $('#example_filter input').val() == ''; } - ); - - oTest.fnCookieDestroy( $('#example').dataTable() ); - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2635.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2635.js deleted file mode 100755 index 7226ea4b47..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2635.js +++ /dev/null @@ -1,40 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "2635 - Hiding column and state saving" ); - -$(document).ready( function () { - $('#example').dataTable( { - "bStateSave": true - } ); - - oTest.fnTest( - "Set the hidden column", - function () { - $('#example').dataTable().fnSetColumnVis( 2, false ); - }, - function () { return $('#example thead th').length == 4; } - ); - - oTest.fnTest( - "Destroy the table and remake it - checking one column was removed", - function () { - $('#example').dataTable( { - "bStateSave": true, - "bDestroy": true - } ); - }, - function () { return $('#example thead th').length == 4; } - ); - - oTest.fnTest( - "Do it again without state saving and make sure we are back to 5 columns", - function () { - $('#example').dataTable( { - "bDestroy": true - } ); - }, - function () { return $('#example thead th').length == 5; } - ); - - oTest.fnCookieDestroy( $('#example').dataTable() ); - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2746-stable-sort.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2746-stable-sort.js deleted file mode 100755 index fbd3cf7d0e..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2746-stable-sort.js +++ /dev/null @@ -1,199 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "2746 - Stable sorting" ); - -$(document).ready( function () { - $('#example').dataTable(); - - oTest.fnTest( - "Initial sort", - null, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'Firefox 1.0' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Firefox 1.5' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Firefox 2.0'; - return ret; - } - ); - - oTest.fnTest( - "Reserve initial sort", - function () { - $('#example thead th:eq(0)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Webkit' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Webkit' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'Safari 1.2' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Safari 1.3' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Safari 2.0'; - return ret; - } - ); - - oTest.fnTest( - "Reserve to go back to initial sort sort", - function () { - $('#example thead th:eq(0)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'Firefox 1.0' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Firefox 1.5' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Firefox 2.0'; - return ret; - } - ); - - oTest.fnTest( - "Reserve initial sort again", - function () { - $('#example thead th:eq(0)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Webkit' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Webkit' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'Safari 1.2' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Safari 1.3' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Safari 2.0'; - return ret; - } - ); - - oTest.fnTest( - "And once more back to the initial sort", - function () { - $('#example thead th:eq(0)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'Firefox 1.0' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Firefox 1.5' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Firefox 2.0'; - return ret; - } - ); - - oTest.fnTest( - "Sort on second column", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Other browsers' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Trident' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'AOL browser (AOL desktop)' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Camino 1.0'; - return ret; - } - ); - - oTest.fnTest( - "Reserve sort on second column", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Webkit' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Safari 3.0' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Safari 2.0'; - return ret; - } - ); - - oTest.fnTest( - "And back to asc sorting on second column", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Other browsers' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Trident' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'AOL browser (AOL desktop)' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Camino 1.0'; - return ret; - } - ); - - oTest.fnTest( - "Sort on third column, having now sorted on second", - function () { - $('#example thead th:eq(2)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Other browsers' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Misc' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Dillo 0.8' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'NetFront 3.1'; - return ret; - } - ); - - oTest.fnTest( - "Reserve sort on third column", - function () { - $('#example thead th:eq(2)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Misc' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Trident' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'IE Mobile' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Internet Explorer 7' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'AOL browser (AOL desktop)'; - return ret; - } - ); - - oTest.fnTest( - "Return sorting on third column to asc", - function () { - $('#example thead th:eq(2)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Other browsers' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Misc' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Dillo 0.8' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'NetFront 3.1'; - return ret; - } - ); - - oTest.fnTest( - "Sort on first column having sorted on second then third columns", - function () { - $('#example thead th:eq(0)').click(); - }, - function () { - var ret = - $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(1) td:eq(0)').html() == 'Gecko' && - $('#example tbody tr:eq(0) td:eq(1)').html() == 'Epiphany 2.20' && - $('#example tbody tr:eq(1) td:eq(1)').html() == 'Camino 1.0' && - $('#example tbody tr:eq(2) td:eq(1)').html() == 'Camino 1.5'; - return ret; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2799.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2799.js deleted file mode 100755 index fe3a2c6c49..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2799.js +++ /dev/null @@ -1,14 +0,0 @@ -// DATA_TEMPLATE: two_tables -oTest.fnStart( "Initialise two tables" ); - -$(document).ready( function () { - $('table.display').dataTable(); - - oTest.fnTest( - "Check that initialisation was okay", - null, - function () { return true; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js deleted file mode 100755 index 435213f24f..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js +++ /dev/null @@ -1,19 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "2840 - Restore table width on fnDestroy" ); - -$(document).ready( function () { - document.cookie = ""; - $('#example').dataTable( { - "sScrollX": "100%", - "sScrollXInner": "110%" - } ); - $('#example').dataTable().fnDestroy(); - - oTest.fnTest( - "Width after destroy", - null, - function () { return $('#example').width() == "800"; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js deleted file mode 100755 index 0c616b6dcb..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js +++ /dev/null @@ -1,39 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "2914 - State saving with an empty array" ); - -$(document).ready( function () { - document.cookie = ""; - $('#example').dataTable( { - "bStateSave": true, - "aaSorting": [] - } ); - - oTest.fnTest( - "No sort", - null, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Next page", - function () { - $('#example').dataTable().fnPageChange( 'next' ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; } - ); - - oTest.fnTest( - "Destroy the table and remake it - checking we are still on the next page", - function () { - $('#example').dataTable( { - "bStateSave": true, - "aaSorting": [], - "bDestroy": true - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; } - ); - - oTest.fnCookieDestroy( $('#example').dataTable() ); - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays-mData.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays-mData.js deleted file mode 100755 index 28bd208b1f..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays-mData.js +++ /dev/null @@ -1,103 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "5396 - fnUpdate with 2D arrays for a single row" ); - -$(document).ready( function () { - $('#example thead tr').append( '6' ); - $('#example thead tr').append( '7' ); - $('#example thead tr').append( '8' ); - $('#example thead tr').append( '9' ); - $('#example thead tr').append( '10' ); - - var aDataSet = [ - [ - "1", - "홍길동", - "1154315", - "etc1", - [ - [ "test1@daum.net", "2011-03-04" ], - [ "test1@naver.com", "2009-07-06" ], - [ "test4@naver.com", ",hide" ], - [ "test5?@naver.com", "" ] - ], - "2011-03-04", - "show" - ], - [ - "2", - "홍길순", - "2154315", - "etc2", - [ - [ "test2@daum.net", "2009-09-26" ], - [ "test2@naver.com", "2009-05-21,hide" ], - [ "lsb@naver.com", "2010-03-05" ], - [ "lsb3@naver.com", ",hide" ], - [ "sooboklee9@daum.net", "2010-03-05" ] - ], - "2010-03-05", - "show" - ] -] - - var oTable = $('#example').dataTable({ - "aaData": aDataSet, - "aoColumns": [ - { "mData": "0"}, - { "mData": "1"}, - { "mData": "2"}, - { "mData": "3"}, - { "mData": "4.0.0"}, - { "mData": "4.0.1"}, - { "mData": "4.1.0"}, - { "mData": "4.1.1"}, - { "mData": "5"}, - { "mData": "6"} - ] - }); - - - oTest.fnTest( - "Initialisation", - null, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').html() == '1'; - } - ); - - oTest.fnTest( - "Update row", - function () { - $('#example').dataTable().fnUpdate( [ - "0", - "홍길순", - "2154315", - "etc2", - [ - [ "test2@daum.net", "2009-09-26" ], - [ "test2@naver.com", "2009-05-21,hide" ], - [ "lsb@naver.com", "2010-03-05" ], - [ "lsb3@naver.com", ",hide" ], - [ "sooboklee9@daum.net", "2010-03-05" ] - ], - "2010-03-05", - "show" - ], 1 ); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').html() == '0'; - } - ); - - oTest.fnTest( - "Original row preserved", - null, - function () { - return $('#example tbody tr:eq(1) td:eq(0)').html() == '1'; - } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js deleted file mode 100755 index 4ab695b237..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays.js +++ /dev/null @@ -1,103 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "5396 - fnUpdate with 2D arrays for a single row" ); - -$(document).ready( function () { - $('#example thead tr').append( '6' ); - $('#example thead tr').append( '7' ); - $('#example thead tr').append( '8' ); - $('#example thead tr').append( '9' ); - $('#example thead tr').append( '10' ); - - var aDataSet = [ - [ - "1", - "홍길동", - "1154315", - "etc1", - [ - [ "test1@daum.net", "2011-03-04" ], - [ "test1@naver.com", "2009-07-06" ], - [ "test4@naver.com", ",hide" ], - [ "test5?@naver.com", "" ] - ], - "2011-03-04", - "show" - ], - [ - "2", - "홍길순", - "2154315", - "etc2", - [ - [ "test2@daum.net", "2009-09-26" ], - [ "test2@naver.com", "2009-05-21,hide" ], - [ "lsb@naver.com", "2010-03-05" ], - [ "lsb3@naver.com", ",hide" ], - [ "sooboklee9@daum.net", "2010-03-05" ] - ], - "2010-03-05", - "show" - ] -] - - var oTable = $('#example').dataTable({ - "aaData": aDataSet, - "aoColumns": [ - { "mDataProp": "0"}, - { "mDataProp": "1"}, - { "mDataProp": "2"}, - { "mDataProp": "3"}, - { "mDataProp": "4.0.0"}, - { "mDataProp": "4.0.1"}, - { "mDataProp": "4.1.0"}, - { "mDataProp": "4.1.1"}, - { "mDataProp": "5"}, - { "mDataProp": "6"} - ] - }); - - - oTest.fnTest( - "Initialisation", - null, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').html() == '1'; - } - ); - - oTest.fnTest( - "Update row", - function () { - $('#example').dataTable().fnUpdate( [ - "0", - "홍길순", - "2154315", - "etc2", - [ - [ "test2@daum.net", "2009-09-26" ], - [ "test2@naver.com", "2009-05-21,hide" ], - [ "lsb@naver.com", "2010-03-05" ], - [ "lsb3@naver.com", ",hide" ], - [ "sooboklee9@daum.net", "2010-03-05" ] - ], - "2010-03-05", - "show" - ], 1 ); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').html() == '0'; - } - ); - - oTest.fnTest( - "Original row preserved", - null, - function () { - return $('#example tbody tr:eq(1) td:eq(0)').html() == '1'; - } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js deleted file mode 100755 index f71ae8f447..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js +++ /dev/null @@ -1,23 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "5508 - Table container width doesn't change when filtering applied to scrolling table" ); - -$(document).ready( function () { - $('#example').dataTable( { - "sScrollY": "300px", - "bPaginate": false - } ); - - oTest.fnTest( - "Width of container 800px on init with scroll", - null, - function () { return $('div.dataTables_scrollBody').width() == 800; } - ); - - oTest.fnTest( - "Unaltered when filter applied", - function () { $('#example').dataTable().fnFilter('123'); }, - function () { return $('div.dataTables_scrollBody').width() == 800; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js deleted file mode 100755 index cfc70d5ff6..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js +++ /dev/null @@ -1,64 +0,0 @@ -// DATA_TEMPLATE: 6776 -oTest.fnStart( "Actions on a scrolling table keep width" ); - - -$(document).ready( function () { - var oTable = $('#example').dataTable( { - "bFilter": true, - "bSort": true, - "sScrollY": "100px", - "bPaginate": false - } ); - - var iWidth = $('div.dataTables_wrapper').width(); - - oTest.fnTest( - "First sort has no effect on width", - function () { $('th:eq(1)').click(); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Second sort has no effect on width", - function () { $('th:eq(1)').click(); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Third sort has no effect on width", - function () { $('th:eq(2)').click(); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Filter has no effect on width", - function () { oTable.fnFilter('i'); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Filter 2 has no effect on width", - function () { oTable.fnFilter('in'); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "No result filter has header and body at same width", - function () { oTable.fnFilter('xxx'); }, - function () { return $('#example').width() == $('div.dataTables_scrollHeadInner').width(); } - ); - - oTest.fnTest( - "Filter with no results has no effect on width", - function () { oTable.fnFilter('xxx'); }, - function () { return $('div.dataTables_wrapper').width() == iWidth; } - ); - - oTest.fnTest( - "Filter with no results has table equal to wrapper width", - function () { oTable.fnFilter('xxx'); }, - function () { return $('div.dataTables_wrapper').width() == $('#example').width(); } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_getDataFunctions.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_getDataFunctions.js deleted file mode 100755 index 5419d5d5e6..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_getDataFunctions.js +++ /dev/null @@ -1,399 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "Check behaviour of the data get functions that DataTables uses" ); - -$(document).ready( function () { - // Slightly unusual test set this one, in that we don't really care about the DOM - // but want to test the internal data handling functions but we do need a table to - // get at the functions! - var table = $('#example').dataTable(); - var fn, test; - - // Object property access - oTest.fnTest( - "Single object, single property", - function () { - fn = table.oApi._fnGetObjectDataFn('test'); - test = fn( { "test": true } ); - }, - function () { return test } - ); - - oTest.fnTest( - "Single property from object", - function () { - fn = table.oApi._fnGetObjectDataFn('test'); - test = fn( { "test": true, "test2": false } ); - }, - function () { return test } - ); - - oTest.fnTest( - "Single property from object - different property", - function () { - fn = table.oApi._fnGetObjectDataFn('test2'); - test = fn( { "test": true, "test2": false } ); - }, - function () { return test===false } - ); - - oTest.fnTest( - "Undefined property from object", - function () { - fn = table.oApi._fnGetObjectDataFn('test3'); - test = fn( { "test": true, "test2": false } ); - }, - function () { return test===undefined } - ); - - // Array index access - oTest.fnTest( - "Array access - index 0", - function () { - fn = table.oApi._fnGetObjectDataFn(0); - test = fn( [true, false, false, false] ); - }, - function () { return test } - ); - - oTest.fnTest( - "Array access - index 1", - function () { - fn = table.oApi._fnGetObjectDataFn(2); - test = fn( [false, false, true, false] ); - }, - function () { return test } - ); - - oTest.fnTest( - "Array access - undefined", - function () { - fn = table.oApi._fnGetObjectDataFn(7); - test = fn( [false, false, true, false] ); - }, - function () { return test===undefined } - ); - - // null source - oTest.fnTest( - "null source", - function () { - fn = table.oApi._fnGetObjectDataFn( null ); - test = fn( [false, false, true, false] ); - }, - function () { return test===null } - ); - - // nested objects - oTest.fnTest( - "Nested object property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.b' ); - test = fn( { - "a":{ - "b": true, - "c": false, - "d": 1 - } - } ); - }, - function () { return test } - ); - - oTest.fnTest( - "Nested object property - different prop", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.d' ); - test = fn( { - "a":{ - "b": true, - "c": false, - "d": 1 - } - } ); - }, - function () { return test===1 } - ); - - oTest.fnTest( - "Nested object property - undefined prop", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.z' ); - test = fn( { - "a":{ - "b": true, - "c": false, - "d": 1 - } - } ); - }, - function () { return test===undefined } - ); - - // Nested array - oTest.fnTest( - "Nested array index property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.0' ); - test = fn( { - "a": [ - true, - false, - 1 - ] - } ); - }, - function () { return test } - ); - - oTest.fnTest( - "Nested array index property - different index", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.2' ); - test = fn( { - "a": [ - true, - false, - 1 - ] - } ); - }, - function () { return test===1 } - ); - - oTest.fnTest( - "Nested array index property - undefined index", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.10' ); - test = fn( { - "a": [ - true, - false, - 1 - ] - } ); - }, - function () { return test===undefined } - ); - - // Nested array object property - oTest.fnTest( - "Nested array index object property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.0.m' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 }, - { "m": false, "n": 3 } - ] - } ); - }, - function () { return test } - ); - - oTest.fnTest( - "Nested array index object property - different index", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.2.n' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 }, - { "m": false, "n": 3 } - ] - } ); - }, - function () { return test===3 } - ); - - oTest.fnTest( - "Nested array index object property - undefined index", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a.0.z' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 }, - { "m": false, "n": 3 } - ] - } ); - }, - function () { return test===undefined } - ); - - // Array notation - no join - oTest.fnTest( - "Array notation - no join - property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[].n' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 }, - { "m": false, "n": 3 } - ] - } ); - }, - function () { - return test.length===3 && test[0]===1 - && test[1]===2 && test[2]===3; - } - ); - - oTest.fnTest( - "Array notation - no join - property (2)", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[].m' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 } - ] - } ); - }, - function () { - return test.length===2 && test[0]===true - && test[1]===false; - } - ); - - oTest.fnTest( - "Array notation - no join - undefined property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[].z' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 } - ] - } ); - }, - function () { - return test.length===2 && test[0]===undefined - && test[1]===undefined; - } - ); - - // Array notation - join - oTest.fnTest( - "Array notation - space join - property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[ ].n' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 }, - { "m": false, "n": 3 } - ] - } ); - }, - function () { return test === '1 2 3'; } - ); - - oTest.fnTest( - "Array notation - space join - property (2)", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[ ].m' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 } - ] - } ); - }, - function () { return test === 'true false'; } - ); - - oTest.fnTest( - "Array notation - sapce join - undefined property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[ ].z' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 } - ] - } ); - }, - function () { return test === ' '; } - ); - oTest.fnTest( - "Array notation - string join - property", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[qwerty].n' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 }, - { "m": false, "n": 3 } - ] - } ); - }, - function () { return test === '1qwerty2qwerty3'; } - ); - - oTest.fnTest( - "Array notation - string join - property (2)", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[qwerty].m' ); - test = fn( { - "a": [ - { "m": true, "n": 1 }, - { "m": false, "n": 2 } - ] - } ); - }, - function () { return test === 'trueqwertyfalse'; } - ); - - // Array alone join - oTest.fnTest( - "Flat array join", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[ ]' ); - test = fn( { - "a": [ - true, - false, - 1 - ] - } ); - }, - function () { return test==="true false 1"; } - ); - - oTest.fnTest( - "Flat array string join", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[qwerty]' ); - test = fn( { - "a": [ - true, - false, - 1 - ] - } ); - }, - function () { return test==="trueqwertyfalseqwerty1"; } - ); - - oTest.fnTest( - "Flat array no join", - function () { - fn = table.oApi._fnGetObjectDataFn( 'a[]' ); - test = fn( { - "a": [ - true, - false, - 1 - ] - } ); - }, - function () { return test.length===3 && test[0]===true && - test[1]===false && test[2]===1; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_setDataFunctions.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_setDataFunctions.js deleted file mode 100644 index 7cd7bf9c0b..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_setDataFunctions.js +++ /dev/null @@ -1,190 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "Check behaviour of the data set functions that DataTables uses" ); - -$(document).ready( function () { - // Slightly unusual test set this one, in that we don't really care about the DOM - // but want to test the internal data handling functions but we do need a table to - // get at the functions! - var table = $('#example').dataTable(); - var fn, test, o; - - // Object property access - oTest.fnTest( - "Create property", - function () { - fn = table.oApi._fnSetObjectDataFn('test'); - - o = {}; - fn( o, true ); - }, - function () { return o.test } - ); - - oTest.fnTest( - "Single property doesn't kill other properties", - function () { - fn = table.oApi._fnSetObjectDataFn('test'); - - o = { - "test2": false - }; - fn( o, true ); - }, - function () { return o.test && o.test2===false; } - ); - - oTest.fnTest( - "Single property overwrite old property", - function () { - fn = table.oApi._fnSetObjectDataFn('test'); - - o = { - "test": false, - "test2": false - }; - fn( o, true ); - }, - function () { return o.test && o.test2===false; } - ); - - - // Nested - oTest.fnTest( - "Create nested property", - function () { - fn = table.oApi._fnSetObjectDataFn('test.inner'); - - o = { - "test": {} - }; - fn( o, true ); - }, - function () { return o.test.inner } - ); - - oTest.fnTest( - "Deep create nested property", - function () { - fn = table.oApi._fnSetObjectDataFn('test.inner'); - - o = {}; - fn( o, true ); - }, - function () { return o.test.inner } - ); - - oTest.fnTest( - "Nested property doesn't kill other properties", - function () { - fn = table.oApi._fnSetObjectDataFn('test.inner'); - - o = { - "test": { - "test2": false - } - }; - fn( o, true ); - }, - function () { return o.test.inner && o.test.test2===false; } - ); - - oTest.fnTest( - "Single property overwrite old property", - function () { - fn = table.oApi._fnSetObjectDataFn('nested.test'); - - o = { - "nested": { - "test": false, - "test2": false - } - }; - fn( o, true ); - }, - function () { return o.nested.test && o.nested.test2===false; } - ); - - // Set arrays / objects - oTest.fnTest( - "Create object", - function () { - fn = table.oApi._fnSetObjectDataFn('test'); - - o = {}; - fn( o, {"a":true, "b":false} ); - }, - function () { return o.test.a && o.test.b===false } - ); - - oTest.fnTest( - "Create nested object", - function () { - fn = table.oApi._fnSetObjectDataFn('nested.test'); - - o = {}; - fn( o, {"a":true, "b":false} ); - }, - function () { return o.nested.test.a && o.nested.test.b===false } - ); - - oTest.fnTest( - "Create array", - function () { - fn = table.oApi._fnSetObjectDataFn('test'); - - o = {}; - fn( o, [1,2,3] ); - }, - function () { return o.test[0]===1 && o.test[2]===3 } - ); - - oTest.fnTest( - "Create nested array", - function () { - fn = table.oApi._fnSetObjectDataFn('nested.test'); - - o = {}; - fn( o, [1,2,3] ); - }, - function () { return o.nested.test[0]===1 && o.nested.test[2]===3 } - ); - - - // Array notation - oTest.fnTest( - "Create array of objects", - function () { - fn = table.oApi._fnSetObjectDataFn('test[].a'); - - o = {}; - fn( o, [1,2,3] ); - }, - function () { return o.test.length===3 && o.test[0].a===1 && o.test[1].a===2; } - ); - - oTest.fnTest( - "Create array of nested objects", - function () { - fn = table.oApi._fnSetObjectDataFn('test[].a.b'); - - o = {}; - fn( o, [1,2,3] ); - }, - function () { return o.test.length===3 && o.test[0].a.b===1 && o.test[1].a.b===2; } - ); - - oTest.fnTest( - "Create array", - function () { - fn = table.oApi._fnSetObjectDataFn('test[]'); - - o = {}; - fn( o, [1,2,3] ); - }, - function () { return o.test.length===3 && o.test[0]===1 && o.test[1]===2; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_zero_config.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_zero_config.js deleted file mode 100755 index b3a941f89a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/_zero_config.js +++ /dev/null @@ -1,437 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "Sanity checks for DataTables with DOM data" ); - -oTest.fnTest( - "jQuery.dataTable function", - null, - function () { return typeof jQuery().dataTable == "function"; } -); - -oTest.fnTest( - "jQuery.dataTableSettings storage array", - null, - function () { return typeof jQuery().dataTableSettings == "object"; } -); - -oTest.fnTest( - "jQuery.dataTableExt plugin object", - null, - function () { return typeof jQuery().dataTableExt == "object"; } -); - -$(document).ready( function () { - $('#example').dataTable(); - - /* Basic checks */ - oTest.fnTest( - "Length changing div exists", - null, - function () { return document.getElementById('example_length') != null; } - ); - - oTest.fnTest( - "Filtering div exists", - null, - function () { return document.getElementById('example_filter') != null; } - ); - - oTest.fnTest( - "Information div exists", - null, - function () { return document.getElementById('example_info') != null; } - ); - - oTest.fnTest( - "Pagination div exists", - null, - function () { return document.getElementById('example_paginate') != null; } - ); - - oTest.fnTest( - "Processing div is off by default", - null, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnTest( - "10 rows shown on the first page", - null, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnTest( - "Initial sort occured", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - /* Need to use the WaitTest for sorting due to the setTimeout datatables uses */ - oTest.fnTest( - "Sorting (first click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (second click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Sorting (third click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (first click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "-"; } - ); - - oTest.fnTest( - "Sorting (second click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Sorting multi-column (first click)", - function () { - $('#example thead th:eq(0)').click(); - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { var b = - $('#example tbody td:eq(0)').html() == "Gecko" && - $('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; } - ); - - oTest.fnTest( - "Sorting multi-column - sorting second column only", - function () { - $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Basic paging */ - oTest.fnTest( - "Paging to second page", - function () { $('#example_next').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; } - ); - - oTest.fnTest( - "Paging to first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Attempting to page back beyond the first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Changing length */ - oTest.fnTest( - "Changing table length to 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return $('#example tbody tr').length == 25; } - ); - - oTest.fnTest( - "Changing table length to 50 records", - function () { $("select[name=example_length]").val('50').change(); }, - function () { return $('#example tbody tr').length == 50; } - ); - - oTest.fnTest( - "Changing table length to 100 records", - function () { $("select[name=example_length]").val('100').change(); }, - function () { return $('#example tbody tr').length == 57; } - ); - - oTest.fnTest( - "Changing table length to 10 records", - function () { $("select[name=example_length]").val('10').change(); }, - function () { return $('#example tbody tr').length == 10; } - ); - - /* - * Information element - */ - oTest.fnTest( - "Information on zero config", - null, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information on second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 11 to 20 of 57 entries"; } - ); - - oTest.fnTest( - "Information on third page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 21 to 30 of 57 entries"; } - ); - - oTest.fnTest( - "Information on last page", - function () { - $('#example_next').click(); - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 51 to 57 of 57 entries"; } - ); - - oTest.fnTest( - "Information back on first page", - function () { - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 25 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 25 records - second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 26 to 50 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 100 records - first page", - function () { - $('#example_previous').click(); - $("select[name=example_length]").val('100').change(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 57 of 57 entries"; } - ); - - oTest.fnTest( - "Information back to 10 records", - function () { - $('#example_previous').click(); - $("select[name=example_length]").val('10').change(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information with filter 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' last page", - function () { - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' back to first page", - function () { - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page - second time", - function () { - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter increased to 'Win 98'", - function () { $('#example_filter input').val("Win 98").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter decreased to 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page - third time", - function () { - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter removed", - function () { $('#example_filter input').val("").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - - /* - * Filtering - */ - oTest.fnTest( - "Filter 'W' - rows", - function () { - /* Reset the table such that the old sorting doesn't mess things up */ - oSession.fnRestore(); - $('#example').dataTable(); - $('#example_filter input').val("W").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; } - ); - - oTest.fnTest( - "Filter 'W' - info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Wi'", - function () { $('#example_filter input').val("Wi").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "AOL browser (AOL desktop)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1 info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1 reverse", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - maintaing reverse sorting col 1", - function () { $('#example_filter input').val("Win XP").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Internet Explorer 7"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - sorting col 3", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - sorting col 3 - reversed", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "7"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting col 3 - reversed info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'nothinghere'", - function () { $('#example_filter input').val("nothinghere").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == - "No matching records found"; } - ); - - oTest.fnTest( - "Filter 'nothinghere' - info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter back to blank and 1st column sorting", - function () { - $('#example_filter input').val("").keyup(); - $('#example thead th:eq(0)').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Prefixing a filter entry", - function () { - $('#example_filter input').val("Win").keyup(); - $('#example_filter input').val("GeckoWin").keyup(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Prefixing a filter entry with space", - function () { - $('#example_filter input').val("Gecko Win").keyup(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; } - ); - - - - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aaSorting.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aaSorting.js deleted file mode 100755 index 848b85e426..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aaSorting.js +++ /dev/null @@ -1,183 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aaSorting" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Default sorting is single column", - null, - function () { - return oSettings.aaSorting.length == 1 && typeof oSettings.aaSorting[0] == 'object'; - } - ); - - oTest.fnTest( - "Default sorting is first column asc", - null, - function () { - return oSettings.aaSorting[0].length == 3 && oSettings.aaSorting[0][0] == 0 && - oSettings.aaSorting[0][1] == 'asc'; - } - ); - - oTest.fnTest( - "Sorting is applied", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - - oTest.fnTest( - "Custom sorting on single string column asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - - oTest.fnTest( - "Custom sorting on single string column desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - - oTest.fnTest( - "Custom sorting on single int column asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "-"; } - ); - - - oTest.fnTest( - "Custom sorting on single int column desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / string asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','asc'], ['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / string desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','asc'], ['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / string asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','desc'], ['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / string desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','desc'], ['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Safari 3.0"; } - ); - - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / int asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','asc'], ['3','asc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "1"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / int desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','asc'], ['3','desc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "1.9"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / int asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','desc'], ['3','asc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "125.5"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / int desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','desc'], ['3','desc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Multi-column sorting (3 column) - string asc / int asc / string asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSorting": [['0','asc'], ['3','asc'], ['1','asc']] - } ); - }, - function () { return $('#example tbody tr:eq(7) td:eq(1)').html() == "Firefox 1.0"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aaSortingFixed.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aaSortingFixed.js deleted file mode 100755 index bc470e21a0..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aaSortingFixed.js +++ /dev/null @@ -1,60 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aaSortingFixed" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "No fixed sorting by default", - null, - function () { - return oSettings.aaSortingFixed == null; - } - ); - - - oTest.fnTest( - "Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSortingFixed": [['0','asc']] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; } - ); - - oTest.fnTest( - "Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaSortingFixed": [['3','asc']] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "PSP browser"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js deleted file mode 100755 index 27c211a7f2..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js +++ /dev/null @@ -1,67 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.bSeachable" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Columns are searchable by default", - function () { oTable.fnFilter("Camino"); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html().match(/Camino/); } - ); - - oTest.fnTest( - "Disabling sorting on a column removes it from the global filter", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "bSearchable": false }, - null, - null, - null - ] - } ); - oSettings = oTable.fnSettings(); - oTable.fnFilter("Camino"); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnTest( - "Disabled on one column has no effect on other columns", - function () { oTable.fnFilter("Webkit"); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - oTest.fnTest( - "Disable filtering on multiple columns", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - { "bSearchable": false }, - { "bSearchable": false }, - null, - null, - null - ] - } ); - oSettings = oTable.fnSettings(); - oTable.fnFilter("Webkit"); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnTest( - "Filter on second disabled column", - function () { oTable.fnFilter("Camino"); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js deleted file mode 100755 index bbb41cd61f..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bSortable.js +++ /dev/null @@ -1,105 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.bSortable" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "All columns are sortable by default", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Can disable sorting from one column", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - { "bSortable": false }, - null, - null, - null - ] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; } - ); - - oTest.fnTest( - "Disabled column has no sorting class", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; } - ); - - oTest.fnTest( - "Other columns can still sort", - function () { - $('#example thead th:eq(4)').click(); - $('#example thead th:eq(4)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; } - ); - - oTest.fnTest( - "Disable sorting on multiple columns - no sorting classes", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - { "bSortable": false }, - null, - { "bSortable": false }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example thead th:eq(1)').hasClass("sorting") || - $('#example thead th:eq(3)').hasClass("sorting") - return bReturn == false; - } - ); - - oTest.fnTest( - "Sorting on disabled column 1 has no effect", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; } - ); - - oTest.fnTest( - "Sorting on disabled column 2 has no effect", - function () { - $('#example thead th:eq(3)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; } - ); - - oTest.fnTest( - "Second sort on disabled column 2 has no effect", - function () { - $('#example thead th:eq(3)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; } - ); - - oTest.fnTest( - "Even with multiple disabled sorting columns other columns can still sort", - function () { - $('#example thead th:eq(4)').click(); - $('#example thead th:eq(4)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js deleted file mode 100755 index 161c41212c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js +++ /dev/null @@ -1,145 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.bUseRendered" ); - -/* bUseRendered is used to alter sorting data, if false then the original data is used for - * sorting rather than the rendered data - */ - -$(document).ready( function () { - /* Check the default */ - var mTmp = 0; - - var oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( mTmp == 0 ) { - mTmp++; - return "aaa"; - } else - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Default for bUseRendered is true - rendered data is used for sorting", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; } - ); - - oTest.fnTest( - "When bUseRendered is false, original data is used for sorting", - function () { - mTmp = 0; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { - "bUseRendered": false, - "fnRender": function (a) { - if ( mTmp == 0 ) { - mTmp++; - return "aaa"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - null, - null, - null - ] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; } - ); - - - oTest.fnTest( - "bUseRendered set to false on one columns and true (default) on two others", - function () { - mTmp = 0; - var mTmp2 = 0; - var mTmp3 = 0; - - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - { - "fnRender": function (a) { - if ( mTmp == 0 ) { - mTmp++; - return "aaa1"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - { - "bUseRendered": false, - "fnRender": function (a) { - if ( mTmp2 == 0 ) { - mTmp2++; - return "aaa2"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - { - "fnRender": function (a) { - if ( mTmp3 == 0 ) { - mTmp3++; - return "zzz3"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'aaa1'; } - ); - - oTest.fnTest( - "Multi-column rendering - 2nd column sorting", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; } - ); - - oTest.fnTest( - "Multi-column rendering - 3rd column sorting", - function () { - $('#example thead th:eq(2)').click(); - $('#example thead th:eq(2)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(2)').html() == 'zzz3'; } - ); - - oTest.fnTest( - "Multi-column rendering - 4th column sorting", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == '-'; } - ); - - oTest.fnTest( - "Multi-column rendering - 5th column sorting", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js deleted file mode 100755 index 84f1ee60d6..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js +++ /dev/null @@ -1,132 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.bVisible" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "All columns are visible by default", - null, - function () { return $('#example tbody tr:eq(0) td').length == 5; } - ); - - oTest.fnTest( - "Can hide one column and it removes td column from DOM", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - { "bVisible": false }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 4; } - ); - - oTest.fnTest( - "Can hide one column and it removes thead th column from DOM", - null, - function () { return $('#example thead tr:eq(0) th').length == 4; } - ); - - oTest.fnTest( - "Can hide one column and it removes tfoot th column from DOM", - null, - function () { return $('#example tfoot tr:eq(0) th').length == 4; } - ); - - oTest.fnTest( - "The correct thead column has been hidden", - null, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "Platform(s)" && - jqNodes[2].innerHTML == "Engine version" && - jqNodes[3].innerHTML == "CSS grade"; - return bReturn; - } - ); - - oTest.fnTest( - "The correct tbody column has been hidden", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); - }, - function () { - var jqNodes = $('#example tbody tr:eq(0) td'); - var bReturn = - jqNodes[0].innerHTML == "Gecko" && - jqNodes[1].innerHTML == "Gnome" && - jqNodes[2].innerHTML == "1.8" && - jqNodes[3].innerHTML == "A"; - return bReturn; - } - ); - - - oTest.fnTest( - "Can hide multiple columns and it removes td column from DOM", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - { "bVisible": false }, - { "bVisible": false }, - null, - { "bVisible": false } - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 2; } - ); - - oTest.fnTest( - "Multiple hide - removes thead th column from DOM", - null, - function () { return $('#example thead tr:eq(0) th').length == 2; } - ); - - oTest.fnTest( - "Multiple hide - removes tfoot th column from DOM", - null, - function () { return $('#example tfoot tr:eq(0) th').length == 2; } - ); - - oTest.fnTest( - "Multiple hide - the correct thead columns have been hidden", - null, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "Engine version" - return bReturn; - } - ); - - oTest.fnTest( - "Multiple hide - the correct tbody columns have been hidden", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); - }, - function () { - var jqNodes = $('#example tbody tr:eq(0) td'); - var bReturn = - jqNodes[0].innerHTML == "Gecko" && - jqNodes[1].innerHTML == "1" - return bReturn; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js deleted file mode 100755 index 5dbe214f65..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js +++ /dev/null @@ -1,268 +0,0 @@ -// DATA_TEMPLATE: complex_header_2 -oTest.fnStart( "aoColumns.bVisible with complex headers" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "All columns are visible by default", - null, - function () { return $('#example tbody tr:eq(0) td').length == 5; } - ); - - oTest.fnTest( - "Hide the first column", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - { "bVisible": false }, - null, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 4; } - ); - - oTest.fnTest( - "First cell is '2' - first column hidden", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)').html() == "2"; } - ); - - oTest.fnTest( - "First cell has colspan of 3", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)')[0].getAttribute('colspan') == 3; } - ); - - oTest.fnTest( - "First cell has rowspan of 2", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)')[0].getAttribute('rowspan') == 2; } - ); - - oTest.fnTest( - "First cell in last column is '11'", - null, - function () { return $('#example thead tr:eq(4) th:eq(0)').html() == 11; } - ); - - oTest.fnTest( - "First cell in last column has been truncated to one column", - null, - function () { return $('#example thead tr:eq(4) th:eq(0)')[0].getAttribute('colspan') == 1; } - ); - - - oTest.fnTest( - "Hide the second column", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - { "bVisible": false }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 4; } - ); - - oTest.fnTest( - "First cell is '1' - second column hidden", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)').html() == "1"; } - ); - - oTest.fnTest( - "Second cell is '2' - second column hidden", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)').html() == "2"; } - ); - - oTest.fnTest( - "First cell in fourth row is '10' (visibly the first) - second column hidden", - null, - function () { return $('#example thead tr:eq(3) th:eq(0)').html() == "10"; } - ); - - oTest.fnTest( - "First cell has colspan of 1", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)')[0].getAttribute('colspan') == 1; } - ); - - oTest.fnTest( - "Second cell has colspan of 2", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)')[0].getAttribute('colspan') == 2; } - ); - - oTest.fnTest( - "First cell has rowspan of 1", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)')[0].getAttribute('rowspan') == 1; } - ); - - oTest.fnTest( - "Second cell has rowspan of 2", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)')[0].getAttribute('rowspan') == 2; } - ); - - oTest.fnTest( - "First cell in last column is '11'", - null, - function () { return $('#example thead tr:eq(4) th:eq(0)').html() == 11; } - ); - - oTest.fnTest( - "First cell in last column has been truncated to one column", - null, - function () { return $('#example thead tr:eq(4) th:eq(0)')[0].getAttribute('colspan') == 1; } - ); - - - oTest.fnTest( - "Hide the first two columns", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - { "bVisible": false }, - { "bVisible": false }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 3; } - ); - - oTest.fnTest( - "First cell is '2' - first two columns hidden", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)').html() == "2"; } - ); - - oTest.fnTest( - "Second cell is '3' - first two columns hidden", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)').html() == "3"; } - ); - - oTest.fnTest( - "First cell in third row is '6' - first two columns hidden", - null, - function () { return $('#example thead tr:eq(2) th:eq(0)').html() == "6"; } - ); - - oTest.fnTest( - "First cell has colspan of 2", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)')[0].getAttribute('colspan') == 2; } - ); - - oTest.fnTest( - "First cell has rowspan of 2", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)')[0].getAttribute('rowspan') == 2; } - ); - - oTest.fnTest( - "Second cell has rowspan of 1", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)')[0].getAttribute('rowspan') == 1; } - ); - - oTest.fnTest( - "First cell in last column is '12'", - null, - function () { return $('#example thead tr:eq(4) th:eq(0)').html() == 12; } - ); - - - oTest.fnTest( - "Hide the third column", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - null, - { "bVisible": false }, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 4; } - ); - - oTest.fnTest( - "First cell is '1' - third column hidden", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)').html() == "1"; } - ); - - oTest.fnTest( - "Second cell is '2' - third column hidden", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)').html() == "2"; } - ); - - oTest.fnTest( - "First cell (visible second) in third row is '6' - third column hidden", - null, - function () { return $('#example thead tr:eq(2) th:eq(0)').html() == "6"; } - ); - - oTest.fnTest( - "Second cell has colspan of 2", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)')[0].getAttribute('colspan') == 2; } - ); - - oTest.fnTest( - "Second cell has rowspan of 2", - null, - function () { return $('#example thead tr:eq(0) th:eq(1)')[0].getAttribute('rowspan') == 2; } - ); - - oTest.fnTest( - "Third row first cell (second visible) colspan is 1", - null, - function () { return $('#example thead tr:eq(2) th:eq(0)')[0].getAttribute('colspan') == 1; } - ); - - oTest.fnTest( - "Third row second cell (third visible) value is 7", - null, - function () { return $('#example thead tr:eq(2) th:eq(1)').html() == "7"; } - ); - - oTest.fnTest( - "Third row second cell (third visible) colspan is 1", - null, - function () { return $('#example thead tr:eq(2) th:eq(1)')[0].getAttribute('colspan') == 1; } - ); - - oTest.fnTest( - "Third row second cell (third visible) rowspan is 3", - null, - function () { return $('#example thead tr:eq(2) th:eq(1)')[0].getAttribute('rowspan') == 3; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js deleted file mode 100755 index 8060ddb8eb..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js +++ /dev/null @@ -1,176 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.fnRender" ); - -$(document).ready( function () { - /* Check the default */ - var mTmp = 0; - var oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "fnRender": function (a) { - mTmp++; - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Single column - fnRender is called once for each row", - null, - function () { return mTmp == 57; } - ); - - oTest.fnTest( - "Confirm that fnRender passes two arguments with four parameters", - function () { - mTmp = true; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "fnRender": function (a, v) { - if ( arguments.length != 2 || typeof a.iDataRow=='undefined' || - typeof a.iDataColumn=='undefined' || typeof a.aData=='undefined' || - typeof a.mDataProp=='undefined' ) - { - mTmp = false; - } - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - }, - function () { return mTmp; } - ); - - oTest.fnTest( - "fnRender iDataColumn is row number", - function () { - var iCount = 0; - mTmp = true; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( iCount != a.iDataRow ) - { - mTmp = false; - } - iCount++; - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - }, - function () { return mTmp; } - ); - - oTest.fnTest( - "fnRender iDataColumn is the column", - function () { - mTmp = true; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( a.iDataColumn != 1 ) - { - mTmp = false; - } - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - }, - function () { return mTmp; } - ); - - oTest.fnTest( - "fnRender aData is data array of correct size", - function () { - mTmp = true; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( a.aData.length != 5 ) - { - mTmp = false; - } - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - }, - function () { return mTmp; } - ); - - oTest.fnTest( - "Passed back data is put into the DOM", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "fnRender": function (a) { - return 'unittest'; - } }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; } - ); - - oTest.fnTest( - "Passed back data is put into the DOM", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - null, - { "fnRender": function (a) { - return 'unittest1'; - } }, - { "fnRender": function (a) { - return 'unittest2'; - } }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' && - $('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2'; - return bReturn; } - ); - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js deleted file mode 100755 index e9366ff474..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js +++ /dev/null @@ -1,88 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.iDataSort" ); - -$(document).ready( function () { - /* Should know that sorting already works by default from other tests, so we can jump - * right in here - */ - var oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "iDataSort": 4 }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Sorting on first column is uneffected", - null, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; } - ); - - oTest.fnTest( - "Sorting on second column is the order of the fifth", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - oTest.fnTest( - "Reserve sorting on second column uses fifth column as well", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; } - ); - - oTest.fnTest( - "Sorting on 5th column retains it's own sorting", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - - oTest.fnTest( - "Use 2nd col for sorting 5th col and via-versa - no effect on first col sorting", - function () { - mTmp = 0; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - { "iDataSort": 4 }, - null, - null, - { "iDataSort": 1 } - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; } - ); - - oTest.fnTest( - "2nd col sorting uses fifth col", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - oTest.fnTest( - "2nd col sorting uses fifth col - reversed", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; } - ); - - oTest.fnTest( - "5th col sorting uses 2nd col", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; } - ); - - oTest.fnTest( - "5th col sorting uses 2nd col - reversed", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1'; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js deleted file mode 100755 index 09149bb0d5..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js +++ /dev/null @@ -1,111 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.sClass" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "By default the test class hasn't been applied to the column (sanity!)", - null, - function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - first row", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - null, - { "sClass": 'unittest' }, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - third row", - null, - function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - last row", - null, - function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to other columns - 1st", - null, - function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to other columns - 5th", - null, - function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - seventh row - second page", - function () { $('#example_next').click(); }, - function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to header", - null, - function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to footer", - null, - function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; } - ); - - - oTest.fnTest( - "Class defined for multiple columns - first row", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - { "sClass": 'unittest2' }, - null, - null, - { "sClass": 'unittest1' }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') && - $('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1'); - return bReturn; - } - ); - - oTest.fnTest( - "Class defined for multiple columns - has not applied to other columns - 5th 1", - null, - function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; } - ); - - oTest.fnTest( - "Class defined for multiple columns - has not applied to other columns - 5th 2", - null, - function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sName.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sName.js deleted file mode 100755 index 14a4c18985..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sName.js +++ /dev/null @@ -1,27 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.sName" ); - -/* This has no effect at all in DOM methods - so we just check that it has applied the name */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aoColumns": [ - null, - null, - null, - { "sName": 'unit test' }, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Names are stored in the columns object", - null, - function () { return oSettings.aoColumns[3].sName =="unit test"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js deleted file mode 100755 index 5ebac2f439..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js +++ /dev/null @@ -1,78 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.sTitle" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Column names are read from the DOM by default", - null, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "Browser" && - jqNodes[2].innerHTML == "Platform(s)" && - jqNodes[3].innerHTML == "Engine version" && - jqNodes[4].innerHTML == "CSS grade"; - return bReturn; - } - ); - - oTest.fnTest( - "Can set a single column title - and others are read from DOM", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - { "sTitle": 'unit test' }, - null, - null, - null - ] - } ); - }, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "unit test" && - jqNodes[2].innerHTML == "Platform(s)" && - jqNodes[3].innerHTML == "Engine version" && - jqNodes[4].innerHTML == "CSS grade"; - return bReturn; - } - ); - - oTest.fnTest( - "Can set multiple column titles", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aoColumns": [ - null, - { "sTitle": 'unit test 1' }, - null, - null, - { "sTitle": 'unit test 2' } - ] - } ); - }, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "unit test 1" && - jqNodes[2].innerHTML == "Platform(s)" && - jqNodes[3].innerHTML == "Engine version" && - jqNodes[4].innerHTML == "unit test 2"; - return bReturn; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js deleted file mode 100755 index e2777f67bb..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js +++ /dev/null @@ -1,84 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoColumns.sWidth" ); - -/* NOTE - we need to disable the auto width for the majority of these test in order to preform - * these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests - * with auto width enabled however to ensure it scales columns as required - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "bAutoWidth": false, - "aoColumns": [ - null, - { "sWidth": '40%' }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "With auto width disabled the width for one column is appled", - null, - function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; } - ); - - oTest.fnTest( - "With auto width disabled the width for one column is appled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "bAutoWidth": false, - "aoColumns": [ - null, - null, - { "sWidth": '20%' }, - { "sWidth": '30%' }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example thead th:eq(2)')[0].style.width == "20%" && - $('#example thead th:eq(3)')[0].style.width == "30%"; - return bReturn; - } - ); - - - oTest.fnTest( - "With auto width, it will make the smallest column the largest with percentage width given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoColumns": [ - null, - null, - null, - { "sWidth": '40%' }, - null - ] - } ); - }, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - - if ( a3>a0 && a3>a1 && a3>a2 && a3>a4 ) - return true; - else - return false; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoSearchCols.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoSearchCols.js deleted file mode 100755 index 9a1a3ecef4..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/aoSearchCols.js +++ /dev/null @@ -1,112 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "aoSearchCols" ); - -/* We could be here forever testing this one, so we test a limited subset on a couple of colums */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Default should be to have a empty colums array", - null, - function () { - var bReturn = - oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex && - oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex && - oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex && - oSettings.aoPreSearchCols[3].sSearch == 0 && !oSettings.aoPreSearchCols[3].bRegex && - oSettings.aoPreSearchCols[4].sSearch == 0 && !oSettings.aoPreSearchCols[4].bRegex; - return bReturn; - } - ); - - - oTest.fnTest( - "Search on a single column - no regex statement given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoSearchCols": [ - null, - { "sSearch": "Mozilla" }, - null, - { "sSearch": "1" }, - null - ] - } ); - }, - function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Search on two columns - no regex statement given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoSearchCols": [ - null, - { "sSearch": "Mozilla" }, - null, - { "sSearch": "1.5" }, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; } - ); - - oTest.fnTest( - "Search on single column - escape regex false", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - null, - null, - null, - null - ] - } ); - }, - function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Search on two columns - escape regex false on first, true on second", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - { "sSearch": "3.3", "bEscapeRegex": true }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; } - ); - - oTest.fnTest( - "Search on two columns (no records) - escape regex false on first, true on second", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - { "sSearch": "Allan", "bEscapeRegex": true }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/asStripClasses.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/asStripClasses.js deleted file mode 100755 index 906fc78831..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/asStripClasses.js +++ /dev/null @@ -1,106 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "asStripeClasses" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable(); - - oTest.fnTest( - "Default row striping is applied", - null, - function () { - return $('#example tbody tr:eq(0)').hasClass('odd') && - $('#example tbody tr:eq(1)').hasClass('even') && - $('#example tbody tr:eq(2)').hasClass('odd') && - $('#example tbody tr:eq(3)').hasClass('even'); - } - ); - - oTest.fnTest( - "Row striping does not effect current classes", - null, - function () { - return $('#example tbody tr:eq(0)').hasClass('gradeA') && - $('#example tbody tr:eq(1)').hasClass('gradeA') && - $('#example tbody tr:eq(2)').hasClass('gradeA') && - $('#example tbody tr:eq(3)').hasClass('gradeA'); - } - ); - - oTest.fnTest( - "Row striping on the second page", - function () { $('#example_next').click(); }, - function () { - return $('#example tbody tr:eq(0)').hasClass('odd') && - $('#example tbody tr:eq(1)').hasClass('even') && - $('#example tbody tr:eq(2)').hasClass('odd') && - $('#example tbody tr:eq(3)').hasClass('even'); - } - ); - - /* No striping */ - oTest.fnTest( - "No row striping", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "asStripeClasses": [] - } ); - }, - function () { - return $('#example tbody tr:eq(0)')[0].className == "gradeA" && - $('#example tbody tr:eq(1)')[0].className == "gradeA" && - $('#example tbody tr:eq(2)')[0].className == "gradeA" && - $('#example tbody tr:eq(3)')[0].className == "gradeA"; - } - ); - - /* Custom striping */ - oTest.fnTest( - "Custom striping [2]", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "asStripeClasses": [ 'test1', 'test2' ] - } ); - }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test1') && - $('#example tbody tr:eq(3)').hasClass('test2'); - } - ); - - - /* long array of striping */ - oTest.fnTest( - "Custom striping [4]", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ] - } ); - }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test3') && - $('#example tbody tr:eq(3)').hasClass('test4'); - } - ); - - oTest.fnTest( - "Custom striping is restarted on second page [2]", - function () { $('#example_next').click(); }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test3') && - $('#example tbody tr:eq(3)').hasClass('test4'); - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bAutoWidth.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bAutoWidth.js deleted file mode 100755 index e88930bd68..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bAutoWidth.js +++ /dev/null @@ -1,138 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bAutoWidth" ); - -/* It's actually a little tricky to test this. We can't test absolute numbers because - * different browsers and different platforms will render the width of the columns slightly - * differently. However, we certainly can test the principle of what should happen (column - * width doesn't change over pages) - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Auto width is enabled by default", - null, - function () { return oSettings.oFeatures.bAutoWidth; } - ); - - oTest.fnTest( - "First column has a width assigned to it", - null, - function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); } - ); - - /* - This would seem like a better test - but there appear to be difficulties with tables - which are bigger (calculated) than there is actually room for. I suspect this is actually - a bug in datatables - oTest.fnTest( - "Check column widths on first page match second page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - console.log( a0, b0, a1, b1, a2, b2, a3, b3 ); - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return true; - else - return false; - } - ); - - oTest.fnTest( - "Check column widths on second page match thid page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return true; - else - return false; - } - ); - */ - - /* Check can disable */ - oTest.fnTest( - "Auto width can be disabled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "bAutoWidth": false - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bAutoWidth == false; } - ); - - oTest.fnTest( - "First column does not have a width assigned to it", - null, - function () { return $('#example thead th:eq(0)').attr('style') == null; } - ); - - /* - oTest.fnTest( - "Check column widths on first page do not match second page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return false; - else - return true; - } - ); - */ - - /* Enable makes no difference */ - oTest.fnTest( - "Auto width enabled override", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "bAutoWidth": true - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bAutoWidth; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bFilter.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bFilter.js deleted file mode 100755 index f4ec31582f..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bFilter.js +++ /dev/null @@ -1,40 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bFilter" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable(); - - oTest.fnTest( - "Filtering div exists by default", - null, - function () { return document.getElementById('example_filter') != null; } - ); - - /* Check can disable */ - oTest.fnTest( - "Fltering can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bFilter": false - } ); - }, - function () { return document.getElementById('example_filter') == null; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Filtering enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bFilter": true - } ); - }, - function () { return document.getElementById('example_filter') != null; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js deleted file mode 100755 index ce73892b64..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js +++ /dev/null @@ -1,130 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bInfiniteScroll" ); - - -$(document).ready( function () { - var oTable = $('#example').dataTable( { - "bScrollInfinite": true, - "sScrollY": "200px" - } ); - - oTest.fnTest( - "10 rows by default", - null, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnTest( - "Info", - null, - function () { return $('#example_info').html() == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Get nodes", - null, - function () { return $('#example tbody>tr').length == 10; } - ); - - oTest.fnWaitTest( - "Scroll on 20px adds 10 rows", - function () { $('div.dataTables_scrollBody').scrollTop(20); }, - function () { return $('#example tbody tr').length == 20; } - ); - - oTest.fnTest( - "Info after 20px scroll", - null, - function () { return $('#example_info').html() == "Showing 1 to 20 of 57 entries"; } - ); - - oTest.fnTest( - "Get nodes after 20px scroll", - null, - function () { return $('#example tbody>tr').length == 20; } - ); - - oTest.fnTest( - "Scroll on 10px more results in the same number of rows", - function () { $('div.dataTables_scrollBody').scrollTop(30); }, - function () { return $('#example tbody tr').length == 20; } - ); - - oTest.fnTest( - "Info after 10 more px scroll", - null, - function () { return $('#example_info').html() == "Showing 1 to 20 of 57 entries"; } - ); - - oTest.fnWaitTest( - "Scroll to 240px adds another 10 rows", - function () { $('div.dataTables_scrollBody').scrollTop(240); }, - function () { return $('#example tbody tr').length == 30; } - ); - - oTest.fnTest( - "Info after 240px scroll", - null, - function () { return $('#example_info').html() == "Showing 1 to 30 of 57 entries"; } - ); - - oTest.fnTest( - "Get nodes after 240px scroll", - null, - function () { return $('#example tbody>tr').length == 30; } - ); - - oTest.fnTest( - "Filtering will drop back to 10 rows", - function () { - $('div.dataTables_scrollBody').scrollTop(0); - oTable.fnFilter('gec') - }, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnTest( - "Info after filtering", - null, - function () { return $('#example_info').html() == "Showing 1 to 10 of 20 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Get nodes after filtering", - null, - function () { return $('#example tbody>tr').length == 10; } - ); - - oTest.fnWaitTest( - "Scroll after filtering adds 10", - function () { $('div.dataTables_scrollBody').scrollTop(20); }, - function () { return $('#example tbody tr').length == 20; } - ); - - oTest.fnTest( - "Get nodes after filtering", - null, - function () { return $('#example tbody>tr').length == 20; } - ); - - oTest.fnTest( - "Sorting will drop back to 10 rows", - function () { oTable.fnSort([[1,'asc']]) }, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnWaitTest( - "Scroll after sorting adds 10", - function () { $('div.dataTables_scrollBody').scrollTop(20); }, - function () { return $('#example tbody tr').length == 20; } - ); - - oTest.fnTest( - "Get nodes after scrolling", - null, - function () { return $('#example tbody>tr').length == 20; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bInfo.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bInfo.js deleted file mode 100755 index 54d470f0da..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bInfo.js +++ /dev/null @@ -1,40 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bInfo" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable(); - - oTest.fnTest( - "Info div exists by default", - null, - function () { return document.getElementById('example_info') != null; } - ); - - /* Check can disable */ - oTest.fnTest( - "Info can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bInfo": false - } ); - }, - function () { return document.getElementById('example_info') == null; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Info enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bInfo": true - } ); - }, - function () { return document.getElementById('example_info') != null; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bJQueryUI.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bJQueryUI.js deleted file mode 100755 index 6c685468c6..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bJQueryUI.js +++ /dev/null @@ -1,40 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bJQueryUI" ); - -$(document).ready( function () { - $('#example').dataTable( { - "bJQueryUI": true - } ); - - oTest.fnTest( - "Header elements are fully wrapped by DIVs", - null, - function () { - var test = true; - $('#example thead th').each( function () { - if ( this.childNodes > 1 ) { - test = false; - } - } ); - return test; - } - ); - - oTest.fnTest( - "One div for each header element", - null, - function () { - return $('#example thead th div').length == 5; - } - ); - - oTest.fnTest( - "One span for each header element, nested as child of div", - null, - function () { - return $('#example thead th div>span').length == 5; - } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bLengthChange.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bLengthChange.js deleted file mode 100755 index 1c8ef40bd3..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bLengthChange.js +++ /dev/null @@ -1,71 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bLengthChange" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable(); - - oTest.fnTest( - "Length div exists by default", - null, - function () { return document.getElementById('example_length') != null; } - ); - - oTest.fnTest( - "Four default options", - null, - function () { return $("select[name=example_length] option").length == 4; } - ); - - oTest.fnTest( - "Default options", - null, - function () { - var opts = $("select[name='example_length'] option"); - return opts[0].getAttribute('value') == 10 && opts[1].getAttribute('value') == 25 && - opts[2].getAttribute('value') == 50 && opts[3].getAttribute('value') == 100; - } - ); - - oTest.fnTest( - "Info takes length into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Check can disable */ - oTest.fnTest( - "Change length can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bLengthChange": false - } ); - }, - function () { return document.getElementById('example_length') == null; } - ); - - oTest.fnTest( - "Information takes length disabled into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Length change enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bLengthChange": true - } ); - }, - function () { return document.getElementById('example_length') != null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bPaginate.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bPaginate.js deleted file mode 100755 index 560114e326..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bPaginate.js +++ /dev/null @@ -1,55 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bPaginate" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable(); - - oTest.fnTest( - "Pagiantion div exists by default", - null, - function () { return document.getElementById('example_paginate') != null; } - ); - - oTest.fnTest( - "Information div takes paging into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Check can disable */ - oTest.fnTest( - "Pagiantion can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bPaginate": false - } ); - }, - function () { return document.getElementById('example_paginate') == null; } - ); - - oTest.fnTest( - "Information div takes paging disabled into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 57 of 57 entries"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Pagiantion enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bPaginate": true - } ); - }, - function () { return document.getElementById('example_paginate') != null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bProcessing.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bProcessing.js deleted file mode 100755 index e342a40c5a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bProcessing.js +++ /dev/null @@ -1,99 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bProcessing" ); - -/* It's actually a bit hard to set this one due to the fact that it will only be shown - * when DataTables is doing some kind of processing. The server-side processing is a bit - * better to test this than here - so we just the interal functions to enable it and check - * that it is available - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Processing is off by default", - null, - function () { return oSettings.oFeatures.bProcessing == false; } - ); - - oTest.fnTest( - "Processing div is not in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnTest( - "Processing div cannot be shown", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnTest( - "Processing div cannot be hidden", - function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - - /* Check can disable */ - oTest.fnTest( - "Processing can be enabled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "bProcessing": true - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bProcessing == true; } - ); - - oTest.fnTest( - "Processing div is in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing'); } - ); - - oTest.fnTest( - "Processing div is hidden by default", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing').style.visibility = "hidden"; } - ); - - oTest.fnTest( - "Processing div can be shown", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing').style.visibility = "visible"; } - ); - - oTest.fnTest( - "Processing div can be hidden", - function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); }, - function () { return document.getElementById('example_processing').style.visibility = "hidden"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Processing disabled override", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "bProcessing": false - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bProcessing == false; } - ); - - oTest.fnTest( - "Processing div is not in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bServerSide.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bServerSide.js deleted file mode 100755 index c6aacec65c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bServerSide.js +++ /dev/null @@ -1,18 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bServerSide" ); - -/* Not interested in server-side processing here other than to check that it is off */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Server side is off by default", - null, - function () { return oSettings.oFeatures.bServerSide == false; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSort.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSort.js deleted file mode 100755 index ecaf168ead..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSort.js +++ /dev/null @@ -1,101 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bSort" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable(); - - oTest.fnTest( - "Sorting is on by default", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - oTest.fnTest( - "Sorting Asc by default class applied", - null, - function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); } - ); - - oTest.fnTest( - "Click on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting class removed from first column", - null, - function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; } - ); - - oTest.fnTest( - "Sorting asc class applied to second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); } - ); - - oTest.fnTest( - "Reverse on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Sorting acs class removed from second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; } - ); - - oTest.fnTest( - "Sorting desc class applied to second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); } - ); - - /* Check can disable */ - oTest.fnTest( - "Pagiantion can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bSort": false - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Disabled classes applied", - null, - function () { return $('#example thead th:eq(0)').hasClass('sorting_disabled'); } - ); - - oTest.fnTest( - "Click on second column has no effect", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Reverse on second column has no effect", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Sorting enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bSort": true - } ); - }, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSortCellsTop.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSortCellsTop.js deleted file mode 100755 index fc550d5def..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSortCellsTop.js +++ /dev/null @@ -1,77 +0,0 @@ -// DATA_TEMPLATE: dom_data_two_headers -oTest.fnStart( "bSortCellsTop" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Sorting class is on the bottom cells by default", - null, - function () { return $('#example thead tr:eq(1) th:eq(0)').hasClass('sorting_asc'); } - ); - - oTest.fnTest( - "Sorting is performed on bottom cells", - function () { return $('#example thead tr:eq(1) th:eq(0)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - oTest.fnTest( - "Sorting class is updated on the bottom cells", - null, - function () { return $('#example thead tr:eq(1) th:eq(0)').hasClass('sorting_desc'); } - ); - - oTest.fnTest( - "Clicking on top cells has no effect", - function () { return $('#example thead tr:eq(0) th:eq(0)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - oTest.fnTest( - "Clicking on another top cell has no effect", - function () { return $('#example thead tr:eq(0) th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - - oTest.fnTest( - "Sorting class is on the top cell when bSortCellsTop is true", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bSortCellsTop": true - } ); - }, - function () { return $('#example thead tr:eq(0) th:eq(0)').hasClass('sorting_asc'); } - ); - - oTest.fnTest( - "Sorting is performed on top cells now", - function () { return $('#example thead tr:eq(0) th:eq(0)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - oTest.fnTest( - "Sorting class is updated on the top cells", - null, - function () { return $('#example thead tr:eq(0) th:eq(0)').hasClass('sorting_desc'); } - ); - - oTest.fnTest( - "Clicking on bottom cells has no effect", - function () { return $('#example thead tr:eq(1) th:eq(0)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - oTest.fnTest( - "Clicking on another bottom cell has no effect", - function () { return $('#example thead tr:eq(1) th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSortClasses.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSortClasses.js deleted file mode 100755 index 97f0c1fcef..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/bSortClasses.js +++ /dev/null @@ -1,128 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "bSortClasses" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable(); - - oTest.fnTest( - "Sorting classes are applied by default", - null, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); } - ); - - oTest.fnTest( - "Sorting classes are applied to all required cells", - null, - function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); } - ); - - oTest.fnTest( - "Sorting classes are not applied to non-sorting columns", - null, - function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; } - ); - - oTest.fnTest( - "Sorting multi-column - add column 1", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2'); - } - ); - - oTest.fnTest( - "Sorting multi-column - add column 2", - function () { - oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3'); - } - ); - - oTest.fnTest( - "Sorting multi-column - add column 3", - function () { - oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } ); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') && - $('#example tbody tr:eq(0) td:eq(3)').hasClass('sorting_3'); - } - ); - - oTest.fnTest( - "Remove sorting classes on single column sort", - function () { - $('#example thead th:eq(4)').click(); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') == false && - $('#example tbody tr:eq(0) td:eq(3)').hasClass('sorting_3') == false; - } - ); - - oTest.fnTest( - "Sorting class 1 was added", - null, - function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); } - ); - - - /* Check can disable */ - oTest.fnTest( - "Sorting classes can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bSortClasses": false - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; } - ); - - oTest.fnTest( - "Sorting classes disabled - add column 1 - no effect", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false; - } - ); - - oTest.fnTest( - "Sorting classes disabled - add column 2 - no effect", - function () { - oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') == false; - } - ); - - - /* Enable makes no difference */ - oTest.fnTest( - "Sorting classes enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "bSortClasses": true - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCookieCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCookieCallback.js deleted file mode 100755 index 31d03936c6..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCookieCallback.js +++ /dev/null @@ -1,97 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "Cookie callback" ); - - -$(document).ready( function () { - var mPass; - /* Note that in order to be fully effective here for saving state, there would need to be a - * stringify function to serialise the data array - */ - - oTest.fnTest( - "null by default", - function () { - $('#example').dataTable(); - }, - function () { return $('#example').dataTable().fnSettings().fnCookieCallback == null; } - ); - - oTest.fnTest( - "Number of arguments", - function () { - $('#example').dataTable( { - "bDestroy": true, - "bStateSave": true, - "fnCookieCallback": function (sName, oData, sExpires, sPath) { - mPass = arguments.length; - return sName + "=; expires=" + sExpires +"; path=" + sPath; - } - } ); - }, - function () { return mPass == 4; } - ); - - oTest.fnTest( - "Name", - function () { - $('#example').dataTable( { - "bDestroy": true, - "bStateSave": true, - "fnCookieCallback": function (sName, oData, sExpires, sPath) { - mPass = sName=="SpryMedia_DataTables_example_dom_data.php"; - return sName + "=; expires=" + sExpires +"; path=" + sPath; - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnTest( - "Data", - function () { - $('#example').dataTable( { - "bDestroy": true, - "bStateSave": true, - "fnCookieCallback": function (sName, oData, sExpires, sPath) { - mPass = typeof oData.iStart != 'undefined'; - return sName + "=; expires=" + sExpires +"; path=" + sPath; - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnTest( - "Expires", - function () { - $('#example').dataTable( { - "bDestroy": true, - "bStateSave": true, - "fnCookieCallback": function (sName, oData, sExpires, sPath) { - mPass = typeof sExpires == 'string'; - return sName + "=; expires=" + sExpires +"; path=" + sPath; - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnTest( - "Path", - function () { - $('#example').dataTable( { - "bDestroy": true, - "bStateSave": true, - "fnCookieCallback": function (sName, oData, sExpires, sPath) { - mPass = sPath.match(/media\/unit_testing\/templates/); - return sName + "=; expires=" + sExpires +"; path=" + sPath; - } - } ); - }, - function () { return mPass; } - ); - - - oTest.fnCookieDestroy( $('#example').dataTable() ); - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCreatedCell.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCreatedCell.js deleted file mode 100755 index 1de4967130..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCreatedCell.js +++ /dev/null @@ -1,151 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "fnCreatedCell tests" ); - -$(document).ready( function () { - var tmp = 0; - - $('#example').dataTable( { - "aoColumnDefs": [ { - fnCreatedCell: function () { - tmp++; - }, - "aTargets": ["_all"] - } ] - } ); - - oTest.fnTest( - "Cell created is called once for each cell on init", - null, - function () { return tmp===285; } - ); - - oTest.fnTest( - "Created isn't called back on other draws", - function () { $('#example th:eq(1)').click(); }, - function () { return tmp===285; } - ); - - oTest.fnTest( - "Four arguments for the function", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments.length !== 4 ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "First argument is a TD element", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[0].nodeName !== "TD" ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Second argument is the HTML value", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[1] != $('td').html() ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Third argument is the data array", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[2].length !== 5 ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Fourth argument is the data source for the row", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[2] !== this.fnSettings().aoData[ arguments[2] ]._aData ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Fifth argument is the the col index", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[1] != $('td:eq('+arguments[4]+')', arguments[0].parentNode).html() ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCreatedRow.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCreatedRow.js deleted file mode 100755 index e408f7095e..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnCreatedRow.js +++ /dev/null @@ -1,115 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "fnCreatedRow tests" ); - -$(document).ready( function () { - var tmp = 0; - - $('#example').dataTable( { - fnCreatedRow: function () { - tmp++; - } - } ); - - oTest.fnTest( - "Row created is called once for each row on init", - null, - function () { return tmp===57; } - ); - - oTest.fnTest( - "Created isn't called back on other draws", - function () { $('#example th:eq(1)').click(); }, - function () { return tmp===57; } - ); - - oTest.fnTest( - "Three arguments for the function", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - fnCreatedRow: function () { - if ( arguments.length !== 3 ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "First argument is a TR element", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - fnCreatedRow: function () { - if ( arguments[0].nodeName !== "TR" ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Second argument is an array with 5 elements", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - fnCreatedRow: function () { - if ( arguments[1].length !== 5 ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Third argument is the data source for the row", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - fnCreatedRow: function () { - if ( arguments[1] !== this.fnSettings().aoData[ arguments[2] ]._aData ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "TR element is tied to the correct data", - function () { - oSession.fnRestore(); - tmp = false; - - $('#example').dataTable( { - fnCreatedRow: function (tr, data, index) { - if ( data[1] === "Firefox 1.0" ) { - if ( $('td:eq(3)', tr).html() == "1.7" ) { - tmp = true; - } - } - } - } ); - }, - function () { return tmp; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnDeleteRow.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnDeleteRow.js deleted file mode 100755 index 29a0b3fd97..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnDeleteRow.js +++ /dev/null @@ -1,30 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "fnDeleteRow" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Check that the default data is sane", - null, - function () { return oSettings.asDataSearch.join(' ').match(/4.0/g).length == 3; } - ); - - oTest.fnTest( - "Remove the first data row, and check that hte search data has been updated", - function () { oTable.fnDeleteRow( 0 ); }, - function () { return oSettings.asDataSearch.join(' ').match(/4.0/g).length == 2; } - ); - - oTest.fnTest( - "Check that the info element has been updated", - null, - function () { return $('#example_info').html() == "Showing 1 to 10 of 56 entries"; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnDrawCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnDrawCallback.js deleted file mode 100755 index ffa5f8147c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnDrawCallback.js +++ /dev/null @@ -1,80 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "fnDrawCallback" ); - -/* Fairly boring function compared to the others! */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - var mPass; - - oTest.fnTest( - "Default should be null", - null, - function () { return oSettings.fnDrawCallback == null; } - ); - - - oTest.fnTest( - "One argument passed", - function () { - oSession.fnRestore(); - - mPass = -1; - $('#example').dataTable( { - "fnDrawCallback": function ( ) { - mPass = arguments.length; - } - } ); - }, - function () { return mPass == 1; } - ); - - - oTest.fnTest( - "That one argument is the settings object", - function () { - oSession.fnRestore(); - - oTable = $('#example').dataTable( { - "fnDrawCallback": function ( oSettings ) { - mPass = oSettings; - } - } ); - }, - function () { return oTable.fnSettings() == mPass; } - ); - - - oTest.fnTest( - "fnRowCallback called once on first draw", - function () { - oSession.fnRestore(); - - mPass = 0; - $('#example').dataTable( { - "fnDrawCallback": function ( ) { - mPass++; - } - } ); - }, - function () { return mPass == 1; } - ); - - oTest.fnTest( - "fnRowCallback called once on each draw there after as well", - function () { - $('#example_next').click(); - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return mPass == 4; } - ); - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnFilter.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnFilter.js deleted file mode 100755 index 1e18b22d79..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnFilter.js +++ /dev/null @@ -1,16 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "fnFilter" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - oTable.fnFilter(1); - - oTest.fnTest( - "Filtering with a non-string input is valid", - null, - function () { return $('#example_info').html() == "Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnFooterCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnFooterCallback.js deleted file mode 100755 index a02f8de27e..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/fnFooterCallback.js +++ /dev/null @@ -1,227 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "fnFooterCallback" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - var mPass; - - oTest.fnTest( - "Default should be null", - null, - function () { return oSettings.fnFooterCallback == null; } - ); - - - oTest.fnTest( - "Five arguments passed", - function () { - oSession.fnRestore(); - - mPass = -1; - $('#example').dataTable( { - "fnFooterCallback": function ( ) { - mPass = arguments.length; - } - } ); - }, - function () { return mPass == 5; } - ); - - - oTest.fnTest( - "fnRowCallback called once per draw", - function () { - oSession.fnRestore(); - - mPass = 0; - $('#example').dataTable( { - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - mPass++; - } - } ); - }, - function () { return mPass == 1; } - ); - - oTest.fnTest( - "fnRowCallback called on paging (i.e. another draw)", - function () { $('#example_next').click(); }, - function () { return mPass == 2; } - ); - - - oTest.fnTest( - "fnRowCallback allows us to alter row information", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - nFoot.getElementsByTagName('th')[0].innerHTML = "Displaying "+(iEnd-iStart)+" records"; - } - } ); - }, - function () { return $('#example tfoot th:eq(0)').html() == "Displaying 10 records"; } - ); - - - oTest.fnTest( - "Data array has length matching original data", - function () { - oSession.fnRestore(); - - mPass = true; - $('#example').dataTable( { - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - if ( aasData.length != 57 ) - { - mPass = false; - } - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnTest( - "Data array's column lengths match original data", - function () { - oSession.fnRestore(); - - mPass = true; - $('#example').dataTable( { - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - for ( var i=0, iLen=aasData.length ; i' - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.sDom == '<"wrapper"flipt>'; } - ); - - oTest.fnTest( - "Check example 1 in DOM", - null, - function () { - var jqNodes = $('#demo div, #demo table'); - var nNodes = []; - - /* Strip the paging nodes */ - for ( var i=0, iLen=jqNodes.length ; iip>' - } ); - }, - function () { - var jqNodes = $('#demo div, #demo table'); - var nNodes = []; - var nCustomWrappers = [] - - /* Strip the paging nodes */ - for ( var i=0, iLen=jqNodes.length ; irti' - } ); - }, - function () { - return $('#test').length == 1; - } - ); - - oTest.fnTest( - "Element with an id and a class", - function () { - $('#example').dataTable( { - "bDestroy": true, - "sDom": '<"#test.classTest"lf>rti' - } ); - }, - function () { - return ($('#test').length == 1 && $('#test')[0].className == "classTest"); - } - ); - - oTest.fnTest( - "Element with just a class", - function () { - $('#example').dataTable( { - "bDestroy": true, - "sDom": '<"classTest"lf>rti' - } ); - }, - function () { - return ($('div.classTest').length == 1 ); - } - ); - - oTest.fnTest( - "Two elements with an id", - function () { - $('#example').dataTable( { - "bDestroy": true, - "sDom": '<"#test1"lf>rti<"#test2"lf>' - } ); - }, - function () { - return ($('#test1').length == 1 && $('#test2').length == 1); - } - ); - - oTest.fnTest( - "Two elements with an id and one with a class", - function () { - $('#example').dataTable( { - "bDestroy": true, - "sDom": '<"#test1"lf>rti<"#test2.classTest"lf>' - } ); - }, - function () { - return ($('#test1').length == 1 && $('#test2').length == 1 && $('div.classTest').length == 1); - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/sPaginationType.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/sPaginationType.js deleted file mode 100755 index 8d975f5525..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/sPaginationType.js +++ /dev/null @@ -1,122 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "sPaginationType" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable(); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Check two button paging is the default", - null, - function () { return oSettings.sPaginationType == "two_button"; } - ); - - oTest.fnTest( - "Check class is applied", - null, - function () { return $('#example_paginate').hasClass('paging_two_button'); } - ); - - oTest.fnTest( - "Two A elements are in the wrapper", - null, - function () { return $('#example_paginate a').length == 2; } - ); - - oTest.fnTest( - "We have the previous button", - null, - function () { return document.getElementById('example_previous'); } - ); - - oTest.fnTest( - "We have the next button", - null, - function () { return document.getElementById('example_next'); } - ); - - oTest.fnTest( - "Previous button is disabled", - null, - function () { return $('#example_previous').hasClass('paginate_disabled_previous'); } - ); - - oTest.fnTest( - "Next button is enabled", - null, - function () { return $('#example_next').hasClass('paginate_enabled_next'); } - ); - - /* Don't test paging - that's done by the zero config test script. */ - - - /* Two buttons paging */ - oTest.fnTest( - "Can enabled full numbers paging", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sPaginationType": "full_numbers" - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.sPaginationType == "full_numbers"; } - ); - - oTest.fnTest( - "Check full numbers class is applied", - null, - function () { return $('#example_paginate').hasClass('paging_full_numbers'); } - ); - - - var nFirst, nPrevious, nNext, nLast; - oTest.fnTest( - "Jump to last page", - function () { - nFirst = $('div.dataTables_paginate a.first'); - nPrevious = $('div.dataTables_paginate a.previous'); - nNext = $('div.dataTables_paginate a.next'); - nLast = $('div.dataTables_paginate a.last'); - nLast.click(); - }, - function () { - return document.getElementById('example_info').innerHTML == "Showing 51 to 57 of 57 entries"; - } - ); - - oTest.fnTest( - "Go to two pages previous", - function () { - nPrevious.click(); - nPrevious.click(); - }, - function () { - return document.getElementById('example_info').innerHTML == "Showing 31 to 40 of 57 entries"; - } - ); - - oTest.fnTest( - "Next (second last) page", - function () { - nNext.click(); - }, - function () { - return document.getElementById('example_info').innerHTML == "Showing 41 to 50 of 57 entries"; - } - ); - - oTest.fnTest( - "Jump to first page", - function () { - nFirst.click(); - }, - function () { - return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/sScrollXY.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/sScrollXY.js deleted file mode 100755 index d9a611954e..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/sScrollXY.js +++ /dev/null @@ -1,63 +0,0 @@ -// DATA_TEMPLATE: dom_data -oTest.fnStart( "sScrollX / Y" ); - - -$(document).ready( function () { - // Force some x scrolling - $('body').css('white-space', 'nowrap'); - $('#container').css('width', '400px'); - - var oTable = $('#example').dataTable( { - "sScrollX": "100%", - "sScrollY": "200px", - "bPaginate": false - } ); - - oTest.fnWaitTest( - "Header follows x-scrolling", - function () { $('div.dataTables_scrollBody').scrollLeft(20); }, - function () { return $('div.dataTables_scrollHead').scrollLeft() == 20; } - ); - - oTest.fnWaitTest( - "Footer follows x-scrolling", - null, - function () { return $('div.dataTables_scrollFoot').scrollLeft() == 20; } - ); - - oTest.fnWaitTest( - "y-scrolling has no effect on header", - function () { $('div.dataTables_scrollBody').scrollTop(20); }, - function () { return $('div.dataTables_scrollHead').scrollLeft() == 20; } - ); - - oTest.fnWaitTest( - "Filtering results in sets y-scroll back to 0", - function () { oTable.fnFilter('1') }, - function () { return $('div.dataTables_scrollBody').scrollTop() == 0; } - ); - - oTest.fnWaitTest( - "Filtering has no effect on x-scroll", - null, - function () { return $('div.dataTables_scrollBody').scrollLeft() == 20; } - ); - - oTest.fnWaitTest( - "Full x-scroll has header track all the way with it", - function () { - $('div.dataTables_scrollBody').scrollLeft( - $('#example').width() - $('div.dataTables_scrollBody')[0].clientWidth - ); - }, - function () { return $('div.dataTables_scrollBody').scrollLeft() == $('div.dataTables_scrollHead').scrollLeft(); } - ); - - oTest.fnTest( - "Footer also tracked all the way", - null, - function () { return $('div.dataTables_scrollBody').scrollLeft() == $('div.dataTables_scrollFoot').scrollLeft(); } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/th_in_body.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/th_in_body.js deleted file mode 100755 index bbf5ee3a20..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/th_in_body.js +++ /dev/null @@ -1,437 +0,0 @@ -// DATA_TEMPLATE: dom_data_th -oTest.fnStart( "Sanity checks for DataTables with DOM data and a TH in the body" ); - -oTest.fnTest( - "jQuery.dataTable function", - null, - function () { return typeof jQuery().dataTable == "function"; } -); - -oTest.fnTest( - "jQuery.dataTableSettings storage array", - null, - function () { return typeof jQuery().dataTableSettings == "object"; } -); - -oTest.fnTest( - "jQuery.dataTableExt plugin object", - null, - function () { return typeof jQuery().dataTableExt == "object"; } -); - -$(document).ready( function () { - $('#example').dataTable(); - - /* Basic checks */ - oTest.fnTest( - "Length changing div exists", - null, - function () { return document.getElementById('example_length') != null; } - ); - - oTest.fnTest( - "Filtering div exists", - null, - function () { return document.getElementById('example_filter') != null; } - ); - - oTest.fnTest( - "Information div exists", - null, - function () { return document.getElementById('example_info') != null; } - ); - - oTest.fnTest( - "Pagination div exists", - null, - function () { return document.getElementById('example_paginate') != null; } - ); - - oTest.fnTest( - "Processing div is off by default", - null, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnTest( - "10 rows shown on the first page", - null, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnTest( - "Initial sort occured", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - /* Need to use the WaitTest for sorting due to the setTimeout datatables uses */ - oTest.fnTest( - "Sorting (first click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (second click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Sorting (third click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (first click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "-"; } - ); - - oTest.fnTest( - "Sorting (second click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Sorting multi-column (first click)", - function () { - $('#example thead th:eq(0)').click(); - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { var b = - $('#example tbody td:eq(0)').html() == "Gecko" && - $('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; } - ); - - oTest.fnTest( - "Sorting multi-column - sorting second column only", - function () { - $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Basic paging */ - oTest.fnTest( - "Paging to second page", - function () { $('#example_next').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; } - ); - - oTest.fnTest( - "Paging to first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Attempting to page back beyond the first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Changing length */ - oTest.fnTest( - "Changing table length to 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return $('#example tbody tr').length == 25; } - ); - - oTest.fnTest( - "Changing table length to 50 records", - function () { $("select[name=example_length]").val('50').change(); }, - function () { return $('#example tbody tr').length == 50; } - ); - - oTest.fnTest( - "Changing table length to 100 records", - function () { $("select[name=example_length]").val('100').change(); }, - function () { return $('#example tbody tr').length == 57; } - ); - - oTest.fnTest( - "Changing table length to 10 records", - function () { $("select[name=example_length]").val('10').change(); }, - function () { return $('#example tbody tr').length == 10; } - ); - - /* - * Information element - */ - oTest.fnTest( - "Information on zero config", - null, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information on second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 11 to 20 of 57 entries"; } - ); - - oTest.fnTest( - "Information on third page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 21 to 30 of 57 entries"; } - ); - - oTest.fnTest( - "Information on last page", - function () { - $('#example_next').click(); - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 51 to 57 of 57 entries"; } - ); - - oTest.fnTest( - "Information back on first page", - function () { - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 25 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 25 records - second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 26 to 50 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 100 records - first page", - function () { - $('#example_previous').click(); - $("select[name=example_length]").val('100').change(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 57 of 57 entries"; } - ); - - oTest.fnTest( - "Information back to 10 records", - function () { - $('#example_previous').click(); - $("select[name=example_length]").val('10').change(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information with filter 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' last page", - function () { - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' back to first page", - function () { - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page - second time", - function () { - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter increased to 'Win 98'", - function () { $('#example_filter input').val("Win 98").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter decreased to 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page - third time", - function () { - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter removed", - function () { $('#example_filter input').val("").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - - /* - * Filtering - */ - oTest.fnTest( - "Filter 'W' - rows", - function () { - /* Reset the table such that the old sorting doesn't mess things up */ - oSession.fnRestore(); - $('#example').dataTable(); - $('#example_filter input').val("W").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; } - ); - - oTest.fnTest( - "Filter 'W' - info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Wi'", - function () { $('#example_filter input').val("Wi").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "AOL browser (AOL desktop)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1 info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1 reverse", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - maintaing reverse sorting col 1", - function () { $('#example_filter input').val("Win XP").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Internet Explorer 7"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - sorting col 3", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - sorting col 3 - reversed", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "7"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting col 3 - reversed info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'nothinghere'", - function () { $('#example_filter input').val("nothinghere").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == - "No matching records found"; } - ); - - oTest.fnTest( - "Filter 'nothinghere' - info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter back to blank and 1st column sorting", - function () { - $('#example_filter input').val("").keyup(); - $('#example thead th:eq(0)').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Prefixing a filter entry", - function () { - $('#example_filter input').val("Win").keyup(); - $('#example_filter input').val("GeckoWin").keyup(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Prefixing a filter entry with space", - function () { - $('#example_filter input').val("Gecko Win").keyup(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; } - ); - - - - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/39-nested-null.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/39-nested-null.js deleted file mode 100644 index 09db94eaae..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/39-nested-null.js +++ /dev/null @@ -1,76 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "39 - nested null values" ); - -$(document).ready( function () { - var test = false; - - $.fn.dataTable.ext.sErrMode = "throw"; - - oTest.fnTest( - "No default content throws an error", - function () { - try { - $('#example').dataTable( { - "aaData": [ - { "a": "0", "b": {"c": 0} }, - { "a": "1", "b": {"c": 3} }, - { "a": "2", "b": null } - ], - "aoColumns": [ - { "mDataProp": "a" }, - { "mDataProp": "b" }, - { "mDataProp": "b.c" } - ] - } ); - } - catch(err) { - test = true; - } - }, - function () { return test; } - ); - - oTest.fnTest( - "Table renders", - function () { - oSession.fnRestore(); - - $('#example').dataTable( { - "aaData": [ - { "a": "0", "b": {"c": 0} }, - { "a": "1", "b": {"c": 3} }, - { "a": "2", "b": null } - ], - "aoColumns": [ - { "mDataProp": "a" }, - { "mDataProp": "b" }, - { "mDataProp": "b.c", "sDefaultContent": "allan" } - ] - } ); - }, - function () { return $('#example tbody td:eq(0)').html() === "0"; } - ); - - oTest.fnTest( - "Default content applied", - function () { - oSession.fnRestore(); - - $('#example').dataTable( { - "aaData": [ - { "a": "0", "b": {"c": 0} }, - { "a": "1", "b": {"c": 3} }, - { "a": "2", "b": null } - ], - "aoColumns": [ - { "mDataProp": "a" }, - { "mDataProp": "b" }, - { "mDataProp": "b.c", "sDefaultContent": "allan" } - ] - } ); - }, - function () { return $('#example tbody td:eq(8)').html() === "allan"; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js deleted file mode 100644 index 5ae4126b91..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/6872-default-content-missing-props.js +++ /dev/null @@ -1,285 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "6872 - mDataProp and sDefaultContent for deep objects" ); - -$(document).ready( function () { - var test = false; - - $.fn.dataTable.ext.sErrMode = "throw"; - - - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Shallow properties - */ - - $('#example').dataTable( { - "aaData": [ - { - "a": "a", - "b": "b", - "c": "c", - "d": "d", - "e": "e" - } - ], - "aoColumns": [ - { "mDataProp": "a" }, - { "mDataProp": "b" }, - { "mDataProp": "c" }, - { "mDataProp": "d" }, - { "mDataProp": "e" } - ] - } ); - - oTest.fnTest( - "Basic initialisation of objects works", - null, - function () { return $('#example tbody td:eq(0)').html() === "a"; } - ); - - oTest.fnTest( - "Error when property missing (no default content)", - function () { - oSession.fnRestore(); - test = false; - - try { - $('#example').dataTable( { - "aaData": [ - { - "a": "a", - "b": "b", - "d": "d", - "e": "e" - } - ], - "aoColumns": [ - { "mDataProp": "a" }, - { "mDataProp": "b" }, - { "mDataProp": "c" }, - { "mDataProp": "d" }, - { "mDataProp": "e" } - ] - } ); - } catch (e) { - test = true; - } - }, - function () { return test; } - ); - - oTest.fnTest( - "Default content used for missing prop and no error", - function () { - oSession.fnRestore(); - - $('#example').dataTable( { - "aaData": [ - { - "a": "a", - "b": "b", - "d": "d", - "e": "e" - } - ], - "aoColumns": [ - { "mDataProp": "a" }, - { "mDataProp": "b" }, - { "mDataProp": "c", "sDefaultContent": "test" }, - { "mDataProp": "d" }, - { "mDataProp": "e" } - ] - } ); - }, - function () { return $('#example tbody td:eq(2)').html() === "test"; } - ); - - - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Deep properties with a single object - */ - - oTest.fnTest( - "Basic test with deep properties", - function () { - oSession.fnRestore(); - - $('#example').dataTable( { - "aaData": [ - { - "z": { - "a": "a", - "b": "b", - "c": "c", - "d": "d", - "e": "e" - } - } - ], - "aoColumns": [ - { "mDataProp": "z.a" }, - { "mDataProp": "z.b" }, - { "mDataProp": "z.c" }, - { "mDataProp": "z.d" }, - { "mDataProp": "z.e" } - ] - } ); - }, - function () { return $('#example tbody td:eq(0)').html() === "a"; } - ); - - oTest.fnTest( - "Error when property missing on deep get (no default content)", - function () { - oSession.fnRestore(); - test = false; - - try { - $('#example').dataTable( { - "aaData": [ - { - "z": { - "a": "a", - "b": "b", - "c": "c", - "e": "e" - } - } - ], - "aoColumns": [ - { "mDataProp": "z.a" }, - { "mDataProp": "z.b" }, - { "mDataProp": "z.c" }, - { "mDataProp": "z.d" }, - { "mDataProp": "z.e" } - ] - } ); - } catch (e) { - test = true; - } - }, - function () { return test; } - ); - - oTest.fnTest( - "Default content used for missing prop on deep get and no error", - function () { - oSession.fnRestore(); - - $('#example').dataTable( { - "aaData": [ - { - "z": { - "a": "a", - "b": "b", - "c": "c", - "e": "e" - } - } - ], - "aoColumns": [ - { "mDataProp": "z.a" }, - { "mDataProp": "z.b" }, - { "mDataProp": "z.c" }, - { "mDataProp": "z.d", "sDefaultContent": "test" }, - { "mDataProp": "z.e" } - ] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() === "test"; } - ); - - - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Deep properties with individual objects - */ - - oTest.fnTest( - "Basic test with deep individual properties", - function () { - oSession.fnRestore(); - - $('#example').dataTable( { - "aaData": [ - { - "m": { "a": "a" }, - "n": { "b": "b" }, - "o": { "c": "c" }, - "p": { "d": "d" }, - "q": { "e": "e" } - } - ], - "aoColumns": [ - { "mDataProp": "m.a" }, - { "mDataProp": "n.b" }, - { "mDataProp": "o.c" }, - { "mDataProp": "p.d" }, - { "mDataProp": "q.e" } - ] - } ); - }, - function () { return $('#example tbody td:eq(0)').html() === "a"; } - ); - - oTest.fnTest( - "Error when property missing on deep individual get (no default content)", - function () { - oSession.fnRestore(); - test = false; - - try { - $('#example').dataTable( { - "aaData": [ - { - "m": { "a": "a" }, - "n": { "b": "b" }, - "p": { "d": "d" }, - "q": { "e": "e" } - } - ], - "aoColumns": [ - { "mDataProp": "m.a" }, - { "mDataProp": "n.b" }, - { "mDataProp": "o.c" }, - { "mDataProp": "p.d" }, - { "mDataProp": "q.e" } - ] - } ); - } catch (e) { - test = true; - } - }, - function () { return test; } - ); - - oTest.fnTest( - "Default content used for missing prop on deep individual get and no error", - function () { - oSession.fnRestore(); - - $('#example').dataTable( { - "aaData": [ - { - "m": { "a": "a" }, - "n": { "b": "b" }, - "p": { "d": "d" }, - "q": { "e": "e" } - } - ], - "aoColumns": [ - { "mDataProp": "m.a" }, - { "mDataProp": "n.b" }, - { "mDataProp": "o.c", "sDefaultContent": "test" }, - { "mDataProp": "p.d" }, - { "mDataProp": "q.e" } - ] - } ); - }, - function () { return $('#example tbody td:eq(2)').html() === "test"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js deleted file mode 100644 index 57ffebc0ae..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/8549--string-sorting-nonstrings.js +++ /dev/null @@ -1,47 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "8549 - string sorting non-string types" ); - -$(document).ready( function () { - var test = false; - - $.fn.dataTable.ext.sErrMode = "throw"; - - - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Shallow properties - */ - - $('#example').dataTable( { - "aaData": [ - [ null ], - [ 5 ], - [ "1a" ], - [ new Date(0) ] - ], - "aoColumns": [ - { "sTitle": "Test" } - ] - } ); - - oTest.fnTest( - "Sorting works - first cell is empty", - null, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() === ""; } - ); - - oTest.fnTest( - "Second cell is 1a", - null, - function () { return $('#example tbody tr:eq(1) td:eq(0)').html() === "1a"; } - ); - - oTest.fnTest( - "Third cell is 5", - null, - function () { return $('#example tbody tr:eq(2) td:eq(0)').html() === "5"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/_zero_config.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/_zero_config.js deleted file mode 100644 index 51abbad27c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/_zero_config.js +++ /dev/null @@ -1,440 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "Sanity checks for DataTables with data from JS" ); - -oTest.fnTest( - "jQuery.dataTable function", - null, - function () { return typeof jQuery().dataTable == "function"; } -); - -oTest.fnTest( - "jQuery.dataTableSettings storage array", - null, - function () { return typeof jQuery().dataTableSettings == "object"; } -); - -oTest.fnTest( - "jQuery.dataTableExt plugin object", - null, - function () { return typeof jQuery().dataTableExt == "object"; } -); - -$(document).ready( function () { - var oInit = { - "aaData": gaaData - }; - $('#example').dataTable( oInit ); - - /* Basic checks */ - oTest.fnTest( - "Length changing div exists", - null, - function () { return document.getElementById('example_length') != null; } - ); - - oTest.fnTest( - "Filtering div exists", - null, - function () { return document.getElementById('example_filter') != null; } - ); - - oTest.fnTest( - "Information div exists", - null, - function () { return document.getElementById('example_info') != null; } - ); - - oTest.fnTest( - "Pagination div exists", - null, - function () { return document.getElementById('example_paginate') != null; } - ); - - oTest.fnTest( - "Processing div is off by default", - null, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnTest( - "10 rows shown on the first page", - null, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnTest( - "Initial sort occured", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - /* Need to use the WaitTest for sorting due to the setTimeout datatables uses */ - oTest.fnTest( - "Sorting (first click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (second click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Sorting (third click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (first click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "-"; } - ); - - oTest.fnTest( - "Sorting (second click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Sorting multi-column (first click)", - function () { - $('#example thead th:eq(0)').click(); - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { var b = - $('#example tbody td:eq(0)').html() == "Gecko" && - $('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; } - ); - - oTest.fnTest( - "Sorting multi-column - sorting second column only", - function () { - $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Basic paging */ - oTest.fnTest( - "Paging to second page", - function () { $('#example_next').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; } - ); - - oTest.fnTest( - "Paging to first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Attempting to page back beyond the first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Changing length */ - oTest.fnTest( - "Changing table length to 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return $('#example tbody tr').length == 25; } - ); - - oTest.fnTest( - "Changing table length to 50 records", - function () { $("select[name=example_length]").val('50').change(); }, - function () { return $('#example tbody tr').length == 50; } - ); - - oTest.fnTest( - "Changing table length to 100 records", - function () { $("select[name=example_length]").val('100').change(); }, - function () { return $('#example tbody tr').length == 57; } - ); - - oTest.fnTest( - "Changing table length to 10 records", - function () { $("select[name=example_length]").val('10').change(); }, - function () { return $('#example tbody tr').length == 10; } - ); - - /* - * Information element - */ - oTest.fnTest( - "Information on zero config", - null, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information on second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 11 to 20 of 57 entries"; } - ); - - oTest.fnTest( - "Information on third page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 21 to 30 of 57 entries"; } - ); - - oTest.fnTest( - "Information on last page", - function () { - $('#example_next').click(); - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 51 to 57 of 57 entries"; } - ); - - oTest.fnTest( - "Information back on first page", - function () { - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 25 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 25 records - second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 26 to 50 of 57 entries"; } - ); - - oTest.fnTest( - "Information with 100 records - first page", - function () { - $('#example_previous').click(); - $("select[name=example_length]").val('100').change(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 57 of 57 entries"; } - ); - - oTest.fnTest( - "Information back to 10 records", - function () { - $('#example_previous').click(); - $("select[name=example_length]").val('10').change(); - }, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information with filter 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' last page", - function () { - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 31 to 31 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' back to first page", - function () { - $('#example_previous').click(); - $('#example_previous').click(); - $('#example_previous').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page - second time", - function () { - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter increased to 'Win 98'", - function () { $('#example_filter input').val("Win 98").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter decreased to 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter 'Win' second page - third time", - function () { - $('#example_next').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 11 to 20 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Information with filter removed", - function () { $('#example_filter input').val("").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - - /* - * Filtering - */ - oTest.fnTest( - "Filter 'W' - rows", - function () { - /* Reset the table such that the old sorting doesn't mess things up */ - oSession.fnRestore(); - $('#example').dataTable( oInit ); - $('#example_filter input').val("W").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; } - ); - - oTest.fnTest( - "Filter 'W' - info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 42 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Wi'", - function () { $('#example_filter input').val("Wi").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 32 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win'", - function () { $('#example_filter input').val("Win").keyup(); }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "AOL browser (AOL desktop)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1 info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 31 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting column 1 reverse", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - maintaing reverse sorting col 1", - function () { $('#example_filter input').val("Win XP").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Internet Explorer 7"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - sorting col 3", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Filter 'Win XP' - sorting col 3 - reversed", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "7"; } - ); - - oTest.fnTest( - "Filter 'Win' - sorting col 3 - reversed info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 6 of 6 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter 'nothinghere'", - function () { $('#example_filter input').val("nothinghere").keyup(); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == - "No matching records found"; } - ); - - oTest.fnTest( - "Filter 'nothinghere' - info", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Filter back to blank and 1st column sorting", - function () { - $('#example_filter input').val("").keyup(); - $('#example thead th:eq(0)').click(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Prefixing a filter entry", - function () { - $('#example_filter input').val("Win").keyup(); - $('#example_filter input').val("GeckoWin").keyup(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 0 to 0 of 0 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Prefixing a filter entry with space", - function () { - $('#example_filter input').val("Gecko Win").keyup(); - }, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 17 entries (filtered from 57 total entries)"; } - ); - - - - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aaSorting.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aaSorting.js deleted file mode 100644 index 3b16828e83..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aaSorting.js +++ /dev/null @@ -1,198 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aaSorting" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Default sorting is single column", - null, - function () { - return oSettings.aaSorting.length == 1 && typeof oSettings.aaSorting[0] == 'object'; - } - ); - - oTest.fnTest( - "Default sorting is first column asc", - null, - function () { - return oSettings.aaSorting[0].length == 3 && oSettings.aaSorting[0][0] == 0 && - oSettings.aaSorting[0][1] == 'asc'; - } - ); - - oTest.fnTest( - "Sorting is applied", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - - oTest.fnTest( - "Custom sorting on single string column asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - - oTest.fnTest( - "Custom sorting on single string column desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - - oTest.fnTest( - "Custom sorting on single int column asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "-"; } - ); - - - oTest.fnTest( - "Custom sorting on single int column desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / string asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','asc'], ['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / string desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','asc'], ['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / string asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','desc'], ['1','asc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "iPod Touch / iPhone"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / string desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','desc'], ['1','desc']] - } ); - }, - function () { return $('#example tbody td:eq(1)').html() == "Safari 3.0"; } - ); - - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / int asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','asc'], ['3','asc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "1"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string asc / int desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','asc'], ['3','desc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "1.9"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / int asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','desc'], ['3','asc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "125.5"; } - ); - - oTest.fnTest( - "Multi-column sorting (2 column) - string desc / int desc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','desc'], ['3','desc']] - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Multi-column sorting (3 column) - string asc / int asc / string asc", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSorting": [['0','asc'], ['3','asc'], ['1','asc']] - } ); - }, - function () { return $('#example tbody tr:eq(7) td:eq(1)').html() == "Firefox 1.0"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aaSortingFixed.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aaSortingFixed.js deleted file mode 100644 index a28e6101e8..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aaSortingFixed.js +++ /dev/null @@ -1,64 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aaSortingFixed" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "No fixed sorting by default", - null, - function () { - return oSettings.aaSortingFixed == null; - } - ); - - - oTest.fnTest( - "Fixed sorting on first column (string/asc) with user sorting on second column (string/asc)", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSortingFixed": [['0','asc']] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "Camino 1.0"; } - ); - - oTest.fnTest( - "Fixed sorting on first column (string/asc) with user sorting on second column (string/desc)", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Fixed sorting on fourth column (int/asc) with user sorting on second column (string/asc)", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aaSortingFixed": [['3','asc']] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Fixed sorting on fourth column (int/asc) with user sorting on second column (string/desc)", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody td:eq(1)').html() == "PSP browser"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js deleted file mode 100755 index 4ce915883b..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bSearchable.js +++ /dev/null @@ -1,71 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.bSeachable" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Columns are searchable by default", - function () { oTable.fnFilter("Camino"); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html().match(/Camino/); } - ); - - oTest.fnTest( - "Disabling sorting on a column removes it from the global filter", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "bSearchable": false }, - null, - null, - null - ] - } ); - oSettings = oTable.fnSettings(); - oTable.fnFilter("Camino"); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnTest( - "Disabled on one column has no effect on other columns", - function () { oTable.fnFilter("Webkit"); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Webkit"; } - ); - - oTest.fnTest( - "Disable filtering on multiple columns", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - { "bSearchable": false }, - { "bSearchable": false }, - null, - null, - null - ] - } ); - oSettings = oTable.fnSettings(); - oTable.fnFilter("Webkit"); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnTest( - "Filter on second disabled column", - function () { oTable.fnFilter("Camino"); }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js deleted file mode 100755 index 4e4548d1c0..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bSortable.js +++ /dev/null @@ -1,109 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.bSortable" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "All columns are sortable by default", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Can disable sorting from one column", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "bSortable": false }, - null, - null, - null - ] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; } - ); - - oTest.fnTest( - "Disabled column has no sorting class", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") == false; } - ); - - oTest.fnTest( - "Other columns can still sort", - function () { - $('#example thead th:eq(4)').click(); - $('#example thead th:eq(4)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; } - ); - - oTest.fnTest( - "Disable sorting on multiple columns - no sorting classes", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "bSortable": false }, - null, - { "bSortable": false }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example thead th:eq(1)').hasClass("sorting") || - $('#example thead th:eq(3)').hasClass("sorting") - return bReturn == false; - } - ); - - oTest.fnTest( - "Sorting on disabled column 1 has no effect", - function () { - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() != "All others"; } - ); - - oTest.fnTest( - "Sorting on disabled column 2 has no effect", - function () { - $('#example thead th:eq(3)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; } - ); - - oTest.fnTest( - "Second sort on disabled column 2 has no effect", - function () { - $('#example thead th:eq(3)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() != "-"; } - ); - - oTest.fnTest( - "Even with multiple disabled sorting columns other columns can still sort", - function () { - $('#example thead th:eq(4)').click(); - $('#example thead th:eq(4)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == "X"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js deleted file mode 100755 index 2e3a94890f..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bUseRendered.js +++ /dev/null @@ -1,148 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.bUseRendered" ); - -/* bUseRendered is used to alter sorting data, if false then the original data is used for - * sorting rather than the rendered data - */ - -$(document).ready( function () { - /* Check the default */ - var mTmp = 0; - - var oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( mTmp == 0 ) { - mTmp++; - return "aaa"; - } else - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Default for bUseRendered is true - rendered data is used for sorting", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'aaa'; } - ); - - oTest.fnTest( - "When bUseRendered is false, original data is used for sorting", - function () { - mTmp = 0; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { - "bUseRendered": false, - "fnRender": function (a) { - if ( mTmp == 0 ) { - mTmp++; - return "aaa"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - null, - null, - null - ] - } ); - $('#example thead th:eq(1)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; } - ); - - - oTest.fnTest( - "bUseRendered set to false on one columns and true (default) on two others", - function () { - mTmp = 0; - var mTmp2 = 0; - var mTmp3 = 0; - - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - { - "fnRender": function (a) { - if ( mTmp == 0 ) { - mTmp++; - return "aaa1"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - { - "bUseRendered": false, - "fnRender": function (a) { - if ( mTmp2 == 0 ) { - mTmp2++; - return "aaa2"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - { - "fnRender": function (a) { - if ( mTmp3 == 0 ) { - mTmp3++; - return "zzz3"; - } else { - return a.aData[a.iDataColumn]; - } - } - }, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'aaa1'; } - ); - - oTest.fnTest( - "Multi-column rendering - 2nd column sorting", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; } - ); - - oTest.fnTest( - "Multi-column rendering - 3rd column sorting", - function () { - $('#example thead th:eq(2)').click(); - $('#example thead th:eq(2)').click(); - }, - function () { return $('#example tbody tr:eq(0) td:eq(2)').html() == 'zzz3'; } - ); - - oTest.fnTest( - "Multi-column rendering - 4th column sorting", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == '-'; } - ); - - oTest.fnTest( - "Multi-column rendering - 5th column sorting", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js deleted file mode 100755 index e38948cefd..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.bVisible.js +++ /dev/null @@ -1,110 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.bVisible" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "All columns are visible by default", - null, - function () { return $('#example tbody tr:eq(0) td').length == 5; } - ); - - oTest.fnTest( - "Can hide one column and it removes td column from DOM", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "bVisible": false }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 4; } - ); - - oTest.fnTest( - "Can hide one column and it removes thead th column from DOM", - null, - function () { return $('#example thead tr:eq(0) th').length == 4; } - ); - - oTest.fnTest( - "Can hide one column and it removes tfoot th column from DOM", - null, - function () { return $('#example tfoot tr:eq(0) th').length == 4; } - ); - - oTest.fnTest( - "The correct tbody column has been hidden", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); - }, - function () { - var jqNodes = $('#example tbody tr:eq(0) td'); - var bReturn = - jqNodes[0].innerHTML == "Gecko" && - jqNodes[1].innerHTML == "Gnome" && - jqNodes[2].innerHTML == "1.8" && - jqNodes[3].innerHTML == "A"; - return bReturn; - } - ); - - - oTest.fnTest( - "Can hide multiple columns and it removes td column from DOM", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "bVisible": false }, - { "bVisible": false }, - null, - { "bVisible": false } - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td').length == 2; } - ); - - oTest.fnTest( - "Multiple hide - removes thead th column from DOM", - null, - function () { return $('#example thead tr:eq(0) th').length == 2; } - ); - - oTest.fnTest( - "Multiple hide - removes tfoot th column from DOM", - null, - function () { return $('#example tfoot tr:eq(0) th').length == 2; } - ); - - oTest.fnTest( - "Multiple hide - the correct tbody columns have been hidden", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); - }, - function () { - var jqNodes = $('#example tbody tr:eq(0) td'); - var bReturn = - jqNodes[0].innerHTML == "Gecko" && - jqNodes[1].innerHTML == "1" - return bReturn; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js deleted file mode 100755 index cb89aeb9cb..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.fnRender.js +++ /dev/null @@ -1,156 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.fnRender" ); - -$(document).ready( function () { - /* Check the default */ - var mTmp = 0; - var oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "fnRender": function (a) { - mTmp++; - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Single column - fnRender is called once for each row", - null, - function () { return mTmp == 57; } - ); - - oTest.fnTest( - "Confirm that fnRender passes two arguments with four parameters", - function () { - mTmp = true; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( arguments.length != 2 || typeof a.iDataRow=='undefined' || - typeof a.iDataColumn=='undefined' || typeof a.aData=='undefined' || - typeof a.mDataProp=='undefined' ) - { - mTmp = false; - } - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - }, - function () { return mTmp; } - ); - - oTest.fnTest( - "fnRender iDataColumn is the column", - function () { - mTmp = true; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( a.iDataColumn != 1 ) - { - mTmp = false; - } - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - }, - function () { return mTmp; } - ); - - oTest.fnTest( - "fnRender aData is data array of correct size", - function () { - mTmp = true; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "fnRender": function (a) { - if ( a.aData.length != 5 ) - { - mTmp = false; - } - return a.aData[a.iDataColumn]; - } }, - null, - null, - null - ] - } ); - }, - function () { return mTmp; } - ); - - oTest.fnTest( - "Passed back data is put into the DOM", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "fnRender": function (a) { - return 'unittest'; - } }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'unittest'; } - ); - - oTest.fnTest( - "Passed back data is put into the DOM", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - null, - { "fnRender": function (a) { - return 'unittest1'; - } }, - { "fnRender": function (a) { - return 'unittest2'; - } }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example tbody tr:eq(0) td:eq(2)').html() == 'unittest1' && - $('#example tbody tr:eq(0) td:eq(3)').html() == 'unittest2'; - return bReturn; } - ); - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js deleted file mode 100755 index 6c0c7057bc..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.iDataSort.js +++ /dev/null @@ -1,90 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.iDataSort" ); - -$(document).ready( function () { - /* Should know that sorting already works by default from other tests, so we can jump - * right in here - */ - var oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "iDataSort": 4 }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Sorting on first column is uneffected", - null, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; } - ); - - oTest.fnTest( - "Sorting on second column is the order of the fifth", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - oTest.fnTest( - "Reserve sorting on second column uses fifth column as well", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; } - ); - - oTest.fnTest( - "Sorting on 5th column retains it's own sorting", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - - oTest.fnTest( - "Use 2nd col for sorting 5th col and via-versa - no effect on first col sorting", - function () { - mTmp = 0; - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "iDataSort": 4 }, - null, - null, - { "iDataSort": 1 } - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko'; } - ); - - oTest.fnTest( - "2nd col sorting uses fifth col", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'A'; } - ); - - oTest.fnTest( - "2nd col sorting uses fifth col - reversed", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(4)').html() == 'X'; } - ); - - oTest.fnTest( - "5th col sorting uses 2nd col", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'All others'; } - ); - - oTest.fnTest( - "5th col sorting uses 2nd col - reversed", - function () { $('#example thead th:eq(4)').click(); }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == 'Seamonkey 1.1'; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sClass.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sClass.js deleted file mode 100755 index b99cf18106..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sClass.js +++ /dev/null @@ -1,115 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.sClass" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "By default the test class hasn't been applied to the column (sanity!)", - null, - function () { return $('#example tbody tr:eq(0) td:eq(2)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - first row", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - null, - { "sClass": 'unittest' }, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(1) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - third row", - null, - function () { return $('#example tbody tr:eq(3) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - last row", - null, - function () { return $('#example tbody tr:eq(9) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to other columns - 1st", - null, - function () { return $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to other columns - 5th", - null, - function () { return $('#example tbody tr:eq(3) td:eq(4)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - seventh row - second page", - function () { $('#example_next').click(); }, - function () { return $('#example tbody tr:eq(6) td:eq(2)').hasClass('unittest'); } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to header", - null, - function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; } - ); - - oTest.fnTest( - "Add a class to a single column - has not applied to footer", - null, - function () { return $('#example thead tr:eq(3) th:eq(4)').hasClass('unittest') == false; } - ); - - - oTest.fnTest( - "Class defined for multiple columns - first row", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - { "sClass": 'unittest2' }, - null, - null, - { "sClass": 'unittest1' }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example tbody tr:eq(3) td:eq(0)').hasClass('unittest2') && - $('#example tbody tr:eq(8) td:eq(3)').hasClass('unittest1'); - return bReturn; - } - ); - - oTest.fnTest( - "Class defined for multiple columns - has not applied to other columns - 5th 1", - null, - function () { return $('#example tbody tr:eq(0) td:eq(4)').hasClass('unittest1') == false; } - ); - - oTest.fnTest( - "Class defined for multiple columns - has not applied to other columns - 5th 2", - null, - function () { return $('#example tbody tr:eq(6) td:eq(4)').hasClass('unittest2') == false; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sName.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sName.js deleted file mode 100755 index b11f58cb4b..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sName.js +++ /dev/null @@ -1,28 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.sName" ); - -/* This has no effect at all in DOM methods - so we just check that it has applied the name */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - null, - null, - { "sName": 'unit test' }, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Names are stored in the columns object", - null, - function () { return oSettings.aoColumns[3].sName =="unit test"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js deleted file mode 100755 index da13f1c29b..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sTitle.js +++ /dev/null @@ -1,82 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.sTitle" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "If not given, then the columns titles are empty", - null, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "Browser" && - jqNodes[2].innerHTML == "Platform(s)" && - jqNodes[3].innerHTML == "Engine version" && - jqNodes[4].innerHTML == "CSS grade"; - return bReturn; - } - ); - - oTest.fnTest( - "Can set a single column title - and others are read from DOM", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "sTitle": 'unit test' }, - null, - null, - null - ] - } ); - }, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "unit test" && - jqNodes[2].innerHTML == "Platform(s)" && - jqNodes[3].innerHTML == "Engine version" && - jqNodes[4].innerHTML == "CSS grade"; - return bReturn; - } - ); - - oTest.fnTest( - "Can set multiple column titles", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - { "sTitle": 'unit test 1' }, - null, - null, - { "sTitle": 'unit test 2' } - ] - } ); - }, - function () { - var jqNodes = $('#example thead tr:eq(0) th'); - var bReturn = - jqNodes[0].innerHTML == "Rendering engine" && - jqNodes[1].innerHTML == "unit test 1" && - jqNodes[2].innerHTML == "Platform(s)" && - jqNodes[3].innerHTML == "Engine version" && - jqNodes[4].innerHTML == "unit test 2"; - return bReturn; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js deleted file mode 100755 index 960c0561ef..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoColumns.sWidth.js +++ /dev/null @@ -1,87 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoColumns.sWidth" ); - -/* NOTE - we need to disable the auto width for the majority of these test in order to preform - * these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests - * with auto width enabled however to ensure it scales columns as required - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData, - "bAutoWidth": false, - "aoColumns": [ - null, - { "sWidth": '40%' }, - null, - null, - null - ] - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "With auto width disabled the width for one column is appled", - null, - function () { return $('#example thead th:eq(1)')[0].style.width == "40%"; } - ); - - oTest.fnTest( - "With auto width disabled the width for one column is appled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "bAutoWidth": false, - "aoColumns": [ - null, - null, - { "sWidth": '20%' }, - { "sWidth": '30%' }, - null - ] - } ); - }, - function () { - var bReturn = - $('#example thead th:eq(2)')[0].style.width == "20%" && - $('#example thead th:eq(3)')[0].style.width == "30%"; - return bReturn; - } - ); - - - oTest.fnTest( - "With auto width, it will make the smallest column the largest with percentage width given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoColumns": [ - null, - null, - null, - { "sWidth": '40%' }, - null - ] - } ); - }, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - - if ( a3>a0 && a3>a1 && a3>a2 && a3>a4 ) - return true; - else - return false; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoSearchCols.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoSearchCols.js deleted file mode 100644 index ac70b38766..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/aoSearchCols.js +++ /dev/null @@ -1,119 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "aoSearchCols" ); - -/* We could be here forever testing this one, so we test a limited subset on a couple of colums */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Default should be to have a empty colums array", - null, - function () { - var bReturn = - oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex && - oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex && - oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex && - oSettings.aoPreSearchCols[3].sSearch == 0 && !oSettings.aoPreSearchCols[3].bRegex && - oSettings.aoPreSearchCols[4].sSearch == 0 && !oSettings.aoPreSearchCols[4].bRegex; - return bReturn; - } - ); - - - oTest.fnTest( - "Search on a single column - no regex statement given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoSearchCols": [ - null, - { "sSearch": "Mozilla" }, - null, - { "sSearch": "1" }, - null - ] - } ); - }, - function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Search on two columns - no regex statement given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoSearchCols": [ - null, - { "sSearch": "Mozilla" }, - null, - { "sSearch": "1.5" }, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; } - ); - - oTest.fnTest( - "Search on single column - escape regex false", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - null, - null, - null, - null - ] - } ); - }, - function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; } - ); - - oTest.fnTest( - "Search on two columns - escape regex false on first, true on second", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - { "sSearch": "3.3", "bEscapeRegex": true }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; } - ); - - oTest.fnTest( - "Search on two columns (no records) - escape regex false on first, true on second", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - { "sSearch": "Allan", "bEscapeRegex": true }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/asStripClasses.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/asStripClasses.js deleted file mode 100644 index fa3af8272e..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/asStripClasses.js +++ /dev/null @@ -1,100 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "asStripeClasses" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "aaData": gaaData - } ); - - oTest.fnTest( - "Default row striping is applied", - null, - function () { - return $('#example tbody tr:eq(0)').hasClass('odd') && - $('#example tbody tr:eq(1)').hasClass('even') && - $('#example tbody tr:eq(2)').hasClass('odd') && - $('#example tbody tr:eq(3)').hasClass('even'); - } - ); - - oTest.fnTest( - "Row striping on the second page", - function () { $('#example_next').click(); }, - function () { - return $('#example tbody tr:eq(0)').hasClass('odd') && - $('#example tbody tr:eq(1)').hasClass('even') && - $('#example tbody tr:eq(2)').hasClass('odd') && - $('#example tbody tr:eq(3)').hasClass('even'); - } - ); - - /* No striping */ - oTest.fnTest( - "No row striping", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "asStripeClasses": [] - } ); - }, - function () { - return $('#example tbody tr:eq(0)')[0].className == "" && - $('#example tbody tr:eq(1)')[0].className == "" && - $('#example tbody tr:eq(2)')[0].className == "" && - $('#example tbody tr:eq(3)')[0].className == ""; - } - ); - - /* Custom striping */ - oTest.fnTest( - "Custom striping [2]", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "asStripeClasses": [ 'test1', 'test2' ] - } ); - }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test1') && - $('#example tbody tr:eq(3)').hasClass('test2'); - } - ); - - - /* long array of striping */ - oTest.fnTest( - "Custom striping [4]", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ] - } ); - }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test3') && - $('#example tbody tr:eq(3)').hasClass('test4'); - } - ); - - oTest.fnTest( - "Custom striping is restarted on second page [2]", - function () { $('#example_next').click(); }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test3') && - $('#example tbody tr:eq(3)').hasClass('test4'); - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bAutoWidth.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bAutoWidth.js deleted file mode 100644 index 094fe15bdc..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bAutoWidth.js +++ /dev/null @@ -1,142 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bAutoWidth" ); - -/* It's actually a little tricky to test this. We can't test absolute numbers because - * different browsers and different platforms will render the width of the columns slightly - * differently. However, we certainly can test the principle of what should happen (column - * width doesn't change over pages) - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Auto width is enabled by default", - null, - function () { return oSettings.oFeatures.bAutoWidth; } - ); - - oTest.fnTest( - "First column has a width assigned to it", - null, - function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); } - ); - - /* - This would seem like a better test - but there appear to be difficulties with tables - which are bigger (calculated) than there is actually room for. I suspect this is actually - a bug in datatables - oTest.fnTest( - "Check column widths on first page match second page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - console.log( a0, b0, a1, b1, a2, b2, a3, b3 ); - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return true; - else - return false; - } - ); - - oTest.fnTest( - "Check column widths on second page match thid page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return true; - else - return false; - } - ); - */ - - /* Check can disable */ - oTest.fnTest( - "Auto width can be disabled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "bAutoWidth": false - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bAutoWidth == false; } - ); - - oTest.fnTest( - "First column does not have a width assigned to it", - null, - function () { return $('#example thead th:eq(0)').attr('style') == null; } - ); - - /* - oTest.fnTest( - "Check column widths on first page do not match second page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return false; - else - return true; - } - ); - */ - - /* Enable makes no difference */ - oTest.fnTest( - "Auto width enabled override", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "bAutoWidth": true - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bAutoWidth; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bFilter.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bFilter.js deleted file mode 100644 index d838e4adf7..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bFilter.js +++ /dev/null @@ -1,44 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bFilter" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "aaData": gaaData - } ); - - oTest.fnTest( - "Filtering div exists by default", - null, - function () { return document.getElementById('example_filter') != null; } - ); - - /* Check can disable */ - oTest.fnTest( - "Fltering can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bFilter": false - } ); - }, - function () { return document.getElementById('example_filter') == null; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Filtering enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bFilter": true - } ); - }, - function () { return document.getElementById('example_filter') != null; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bInfo.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bInfo.js deleted file mode 100644 index 60a42734ca..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bInfo.js +++ /dev/null @@ -1,44 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bInfo" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "aaData": gaaData - } ); - - oTest.fnTest( - "Info div exists by default", - null, - function () { return document.getElementById('example_info') != null; } - ); - - /* Check can disable */ - oTest.fnTest( - "Info can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bInfo": false - } ); - }, - function () { return document.getElementById('example_info') == null; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Info enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bInfo": true - } ); - }, - function () { return document.getElementById('example_info') != null; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bLengthChange.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bLengthChange.js deleted file mode 100644 index d67b4d2d83..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bLengthChange.js +++ /dev/null @@ -1,75 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bLengthChange" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "aaData": gaaData - } ); - - oTest.fnTest( - "Length div exists by default", - null, - function () { return document.getElementById('example_length') != null; } - ); - - oTest.fnTest( - "Four default options", - null, - function () { return $("select[name=example_length] option").length == 4; } - ); - - oTest.fnTest( - "Default options", - null, - function () { - var opts = $("select[name='example_length'] option"); - return opts[0].getAttribute('value') == 10 && opts[1].getAttribute('value') == 25 && - opts[2].getAttribute('value') == 50 && opts[3].getAttribute('value') == 100; - } - ); - - oTest.fnTest( - "Info takes length into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Check can disable */ - oTest.fnTest( - "Change length can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bLengthChange": false - } ); - }, - function () { return document.getElementById('example_length') == null; } - ); - - oTest.fnTest( - "Information takes length disabled into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Length change enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bLengthChange": true - } ); - }, - function () { return document.getElementById('example_length') != null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bPaginate.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bPaginate.js deleted file mode 100644 index d386bbf07c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bPaginate.js +++ /dev/null @@ -1,59 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bPaginate" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "aaData": gaaData - } ); - - oTest.fnTest( - "Pagiantion div exists by default", - null, - function () { return document.getElementById('example_paginate') != null; } - ); - - oTest.fnTest( - "Information div takes paging into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Check can disable */ - oTest.fnTest( - "Pagiantion can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bPaginate": false - } ); - }, - function () { return document.getElementById('example_paginate') == null; } - ); - - oTest.fnTest( - "Information div takes paging disabled into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 57 of 57 entries"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Pagiantion enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bPaginate": true - } ); - }, - function () { return document.getElementById('example_paginate') != null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bProcessing.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bProcessing.js deleted file mode 100644 index 1408656f6d..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bProcessing.js +++ /dev/null @@ -1,103 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bProcessing" ); - -/* It's actually a bit hard to set this one due to the fact that it will only be shown - * when DataTables is doing some kind of processing. The server-side processing is a bit - * better to test this than here - so we just the interal functions to enable it and check - * that it is available - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Processing is off by default", - null, - function () { return oSettings.oFeatures.bProcessing == false; } - ); - - oTest.fnTest( - "Processing div is not in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnTest( - "Processing div cannot be shown", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnTest( - "Processing div cannot be hidden", - function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - - /* Check can disable */ - oTest.fnTest( - "Processing can be enabled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "bProcessing": true - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bProcessing == true; } - ); - - oTest.fnTest( - "Processing div is in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing'); } - ); - - oTest.fnTest( - "Processing div is hidden by default", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing').style.visibility = "hidden"; } - ); - - oTest.fnTest( - "Processing div can be shown", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing').style.visibility = "visible"; } - ); - - oTest.fnTest( - "Processing div can be hidden", - function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); }, - function () { return document.getElementById('example_processing').style.visibility = "hidden"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Processing disabled override", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "aaData": gaaData, - "bProcessing": false - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bProcessing == false; } - ); - - oTest.fnTest( - "Processing div is not in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bServerSide.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bServerSide.js deleted file mode 100644 index 65c75b1a44..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bServerSide.js +++ /dev/null @@ -1,20 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bServerSide" ); - -/* Not interested in server-side processing here other than to check that it is off */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "Server side is off by default", - null, - function () { return oSettings.oFeatures.bServerSide == false; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bSort.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bSort.js deleted file mode 100644 index 9107937b64..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bSort.js +++ /dev/null @@ -1,99 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bSort" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "aaData": gaaData - } ); - - oTest.fnTest( - "Sorting is on by default", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - oTest.fnTest( - "Sorting Asc by default class applied", - null, - function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); } - ); - - oTest.fnTest( - "Click on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting class removed from first column", - null, - function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; } - ); - - oTest.fnTest( - "Sorting asc class applied to second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); } - ); - - oTest.fnTest( - "Reverse on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Sorting acs class removed from second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; } - ); - - oTest.fnTest( - "Sorting desc class applied to second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); } - ); - - /* Check can disable */ - oTest.fnTest( - "Pagiantion can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bSort": false - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Click on second column has no effect", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - oTest.fnTest( - "Reverse on second column has no effect", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - /* Enable makes no difference */ - oTest.fnTest( - "Sorting enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bSort": true - } ); - }, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bSortClasses.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bSortClasses.js deleted file mode 100644 index 5726561f82..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/bSortClasses.js +++ /dev/null @@ -1,132 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "bSortClasses" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "aaData": gaaData - } ); - - oTest.fnTest( - "Sorting classes are applied by default", - null, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); } - ); - - oTest.fnTest( - "Sorting classes are applied to all required cells", - null, - function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); } - ); - - oTest.fnTest( - "Sorting classes are not applied to non-sorting columns", - null, - function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; } - ); - - oTest.fnTest( - "Sorting multi-column - add column 1", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2'); - } - ); - - oTest.fnTest( - "Sorting multi-column - add column 2", - function () { - oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3'); - } - ); - - oTest.fnTest( - "Sorting multi-column - add column 3", - function () { - oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } ); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') && - $('#example tbody tr:eq(0) td:eq(3)').hasClass('sorting_3'); - } - ); - - oTest.fnTest( - "Remove sorting classes on single column sort", - function () { - $('#example thead th:eq(4)').click(); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') == false && - $('#example tbody tr:eq(0) td:eq(3)').hasClass('sorting_3') == false; - } - ); - - oTest.fnTest( - "Sorting class 1 was added", - null, - function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); } - ); - - - /* Check can disable */ - oTest.fnTest( - "Sorting classes can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bSortClasses": false - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; } - ); - - oTest.fnTest( - "Sorting classes disabled - add column 1 - no effect", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false; - } - ); - - oTest.fnTest( - "Sorting classes disabled - add column 2 - no effect", - function () { - oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') == false; - } - ); - - - /* Enable makes no difference */ - oTest.fnTest( - "Sorting classes enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "bSortClasses": true - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnCreatedCell.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnCreatedCell.js deleted file mode 100755 index 59fe717da9..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnCreatedCell.js +++ /dev/null @@ -1,158 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "fnCreatedCell tests" ); - -$(document).ready( function () { - var tmp = 0; - - $('#example').dataTable( { - "aaData": gaaData, - "aoColumnDefs": [ { - fnCreatedCell: function () { - tmp++; - }, - "aTargets": ["_all"] - } ] - } ); - - oTest.fnTest( - "Cell created is called once for each cell on init", - null, - function () { return tmp===285; } - ); - - oTest.fnTest( - "Created isn't called back on other draws", - function () { $('#example th:eq(1)').click(); }, - function () { return tmp===285; } - ); - - oTest.fnTest( - "Four arguments for the function", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments.length !== 4 ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "First argument is a TD element", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[0].nodeName !== "TD" ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Second argument is the HTML value", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[1] != $('td').html() ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Third argument is the data array", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[2].length !== 5 ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Fourth argument is the data source for the row", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[2] !== this.fnSettings().aoData[ arguments[2] ]._aData ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Fifth argument is the the col index", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[1] != $('td:eq('+arguments[4]+')', arguments[0].parentNode).html() ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ] - } ); - }, - function () { return tmp; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnCreatedRow.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnCreatedRow.js deleted file mode 100755 index 72b2dddea2..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnCreatedRow.js +++ /dev/null @@ -1,121 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "fnCreatedRow tests" ); - -$(document).ready( function () { - var tmp = 0; - - $('#example').dataTable( { - "aaData": gaaData, - fnCreatedRow: function () { - tmp++; - } - } ); - - oTest.fnTest( - "Row created is called once for each row on init", - null, - function () { return tmp===57; } - ); - - oTest.fnTest( - "Created isn't called back on other draws", - function () { $('#example th:eq(1)').click(); }, - function () { return tmp===57; } - ); - - oTest.fnTest( - "Three arguments for the function", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - fnCreatedRow: function () { - if ( arguments.length !== 3 ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "First argument is a TR element", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - fnCreatedRow: function () { - if ( arguments[0].nodeName !== "TR" ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Second argument is an array with 5 elements", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - fnCreatedRow: function () { - if ( arguments[1].length !== 5 ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Third argument is the data source for the row", - function () { - oSession.fnRestore(); - tmp = true; - - $('#example').dataTable( { - "aaData": gaaData, - fnCreatedRow: function () { - if ( arguments[1] !== this.fnSettings().aoData[ arguments[2] ]._aData ) { - tmp = false; - } - } - } ); - }, - function () { return tmp; } - ); - - oTest.fnTest( - "TR element is tied to the correct data", - function () { - oSession.fnRestore(); - tmp = false; - - $('#example').dataTable( { - "aaData": gaaData, - fnCreatedRow: function (tr, data, index) { - if ( data[1] === "Firefox 1.0" ) { - if ( $('td:eq(3)', tr).html() == "1.7" ) { - tmp = true; - } - } - } - } ); - }, - function () { return tmp; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnDrawCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnDrawCallback.js deleted file mode 100644 index 28d5871d2a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnDrawCallback.js +++ /dev/null @@ -1,85 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "fnDrawCallback" ); - -/* Fairly boring function compared to the others! */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - var mPass; - - oTest.fnTest( - "Default should be null", - null, - function () { return oSettings.fnDrawCallback == null; } - ); - - - oTest.fnTest( - "One argument passed", - function () { - oSession.fnRestore(); - - mPass = -1; - $('#example').dataTable( { - "aaData": gaaData, - "fnDrawCallback": function ( ) { - mPass = arguments.length; - } - } ); - }, - function () { return mPass == 1; } - ); - - - oTest.fnTest( - "That one argument is the settings object", - function () { - oSession.fnRestore(); - - oTable = $('#example').dataTable( { - "aaData": gaaData, - "fnDrawCallback": function ( oSettings ) { - mPass = oSettings; - } - } ); - }, - function () { return oTable.fnSettings() == mPass; } - ); - - - oTest.fnTest( - "fnRowCallback called once on first draw", - function () { - oSession.fnRestore(); - - mPass = 0; - $('#example').dataTable( { - "aaData": gaaData, - "fnDrawCallback": function ( ) { - mPass++; - } - } ); - }, - function () { return mPass == 1; } - ); - - oTest.fnTest( - "fnRowCallback called once on each draw there after as well", - function () { - $('#example_next').click(); - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return mPass == 4; } - ); - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnFooterCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnFooterCallback.js deleted file mode 100644 index f16b921cb4..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/2_js/fnFooterCallback.js +++ /dev/null @@ -1,240 +0,0 @@ -// DATA_TEMPLATE: js_data -oTest.fnStart( "fnFooterCallback" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "aaData": gaaData - } ); - var oSettings = oTable.fnSettings(); - var mPass; - - oTest.fnTest( - "Default should be null", - null, - function () { return oSettings.fnFooterCallback == null; } - ); - - - oTest.fnTest( - "Five arguments passed", - function () { - oSession.fnRestore(); - - mPass = -1; - $('#example').dataTable( { - "aaData": gaaData, - "fnFooterCallback": function ( ) { - mPass = arguments.length; - } - } ); - }, - function () { return mPass == 5; } - ); - - - oTest.fnTest( - "fnRowCallback called once per draw", - function () { - oSession.fnRestore(); - - mPass = 0; - $('#example').dataTable( { - "aaData": gaaData, - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - mPass++; - } - } ); - }, - function () { return mPass == 1; } - ); - - oTest.fnTest( - "fnRowCallback called on paging (i.e. another draw)", - function () { $('#example_next').click(); }, - function () { return mPass == 2; } - ); - - - oTest.fnTest( - "fnRowCallback allows us to alter row information", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "aaData": gaaData, - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - nFoot.getElementsByTagName('th')[0].innerHTML = "Displaying "+(iEnd-iStart)+" records"; - } - } ); - }, - function () { return $('#example tfoot th:eq(0)').html() == "Displaying 10 records"; } - ); - - - oTest.fnTest( - "Data array has length matching original data", - function () { - oSession.fnRestore(); - - mPass = true; - $('#example').dataTable( { - "aaData": gaaData, - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - if ( aasData.length != 57 ) - { - mPass = false; - } - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnTest( - "Data array's column lengths match original data", - function () { - oSession.fnRestore(); - - mPass = true; - $('#example').dataTable( { - "aaData": gaaData, - "fnFooterCallback": function ( nFoot, aasData, iStart, iEnd, aiDisplay ) { - for ( var i=0, iLen=aasData.length ; i' - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.sDom == '<"wrapper"flipt>'; } - ); - - oTest.fnTest( - "Check example 1 in DOM", - null, - function () { - var jqNodes = $('#demo div, #demo table'); - var nNodes = []; - - /* Strip the paging nodes */ - for ( var i=0, iLen=jqNodes.length ; iip>' - } ); - }, - function () { - var jqNodes = $('#demo div, #demo table'); - var nNodes = []; - var nCustomWrappers = [] - - /* Strip the paging nodes */ - for ( var i=0, iLen=jqNodes.length ; ia0 && a3>a1 && a3>a2 && a3>a4 ) - return true; - else - return false; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/aoSearchCols.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/aoSearchCols.js deleted file mode 100644 index d0a9a6be22..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/aoSearchCols.js +++ /dev/null @@ -1,119 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "aoSearchCols" ); - -/* We could be here forever testing this one, so we test a limited subset on a couple of colums */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Default should be to have a empty colums array", - null, - function () { - var bReturn = - oSettings.aoPreSearchCols[0].sSearch == 0 && !oSettings.aoPreSearchCols[0].bRegex && - oSettings.aoPreSearchCols[1].sSearch == 0 && !oSettings.aoPreSearchCols[1].bRegex && - oSettings.aoPreSearchCols[2].sSearch == 0 && !oSettings.aoPreSearchCols[2].bRegex && - oSettings.aoPreSearchCols[3].sSearch == 0 && !oSettings.aoPreSearchCols[3].bRegex && - oSettings.aoPreSearchCols[4].sSearch == 0 && !oSettings.aoPreSearchCols[4].bRegex; - return bReturn; - } - ); - - - oTest.fnWaitTest( - "Search on a single column - no regex statement given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoSearchCols": [ - null, - { "sSearch": "Mozilla" }, - null, - { "sSearch": "1" }, - null - ] - } ); - }, - function () { return $('#example_info').html() == "Showing 1 to 9 of 9 entries (filtered from 57 total entries)"; } - ); - - oTest.fnWaitTest( - "Search on two columns - no regex statement given", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoSearchCols": [ - null, - { "sSearch": "Mozilla" }, - null, - { "sSearch": "1.5" }, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(3)').html() == "1.5"; } - ); - - oTest.fnWaitTest( - "Search on single column - escape regex false", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - null, - null, - null, - null - ] - } ); - }, - function () { return $('#example_info').html() == "Showing 1 to 3 of 3 entries (filtered from 57 total entries)"; } - ); - - oTest.fnWaitTest( - "Search on two columns - escape regex false on first, true on second", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - { "sSearch": "3.3", "bEscapeRegex": true }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Konqureror 3.3"; } - ); - - oTest.fnWaitTest( - "Search on two columns (no records) - escape regex false on first, true on second", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoSearchCols": [ - { "sSearch": ".*ML", "bEscapeRegex": false }, - { "sSearch": "Allan", "bEscapeRegex": true }, - null, - null, - null - ] - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/asStripClasses.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/asStripClasses.js deleted file mode 100644 index b195c405b0..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/asStripClasses.js +++ /dev/null @@ -1,105 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "asStripeClasses" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Default row striping is applied", - null, - function () { - return $('#example tbody tr:eq(0)').hasClass('odd') && - $('#example tbody tr:eq(1)').hasClass('even') && - $('#example tbody tr:eq(2)').hasClass('odd') && - $('#example tbody tr:eq(3)').hasClass('even'); - } - ); - - oTest.fnWaitTest( - "Row striping on the second page", - function () { $('#example_next').click(); }, - function () { - return $('#example tbody tr:eq(0)').hasClass('odd') && - $('#example tbody tr:eq(1)').hasClass('even') && - $('#example tbody tr:eq(2)').hasClass('odd') && - $('#example tbody tr:eq(3)').hasClass('even'); - } - ); - - /* No striping */ - oTest.fnWaitTest( - "No row striping", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "asStripeClasses": [] - } ); - }, - function () { - if ( typeof $('#example tbody tr:eq(1)')[0] == 'undefined' ) - { - /* Use the 'wait for' to allow this to become true */ - return false; - } - return $('#example tbody tr:eq(0)')[0].className == "" && - $('#example tbody tr:eq(1)')[0].className == "" && - $('#example tbody tr:eq(2)')[0].className == "" && - $('#example tbody tr:eq(3)')[0].className == ""; - } - ); - - /* Custom striping */ - oTest.fnWaitTest( - "Custom striping [2]", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "asStripeClasses": [ 'test1', 'test2' ] - } ); - }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test1') && - $('#example tbody tr:eq(3)').hasClass('test2'); - } - ); - - - /* long array of striping */ - oTest.fnWaitTest( - "Custom striping [4]", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "asStripeClasses": [ 'test1', 'test2', 'test3', 'test4' ] - } ); - }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test3') && - $('#example tbody tr:eq(3)').hasClass('test4'); - } - ); - - oTest.fnWaitTest( - "Custom striping is restarted on second page [2]", - function () { $('#example_next').click(); }, - function () { - return $('#example tbody tr:eq(0)').hasClass('test1') && - $('#example tbody tr:eq(1)').hasClass('test2') && - $('#example tbody tr:eq(2)').hasClass('test3') && - $('#example tbody tr:eq(3)').hasClass('test4'); - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bAutoWidth.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bAutoWidth.js deleted file mode 100644 index ee49f7c107..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bAutoWidth.js +++ /dev/null @@ -1,142 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bAutoWidth" ); - -/* It's actually a little tricky to test this. We can't test absolute numbers because - * different browsers and different platforms will render the width of the columns slightly - * differently. However, we certainly can test the principle of what should happen (column - * width doesn't change over pages) - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Auto width is enabled by default", - null, - function () { return oSettings.oFeatures.bAutoWidth; } - ); - - oTest.fnWaitTest( - "First column has a width assigned to it", - null, - function () { return $('#example thead th:eq(0)').attr('style').match(/width/i); } - ); - - /* - This would seem like a better test - but there appear to be difficulties with tables - which are bigger (calculated) than there is actually room for. I suspect this is actually - a bug in datatables - oTest.fnWaitTest( - "Check column widths on first page match second page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - console.log( a0, b0, a1, b1, a2, b2, a3, b3 ); - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return true; - else - return false; - } - ); - - oTest.fnWaitTest( - "Check column widths on second page match thid page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return true; - else - return false; - } - ); - */ - - /* Check can disable */ - oTest.fnWaitTest( - "Auto width can be disabled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bAutoWidth": false - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bAutoWidth == false; } - ); - - oTest.fnWaitTest( - "First column does not have a width assigned to it", - null, - function () { return $('#example thead th:eq(0)').attr('style') == null; } - ); - - /* - oTest.fnWaitTest( - "Check column widths on first page do not match second page", - null, - function () { - var anThs = $('#example thead th'); - var a0 = anThs[0].offsetWidth; - var a1 = anThs[1].offsetWidth; - var a2 = anThs[2].offsetWidth; - var a3 = anThs[3].offsetWidth; - var a4 = anThs[4].offsetWidth; - $('#example_next').click(); - var b0 = anThs[0].offsetWidth; - var b1 = anThs[1].offsetWidth; - var b2 = anThs[2].offsetWidth; - var b3 = anThs[3].offsetWidth; - var b4 = anThs[4].offsetWidth; - if ( a0==b0 && a1==b1 && a2==b2 && a3==b3 ) - return false; - else - return true; - } - ); - */ - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Auto width enabled override", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bAutoWidth": true - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bAutoWidth; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bFilter.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bFilter.js deleted file mode 100644 index 8c3222939e..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bFilter.js +++ /dev/null @@ -1,44 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bFilter" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Filtering div exists by default", - null, - function () { return document.getElementById('example_filter') != null; } - ); - - /* Check can disable */ - oTest.fnWaitTest( - "Fltering can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bFilter": false - } ); - }, - function () { return document.getElementById('example_filter') == null; } - ); - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Filtering enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bFilter": true - } ); - }, - function () { return document.getElementById('example_filter') != null; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bInfo.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bInfo.js deleted file mode 100644 index 24eeedfad1..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bInfo.js +++ /dev/null @@ -1,44 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bInfo" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Info div exists by default", - null, - function () { return document.getElementById('example_info') != null; } - ); - - /* Check can disable */ - oTest.fnWaitTest( - "Info can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bInfo": false - } ); - }, - function () { return document.getElementById('example_info') == null; } - ); - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Info enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bInfo": true - } ); - }, - function () { return document.getElementById('example_info') != null; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bLengthChange.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bLengthChange.js deleted file mode 100644 index 551878c55a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bLengthChange.js +++ /dev/null @@ -1,75 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bLengthChange" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Length div exists by default", - null, - function () { return document.getElementById('example_length') != null; } - ); - - oTest.fnWaitTest( - "Four default options", - null, - function () { return $("select[name=example_length] option").length == 4; } - ); - - oTest.fnWaitTest( - "Default options", - null, - function () { - var opts = $("select[name='example_length'] option"); - return opts[0].getAttribute('value') == 10 && opts[1].getAttribute('value') == 25 && - opts[2].getAttribute('value') == 50 && opts[3].getAttribute('value') == 100; - } - ); - - oTest.fnWaitTest( - "Info takes length into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Check can disable */ - oTest.fnWaitTest( - "Change length can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bLengthChange": false - } ); - }, - function () { return document.getElementById('example_length') == null; } - ); - - oTest.fnWaitTest( - "Information takes length disabled into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Length change enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bLengthChange": true - } ); - }, - function () { return document.getElementById('example_length') != null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bPaginate.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bPaginate.js deleted file mode 100644 index 6e3ec5e44a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bPaginate.js +++ /dev/null @@ -1,59 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bPaginate" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Pagiantion div exists by default", - null, - function () { return document.getElementById('example_paginate') != null; } - ); - - oTest.fnWaitTest( - "Information div takes paging into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 10 of 57 entries"; } - ); - - /* Check can disable */ - oTest.fnWaitTest( - "Pagiantion can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bPaginate": false - } ); - }, - function () { return document.getElementById('example_paginate') == null; } - ); - - oTest.fnWaitTest( - "Information div takes paging disabled into account", - null, - function () { return document.getElementById('example_info').innerHTML == - "Showing 1 to 57 of 57 entries"; } - ); - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Pagiantion enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bPaginate": true - } ); - }, - function () { return document.getElementById('example_paginate') != null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bProcessing.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bProcessing.js deleted file mode 100644 index 100db8678d..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bProcessing.js +++ /dev/null @@ -1,103 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bProcessing" ); - -/* It's actually a bit hard to set this one due to the fact that it will only be shown - * when DataTables is doing some kind of processing. The server-side processing is a bit - * better to test this than here - so we just the interal functions to enable it and check - * that it is available - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Processing is off by default", - null, - function () { return oSettings.oFeatures.bProcessing == false; } - ); - - oTest.fnWaitTest( - "Processing div is not in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnWaitTest( - "Processing div cannot be shown", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - oTest.fnWaitTest( - "Processing div cannot be hidden", - function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - - /* Check can disable */ - oTest.fnWaitTest( - "Processing can be enabled", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bProcessing": true - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bProcessing == true; } - ); - - oTest.fnWaitTest( - "Processing div is in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing'); } - ); - - oTest.fnWaitTest( - "Processing div is hidden by default", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing').style.visibility = "hidden"; } - ); - - oTest.fnWaitTest( - "Processing div can be shown", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing').style.visibility = "visible"; } - ); - - oTest.fnWaitTest( - "Processing div can be hidden", - function () { oTable.oApi._fnProcessingDisplay( oSettings, false ); }, - function () { return document.getElementById('example_processing').style.visibility = "hidden"; } - ); - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Processing disabled override", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bProcessing": false - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oFeatures.bProcessing == false; } - ); - - oTest.fnWaitTest( - "Processing div is not in the DOM", - function () { oTable.oApi._fnProcessingDisplay( oSettings, true ); }, - function () { return document.getElementById('example_processing') == null; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bServerSide.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bServerSide.js deleted file mode 100644 index 61fdce4b4e..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bServerSide.js +++ /dev/null @@ -1,20 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bServerSide" ); - -/* Not interested in server-side processing here other than to check that it is off */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Server side is off by default", - null, - function () { return oSettings.oFeatures.bServerSide == false; } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bSort.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bSort.js deleted file mode 100644 index 066afee8a1..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bSort.js +++ /dev/null @@ -1,99 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bSort" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Sorting is on by default", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - oTest.fnWaitTest( - "Sorting Asc by default class applied", - null, - function () { return $('#example thead th:eq(0)').hasClass("sorting_asc"); } - ); - - oTest.fnWaitTest( - "Click on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnWaitTest( - "Sorting class removed from first column", - null, - function () { return $('#example thead th:eq(0)').hasClass("sorting_asc") != true; } - ); - - oTest.fnWaitTest( - "Sorting asc class applied to second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc"); } - ); - - oTest.fnWaitTest( - "Reverse on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnWaitTest( - "Sorting acs class removed from second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_asc") != true; } - ); - - oTest.fnWaitTest( - "Sorting desc class applied to second column", - null, - function () { return $('#example thead th:eq(1)').hasClass("sorting_desc"); } - ); - - /* Check can disable */ - oTest.fnWaitTest( - "Pagiantion can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bSort": false - } ); - }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - oTest.fnWaitTest( - "Click on second column has no effect", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - oTest.fnWaitTest( - "Reverse on second column has no effect", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "4"; } - ); - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Sorting enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bSort": true - } ); - }, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bSortClasses.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bSortClasses.js deleted file mode 100644 index b957c8053c..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/bSortClasses.js +++ /dev/null @@ -1,132 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "bSortClasses" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Sorting classes are applied by default", - null, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); } - ); - - oTest.fnWaitTest( - "Sorting classes are applied to all required cells", - null, - function () { return $('#example tbody tr:eq(7) td:eq(0)').hasClass('sorting_1'); } - ); - - oTest.fnWaitTest( - "Sorting classes are not applied to non-sorting columns", - null, - function () { return $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_1') == false; } - ); - - oTest.fnWaitTest( - "Sorting multi-column - add column 1", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2'); - } - ); - - oTest.fnWaitTest( - "Sorting multi-column - add column 2", - function () { - oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3'); - } - ); - - oTest.fnWaitTest( - "Sorting multi-column - add column 3", - function () { - oDispacher.click( $('#example thead th:eq(3)')[0], { 'shift': true } ); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') && - $('#example tbody tr:eq(0) td:eq(3)').hasClass('sorting_3'); - } - ); - - oTest.fnWaitTest( - "Remove sorting classes on single column sort", - function () { - $('#example thead th:eq(4)').click(); - }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') == false && - $('#example tbody tr:eq(0) td:eq(3)').hasClass('sorting_3') == false; - } - ); - - oTest.fnWaitTest( - "Sorting class 1 was added", - null, - function () { return $('#example tbody tr:eq(1) td:eq(4)').hasClass('sorting_1'); } - ); - - - /* Check can disable */ - oTest.fnWaitTest( - "Sorting classes can be disabled", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bSortClasses": false - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false; } - ); - - oTest.fnWaitTest( - "Sorting classes disabled - add column 1 - no effect", - function () { - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false; - } - ); - - oTest.fnWaitTest( - "Sorting classes disabled - add column 2 - no effect", - function () { - oDispacher.click( $('#example thead th:eq(2)')[0], { 'shift': true } ); }, - function () { - return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1') == false && - $('#example tbody tr:eq(0) td:eq(1)').hasClass('sorting_2') == false && - $('#example tbody tr:eq(0) td:eq(2)').hasClass('sorting_3') == false; - } - ); - - - /* Enable makes no difference */ - oTest.fnWaitTest( - "Sorting classes enabled override", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bSortClasses": true - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnCreatedCell.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnCreatedCell.js deleted file mode 100755 index e930d052b4..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnCreatedCell.js +++ /dev/null @@ -1,183 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnCreatedCell tests" ); - -$(document).ready( function () { - var tmp = 0; - var complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoColumnDefs": [ { - fnCreatedCell: function () { - tmp++; - }, - "aTargets": ["_all"] - } ] - } ); - - oTest.fnWaitTest( - "Cell created is called once for each cell on init", - null, - function () { return tmp===285; } - ); - - oTest.fnTest( - "Created isn't called back on other draws", - function () { $('#example th:eq(1)').click(); }, - function () { return tmp===285; } - ); - - oTest.fnWaitTest( - "Four arguments for the function", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments.length !== 4 ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ], - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "First argument is a TD element", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[0].nodeName !== "TD" ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ], - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "Second argument is the HTML value", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[1] != $('td').html() ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ], - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "Third argument is the data array", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[2].length !== 5 ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ], - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "Fourth argument is the data source for the row", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[2] !== this.fnSettings().aoData[ arguments[2] ]._aData ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ], - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "Fifth argument is the the col index", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "aoColumnDefs": [ { - fnCreatedRow: function () { - if ( arguments[1] != $('td:eq('+arguments[4]+')', arguments[0].parentNode).html() ) { - tmp = false; - } - }, - "aTargets": ["_all"] - } ], - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnCreatedRow.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnCreatedRow.js deleted file mode 100755 index 66fc3287fb..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnCreatedRow.js +++ /dev/null @@ -1,142 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnCreatedRow tests" ); - -$(document).ready( function () { - var tmp = 0; - var complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - fnCreatedRow: function () { - tmp++; - } - } ); - - oTest.fnWaitTest( - "Row created is called once for each row on init", - null, - function () { return tmp===57; } - ); - - oTest.fnTest( - "Created isn't called back on other draws", - function () { $('#example th:eq(1)').click(); }, - function () { return tmp===57; } - ); - - oTest.fnWaitTest( - "Three arguments for the function", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - fnCreatedRow: function () { - if ( arguments.length !== 3 ) { - tmp = false; - } - }, - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "First argument is a TR element", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - fnCreatedRow: function () { - if ( arguments[0].nodeName !== "TR" ) { - tmp = false; - } - }, - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "Second argument is an array with 5 elements", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - fnCreatedRow: function () { - if ( arguments[1].length !== 5 ) { - tmp = false; - } - }, - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "Third argument is the data source for the row", - function () { - oSession.fnRestore(); - tmp = true; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - fnCreatedRow: function () { - if ( arguments[1] !== this.fnSettings().aoData[ arguments[2] ]._aData ) { - tmp = false; - } - }, - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - oTest.fnWaitTest( - "TR element is tied to the correct data", - function () { - oSession.fnRestore(); - tmp = false; - complete = false; - - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - fnCreatedRow: function (tr, data, index) { - if ( data[1] === "Firefox 1.0" ) { - if ( $('td:eq(3)', tr).html() == "1.7" ) { - tmp = true; - } - } - }, - fnInitComplete: function () { - complete = true; - } - } ); - }, - function () { return (tmp && complete); } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnDrawCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnDrawCallback.js deleted file mode 100644 index 14c5ff19d7..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnDrawCallback.js +++ /dev/null @@ -1,98 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnDrawCallback" ); - -/* Fairly boring function compared to the others! */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - var mPass, bInit; - - oTest.fnWaitTest( - "Default should be null", - null, - function () { return oSettings.fnDrawCallback == null; } - ); - - - oTest.fnWaitTest( - "One argument passed", - function () { - oSession.fnRestore(); - - mPass = -1; - bInit = false; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnDrawCallback": function ( ) { - mPass = arguments.length; - }, - "fnInitComplete": function () { - bInit = true; - } - } ); - }, - function () { return mPass == 1 && bInit; } - ); - - - oTest.fnWaitTest( - "That one argument is the settings object", - function () { - oSession.fnRestore(); - - bInit = false; - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnDrawCallback": function ( oSettings ) { - mPass = oSettings; - }, - "fnInitComplete": function () { - bInit = true; - } - } ); - }, - function () { return oTable.fnSettings() == mPass && bInit; } - ); - - - /* The draw callback is called once for the init and then when the data is added */ - oTest.fnWaitTest( - "fnRowCallback called once on first draw", - function () { - oSession.fnRestore(); - - mPass = 0; - bInit = false; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnDrawCallback": function ( ) { - mPass++; - }, - "fnInitComplete": function () { - bInit = true; - } - } ); - }, - function () { return mPass == 2 && bInit; } - ); - - oTest.fnWaitTest( - "fnRowCallback called once on each draw there after as well", - function () { - $('#example_next').click(); - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return mPass == 5; } - ); - - - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnHeaderCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnHeaderCallback.js deleted file mode 100644 index dd1612876d..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnHeaderCallback.js +++ /dev/null @@ -1,191 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnHeaderCallback" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - var mPass, bInit; - - oTest.fnWaitTest( - "Default should be null", - null, - function () { return oSettings.fnHeaderCallback == null; } - ); - - - oTest.fnWaitTest( - "Five arguments passed", - function () { - oSession.fnRestore(); - - mPass = -1; - bInit = false; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( ) { - mPass = arguments.length; - }, - "fnInitComplete": function () { - bInit = true; - } - } ); - }, - function () { return mPass == 5 && bInit; } - ); - - - /* The header callback is called once for the init and then when the data is added */ - oTest.fnWaitTest( - "fnHeaderCallback called once per draw", - function () { - oSession.fnRestore(); - - mPass = 0; - bInit = false; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) { - mPass++; - }, - "fnInitComplete": function () { - bInit = true; - } - } ); - }, - function () { return mPass == 2 && bInit; } - ); - - oTest.fnWaitTest( - "fnRowCallback called on paging (i.e. another draw)", - function () { $('#example_next').click(); }, - function () { return mPass == 3; } - ); - - - oTest.fnWaitTest( - "fnRowCallback allows us to alter row information", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) { - nHead.getElementsByTagName('th')[0].innerHTML = "Displaying "+(iEnd-iStart)+" records"; - } - } ); - }, - function () { return $('#example thead th:eq(0)').html() == "Displaying 10 records"; } - ); - - - oTest.fnWaitTest( - "iStart correct on first page", - function () { - oSession.fnRestore(); - - mPass = true; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) { - if ( iStart != 0 ) - { - mPass = false; - } - } - } ); - }, - function () { return mPass; } - ); - - - oTest.fnWaitTest( - "iStart correct on second page", - function () { - oSession.fnRestore(); - - mPass = false; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) { - if ( iStart == 10 ) - { - mPass = true; - } - }, - "fnInitComplete": function () { - $('#example_next').click(); - } - } ); - }, - function () { return mPass; } - ); - - - oTest.fnWaitTest( - "iEnd correct on second page", - function () { - oSession.fnRestore(); - - mPass = false; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) { - if ( iEnd == 20 ) - { - mPass = true; - } - }, - "fnInitComplete": function () { - $('#example_next').click(); - } - } ); - }, - function () { return mPass; } - ); - - - oTest.fnWaitTest( - "aiDisplay length is full data when not filtered", - function () { - oSession.fnRestore(); - - mPass = false; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) { - if ( aiDisplay.length == 57 ) - { - mPass = true; - } - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnWaitTest( - "aiDisplay length is 9 when filtering on 'Mozilla'", - function () { - oSession.fnRestore(); - - mPass = false; - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnHeaderCallback": function ( nHead, aasData, iStart, iEnd, aiDisplay ) { - if ( aiDisplay.length == 9 ) - { - mPass = true; - } - } - } ); - oTable.fnFilter( "Mozilla" ); - }, - function () { return mPass; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnInitComplete.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnInitComplete.js deleted file mode 100644 index fe2c65e4e0..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnInitComplete.js +++ /dev/null @@ -1,100 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnInitComplete" ); - -/* Fairly boring function compared to the others! */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - var mPass; - - oTest.fnWaitTest( - "Default should be null", - null, - function () { return oSettings.fnInitComplete == null; } - ); - - - oTest.fnWaitTest( - "Two arguments passed (for Ajax!)", - function () { - oSession.fnRestore(); - - mPass = -1; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnInitComplete": function ( ) { - mPass = arguments.length; - } - } ); - }, - function () { return mPass == 2; } - ); - - - oTest.fnWaitTest( - "That one argument is the settings object", - function () { - oSession.fnRestore(); - - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnInitComplete": function ( oSettings ) { - mPass = oSettings; - } - } ); - }, - function () { return oTable.fnSettings() == mPass; } - ); - - - oTest.fnWaitTest( - "fnInitComplete called once on first draw", - function () { - oSession.fnRestore(); - - mPass = 0; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnInitComplete": function ( ) { - mPass++; - } - } ); - }, - function () { return mPass == 1; } - ); - - oTest.fnWaitTest( - "fnInitComplete never called there after", - function () { - $('#example_next').click(); - $('#example_next').click(); - $('#example_next').click(); - }, - function () { return mPass == 1; } - ); - - - oTest.fnWaitTest( - "10 rows in the table on complete", - function () { - oSession.fnRestore(); - - mPass = 0; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnInitComplete": function ( ) { - mPass = $('#example tbody tr').length; - } - } ); - }, - function () { return mPass == 10; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnRowCallback.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnRowCallback.js deleted file mode 100644 index 766f09a252..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnRowCallback.js +++ /dev/null @@ -1,112 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnRowCallback" ); - -/* Note - fnRowCallback MUST return the first arguments (modified or not) */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - var mPass; - - oTest.fnWaitTest( - "Default should be null", - null, - function () { return oSettings.fnRowCallback == null; } - ); - - - oTest.fnWaitTest( - "Four arguments passed", - function () { - oSession.fnRestore(); - - mPass = -1; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnRowCallback": function ( nTr ) { - mPass = arguments.length; - return nTr; - } - } ); - }, - function () { return mPass == 4; } - ); - - - oTest.fnWaitTest( - "fnRowCallback called once for each drawn row", - function () { - oSession.fnRestore(); - - mPass = 0; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) { - mPass++; - return nTr; - } - } ); - }, - function () { return mPass == 10; } - ); - - oTest.fnWaitTest( - "fnRowCallback allows us to alter row information", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) { - $(nTr).addClass('unit_test'); - return nTr; - } - } ); - }, - function () { return $('#example tbody tr:eq(1)').hasClass('unit_test'); } - ); - - oTest.fnWaitTest( - "Data array has length matching columns", - function () { - oSession.fnRestore(); - - mPass = true; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) { - if ( asData.length != 5 ) - mPass = false; - return nTr; - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnWaitTest( - "Data array has length matching columns", - function () { - oSession.fnRestore(); - - mPass = true; - var iCount = 0; - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnRowCallback": function ( nTr, asData, iDrawIndex, iDataIndex ) { - if ( iCount != iDrawIndex ) - mPass = false; - iCount++; - return nTr; - } - } ); - }, - function () { return mPass; } - ); - - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnServerData.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnServerData.js deleted file mode 100644 index ab20ba3d24..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnServerData.js +++ /dev/null @@ -1,64 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnServerData for Ajax sourced data" ); - -$(document).ready( function () { - var mPass; - - oTest.fnTest( - "Argument length", - function () { - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnServerData": function () { - mPass = arguments.length; - } - } ); - }, - function () { return mPass == 4; } - ); - - oTest.fnTest( - "Url", - function () { - $('#example').dataTable( { - "bDestroy": true, - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnServerData": function (sUrl, aoData, fnCallback, oSettings) { - mPass = sUrl == "../../../examples/ajax/sources/arrays.txt"; - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnTest( - "Data array", - function () { - $('#example').dataTable( { - "bDestroy": true, - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnServerData": function (sUrl, aoData, fnCallback, oSettings) { - mPass = aoData.length==0; - } - } ); - }, - function () { return mPass; } - ); - - oTest.fnTest( - "Callback function", - function () { - $('#example').dataTable( { - "bDestroy": true, - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "fnServerData": function (sUrl, aoData, fnCallback, oSettings) { - mPass = typeof fnCallback == 'function'; - } - } ); - }, - function () { return mPass; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnServerParams.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnServerParams.js deleted file mode 100644 index 586e8bdb72..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/fnServerParams.js +++ /dev/null @@ -1,82 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "fnServerParams" ); - - -$(document).ready( function () { - /* Check the default */ - var json = {}; - var oTable = $('#example').dataTable( { - "sAjaxSource": "../data_sources/param.php" - } ).on('xhr', function (e, settings, o) { - json = o; - } ); - - oTest.fnWaitTest( - "jQuery anti-cache parameter was sent", - null, - function () { - return json.get && json.get._; - } - ); - - oTest.fnWaitTest( - "No other parameters sent", - null, - function () { - return 1 === $.map( json.get, function (val) { - return val; - } ).length; - } - ); - - oTest.fnWaitTest( - "Send additional parameters", - function () { - oSession.fnRestore(); - json = {}; - - $('#example').dataTable( { - "sAjaxSource": "../data_sources/param.php", - "fnServerParams": function ( data ) { - data.push( { name: 'test', value: 'unit' } ); - } - } ).on('xhr', function (e, settings, o) { - json = o; - } ); - }, - function () { - return json.get && json.get.test === 'unit'; - } - ); - - oTest.fnTest( - "jQuery anti-cache parameter was still sent", - null, - function () { - return json.get._; - } - ); - - oTest.fnWaitTest( - "Send multiple parameters", - function () { - oSession.fnRestore(); - json = {}; - - $('#example').dataTable( { - "sAjaxSource": "../data_sources/param.php", - "fnServerParams": function ( data ) { - data.push( { name: 'test', value: 'unit' } ); - data.push( { name: 'tapestry', value: 'king' } ); - } - } ).on('xhr', function (e, settings, o) { - json = o; - } ); - }, - function () { - return json.get && json.get.test === 'unit' && json.get.tapestry === 'king'; - } - ); - - oTest.fnComplete(); -} ); diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/iDisplayLength.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/iDisplayLength.js deleted file mode 100644 index 69e7abed86..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/iDisplayLength.js +++ /dev/null @@ -1,81 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "iDisplayLength" ); - -$(document).ready( function () { - /* Check the default */ - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - - oTest.fnWaitTest( - "Default length is ten", - null, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnWaitTest( - "Select menu shows 10", - null, - function () { return $('#example_length select').val() == 10; } - ); - - - oTest.fnWaitTest( - "Set initial length to 25", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "iDisplayLength": 25 - } ); - }, - function () { return $('#example tbody tr').length == 25; } - ); - - oTest.fnWaitTest( - "Select menu shows 25", - null, - function () { return $('#example_length select').val() == 25; } - ); - - - oTest.fnWaitTest( - "Set initial length to 100", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "iDisplayLength": 100 - } ); - }, - function () { return $('#example tbody tr').length == 57; } - ); - - oTest.fnWaitTest( - "Select menu shows 25", - null, - function () { return $('#example_length select').val() == 100; } - ); - - - oTest.fnWaitTest( - "Set initial length to 23 (unknown select menu length)", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "iDisplayLength": 23 - } ); - }, - function () { return $('#example tbody tr').length == 23; } - ); - - oTest.fnWaitTest( - "Select menu shows 10 (since 23 is unknow)", - null, - function () { return $('#example_length select').val() == 10; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.oPaginate.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.oPaginate.js deleted file mode 100644 index 0dc5812bf4..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.oPaginate.js +++ /dev/null @@ -1,84 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.oPaginate" ); - -/* Note that the paging language information only has relevence in full numbers */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "sPaginationType": "full_numbers" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "oLanguage.oPaginate defaults", - null, - function () { - var bReturn = - oSettings.oLanguage.oPaginate.sFirst == "First" && - oSettings.oLanguage.oPaginate.sPrevious == "Previous" && - oSettings.oLanguage.oPaginate.sNext == "Next" && - oSettings.oLanguage.oPaginate.sLast == "Last"; - return bReturn; - } - ); - - oTest.fnTest( - "oLanguage.oPaginate defaults are in the DOM", - null, - function () { - var bReturn = - $('#example_paginate .first').html() == "First" && - $('#example_paginate .previous').html() == "Previous" && - $('#example_paginate .next').html() == "Next" && - $('#example_paginate .last').html() == "Last"; - return bReturn; - } - ); - - - oTest.fnWaitTest( - "oLanguage.oPaginate can be defined", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "sPaginationType": "full_numbers", - "oLanguage": { - "oPaginate": { - "sFirst": "unit1", - "sPrevious": "test2", - "sNext": "unit3", - "sLast": "test4" - } - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { - var bReturn = - oSettings.oLanguage.oPaginate.sFirst == "unit1" && - oSettings.oLanguage.oPaginate.sPrevious == "test2" && - oSettings.oLanguage.oPaginate.sNext == "unit3" && - oSettings.oLanguage.oPaginate.sLast == "test4"; - return bReturn; - } - ); - - oTest.fnTest( - "oLanguage.oPaginate definitions are in the DOM", - null, - function () { - var bReturn = - $('#example_paginate .first').html() == "unit1" && - $('#example_paginate .previous').html() == "test2" && - $('#example_paginate .next').html() == "unit3" && - $('#example_paginate .last').html() == "test4"; - return bReturn; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfo.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfo.js deleted file mode 100644 index 1a72a0a806..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfo.js +++ /dev/null @@ -1,117 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sInfo" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default", - null, - function () { return oSettings.oLanguage.sInfo == "Showing _START_ to _END_ of _TOTAL_ entries"; } - ); - - oTest.fnTest( - "Info language default is in the DOM", - null, - function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; } - ); - - - oTest.fnWaitTest( - "Info language can be defined - without any macros", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfo": "unit test" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oLanguage.sInfo == "unit test"; } - ); - - oTest.fnTest( - "Info language definition is in the DOM", - null, - function () { return document.getElementById('example_info').innerHTML = "unit test"; } - ); - - oTest.fnWaitTest( - "Info language can be defined - with macro _START_ only", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfo": "unit _START_ test" - } - } ); - }, - function () { return document.getElementById('example_info').innerHTML = "unit 1 test"; } - ); - - oTest.fnWaitTest( - "Info language can be defined - with macro _END_ only", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfo": "unit _END_ test" - } - } ); - }, - function () { return document.getElementById('example_info').innerHTML = "unit 10 test"; } - ); - - oTest.fnWaitTest( - "Info language can be defined - with macro _TOTAL_ only", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfo": "unit _END_ test" - } - } ); - }, - function () { return document.getElementById('example_info').innerHTML = "unit 57 test"; } - ); - - oTest.fnWaitTest( - "Info language can be defined - with macros _START_ and _END_", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfo": "unit _START_ _END_ test" - } - } ); - }, - function () { return document.getElementById('example_info').innerHTML = "unit 1 10 test"; } - ); - - oTest.fnWaitTest( - "Info language can be defined - with macros _START_, _END_ and _TOTAL_", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfo": "unit _START_ _END_ _TOTAL_ test" - } - } ); - }, - function () { return document.getElementById('example_info').innerHTML = "unit 1 10 57 test"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js deleted file mode 100644 index a5066cf8f0..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoEmpty.js +++ /dev/null @@ -1,79 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sInfoEmpty" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Info empty language is 'Showing 0 to 0 of 0 entries' by default", - function () { oTable.fnFilter("nothinghere"); }, - function () { return oSettings.oLanguage.sInfoEmpty == "Showing 0 to 0 of 0 entries"; } - ); - - oTest.fnTest( - "Info empty language default is in the DOM", - null, - function () { - var bReturn = document.getElementById('example_info').innerHTML.replace( - ' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) == - "Showing 0 to 0 of 0 entries"; - return bReturn; - } - ); - - - oTest.fnWaitTest( - "Info empty language can be defined", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfoEmpty": "unit test" - } - } ); - oSettings = oTable.fnSettings(); - oTable.fnFilter("nothinghere"); - }, - function () { return oSettings.oLanguage.sInfoEmpty == "unit test"; } - ); - - oTest.fnTest( - "Info empty language default is in the DOM", - null, - function () { - var bReturn = document.getElementById('example_info').innerHTML.replace( - ' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) == - "unit test"; - return bReturn; - } - ); - - - oTest.fnWaitTest( - "Macro's replaced", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfoEmpty": "unit _START_ _END_ _TOTAL_ test" - } - } ); - oTable.fnFilter("nothinghere"); - }, - function () { - var bReturn = document.getElementById('example_info').innerHTML.replace( - ' '+oSettings.oLanguage.sInfoFiltered.replace( '_MAX_', '57' ), "" ) == - "unit 1 0 0 test"; - return bReturn; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoPostFix.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoPostFix.js deleted file mode 100644 index f91e5dafd2..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sInfoPostFix.js +++ /dev/null @@ -1,78 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sInfoPostFix" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Info post fix language is '' (blank) by default", - null, - function () { return oSettings.oLanguage.sInfoPostFix == ""; } - ); - - oTest.fnTest( - "Width no post fix, the basic info shows", - null, - function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries"; } - ); - - - oTest.fnWaitTest( - "Info post fix language can be defined", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfoPostFix": "unit test" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oLanguage.sInfoPostFix == "unit test"; } - ); - - oTest.fnTest( - "Info empty language default is in the DOM", - null, - function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit test"; } - ); - - - oTest.fnWaitTest( - "Macros have no effect in the post fix", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfoPostFix": "unit _START_ _END_ _TOTAL_ test" - } - } ); - }, - function () { return document.getElementById('example_info').innerHTML = "Showing 1 to 10 of 57 entries unit _START_ _END_ _TOTAL_ test"; } - ); - - - oTest.fnWaitTest( - "Post fix is applied after fintering info", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sInfoPostFix": "unit test" - } - } ); - oTable.fnFilter("nothinghere"); - }, - function () { return document.getElementById('example_info').innerHTML = "Showing 0 to 0 of 0 entries unit (filtered from 57 total entries) test"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sLengthMenu.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sLengthMenu.js deleted file mode 100644 index 6fae948376..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sLengthMenu.js +++ /dev/null @@ -1,111 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sLengthMenu" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Menu language is 'Show _MENU_ entries' by default", - null, - function () { return oSettings.oLanguage.sLengthMenu == "Show _MENU_ entries"; } - ); - - oTest.fnTest( - "_MENU_ macro is replaced by select menu in DOM", - null, - function () { return $('select', oSettings.aanFeatures.l[0]).length == 1 } - ); - - oTest.fnTest( - "A label input is used", - null, - function () { return $('label', oSettings.aanFeatures.l[0]).length == 1 } - ); - - oTest.fnTest( - "Default is put into DOM", - null, - function () { - var anChildren = $('label',oSettings.aanFeatures.l[0])[0].childNodes; - var bReturn = - anChildren[0].nodeValue == "Show " && - anChildren[2].nodeValue == " entries"; - return bReturn; - } - ); - - - oTest.fnWaitTest( - "Menu length language can be defined - no _MENU_ macro", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sLengthMenu": "unit test" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oLanguage.sLengthMenu == "unit test"; } - ); - - oTest.fnTest( - "Menu length language definition is in the DOM", - null, - function () { - return $('label', oSettings.aanFeatures.l[0]).text() == "unit test"; - } - ); - - - oTest.fnWaitTest( - "Menu length language can be defined - with _MENU_ macro", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sLengthMenu": "unit _MENU_ test" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { - var anChildren = $('label',oSettings.aanFeatures.l[0])[0].childNodes; - var bReturn = - anChildren[0].nodeValue == "unit " && - anChildren[2].nodeValue == " test"; - return bReturn; - } - ); - - - oTest.fnWaitTest( - "Only the _MENU_ macro", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sLengthMenu": "_MENU_" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { - var anChildren = oSettings.aanFeatures.l[0].childNodes; - var bReturn = - anChildren.length == 1 && - $('select', oSettings.aanFeatures.l[0]).length == 1; - return bReturn; - } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sLoadingRecords.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sLoadingRecords.js deleted file mode 100644 index 616b0ef3d9..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sLoadingRecords.js +++ /dev/null @@ -1,65 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sLoadingRecords" ); - -$(document).ready( function () { - var tmp = false; - oTest.fnTest( - "Default loading text is 'Loading...'", - function () { - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - tmp = $('#example tbody tr td')[0].innerHTML == "Loading..."; - }, - function () { return tmp; } - ); - - oTest.fnTest( - "Text can be overriden", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "oLanguage": { - "sLoadingRecords": "unitest" - }, - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - tmp = $('#example tbody tr td')[0].innerHTML == "unitest"; - }, - function () { return tmp; } - ); - - oTest.fnTest( - "When sZeroRecords is given but sLoadingRecords is not, sZeroRecords is used", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "oLanguage": { - "sZeroRecords": "unitest_sZeroRecords" - }, - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - tmp = $('#example tbody tr td')[0].innerHTML == "unitest_sZeroRecords"; - }, - function () { return tmp; } - ); - - oTest.fnTest( - "sLoadingRecords and sZeroRecords both given", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "oLanguage": { - "sZeroRecords": "unitest_sZeroRecords2", - "sLoadingRecords": "unitest2" - }, - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - tmp = $('#example tbody tr td')[0].innerHTML == "unitest2"; - }, - function () { return tmp; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sProcessing.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sProcessing.js deleted file mode 100644 index 39886194b0..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sProcessing.js +++ /dev/null @@ -1,49 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sProcessing" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bProcessing": true - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Processing language is 'Processing...' by default", - null, - function () { return oSettings.oLanguage.sProcessing == "Processing..."; } - ); - - oTest.fnTest( - "Processing language default is in the DOM", - null, - function () { return document.getElementById('example_processing').innerHTML = "Processing..."; } - ); - - - oTest.fnWaitTest( - "Processing language can be defined", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "bProcessing": true, - "oLanguage": { - "sProcessing": "unit test" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oLanguage.sProcessing == "unit test"; } - ); - - oTest.fnTest( - "Processing language definition is in the DOM", - null, - function () { return document.getElementById('example_processing').innerHTML = "unit test"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sSearch.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sSearch.js deleted file mode 100644 index 5a1584d1a4..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sSearch.js +++ /dev/null @@ -1,70 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sSearch" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Search language is 'Search:' by default", - null, - function () { return oSettings.oLanguage.sSearch == "Search:"; } - ); - - oTest.fnTest( - "A label input is used", - null, - function () { return $('label', oSettings.aanFeatures.f[0]).length == 1 } - ); - - oTest.fnTest( - "Search language default is in the DOM", - null, - function () { return $('label', oSettings.aanFeatures.f[0]).text() - == "Search: "; } - ); - - - oTest.fnWaitTest( - "Search language can be defined", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sSearch": "unit test" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oLanguage.sSearch == "unit test"; } - ); - - oTest.fnTest( - "Info language definition is in the DOM", - null, - function () { return $('label', oSettings.aanFeatures.f[0]).text().indexOf('unit test') !== -1; } - ); - - - oTest.fnWaitTest( - "Blank search has a no space (separator) inserted", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sSearch": "" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { return document.getElementById('example_filter').childNodes.length == 1; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sUrl.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sUrl.js deleted file mode 100644 index 5ebfe5ddcc..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sUrl.js +++ /dev/null @@ -1,62 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sUrl" ); - -/* Note that we only test the internal storage of language information pulled form a file here - * as the other language tests will check it goes into the DOM correctly - */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnTest( - "sUrl is blank by default", - null, - function () { return oSettings.oLanguage.sUrl == ""; } - ); - - - oTest.fnWaitTest( - "Loading of German file loads language information", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sUrl": "../../../examples/examples_support/de_DE.txt" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { - var bReturn = - oSettings.oLanguage.sProcessing == "Bitte warten..." && - oSettings.oLanguage.sLengthMenu == "_MENU_ Einträge anzeigen" && - oSettings.oLanguage.sZeroRecords == "Keine Einträge vorhanden." && - oSettings.oLanguage.sInfo == "_START_ bis _END_ von _TOTAL_ Einträgen" && - oSettings.oLanguage.sInfoEmpty == "0 bis 0 von 0 Einträgen" && - oSettings.oLanguage.sInfoFiltered == "(gefiltert von _MAX_ Einträgen)" && - oSettings.oLanguage.sInfoPostFix == "" && - oSettings.oLanguage.sSearch == "Suchen" && - oSettings.oLanguage.oPaginate.sFirst == "Erster" && - oSettings.oLanguage.oPaginate.sPrevious == "Zurück" && - oSettings.oLanguage.oPaginate.sNext == "Nächster" && - oSettings.oLanguage.oPaginate.sLast == "Letzter"; - - return bReturn; - } - ); - - /* One DOM check just to ensure that they go into the DOM */ - oTest.fnTest( - "Loaded language goes into the DOM", - null, - function () { return document.getElementById('example_info').innerHTML = "1 bis 10 von 57 Einträgen"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sZeroRecords.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sZeroRecords.js deleted file mode 100644 index 7dffc1517a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oLanguage.sZeroRecords.js +++ /dev/null @@ -1,48 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oLanguage.sZeroRecords" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Zero records language is 'No matching records found' by default", - null, - function () { return oSettings.oLanguage.sZeroRecords == "No matching records found"; } - ); - - oTest.fnWaitTest( - "Text is shown when empty table (after filtering)", - function () { oTable.fnFilter('nothinghere'); }, - function () { return $('#example tbody tr td')[0].innerHTML == "No matching records found" } - ); - - - - oTest.fnWaitTest( - "Zero records language can be defined", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oLanguage": { - "sZeroRecords": "unit test" - } - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.oLanguage.sZeroRecords == "unit test"; } - ); - - oTest.fnWaitTest( - "Text is shown when empty table (after filtering)", - function () { oTable.fnFilter('nothinghere2'); }, - function () { return $('#example tbody tr td')[0].innerHTML == "unit test" } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oSearch.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oSearch.js deleted file mode 100644 index 42f1b94881..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/oSearch.js +++ /dev/null @@ -1,108 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "oSearch" ); - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Default values should be blank", - null, - function () { - var bReturn = oSettings.oPreviousSearch.sSearch == "" && - !oSettings.oPreviousSearch.bRegex; - return bReturn; - } - ); - - /* This test might be considered iffy since the full object isn't given, but it's reasonable to - * expect DataTables to cope with this. It should just assumine regex false - */ - oTest.fnWaitTest( - "Search term only in object", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oSearch": { - "sSearch": "Mozilla" - } - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; } - ); - - oTest.fnWaitTest( - "New search will kill old one", - function () { - oTable.fnFilter("Opera"); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; } - ); - - oTest.fnWaitTest( - "Search plain text term and escape regex true", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oSearch": { - "sSearch": "DS", - "bRegex": false - } - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Nintendo DS browser"; } - ); - - oTest.fnWaitTest( - "Search plain text term and escape regex false", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oSearch": { - "sSearch": "Opera", - "bRegex": true - } - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Presto"; } - ); - - oTest.fnWaitTest( - "Search regex text term and escape regex true", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oSearch": { - "sSearch": "1.*", - "bRegex": false - } - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "No matching records found"; } - ); - - oTest.fnWaitTest( - "Search regex text term and escape regex false", - function () { - oSession.fnRestore(); - $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "oSearch": { - "sSearch": "1.*", - "bRegex": true - } - } ); - }, - function () { return $('#example tbody tr:eq(0) td:eq(0)').html() == "Gecko"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxDataProp.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxDataProp.js deleted file mode 100644 index 5759c47d25..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxDataProp.js +++ /dev/null @@ -1,139 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "Custom data source property - property given" ); - - -$(document).ready( function () { - var oInit = { - "sAjaxSource": "../../../examples/ajax/sources/custom_prop.txt", - "sAjaxDataProp": "demo" - }; - $('#example').dataTable( oInit ); - - oTest.fnWaitTest( - "10 rows shown on the first page", - null, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnTest( - "Initial sort occured", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - /* Need to use the WaitTest for sorting due to the setTimeout datatables uses */ - oTest.fnTest( - "Sorting (first click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (second click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Sorting (third click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (first click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "-"; } - ); - - oTest.fnTest( - "Sorting (second click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Sorting multi-column (first click)", - function () { - $('#example thead th:eq(0)').click(); - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { var b = - $('#example tbody td:eq(0)').html() == "Gecko" && - $('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; } - ); - - oTest.fnTest( - "Sorting multi-column - sorting second column only", - function () { - $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Basic paging */ - oTest.fnTest( - "Paging to second page", - function () { $('#example_next').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; } - ); - - oTest.fnTest( - "Paging to first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Attempting to page back beyond the first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Changing length */ - oTest.fnTest( - "Changing table length to 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return $('#example tbody tr').length == 25; } - ); - - oTest.fnTest( - "Changing table length to 50 records", - function () { $("select[name=example_length]").val('50').change(); }, - function () { return $('#example tbody tr').length == 50; } - ); - - oTest.fnTest( - "Changing table length to 100 records", - function () { $("select[name=example_length]").val('100').change(); }, - function () { return $('#example tbody tr').length == 57; } - ); - - oTest.fnTest( - "Changing table length to 10 records", - function () { $("select[name=example_length]").val('10').change(); }, - function () { return $('#example tbody tr').length == 10; } - ); - - /* - * Information element - */ - oTest.fnTest( - "Information on zero config", - null, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information on second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 11 to 20 of 57 entries"; } - ); - - oTest.fnTest( - "Information on third page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 21 to 30 of 57 entries"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxDataProp2.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxDataProp2.js deleted file mode 100644 index 646657e325..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxDataProp2.js +++ /dev/null @@ -1,139 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "Custom data source property - array only" ); - - -$(document).ready( function () { - var oInit = { - "sAjaxSource": "../../../examples/ajax/sources/array_only.txt", - "sAjaxDataProp": "" - }; - $('#example').dataTable( oInit ); - - oTest.fnWaitTest( - "10 rows shown on the first page", - null, - function () { return $('#example tbody tr').length == 10; } - ); - - oTest.fnTest( - "Initial sort occured", - null, - function () { return $('#example tbody td:eq(0)').html() == "Gecko"; } - ); - - /* Need to use the WaitTest for sorting due to the setTimeout datatables uses */ - oTest.fnTest( - "Sorting (first click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (second click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "Seamonkey 1.1"; } - ); - - oTest.fnTest( - "Sorting (third click) on second column", - function () { $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Sorting (first click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "-"; } - ); - - oTest.fnTest( - "Sorting (second click) on numeric column", - function () { $('#example thead th:eq(3)').click(); }, - function () { return $('#example tbody td:eq(3)').html() == "522.1"; } - ); - - oTest.fnTest( - "Sorting multi-column (first click)", - function () { - $('#example thead th:eq(0)').click(); - oDispacher.click( $('#example thead th:eq(1)')[0], { 'shift': true } ); }, - function () { var b = - $('#example tbody td:eq(0)').html() == "Gecko" && - $('#example tbody td:eq(1)').html() == "Camino 1.0"; return b; } - ); - - oTest.fnTest( - "Sorting multi-column - sorting second column only", - function () { - $('#example thead th:eq(1)').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Basic paging */ - oTest.fnTest( - "Paging to second page", - function () { $('#example_next').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "IE Mobile"; } - ); - - oTest.fnTest( - "Paging to first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - oTest.fnTest( - "Attempting to page back beyond the first page", - function () { $('#example_previous').click(); }, - function () { return $('#example tbody td:eq(1)').html() == "All others"; } - ); - - /* Changing length */ - oTest.fnTest( - "Changing table length to 25 records", - function () { $("select[name=example_length]").val('25').change(); }, - function () { return $('#example tbody tr').length == 25; } - ); - - oTest.fnTest( - "Changing table length to 50 records", - function () { $("select[name=example_length]").val('50').change(); }, - function () { return $('#example tbody tr').length == 50; } - ); - - oTest.fnTest( - "Changing table length to 100 records", - function () { $("select[name=example_length]").val('100').change(); }, - function () { return $('#example tbody tr').length == 57; } - ); - - oTest.fnTest( - "Changing table length to 10 records", - function () { $("select[name=example_length]").val('10').change(); }, - function () { return $('#example tbody tr').length == 10; } - ); - - /* - * Information element - */ - oTest.fnTest( - "Information on zero config", - null, - function () { return document.getElementById('example_info').innerHTML == "Showing 1 to 10 of 57 entries"; } - ); - - oTest.fnTest( - "Information on second page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 11 to 20 of 57 entries"; } - ); - - oTest.fnTest( - "Information on third page", - function () { $('#example_next').click(); }, - function () { return document.getElementById('example_info').innerHTML == "Showing 21 to 30 of 57 entries"; } - ); - - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxSource.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxSource.js deleted file mode 100644 index b633d09760..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sAjaxSource.js +++ /dev/null @@ -1,22 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "sAjaxSource" ); - -/* Sanitfy check really - all the other tests blast this */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Server side is off by default", - null, - function () { - return oSettings.sAjaxSource == "../../../examples/ajax/sources/arrays.txt"; - } - ); - - oTest.fnComplete(); -} ); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sDom.js b/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sDom.js deleted file mode 100644 index 0af1f5998a..0000000000 --- a/src/sunstone/public/bower_components/datatables/media/unit_testing/tests_onhold/3_ajax/sDom.js +++ /dev/null @@ -1,262 +0,0 @@ -// DATA_TEMPLATE: empty_table -oTest.fnStart( "sDom" ); - -/* This is going to be brutal on the browser! There is a lot that can be tested here... */ - -$(document).ready( function () { - /* Check the default */ - var oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt" - } ); - var oSettings = oTable.fnSettings(); - - oTest.fnWaitTest( - "Default DOM varaible", - null, - function () { return oSettings.sDom == "lfrtip"; } - ); - - oTest.fnWaitTest( - "Default DOM in document", - null, - function () { - var nNodes = $('#demo div, #demo table'); - var nWrapper = document.getElementById('example_wrapper'); - var nLength = document.getElementById('example_length'); - var nFilter = document.getElementById('example_filter'); - var nInfo = document.getElementById('example_info'); - var nPaging = document.getElementById('example_paginate'); - var nTable = document.getElementById('example'); - - var bReturn = - nNodes[0] == nWrapper && - nNodes[1] == nLength && - nNodes[2] == nFilter && - nNodes[3] == nTable && - nNodes[4] == nInfo && - nNodes[5] == nPaging; - return bReturn; - } - ); - - oTest.fnWaitTest( - "Check example 1 in code propagates", - function () { - oSession.fnRestore(); - oTable = $('#example').dataTable( { - "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", - "sDom": '<"wrapper"flipt>' - } ); - oSettings = oTable.fnSettings(); - }, - function () { return oSettings.sDom == '<"wrapper"flipt>'; } - ); - - oTest.fnWaitTest( - "Check example 1 in DOM", - null, - function () { - var jqNodes = $('#demo div, #demo table'); - var nNodes = []; - - /* Strip the paging nodes */ - for ( var i=0, iLen=jqNodes.length ; iip>' - } ); - }, - function () { - var jqNodes = $('#demo div, #demo table'); - var nNodes = []; - var nCustomWrappers = [] - - /* Strip the paging nodes */ - for ( var i=0, iLen=jqNodes.length ; i
'; } }, @@ -4959,7 +5136,9 @@ if ((id && id.length < 1 || !id) && typeof dataSelector != 'string') { dataSelector = this.random_str(6); - $target.attr('data-selector', dataSelector); + $target + .attr('data-selector', dataSelector) + .attr('aria-describedby', dataSelector); } return (id && id.length > 0) ? id : dataSelector; @@ -5119,7 +5298,7 @@ Foundation.libs.topbar = { name : 'topbar', - version: '5.3.3', + version: '5.4.6', settings : { index : 0, @@ -5131,7 +5310,7 @@ scrolltop : true, // jump to top when sticky nav menu toggle is clicked sticky_on : 'all' }, - + init : function (section, method, options) { Foundation.inherit(this, 'add_custom_rule register_media throttle'); var self = this; @@ -5143,7 +5322,7 @@ self.S('[' + this.attr_name() + ']', this.scope).each(function () { var topbar = $(this), settings = topbar.data(self.attr_name(true) + '-init'), - section = self.S('section', this); + section = self.S('section, .top-bar-section', this); topbar.data('index', 0); var topbarContainer = topbar.parent(); if (topbarContainer.hasClass('fixed') || self.is_sticky(topbar, topbarContainer, settings) ) { @@ -5182,7 +5361,7 @@ return true; } else if (sticky && this.small() && settings.sticky_on === 'small') { return (matchMedia(Foundation.media_queries.small).matches && !matchMedia(Foundation.media_queries.medium).matches && - !matchMedia(Foundation.media_queries.large).matches); + !matchMedia(Foundation.media_queries.large).matches); //return true; } else if (sticky && this.medium() && settings.sticky_on === 'medium') { return (matchMedia(Foundation.media_queries.small).matches && matchMedia(Foundation.media_queries.medium).matches && @@ -5209,7 +5388,7 @@ var settings = topbar.data(this.attr_name(true) + '-init'); - var section = self.S('section, .section', topbar); + var section = self.S('section, .top-bar-section', topbar); if (self.breakpoint()) { if (!self.rtl) { @@ -5325,7 +5504,7 @@ var $this = S(this), topbar = $this.closest('[' + self.attr_name() + ']'), - section = topbar.find('section, .section'), + section = topbar.find('section, .top-bar-section'), dropdownHeight = $this.next('.dropdown').outerHeight(), $selectedLi = $this.closest('li'); @@ -5343,10 +5522,13 @@ topbar.css('height', $this.siblings('ul').outerHeight(true) + topbar.data('height')); } }); - - S(window).off('.topbar').on('resize.fndtn.topbar', self.throttle(function () { - self.resize.call(self); - }, 50)).trigger('resize').trigger('resize.fndtn.topbar'); + + S(window).off(".topbar").on("resize.fndtn.topbar", self.throttle(function() { + self.resize.call(self); + }, 50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){ + // Ensure that the offset is calculated after all of the pages resources have loaded + S(this).trigger("resize.fndtn.topbar"); + }); S('body').off('.topbar').on('click.fndtn.topbar', function (e) { var parent = S(e.target).closest('li').closest('li.hover'); @@ -5364,7 +5546,7 @@ var $this = S(this), topbar = $this.closest('[' + self.attr_name() + ']'), - section = topbar.find('section, .section'), + section = topbar.find('section, .top-bar-section'), settings = topbar.data(self.attr_name(true) + '-init'), $movedLi = $this.closest('li.moved'), $previousLevelUl = $movedLi.parent(); @@ -5389,6 +5571,15 @@ $movedLi.removeClass('moved'); }, 300); }); + + // Show dropdown menus when their items are focused + S(this.scope).find('.dropdown a') + .focus(function() { + $(this).parents('.has-dropdown').addClass('hover'); + }) + .blur(function() { + $(this).parents('.has-dropdown').removeClass('hover'); + }); }, resize : function () { @@ -5453,7 +5644,7 @@ assemble : function (topbar) { var self = this, settings = topbar.data(this.attr_name(true) + '-init'), - section = self.S('section', topbar); + section = self.S('section, .top-bar-section', topbar); // Pull element out of the DOM for manipulation section.detach(); @@ -5472,7 +5663,7 @@ } else { $titleLi = $('
  • '); } - + // Copy link to subnav if (settings.custom_back_text == true) { $('h5>a', $titleLi).html(settings.back_text); @@ -5500,8 +5691,8 @@ var total = 0, self = this; - $('> li', ul).each(function () { - total += self.S(this).outerHeight(true); + $('> li', ul).each(function () { + total += self.S(this).outerHeight(true); }); return total; @@ -5517,7 +5708,7 @@ update_sticky_positioning: function() { var klass = '.' + this.settings.sticky_class, - $window = this.S(window), + $window = this.S(window), self = this; if (self.settings.sticky_topbar && self.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(), this.settings)) { @@ -5545,4 +5736,4 @@ reflow : function () {} }; -}(jQuery, this, this.document)); +}(jQuery, window, window.document)); diff --git a/src/sunstone/public/bower_components/foundation/js/foundation.min.js b/src/sunstone/public/bower_components/foundation/js/foundation.min.js index 065e6be3e4..9c59e36abc 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation.min.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation.min.js @@ -1,3 +1,4 @@ -!function(a,b,c,d){"use strict";function e(a){return("string"==typeof a||a instanceof String)&&(a=a.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,"")),a}var f=function(b){for(var c=b.length,d=a("head");c--;)0===d.has("."+b[c]).length&&d.append('')};f(["foundation-mq-small","foundation-mq-medium","foundation-mq-large","foundation-mq-xlarge","foundation-mq-xxlarge","foundation-data-attribute-namespace"]),a(function(){"undefined"!=typeof FastClick&&"undefined"!=typeof c.body&&FastClick.attach(c.body)});var g=function(b,d){if("string"==typeof b){if(d){var e;if(d.jquery){if(e=d[0],!e)return d}else e=d;return a(e.querySelectorAll(b))}return a(c.querySelectorAll(b))}return a(b,d)},h=function(a){var b=[];return a||b.push("data"),this.namespace.length>0&&b.push(this.namespace),b.push(this.name),b.join("-")},i=function(a){for(var b=a.split("-"),c=b.length,d=[];c--;)0!==c?d.push(b[c]):this.namespace.length>0?d.push(this.namespace,b[c]):d.push(b[c]);return d.reverse().join("-")},j=function(b,c){var d=this,e=!g(this).data(this.attr_name(!0));return g(this.scope).is("["+this.attr_name()+"]")?(g(this.scope).data(this.attr_name(!0)+"-init",a.extend({},this.settings,c||b,this.data_options(g(this.scope)))),e&&this.events(this.scope)):g("["+this.attr_name()+"]",this.scope).each(function(){var e=!g(this).data(d.attr_name(!0)+"-init");g(this).data(d.attr_name(!0)+"-init",a.extend({},d.settings,c||b,d.data_options(g(this)))),e&&d.events(this)}),"string"==typeof b?this[b].call(this,c):void 0},k=function(a,b){function c(){b(a[0])}function d(){if(this.one("load",c),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var a=this.attr("src"),b=a.match(/\?/)?"&":"?";b+="random="+(new Date).getTime(),this.attr("src",a+b)}}return a.attr("src")?void(a[0].complete||4===a[0].readyState?c():d.call(a)):void c()};b.matchMedia=b.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(c),function(){function a(){c&&(f(a),h&&jQuery.fx.tick())}for(var c,d=0,e=["webkit","moz"],f=b.requestAnimationFrame,g=b.cancelAnimationFrame,h="undefined"!=typeof jQuery.fx;d").appendTo("head")[0].sheet,global:{namespace:d},init:function(a,b,c,d,e){var f=[a,c,d,e],h=[];if(this.rtl=/rtl/i.test(g("html").attr("dir")),this.scope=a||this.scope,this.set_namespace(),b&&"string"==typeof b&&!/reflow/i.test(b))this.libs.hasOwnProperty(b)&&h.push(this.init_lib(b,f));else for(var i in this.libs)h.push(this.init_lib(i,b));return a},init_lib:function(b,c){return this.libs.hasOwnProperty(b)?(this.patch(this.libs[b]),c&&c.hasOwnProperty(b)?("undefined"!=typeof this.libs[b].settings?a.extend(!0,this.libs[b].settings,c[b]):"undefined"!=typeof this.libs[b].defaults&&a.extend(!0,this.libs[b].defaults,c[b]),this.libs[b].init.apply(this.libs[b],[this.scope,c[b]])):(c=c instanceof Array?c:new Array(c),this.libs[b].init.apply(this.libs[b],c))):function(){}},patch:function(a){a.scope=this.scope,a.namespace=this.global.namespace,a.rtl=this.rtl,a.data_options=this.utils.data_options,a.attr_name=h,a.add_namespace=i,a.bindings=j,a.S=this.utils.S},inherit:function(a,b){for(var c=b.split(" "),d=c.length;d--;)this.utils.hasOwnProperty(c[d])&&(a[c[d]]=this.utils[c[d]])},set_namespace:function(){var b=this.global.namespace===d?a(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=b===d||/false/i.test(b)?"":b},libs:{},utils:{S:g,throttle:function(a,b){var c=null;return function(){var d=this,e=arguments;null==c&&(c=setTimeout(function(){a.apply(d,e),c=null},b))}},debounce:function(a,b,c){var d,e;return function(){var f=this,g=arguments,h=function(){d=null,c||(e=a.apply(f,g))},i=c&&!d;return clearTimeout(d),d=setTimeout(h,b),i&&(e=a.apply(f,g)),e}},data_options:function(b,c){function d(a){return!isNaN(a-0)&&null!==a&&""!==a&&a!==!1&&a!==!0}function e(b){return"string"==typeof b?a.trim(b):b}c=c||"options";var f,g,h,i={},j=function(a){var b=Foundation.global.namespace;return a.data(b.length>0?b+"-"+c:c)},k=j(b);if("object"==typeof k)return k;for(h=(k||":").split(";"),f=h.length;f--;)g=h[f].split(":"),g=[g[0],g.slice(1).join(":")],/true/i.test(g[1])&&(g[1]=!0),/false/i.test(g[1])&&(g[1]=!1),d(g[1])&&(g[1]=-1===g[1].indexOf(".")?parseInt(g[1],10):parseFloat(g[1])),2===g.length&&g[0].length>0&&(i[e(g[0])]=e(g[1]));return i},register_media:function(b,c){Foundation.media_queries[b]===d&&(a("head").append(''),Foundation.media_queries[b]=e(a("."+c).css("font-family")))},add_custom_rule:function(a,b){if(b===d&&Foundation.stylesheet)Foundation.stylesheet.insertRule(a,Foundation.stylesheet.cssRules.length);else{var c=Foundation.media_queries[b];c!==d&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[b]+"{ "+a+" }")}},image_loaded:function(a,b){var c=this,d=a.length;0===d&&b(a),a.each(function(){k(c.S(this),function(){d-=1,0===d&&b(a)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)}}},a.fn.foundation=function(){var a=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(a)),this})}}(jQuery,window,window.document),function(a,b,c){"use strict";Foundation.libs.abide={name:"abide",version:"5.3.3",settings:{live_validate:!0,focus_on_invalid:!0,error_labels:!0,timeout:1e3,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,url:/^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/},validators:{equalTo:function(a){var b=c.getElementById(a.getAttribute(this.add_namespace("data-equalto"))).value,d=a.value,e=b===d;return e}}},timer:null,init:function(a,b,c){this.bindings(b,c)},events:function(b){var c=this,d=c.S(b).attr("novalidate","novalidate"),e=d.data(this.attr_name(!0)+"-init")||{};this.invalid_attr=this.add_namespace("data-invalid"),d.off(".abide").on("submit.fndtn.abide validate.fndtn.abide",function(a){var b=/ajax/i.test(c.S(this).attr(c.attr_name()));return c.validate(c.S(this).find("input, textarea, select").get(),a,b)}).on("reset",function(){return c.reset(a(this))}).find("input, textarea, select").off(".abide").on("blur.fndtn.abide change.fndtn.abide",function(a){c.validate([this],a)}).on("keydown.fndtn.abide",function(a){e.live_validate===!0&&(clearTimeout(c.timer),c.timer=setTimeout(function(){c.validate([this],a)}.bind(this),e.timeout))})},reset:function(b){b.removeAttr(this.invalid_attr),a(this.invalid_attr,b).removeAttr(this.invalid_attr),a(".error",b).not("small").removeClass("error")},validate:function(a,b,c){for(var d=this.parse_patterns(a),e=d.length,f=this.S(a[0]).closest("form"),g=/submit/.test(b.type),h=0;e>h;h++)if(!d[h]&&(g||c))return this.settings.focus_on_invalid&&a[h].focus(),f.trigger("invalid"),this.S(a[h]).closest("form").attr(this.invalid_attr,""),!1;return(g||c)&&f.trigger("valid"),f.removeAttr(this.invalid_attr),c?!1:!0},parse_patterns:function(a){for(var b=a.length,c=[];b--;)c.push(this.pattern(a[b]));return this.check_validation_and_apply_styles(c)},pattern:function(a){var b=a.getAttribute("type"),c="string"==typeof a.getAttribute("required"),d=a.getAttribute("pattern")||"";return this.settings.patterns.hasOwnProperty(d)&&d.length>0?[a,this.settings.patterns[d],c]:d.length>0?[a,new RegExp(d),c]:this.settings.patterns.hasOwnProperty(b)?[a,this.settings.patterns[b],c]:(d=/.*/,[a,d,c])},check_validation_and_apply_styles:function(b){var c=b.length,d=[],e=this.S(b[0][0]).closest("[data-"+this.attr_name(!0)+"]");for(e.data(this.attr_name(!0)+"-init")||{};c--;){var f,g,h=b[c][0],i=b[c][2],j=h.value.trim(),k=this.S(h).parent(),l=h.getAttribute(this.add_namespace("data-abide-validator")),m="radio"===h.type,n="checkbox"===h.type,o=this.S('label[for="'+h.getAttribute("id")+'"]'),p=i?h.value.length>0:!0;h.getAttribute(this.add_namespace("data-equalto"))&&(l="equalTo"),f=k.is("label")?k.parent():k,m&&i?d.push(this.valid_radio(h,i)):n&&i?d.push(this.valid_checkbox(h,i)):(l&&(g=this.settings.validators[l].apply(this,[h,i,f]),d.push(g)),d.push(b[c][1].test(j)&&p||!i&&h.value.length<1||a(h).attr("disabled")?!0:!1),d=[d.every(function(a){return a})],d[0]?(this.S(h).removeAttr(this.invalid_attr),f.removeClass("error"),o.length>0&&this.settings.error_labels&&o.removeClass("error"),a(h).triggerHandler("valid")):(f.addClass("error"),this.S(h).attr(this.invalid_attr,""),o.length>0&&this.settings.error_labels&&o.addClass("error"),a(h).triggerHandler("invalid")))}return d},valid_checkbox:function(a,b){var a=this.S(a),c=a.is(":checked")||!b;return c?a.removeAttr(this.invalid_attr).parent().removeClass("error"):a.attr(this.invalid_attr,"").parent().addClass("error"),c},valid_radio:function(a){for(var b=a.getAttribute("name"),c=this.S(a).closest("[data-"+this.attr_name(!0)+"]").find("[name='"+b+"']"),d=c.length,e=!1,f=0;d>f;f++)c[f].checked&&(e=!0);for(var f=0;d>f;f++)e?this.S(c[f]).removeAttr(this.invalid_attr).parent().removeClass("error"):this.S(c[f]).attr(this.invalid_attr,"").parent().addClass("error");return e},valid_equal:function(a,b,d){var e=c.getElementById(a.getAttribute(this.add_namespace("data-equalto"))).value,f=a.value,g=e===f;return g?(this.S(a).removeAttr(this.invalid_attr),d.removeClass("error")):(this.S(a).attr(this.invalid_attr,""),d.addClass("error")),g},valid_oneof:function(a,b,c,d){var a=this.S(a),e=this.S("["+this.add_namespace("data-oneof")+"]"),f=e.filter(":checked").length>0;if(f?a.removeAttr(this.invalid_attr).parent().removeClass("error"):a.attr(this.invalid_attr,"").parent().addClass("error"),!d){var g=this;e.each(function(){g.valid_oneof.call(g,this,null,null,!0)})}return f}}}(jQuery,window,window.document),function(a){"use strict";Foundation.libs.accordion={name:"accordion",version:"5.3.3",settings:{active_class:"active",multi_expand:!1,toggleable:!0,callback:function(){}},init:function(a,b,c){this.bindings(b,c)},events:function(){var b=this,c=this.S;c(this.scope).off(".fndtn.accordion").on("click.fndtn.accordion","["+this.attr_name()+"] > dd > a",function(d){var e=c(this).closest("["+b.attr_name()+"]"),f=b.attr_name()+"="+e.attr(b.attr_name()),g=e.data(b.attr_name(!0)+"-init"),h=c("#"+this.href.split("#")[1]),i=a("> dd",e),j=i.children(".content"),k=j.filter("."+g.active_class);return d.preventDefault(),e.attr(b.attr_name())&&(j=j.add("["+f+"] dd > .content"),i=i.add("["+f+"] dd")),g.toggleable&&h.is(k)?(h.parent("dd").toggleClass(g.active_class,!1),h.toggleClass(g.active_class,!1),g.callback(h),h.triggerHandler("toggled",[e]),void e.triggerHandler("toggled",[h])):(g.multi_expand||(j.removeClass(g.active_class),i.removeClass(g.active_class)),h.addClass(g.active_class).parent().addClass(g.active_class),g.callback(h),h.triggerHandler("toggled",[e]),void e.triggerHandler("toggled",[h]))})},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(a){"use strict";Foundation.libs.alert={name:"alert",version:"5.3.3",settings:{callback:function(){}},init:function(a,b,c){this.bindings(b,c)},events:function(){var b=this,c=this.S;a(this.scope).off(".alert").on("click.fndtn.alert","["+this.attr_name()+"] a.close",function(a){var d=c(this).closest("["+b.attr_name()+"]"),e=d.data(b.attr_name(!0)+"-init")||b.settings;a.preventDefault(),Modernizr.csstransitions?(d.addClass("alert-close"),d.on("transitionend webkitTransitionEnd oTransitionEnd",function(){c(this).trigger("close").trigger("close.fndtn.alert").remove(),e.callback()})):d.fadeOut(300,function(){c(this).trigger("close").trigger("close.fndtn.alert").remove(),e.callback()})})},reflow:function(){}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";Foundation.libs.clearing={name:"clearing",version:"5.3.3",settings:{templates:{viewing:'×'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(a,b,c){var d=this;Foundation.inherit(this,"throttle image_loaded"),this.bindings(b,c),d.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(d.S("li",this.scope)):d.S("["+this.attr_name()+"]",this.scope).each(function(){d.assemble(d.S("li",this))})},events:function(d){var e=this,f=e.S,g=a(".scroll-container");g.length>0&&(this.scope=g),f(this.scope).off(".clearing").on("click.fndtn.clearing","ul["+this.attr_name()+"] li "+this.settings.open_selectors,function(a,b,c){var b=b||f(this),c=c||b,d=b.next("li"),g=b.closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init"),h=f(a.target);a.preventDefault(),g||(e.init(),g=b.closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init")),c.hasClass("visible")&&b[0]===c[0]&&d.length>0&&e.is_open(b)&&(c=d,h=f("img",c)),e.open(h,b,c),e.update_paddles(c)}).on("click.fndtn.clearing",".clearing-main-next",function(a){e.nav(a,"next")}).on("click.fndtn.clearing",".clearing-main-prev",function(a){e.nav(a,"prev")}).on("click.fndtn.clearing",this.settings.close_selectors,function(a){Foundation.libs.clearing.close(a,this)}),a(c).on("keydown.fndtn.clearing",function(a){e.keydown(a)}),f(b).off(".clearing").on("resize.fndtn.clearing",function(){e.resize()}),this.swipe_events(d)},swipe_events:function(){var a=this,b=a.S;b(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(a){a.touches||(a=a.originalEvent);var c={start_page_x:a.touches[0].pageX,start_page_y:a.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:d};b(this).data("swipe-transition",c),a.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(c){if(c.touches||(c=c.originalEvent),!(c.touches.length>1||c.scale&&1!==c.scale)){var d=b(this).data("swipe-transition");if("undefined"==typeof d&&(d={}),d.delta_x=c.touches[0].pageX-d.start_page_x,Foundation.rtl&&(d.delta_x=-d.delta_x),"undefined"==typeof d.is_scrolling&&(d.is_scrolling=!!(d.is_scrolling||Math.abs(d.delta_x)
  • ');var d=c.detach(),e="";if(null!=d[0]){e=d[0].outerHTML;var f=this.S("#foundationClearingHolder"),g=c.data(this.attr_name(!0)+"-init"),h={grid:'",viewing:g.templates.viewing},i='
    '+h.viewing+h.grid+"
    ",j=this.settings.touch_label;Modernizr.touch&&(i=a(i).find(".clearing-touch-label").html(j).end()),f.after(i).remove()}}},open:function(b,d,e){function f(){setTimeout(function(){this.image_loaded(m,function(){1!==m.outerWidth()||o?g.call(this,m):f.call(this)}.bind(this))}.bind(this),100)}function g(b){var c=a(b);c.css("visibility","visible"),i.css("overflow","hidden"),j.addClass("clearing-blackout"),k.addClass("clearing-container"),l.show(),this.fix_height(e).caption(h.S(".clearing-caption",l),h.S("img",e)).center_and_label(b,n).shift(d,e,function(){e.closest("li").siblings().removeClass("visible"),e.closest("li").addClass("visible")}),l.trigger("opened.fndtn.clearing")}var h=this,i=a(c.body),j=e.closest(".clearing-assembled"),k=h.S("div",j).first(),l=h.S(".visible-img",k),m=h.S("img",l).not(b),n=h.S(".clearing-touch-label",k),o=!1;a("body").on("touchmove",function(a){a.preventDefault()}),m.error(function(){o=!0}),this.locked()||(l.trigger("open.fndtn.clearing"),m.attr("src",this.load(b)).css("visibility","hidden"),f.call(this))},close:function(b,d){b.preventDefault();var e,f,g=function(a){return/blackout/.test(a.selector)?a:a.closest(".clearing-blackout")}(a(d)),h=a(c.body);return d===b.target&&g&&(h.css("overflow",""),e=a("div",g).first(),f=a(".visible-img",e),f.trigger("close.fndtn.clearing"),this.settings.prev_index=0,a("ul["+this.attr_name()+"]",g).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),e.removeClass("clearing-container"),f.hide(),f.trigger("closed.fndtn.clearing")),a("body").off("touchmove"),!1},is_open:function(a){return a.parent().prop("style").length>0},keydown:function(b){var c=a(".clearing-blackout ul["+this.attr_name()+"]"),d=this.rtl?37:39,e=this.rtl?39:37,f=27;b.which===d&&this.go(c,"next"),b.which===e&&this.go(c,"prev"),b.which===f&&this.S("a.clearing-close").trigger("click").trigger("click.fndtn.clearing")},nav:function(b,c){var d=a("ul["+this.attr_name()+"]",".clearing-blackout");b.preventDefault(),this.go(d,c)},resize:function(){var b=a("img",".clearing-blackout .visible-img"),c=a(".clearing-touch-label",".clearing-blackout");b.length&&(this.center_and_label(b,c),b.trigger("resized.fndtn.clearing"))},fix_height:function(a){var b=a.parent().children(),c=this;return b.each(function(){var a=c.S(this),b=a.find("img");a.height()>b.outerHeight()&&a.addClass("fix-height")}).closest("ul").width(100*b.length+"%"),this},update_paddles:function(a){a=a.closest("li");var b=a.closest(".carousel").siblings(".visible-img");a.next().length>0?this.S(".clearing-main-next",b).removeClass("disabled"):this.S(".clearing-main-next",b).addClass("disabled"),a.prev().length>0?this.S(".clearing-main-prev",b).removeClass("disabled"):this.S(".clearing-main-prev",b).addClass("disabled")},center_and_label:function(a,b){return this.rtl?(a.css({marginRight:-(a.outerWidth()/2),marginTop:-(a.outerHeight()/2),left:"auto",right:"50%"}),b.length>0&&b.css({marginRight:-(b.outerWidth()/2),marginTop:-(a.outerHeight()/2)-b.outerHeight()-10,left:"auto",right:"50%"})):(a.css({marginLeft:-(a.outerWidth()/2),marginTop:-(a.outerHeight()/2)}),b.length>0&&b.css({marginLeft:-(b.outerWidth()/2),marginTop:-(a.outerHeight()/2)-b.outerHeight()-10})),this},load:function(a){var b;return b="A"===a[0].nodeName?a.attr("href"):a.parent().attr("href"),this.preload(a),b?b:a.attr("src")},preload:function(a){this.img(a.closest("li").next()).img(a.closest("li").prev())},img:function(a){if(a.length){var b=new Image,c=this.S("a",a);b.src=c.length?c.attr("href"):this.S("img",a).attr("src")}return this},caption:function(a,b){var c=b.attr("data-caption");return c?a.html(c).show():a.text("").hide(),this},go:function(a,b){var c=this.S(".visible",a),d=c[b]();this.settings.skip_selector&&0!=d.find(this.settings.skip_selector).length&&(d=d[b]()),d.length&&this.S("img",d).trigger("click",[c,d]).trigger("click.fndtn.clearing",[c,d]).trigger("change.fndtn.clearing")},shift:function(a,b,c){var d,e=b.parent(),f=this.settings.prev_index||b.index(),g=this.direction(e,a,b),h=this.rtl?"right":"left",i=parseInt(e.css("left"),10),j=b.outerWidth(),k={};b.index()===f||/skip/.test(g)?/skip/.test(g)&&(d=b.index()-this.settings.up_count,this.lock(),d>0?(k[h]=-(d*j),e.animate(k,300,this.unlock())):(k[h]=0,e.animate(k,300,this.unlock()))):/left/.test(g)?(this.lock(),k[h]=i+j,e.animate(k,300,this.unlock())):/right/.test(g)&&(this.lock(),k[h]=i-j,e.animate(k,300,this.unlock())),c()},direction:function(a,b,c){var d,e=this.S("li",a),f=e.outerWidth()+e.outerWidth()/4,g=Math.floor(this.S(".clearing-container").outerWidth()/f)-1,h=e.index(c);return this.settings.up_count=g,d=this.adjacent(this.settings.prev_index,h)?h>g&&h>this.settings.prev_index?"right":h>g-1&&h<=this.settings.prev_index?"left":!1:"skip",this.settings.prev_index=h,d},adjacent:function(a,b){for(var c=b+1;c>=b-1;c--)if(c===a)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},off:function(){this.S(this.scope).off(".fndtn.clearing"),this.S(b).off(".fndtn.clearing")},reflow:function(){this.init()}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.3.3",settings:{active_class:"open",align:"bottom",is_hover:!1,opened:function(){},closed:function(){}},init:function(a,b,c){Foundation.inherit(this,"throttle"),this.bindings(b,c)},events:function(){var c=this,d=c.S;d(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(b){var e=d(this).data(c.attr_name(!0)+"-init")||c.settings;(!e.is_hover||Modernizr.touch)&&(b.preventDefault(),c.toggle(a(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(a){var b,e,f=d(this);clearTimeout(c.timeout),f.data(c.data_attr())?(b=d("#"+f.data(c.data_attr())),e=f):(b=f,e=d("["+c.attr_name()+"='"+b.attr("id")+"']"));var g=e.data(c.attr_name(!0)+"-init")||c.settings;d(a.target).data(c.data_attr())&&g.is_hover&&c.closeall.call(c),g.is_hover&&c.open.apply(c,[b,e])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(){var a=d(this);c.timeout=setTimeout(function(){if(a.data(c.data_attr())){var b=a.data(c.data_attr(!0)+"-init")||c.settings;b.is_hover&&c.close.call(c,d("#"+a.data(c.data_attr())))}else{var e=d("["+c.attr_name()+'="'+d(this).attr("id")+'"]'),b=e.data(c.attr_name(!0)+"-init")||c.settings;b.is_hover&&c.close.call(c,a)}}.bind(this),150)}).on("click.fndtn.dropdown",function(b){var e=d(b.target).closest("["+c.attr_name()+"-content]");if(!(d(b.target).closest("["+c.attr_name()+"]").length>0))return!d(b.target).data("revealId")&&e.length>0&&(d(b.target).is("["+c.attr_name()+"-content]")||a.contains(e.first()[0],b.target))?void b.stopPropagation():void c.close.call(c,d("["+c.attr_name()+"-content]"))}).on("opened.fndtn.dropdown","["+c.attr_name()+"-content]",function(){c.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+c.attr_name()+"-content]",function(){c.settings.closed.call(this)}),d(b).off(".dropdown").on("resize.fndtn.dropdown",c.throttle(function(){c.resize.call(c)},50)),this.resize()},close:function(a){var b=this;a.each(function(){b.S(this).hasClass(b.settings.active_class)&&(b.S(this).css(Foundation.rtl?"right":"left","-99999px").removeClass(b.settings.active_class).prev("["+b.attr_name()+"]").removeClass(b.settings.active_class).removeData("target"),b.S(this).trigger("closed").trigger("closed.fndtn.dropdown",[a]))})},closeall:function(){var b=this;a.each(b.S("["+this.attr_name()+"-content]"),function(){b.close.call(b,b.S(this))})},open:function(a,b){this.css(a.addClass(this.settings.active_class),b),a.prev("["+this.attr_name()+"]").addClass(this.settings.active_class),a.data("target",b.get(0)).trigger("opened").trigger("opened.fndtn.dropdown",[a,b])},data_attr:function(){return this.namespace.length>0?this.namespace+"-"+this.name:this.name},toggle:function(a){var b=this.S("#"+a.data(this.data_attr()));0!==b.length&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(b)),b.hasClass(this.settings.active_class)?(this.close.call(this,b),b.data("target")!==a.get(0)&&this.open.call(this,b,a)):this.open.call(this,b,a))},resize:function(){var a=this.S("["+this.attr_name()+"-content].open"),b=this.S("["+this.attr_name()+"='"+a.attr("id")+"']");a.length&&b.length&&this.css(a,b)},css:function(a,b){var c=Math.max((b.width()-a.width())/2,8);if(this.clear_idx(),this.small()){var d=this.dirs.bottom.call(a,b);a.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:d.top}),a.css(Foundation.rtl?"right":"left",c)}else{var e=b.data(this.attr_name(!0)+"-init")||this.settings;this.style(a,b,e)}return a},style:function(b,c,d){var e=a.extend({position:"absolute"},this.dirs[d.align].call(b,c,d));b.attr("style","").css(e)},dirs:{_base:function(a){var b=this.offsetParent(),c=b.offset(),d=a.offset();return d.top-=c.top,d.left-=c.left,d},top:function(a){var b=Foundation.libs.dropdown,c=b.dirs._base.call(this,a),d=8;return this.addClass("drop-top"),(a.outerWidth()0)for(var d=this.S("["+this.add_namespace("data-uuid")+'="'+a+'"]');c--;){var e,f=b[c][2];if(e=matchMedia(this.settings.named_queries.hasOwnProperty(f)?this.settings.named_queries[f]:f),e.matches)return{el:d,scenario:b[c]}}return!1},load:function(a,b){return("undefined"==typeof this["cached_"+a]||b)&&this["update_"+a](),this["cached_"+a]},update_images:function(){var a=this.S("img["+this.data_attr+"]"),b=a.length,c=b,d=0,e=this.data_attr;for(this.cache={},this.cached_images=[],this.images_loaded=0===b;c--;){if(d++,a[c]){var f=a[c].getAttribute(e)||"";f.length>0&&this.cached_images.push(a[c])}d===b&&(this.images_loaded=!0,this.enhance("images"))}return this},update_nodes:function(){var a=this.S("["+this.data_attr+"]").not("img"),b=a.length,c=b,d=0,e=this.data_attr;for(this.cached_nodes=[],this.nodes_loaded=0===b;c--;){d++;var f=a[c].getAttribute(e)||"";f.length>0&&this.cached_nodes.push(a[c]),d===b&&(this.nodes_loaded=!0,this.enhance("nodes"))}return this},enhance:function(c){for(var d=this["cached_"+c].length;d--;)this.object(a(this["cached_"+c][d]));return a(b).trigger("resize").trigger("resize.fndtn.interchange")},convert_directive:function(a){var b=this.trim(a);return b.length>0?b:"replace"},parse_scenario:function(a){var b=a[0].match(/(.+),\s*(\w+)\s*$/),c=a[1];if(b)var d=b[1],e=b[2];else var f=a[0].split(/,\s*$/),d=f[0],e="";return[this.trim(d),this.convert_directive(e),this.trim(c)]},object:function(a){var b=this.parse_data_attr(a),c=[],d=b.length;if(d>0)for(;d--;){var e=b[d].split(/\((.*?)(\))$/);if(e.length>1){var f=this.parse_scenario(e);c.push(f)}}return this.store(a,c)},store:function(a,b){var c=this.random_str(),d=a.data(this.add_namespace("uuid",!0));return this.cache[d]?this.cache[d]:(a.attr(this.add_namespace("data-uuid"),c),this.cache[c]=b)},trim:function(b){return"string"==typeof b?a.trim(b):b},set_data_attr:function(a){return a?this.namespace.length>0?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:this.namespace.length>0?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(a){for(var b=a.attr(this.attr_name()).split(/\[(.*?)\]/),c=b.length,d=[];c--;)b[c].replace(/[\W\d]+/,"").length>4&&d.push(b[c]);return d},reflow:function(){this.load("images",!0),this.load("nodes",!0)}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";Foundation.libs.joyride={name:"joyride",version:"5.3.3",defaults:{expose:!1,modal:!0,tip_location:"bottom",nub_position:"auto",scroll_speed:1500,scroll_animation:"linear",timer:0,start_timer_on_click:!0,start_offset:0,next_button:!0,prev_button:!0,tip_animation:"fade",pause_after:[],exposed:[],tip_animation_fade_speed:300,cookie_monster:!1,cookie_name:"joyride",cookie_domain:!1,cookie_expires:365,tip_container:"body",abort_on_close:!0,tip_location_patterns:{top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},post_ride_callback:function(){},post_step_callback:function(){},pre_step_callback:function(){},pre_ride_callback:function(){},post_expose_callback:function(){},template:{link:'×',timer:'
    ',tip:'
    ',wrapper:'
    ',button:'',prev_button:'',modal:'
    ',expose:'
    ',expose_cover:'
    '},expose_add_class:""},init:function(b,c,d){Foundation.inherit(this,"throttle random_str"),this.settings=this.settings||a.extend({},this.defaults,d||c),this.bindings(c,d)},events:function(){var c=this;a(this.scope).off(".joyride").on("click.fndtn.joyride",".joyride-next-tip, .joyride-modal-bg",function(a){a.preventDefault(),this.settings.$li.next().length<1?this.end():this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())}.bind(this)).on("click.fndtn.joyride",".joyride-prev-tip",function(a){a.preventDefault(),this.settings.$li.prev().length<1||(this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(null,!0),this.startTimer()):(this.hide(),this.show(null,!0)))}.bind(this)).on("click.fndtn.joyride",".joyride-close-tip",function(a){a.preventDefault(),this.end(this.settings.abort_on_close)}.bind(this)),a(b).off(".joyride").on("resize.fndtn.joyride",c.throttle(function(){if(a("["+c.attr_name()+"]").length>0&&c.settings.$next_tip){if(c.settings.exposed.length>0){var b=a(c.settings.exposed);b.each(function(){var b=a(this);c.un_expose(b),c.expose(b)})}c.is_phone()?c.pos_phone():c.pos_default(!1)}},100))},start:function(){var b=this,c=a("["+this.attr_name()+"]",this.scope),d=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],e=d.length;!c.length>0||(this.settings.init||this.events(),this.settings=c.data(this.attr_name(!0)+"-init"),this.settings.$content_el=c,this.settings.$body=a(this.settings.tip_container),this.settings.body_offset=a(this.settings.tip_container).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,"function"!=typeof a.cookie&&(this.settings.cookie_monster=!1),(!this.settings.cookie_monster||this.settings.cookie_monster&&!a.cookie(this.settings.cookie_name))&&(this.settings.$tip_content.each(function(c){var f=a(this);this.settings=a.extend({},b.defaults,b.data_options(f));for(var g=e;g--;)b.settings[d[g]]=parseInt(b.settings[d[g]],10);b.create({$li:f,index:c})}),!this.settings.start_timer_on_click&&this.settings.timer>0?(this.show("init"),this.startTimer()):this.show("init")))},resume:function(){this.set_li(),this.show()},tip_template:function(b){var c,d;return b.tip_class=b.tip_class||"",c=a(this.settings.template.tip).addClass(b.tip_class),d=a.trim(a(b.li).html())+this.prev_button_text(b.prev_button_text,b.index)+this.button_text(b.button_text)+this.settings.template.link+this.timer_instance(b.index),c.append(a(this.settings.template.wrapper)),c.first().attr(this.add_namespace("data-index"),b.index),a(".joyride-content-wrapper",c).append(d),c[0]},timer_instance:function(b){var c;return c=0===b&&this.settings.start_timer_on_click&&this.settings.timer>0||0===this.settings.timer?"":a(this.settings.template.timer)[0].outerHTML},button_text:function(b){return this.settings.tip_settings.next_button?(b=a.trim(b)||"Next",b=a(this.settings.template.button).append(b)[0].outerHTML):b="",b},prev_button_text:function(b,c){return this.settings.tip_settings.prev_button?(b=a.trim(b)||"Previous",b=0==c?a(this.settings.template.prev_button).append(b).addClass("disabled")[0].outerHTML:a(this.settings.template.prev_button).append(b)[0].outerHTML):b="",b},create:function(b){this.settings.tip_settings=a.extend({},this.settings,this.data_options(b.$li));var c=b.$li.attr(this.add_namespace("data-button"))||b.$li.attr(this.add_namespace("data-text")),d=b.$li.attr(this.add_namespace("data-button-prev"))||b.$li.attr(this.add_namespace("data-prev-text")),e=b.$li.attr("class"),f=a(this.tip_template({tip_class:e,index:b.index,button_text:c,prev_button_text:d,li:b.$li}));a(this.settings.tip_container).append(f)},show:function(b,c){var e=null;this.settings.$li===d||-1===a.inArray(this.settings.$li.index(),this.settings.pause_after)?(this.settings.paused?this.settings.paused=!1:this.set_li(b,c),this.settings.attempts=0,this.settings.$li.length&&this.settings.$target.length>0?(b&&(this.settings.pre_ride_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.show_modal()),this.settings.pre_step_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.settings.expose&&this.expose(),this.settings.tip_settings=a.extend({},this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tip_settings.tip_location_pattern=this.settings.tip_location_patterns[this.settings.tip_settings.tip_location],/body/i.test(this.settings.$target.selector)||this.scroll_to(),this.is_phone()?this.pos_phone(!0):this.pos_default(!0),e=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tip_animation)?(e.width(0),this.settings.timer>0?(this.settings.$next_tip.show(),setTimeout(function(){e.animate({width:e.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tip_animation)&&(e.width(0),this.settings.timer>0?(this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed).show(),setTimeout(function(){e.animate({width:e.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed)),this.settings.$current_tip=this.settings.$next_tip):this.settings.$li&&this.settings.$target.length<1?this.show():this.end()):this.settings.paused=!0},is_phone:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},hide:function(){this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.modal||a(".joyride-modal-bg").hide(),this.settings.$current_tip.css("visibility","hidden"),setTimeout(a.proxy(function(){this.hide(),this.css("visibility","visible")},this.settings.$current_tip),0),this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip)},set_li:function(a,b){a?(this.settings.$li=this.settings.$tip_content.eq(this.settings.start_offset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(this.settings.$li=b?this.settings.$li.prev():this.settings.$li.next(),this.set_next_tip()),this.set_target()},set_next_tip:function(){this.settings.$next_tip=a(".joyride-tip-guide").eq(this.settings.$li.index()),this.settings.$next_tip.data("closed","")},set_target:function(){var b=this.settings.$li.attr(this.add_namespace("data-class")),d=this.settings.$li.attr(this.add_namespace("data-id")),e=function(){return d?a(c.getElementById(d)):b?a("."+b).first():a("body")};this.settings.$target=e()},scroll_to:function(){var c,d;c=a(b).height()/2,d=Math.ceil(this.settings.$target.offset().top-c+this.settings.$next_tip.outerHeight()),0!=d&&a("html, body").stop().animate({scrollTop:d},this.settings.scroll_speed,"swing")},paused:function(){return-1===a.inArray(this.settings.$li.index()+1,this.settings.pause_after)},restart:function(){this.hide(),this.settings.$li=d,this.show("init")},pos_default:function(a){var b=this.settings.$next_tip.find(".joyride-nub"),c=Math.ceil(b.outerWidth()/2),d=Math.ceil(b.outerHeight()/2),e=a||!1;if(e&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector))this.settings.$li.length&&this.pos_modal(b);else{var f=this.settings.tip_settings.tipAdjustmentY?parseInt(this.settings.tip_settings.tipAdjustmentY):0,g=this.settings.tip_settings.tipAdjustmentX?parseInt(this.settings.tip_settings.tipAdjustmentX):0;this.bottom()?(this.settings.$next_tip.css(this.rtl?{top:this.settings.$target.offset().top+d+this.settings.$target.outerHeight()+f,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()+g}:{top:this.settings.$target.offset().top+d+this.settings.$target.outerHeight()+f,left:this.settings.$target.offset().left+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"top")):this.top()?(this.settings.$next_tip.css(this.rtl?{top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-d+f,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()}:{top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-d+f,left:this.settings.$target.offset().left+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"bottom")):this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top+f,left:this.settings.$target.outerWidth()+this.settings.$target.offset().left+c+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top+f,left:this.settings.$target.offset().left-this.settings.$next_tip.outerWidth()-c+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"right")),!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts0&&arguments[0]instanceof a)e=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;e=this.settings.$target}return e.length<1?(b.console&&console.error("element not valid",e),!1):(c=a(this.settings.template.expose),this.settings.$body.append(c),c.css({top:e.offset().top,left:e.offset().left,width:e.outerWidth(!0),height:e.outerHeight(!0)}),d=a(this.settings.template.expose_cover),f={zIndex:e.css("z-index"),position:e.css("position")},g=null==e.attr("class")?"":e.attr("class"),e.css("z-index",parseInt(c.css("z-index"))+1),"static"==f.position&&e.css("position","relative"),e.data("expose-css",f),e.data("orig-class",g),e.attr("class",g+" "+this.settings.expose_add_class),d.css({top:e.offset().top,left:e.offset().left,width:e.outerWidth(!0),height:e.outerHeight(!0)}),this.settings.modal&&this.show_modal(),this.settings.$body.append(d),c.addClass(h),d.addClass(h),e.data("expose",h),this.settings.post_expose_callback(this.settings.$li.index(),this.settings.$next_tip,e),void this.add_exposed(e))},un_expose:function(){var c,d,e,f,g,h=!1;if(arguments.length>0&&arguments[0]instanceof a)d=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;d=this.settings.$target}return d.length<1?(b.console&&console.error("element not valid",d),!1):(c=d.data("expose"),e=a("."+c),arguments.length>1&&(h=arguments[1]),h===!0?a(".joyride-expose-wrapper,.joyride-expose-cover").remove():e.remove(),f=d.data("expose-css"),"auto"==f.zIndex?d.css("z-index",""):d.css("z-index",f.zIndex),f.position!=d.css("position")&&("static"==f.position?d.css("position",""):d.css("position",f.position)),g=d.data("orig-class"),d.attr("class",g),d.removeData("orig-classes"),d.removeData("expose"),d.removeData("expose-z-index"),void this.remove_exposed(d))},add_exposed:function(b){this.settings.exposed=this.settings.exposed||[],b instanceof a||"object"==typeof b?this.settings.exposed.push(b[0]):"string"==typeof b&&this.settings.exposed.push(b)},remove_exposed:function(b){var c,d;for(b instanceof a?c=b[0]:"string"==typeof b&&(c=b),this.settings.exposed=this.settings.exposed||[],d=this.settings.exposed.length;d--;)if(this.settings.exposed[d]==c)return void this.settings.exposed.splice(d,1)},center:function(){var c=a(b);return this.settings.$next_tip.css({top:(c.height()-this.settings.$next_tip.outerHeight())/2+c.scrollTop(),left:(c.width()-this.settings.$next_tip.outerWidth())/2+c.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(this.settings.tip_settings.tip_location)},top:function(){return/top/i.test(this.settings.tip_settings.tip_location)},right:function(){return/right/i.test(this.settings.tip_settings.tip_location)},left:function(){return/left/i.test(this.settings.tip_settings.tip_location)},corners:function(c){var d=a(b),e=d.height()/2,f=Math.ceil(this.settings.$target.offset().top-e+this.settings.$next_tip.outerHeight()),g=d.width()+d.scrollLeft(),h=d.height()+f,i=d.height()+d.scrollTop(),j=d.scrollTop();return j>f&&(j=0>f?0:f),h>i&&(i=h),[c.offset().topc.offset().left]},visible:function(a){for(var b=a.length;b--;)if(a[b])return!1;return!0},nub_position:function(a,b,c){a.addClass("auto"===b?c:b)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide(),this.show(),this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(b){this.settings.cookie_monster&&a.cookie(this.settings.cookie_name,"ridden",{expires:this.settings.cookie_expires,domain:this.settings.cookie_domain}),this.settings.timer>0&&clearTimeout(this.settings.automate),this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.$next_tip.data("closed",!0),a(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),("undefined"==typeof b||b===!1)&&(this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip),this.settings.post_ride_callback(this.settings.$li.index(),this.settings.$current_tip)),a(".joyride-tip-guide").remove()},off:function(){a(this.scope).off(".joyride"),a(b).off(".joyride"),a(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),a(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(this.settings.automate),this.settings={}},reflow:function(){}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs["magellan-expedition"]={name:"magellan-expedition",version:"5.3.3",settings:{active_class:"active",threshold:0,destination_threshold:20,throttle_delay:30,fixed_top:0},init:function(a,b,c){Foundation.inherit(this,"throttle"),this.bindings(b,c)},events:function(){var c=this,d=c.S,e=c.settings;c.set_expedition_position(),d(c.scope).off(".magellan").on("click.fndtn.magellan","["+c.add_namespace("data-magellan-arrival")+'] a[href^="#"]',function(b){b.preventDefault();var d=a(this).closest("["+c.attr_name()+"]"),e=d.data("magellan-expedition-init"),f=this.hash.split("#").join(""),g=a("a[name='"+f+"']");0===g.length&&(g=a("#"+f));var h=g.offset().top-e.destination_threshold+1;h-=d.outerHeight(),a("html, body").stop().animate({scrollTop:h},700,"swing",function(){history.pushState?history.pushState(null,null,"#"+f):location.hash="#"+f})}).on("scroll.fndtn.magellan",c.throttle(this.check_for_arrivals.bind(this),e.throttle_delay)),a(b).on("resize.fndtn.magellan",c.throttle(this.set_expedition_position.bind(this),e.throttle_delay))},check_for_arrivals:function(){var a=this;a.update_arrivals(),a.update_expedition_positions()},set_expedition_position:function(){var b=this;a("["+this.attr_name()+"=fixed]",b.scope).each(function(){var c,d,e=a(this),f=e.data("magellan-expedition-init"),g=e.attr("styles");e.attr("style",""),c=e.offset().top+f.threshold,d=parseInt(e.data("magellan-fixed-top")),isNaN(d)||(b.settings.fixed_top=d),e.data(b.data_attr("magellan-top-offset"),c),e.attr("style",g)})},update_expedition_positions:function(){var c=this,d=a(b).scrollTop();a("["+this.attr_name()+"=fixed]",c.scope).each(function(){var b=a(this),e=b.data("magellan-expedition-init"),f=b.attr("style"),g=b.data("magellan-top-offset");if(d+c.settings.fixed_top>=g){var h=b.prev("["+c.add_namespace("data-magellan-expedition-clone")+"]");0===h.length&&(h=b.clone(),h.removeAttr(c.attr_name()),h.attr(c.add_namespace("data-magellan-expedition-clone"),""),b.before(h)),b.css({position:"fixed",top:e.fixed_top})}else b.prev("["+c.add_namespace("data-magellan-expedition-clone")+"]").remove(),b.attr("style",f).css("position","").css("top","").removeClass("fixed")})},update_arrivals:function(){var c=this,d=a(b).scrollTop();a("["+this.attr_name()+"]",c.scope).each(function(){var b=a(this),e=b.data(c.attr_name(!0)+"-init"),f=c.offsets(b,d),g=b.find("["+c.add_namespace("data-magellan-arrival")+"]"),h=!1;f.each(function(a,d){if(d.viewport_offset>=d.top_offset){var f=b.find("["+c.add_namespace("data-magellan-arrival")+"]");return f.not(d.arrival).removeClass(e.active_class),d.arrival.addClass(e.active_class),h=!0,!0}}),h||g.removeClass(e.active_class)})},offsets:function(b,c){var d=this,e=b.data(d.attr_name(!0)+"-init"),f=c;return b.find("["+d.add_namespace("data-magellan-arrival")+"]").map(function(){var c=a(this).data(d.data_attr("magellan-arrival")),g=a("["+d.add_namespace("data-magellan-destination")+"="+c+"]");if(g.length>0){var h=Math.floor(g.offset().top-e.destination_threshold-b.outerHeight());return{destination:g,arrival:a(this),top_offset:h,viewport_offset:f}}}).sort(function(a,b){return a.top_offsetb.top_offset?1:0})},data_attr:function(a){return this.namespace.length>0?this.namespace+"-"+a:a},off:function(){this.S(this.scope).off(".magellan"),this.S(b).off(".magellan")},reflow:function(){var b=this;a("["+b.add_namespace("data-magellan-expedition-clone")+"]",b.scope).remove()}}}(jQuery,window,window.document),function(){"use strict";Foundation.libs.offcanvas={name:"offcanvas",version:"5.3.3",settings:{open_method:"move",close_on_click:!1},init:function(a,b,c){this.bindings(b,c)},events:function(){var a=this,b=a.S,c="",d="",e="";"move"===this.settings.open_method?(c="move-",d="right",e="left"):"overlap"===this.settings.open_method&&(c="offcanvas-overlap"),b(this.scope).off(".offcanvas").on("click.fndtn.offcanvas",".left-off-canvas-toggle",function(b){a.click_toggle_class(b,c+d)}).on("click.fndtn.offcanvas",".left-off-canvas-menu a",function(b){var e=a.get_settings(b);e.close_on_click&&a.hide.call(a,c+d,a.get_wrapper(b))}).on("click.fndtn.offcanvas",".right-off-canvas-toggle",function(b){a.click_toggle_class(b,c+e)}).on("click.fndtn.offcanvas",".right-off-canvas-menu a",function(b){var d=a.get_settings(b);d.close_on_click&&a.hide.call(a,c+e,a.get_wrapper(b))}).on("click.fndtn.offcanvas",".exit-off-canvas",function(b){a.click_remove_class(b,c+e),d&&a.click_remove_class(b,c+d)})},toggle:function(a,b){b=b||this.get_wrapper(),b.is("."+a)?this.hide(a,b):this.show(a,b)},show:function(a,b){b=b||this.get_wrapper(),b.trigger("open").trigger("open.fndtn.offcanvas"),b.addClass(a)},hide:function(a,b){b=b||this.get_wrapper(),b.trigger("close").trigger("close.fndtn.offcanvas"),b.removeClass(a)},click_toggle_class:function(a,b){a.preventDefault();var c=this.get_wrapper(a);this.toggle(b,c)},click_remove_class:function(a,b){a.preventDefault();var c=this.get_wrapper(a);this.hide(b,c)},get_settings:function(a){var b=this.S(a.target).closest("["+this.attr_name()+"]");return b.data(this.attr_name(!0)+"-init")||this.settings},get_wrapper:function(a){var b=this.S(a?a.target:this.scope).closest(".off-canvas-wrap");return 0===b.length&&(b=this.S(".off-canvas-wrap")),b},reflow:function(){}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";var e=function(){},f=function(e,f){if(e.hasClass(f.slides_container_class))return this;var j,k,l,m,n,o,p=this,q=e,r=0,s=!1;p.slides=function(){return q.children(f.slide_selector)},p.slides().first().addClass(f.active_slide_class),p.update_slide_number=function(b){f.slide_number&&(k.find("span:first").text(parseInt(b)+1),k.find("span:last").text(p.slides().length)),f.bullets&&(l.children().removeClass(f.bullets_active_class),a(l.children().get(b)).addClass(f.bullets_active_class))},p.update_active_link=function(b){var c=a('[data-orbit-link="'+p.slides().eq(b).attr("data-orbit-slide")+'"]');c.siblings().removeClass(f.bullets_active_class),c.addClass(f.bullets_active_class)},p.build_markup=function(){q.wrap('
    '),j=q.parent(),q.addClass(f.slides_container_class),f.stack_on_small&&j.addClass(f.stack_on_small_class),f.navigation_arrows&&(j.append(a('').addClass(f.prev_class)),j.append(a('').addClass(f.next_class))),f.timer&&(m=a("
    ").addClass(f.timer_container_class),m.append(""),m.append(a("
    ").addClass(f.timer_progress_class)),m.addClass(f.timer_paused_class),j.append(m)),f.slide_number&&(k=a("
    ").addClass(f.slide_number_class),k.append(" "+f.slide_number_text+" "),j.append(k)),f.bullets&&(l=a("
      ").addClass(f.bullets_container_class),j.append(l),l.wrap('
      '),p.slides().each(function(b){var c=a("
    1. ").attr("data-orbit-slide",b).on("click",p.link_bullet);l.append(c)}))},p._goto=function(b,c){if(b===r)return!1;"object"==typeof o&&o.restart();var d=p.slides(),e="next";if(s=!0,r>b&&(e="prev"),b>=d.length){if(!f.circular)return!1;b=0}else if(0>b){if(!f.circular)return!1;b=d.length-1}var g=a(d.get(r)),h=a(d.get(b));g.css("zIndex",2),g.removeClass(f.active_slide_class),h.css("zIndex",4).addClass(f.active_slide_class),q.trigger("before-slide-change.fndtn.orbit"),f.before_slide_change(),p.update_active_link(b);var i=function(){var a=function(){r=b,s=!1,c===!0&&(o=p.create_timer(),o.start()),p.update_slide_number(r),q.trigger("after-slide-change.fndtn.orbit",[{slide_number:r,total_slides:d.length}]),f.after_slide_change(r,d.length)};q.height()!=h.height()&&f.variable_height?q.animate({height:h.height()},250,"linear",a):a()};if(1===d.length)return i(),!1;var j=function(){"next"===e&&n.next(g,h,i),"prev"===e&&n.prev(g,h,i)};h.height()>q.height()&&f.variable_height?q.animate({height:h.height()},250,"linear",j):j()},p.next=function(a){a.stopImmediatePropagation(),a.preventDefault(),p._goto(r+1)},p.prev=function(a){a.stopImmediatePropagation(),a.preventDefault(),p._goto(r-1)},p.link_custom=function(b){b.preventDefault();var c=a(this).attr("data-orbit-link");if("string"==typeof c&&""!=(c=a.trim(c))){var d=j.find("[data-orbit-slide="+c+"]");-1!=d.index()&&p._goto(d.index())}},p.link_bullet=function(){var b=a(this).attr("data-orbit-slide");if("string"==typeof b&&""!=(b=a.trim(b)))if(isNaN(parseInt(b))){var c=j.find("[data-orbit-slide="+b+"]");-1!=c.index()&&p._goto(c.index()+1)}else p._goto(parseInt(b))},p.timer_callback=function(){p._goto(r+1,!0)},p.compute_dimensions=function(){var b=a(p.slides().get(r)),c=b.height();f.variable_height||p.slides().each(function(){a(this).height()>c&&(c=a(this).height())}),q.height(c)},p.create_timer=function(){var a=new g(j.find("."+f.timer_container_class),f,p.timer_callback);return a},p.stop_timer=function(){"object"==typeof o&&o.stop()},p.toggle_timer=function(){var a=j.find("."+f.timer_container_class);a.hasClass(f.timer_paused_class)?("undefined"==typeof o&&(o=p.create_timer()),o.start()):"object"==typeof o&&o.stop()},p.init=function(){p.build_markup(),f.timer&&(o=p.create_timer(),Foundation.utils.image_loaded(this.slides().children("img"),o.start)),n=new i(f,q),"slide"===f.animation&&(n=new h(f,q)),j.on("click","."+f.next_class,p.next),j.on("click","."+f.prev_class,p.prev),f.next_on_click&&j.on("click","."+f.slides_container_class+" [data-orbit-slide]",p.link_bullet),j.on("click",p.toggle_timer),f.swipe&&j.on("touchstart.fndtn.orbit",function(a){a.touches||(a=a.originalEvent);var b={start_page_x:a.touches[0].pageX,start_page_y:a.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:d};j.data("swipe-transition",b),a.stopPropagation()}).on("touchmove.fndtn.orbit",function(a){if(a.touches||(a=a.originalEvent),!(a.touches.length>1||a.scale&&1!==a.scale)){var b=j.data("swipe-transition");if("undefined"==typeof b&&(b={}),b.delta_x=a.touches[0].pageX-b.start_page_x,"undefined"==typeof b.is_scrolling&&(b.is_scrolling=!!(b.is_scrolling||Math.abs(b.delta_x)0?b(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video):b(this.scope).on("open.fndtn.reveal","["+a.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+a.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+a.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+a.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+a.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+a.attr_name()+"]",this.close_video),!0},key_up_on:function(){var a=this;return a.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(b){var c=a.S("["+a.attr_name()+"].open"),d=c.data(a.attr_name(!0)+"-init")||a.settings;d&&27===b.which&&d.close_on_esc&&!a.locked&&a.close.call(a,c)}),!0},key_up_off:function(){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(b,c){var d,e=this;b?"undefined"!=typeof b.selector?d=e.S("#"+b.data(e.data_attr("reveal-id"))).first():(d=e.S(this.scope),c=b):d=e.S(this.scope);var f=d.data(e.attr_name(!0)+"-init");if(f=f||this.settings,d.hasClass("open")&&b.attr("data-reveal-id")==d.attr("id"))return e.close(d);if(!d.hasClass("open")){var g=e.S("["+e.attr_name()+"].open");if("undefined"==typeof d.data("css-top")&&d.data("css-top",parseInt(d.css("top"),10)).data("offset",this.cache_offset(d)),this.key_up_on(d),d.trigger("open").trigger("open.fndtn.reveal"),g.length<1&&this.toggle_bg(d,!0),"string"==typeof c&&(c={url:c}),"undefined"!=typeof c&&c.url){var h="undefined"!=typeof c.success?c.success:null;a.extend(c,{success:function(b,c,i){a.isFunction(h)&&h(b,c,i),d.html(b),e.S(d).foundation("section","reflow"),e.S(d).children().foundation(),g.length>0&&e.hide(g,f.css.close),e.show(d,f.css.open)}}),a.ajax(c)}else g.length>0&&this.hide(g,f.css.close),this.show(d,f.css.open)}},close:function(a){var a=a&&a.length?a:this.S(this.scope),b=this.S("["+this.attr_name()+"].open"),c=a.data(this.attr_name(!0)+"-init")||this.settings;b.length>0&&(this.locked=!0,this.key_up_off(a),a.trigger("close").trigger("close.fndtn.reveal"),this.toggle_bg(a,!1),this.hide(b,c.css.close,c))},close_targets:function(){var a="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?a+", ."+this.settings.bg_class:a},toggle_bg:function(b,c){0===this.S("."+this.settings.bg_class).length&&(this.settings.bg=a("
      ",{"class":this.settings.bg_class}).appendTo("body").hide());var e=this.settings.bg.filter(":visible").length>0;c!=e&&((c==d?e:!c)?this.hide(this.settings.bg):this.show(this.settings.bg))},show:function(c,d){if(d){var f=c.data(this.attr_name(!0)+"-init")||this.settings,g=f.root_element;if(0===c.parent(g).length){var h=c.wrap('
      ').parent();c.on("closed.fndtn.reveal.wrapped",function(){c.detach().appendTo(h),c.unwrap().unbind("closed.fndtn.reveal.wrapped")}),c.detach().appendTo(g)}var i=e(f.animation);if(i.animate||(this.locked=!1),i.pop){d.top=a(b).scrollTop()-c.data("offset")+"px";var j={top:a(b).scrollTop()+c.data("css-top")+"px",opacity:1};return setTimeout(function(){return c.css(d).animate(j,f.animation_speed,"linear",function(){this.locked=!1,c.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),f.animation_speed/2)}if(i.fade){d.top=a(b).scrollTop()+c.data("css-top")+"px";var j={opacity:1};return setTimeout(function(){return c.css(d).animate(j,f.animation_speed,"linear",function(){this.locked=!1,c.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),f.animation_speed/2)}return c.css(d).show().css({opacity:1}).addClass("open").trigger("opened").trigger("opened.fndtn.reveal")}var f=this.settings;return e(f.animation).fade?c.fadeIn(f.animation_speed/2):(this.locked=!1,c.show())},hide:function(c,d){if(d){var f=c.data(this.attr_name(!0)+"-init");f=f||this.settings;var g=e(f.animation);if(g.animate||(this.locked=!1),g.pop){var h={top:-a(b).scrollTop()-c.data("offset")+"px",opacity:0};return setTimeout(function(){return c.animate(h,f.animation_speed,"linear",function(){this.locked=!1,c.css(d).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)}if(g.fade){var h={opacity:0};return setTimeout(function(){return c.animate(h,f.animation_speed,"linear",function(){this.locked=!1,c.css(d).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)}return c.hide().css(d).removeClass("open").trigger("closed").trigger("closed.fndtn.reveal")}var f=this.settings;return e(f.animation).fade?c.fadeOut(f.animation_speed/2):c.hide()},close_video:function(b){var c=a(".flex-video",b.target),d=a("iframe",c);d.length>0&&(d.attr("data-src",d[0].src),d.attr("src",d.attr("src")),c.hide())},open_video:function(b){var c=a(".flex-video",b.target),e=c.find("iframe");if(e.length>0){var f=e.attr("data-src");if("string"==typeof f)e[0].src=e.attr("data-src");else{var g=e[0].src;e[0].src=d,e[0].src=g}c.show()}},data_attr:function(a){return this.namespace.length>0?this.namespace+"-"+a:a},cache_offset:function(a){var b=a.show().height()+parseInt(a.css("top"),10);return a.hide(),b},off:function(){a(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs.slider={name:"slider",version:"5.3.3",settings:{start:0,end:100,step:1,initial:null,display_selector:"",vertical:!1,on_change:function(){}},cache:{},init:function(a,b,c){Foundation.inherit(this,"throttle"),this.bindings(b,c),this.reflow()},events:function(){var c=this;a(this.scope).off(".slider").on("mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider","["+c.attr_name()+"]:not(.disabled, [disabled]) .range-slider-handle",function(b){c.cache.active||(b.preventDefault(),c.set_active_slider(a(b.target)))}).on("mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider",function(d){if(c.cache.active)if(d.preventDefault(),a.data(c.cache.active[0],"settings").vertical){var e=0;d.pageY||(e=b.scrollY),c.calculate_position(c.cache.active,(d.pageY||d.originalEvent.clientY||d.originalEvent.touches[0].clientY||d.currentPoint.y)+e)}else c.calculate_position(c.cache.active,d.pageX||d.originalEvent.clientX||d.originalEvent.touches[0].clientX||d.currentPoint.x)}).on("mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider",function(){c.remove_active_slider()}).on("change.fndtn.slider",function(){c.settings.on_change()}),c.S(b).on("resize.fndtn.slider",c.throttle(function(){c.reflow()},300))},set_active_slider:function(a){this.cache.active=a},remove_active_slider:function(){this.cache.active=null},calculate_position:function(b,c){var d=this,e=a.data(b[0],"settings"),f=(a.data(b[0],"handle_l"),a.data(b[0],"handle_o"),a.data(b[0],"bar_l")),g=a.data(b[0],"bar_o");requestAnimationFrame(function(){var a;a=Foundation.rtl&&!e.vertical?d.limit_to((g+f-c)/f,0,1):d.limit_to((c-g)/f,0,1),a=e.vertical?1-a:a;var h=d.normalized_value(a,e.start,e.end,e.step);d.set_ui(b,h)})},set_ui:function(b,c){var d=a.data(b[0],"settings"),e=a.data(b[0],"handle_l"),f=a.data(b[0],"bar_l"),g=this.normalized_percentage(c,d.start,d.end),h=g*(f-e)-1,i=100*g;Foundation.rtl&&!d.vertical&&(h=-h),h=d.vertical?-h+f-e+1:h,this.set_translate(b,h,d.vertical),d.vertical?b.siblings(".range-slider-active-segment").css("height",i+"%"):b.siblings(".range-slider-active-segment").css("width",i+"%"),b.parent().attr(this.attr_name(),c).trigger("change").trigger("change.fndtn.slider"),b.parent().children("input[type=hidden]").val(c),""!=d.input_id&&a(d.display_selector).each(function(){this.hasOwnProperty("value")?a(this).val(c):a(this).text(c)})},normalized_percentage:function(a,b,c){return Math.min(1,(a-b)/(c-b))},normalized_value:function(a,b,c,d){var e=c-b,f=a*e,g=(f-f%d)/d,h=f%d,i=h>=.5*d?d:0;return g*d+i+b},set_translate:function(b,c,d){d?a(b).css("-webkit-transform","translateY("+c+"px)").css("-moz-transform","translateY("+c+"px)").css("-ms-transform","translateY("+c+"px)").css("-o-transform","translateY("+c+"px)").css("transform","translateY("+c+"px)"):a(b).css("-webkit-transform","translateX("+c+"px)").css("-moz-transform","translateX("+c+"px)").css("-ms-transform","translateX("+c+"px)").css("-o-transform","translateX("+c+"px)").css("transform","translateX("+c+"px)")},limit_to:function(a,b,c){return Math.min(Math.max(a,b),c)},initialize_settings:function(b){var c=a.extend({},this.settings,this.data_options(a(b).parent()));c.vertical?(a.data(b,"bar_o",a(b).parent().offset().top),a.data(b,"bar_l",a(b).parent().outerHeight()),a.data(b,"handle_o",a(b).offset().top),a.data(b,"handle_l",a(b).outerHeight())):(a.data(b,"bar_o",a(b).parent().offset().left),a.data(b,"bar_l",a(b).parent().outerWidth()),a.data(b,"handle_o",a(b).offset().left),a.data(b,"handle_l",a(b).outerWidth())),a.data(b,"bar",a(b).parent()),a.data(b,"settings",c)},set_initial_position:function(b){var c=a.data(b.children(".range-slider-handle")[0],"settings"),d=c.initial?c.initial:Math.floor(.5*(c.end-c.start)/c.step)*c.step+c.start,e=b.children(".range-slider-handle");this.set_ui(e,d)},set_value:function(b){var c=this;a("["+c.attr_name()+"]",this.scope).each(function(){a(this).attr(c.attr_name(),b)}),a(this.scope).attr(c.attr_name())&&a(this.scope).attr(c.attr_name(),b),c.reflow()},reflow:function(){var b=this;b.S("["+this.attr_name()+"]").each(function(){var c=a(this).children(".range-slider-handle")[0],d=a(this).attr(b.attr_name());b.initialize_settings(c),d?b.set_ui(a(c),parseFloat(d)):b.set_initial_position(a(this))})}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";Foundation.libs.tab={name:"tab",version:"5.3.3",settings:{active_class:"active",callback:function(){},deep_linking:!1,scroll_to_content:!0,is_hover:!1},default_tab_hashes:[],init:function(a,b,c){var d=this,e=this.S;this.bindings(b,c),this.handle_location_hash_change(),e("["+this.attr_name()+"] > .active > a",this.scope).each(function(){d.default_tab_hashes.push(this.hash)})},events:function(){var a=this,c=this.S;c(this.scope).off(".tab").on("click.fndtn.tab","["+this.attr_name()+"] > * > a",function(b){var d=c(this).closest("["+a.attr_name()+"]").data(a.attr_name(!0)+"-init");(!d.is_hover||Modernizr.touch)&&(b.preventDefault(),b.stopPropagation(),a.toggle_active_tab(c(this).parent()))}).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(){var b=c(this).closest("["+a.attr_name()+"]").data(a.attr_name(!0)+"-init");b.is_hover&&a.toggle_active_tab(c(this).parent())}),c(b).on("hashchange.fndtn.tab",function(b){b.preventDefault(),a.handle_location_hash_change()})},handle_location_hash_change:function(){var b=this,c=this.S;c("["+this.attr_name()+"]",this.scope).each(function(){var e=c(this).data(b.attr_name(!0)+"-init");if(e.deep_linking){var f=b.scope.location.hash;if(""!=f){var g=c(f);if(g.hasClass("content")&&g.parent().hasClass("tab-content"))b.toggle_active_tab(a("["+b.attr_name()+"] > * > a[href="+f+"]").parent());else{var h=g.closest(".content").attr("id");h!=d&&b.toggle_active_tab(a("["+b.attr_name()+"] > * > a[href=#"+h+"]").parent(),f)}}else for(var i in b.default_tab_hashes)b.toggle_active_tab(a("["+b.attr_name()+"] > * > a[href="+b.default_tab_hashes[i]+"]").parent())}})},toggle_active_tab:function(c,e){var f=this.S,g=c.closest("["+this.attr_name()+"]"),h=c.children("a").first(),i="#"+h.attr("href").split("#")[1],j=f(i),k=c.siblings(),l=g.data(this.attr_name(!0)+"-init");if(f(this).data(this.data_attr("tab-content"))&&(i="#"+f(this).data(this.data_attr("tab-content")).split("#")[1],j=f(i)),l.deep_linking){var m=a("body,html").scrollTop();b.location.hash=e!=d?e:i,l.scroll_to_content?e==d||e==i?c.parent()[0].scrollIntoView():f(i)[0].scrollIntoView():(e==d||e==i)&&a("body,html").scrollTop(m)}c.addClass(l.active_class).triggerHandler("opened"),k.removeClass(l.active_class),j.siblings().removeClass(l.active_class).end().addClass(l.active_class),l.callback(c),j.triggerHandler("toggled",[c]),g.triggerHandler("toggled",[j])},data_attr:function(a){return this.namespace.length>0?this.namespace+"-"+a:a},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs.tooltip={name:"tooltip",version:"5.3.3",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:0,show_on:"all",tip_template:function(a,b){return''+b+''}},cache:{},init:function(a,b,c){Foundation.inherit(this,"random_str"),this.bindings(b,c)},should_show:function(b){var c=a.extend({},this.settings,this.data_options(b));return"all"===c.show_on?!0:this.small()&&"small"===c.show_on?!0:this.medium()&&"medium"===c.show_on?!0:this.large()&&"large"===c.show_on?!0:!1},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(b){var c=this,d=c.S;c.create(this.S(b)),a(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(b){var e=d(this),f=a.extend({},c.settings,c.data_options(e)),g=!1;if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type)&&d(b.target).is("a"))return!1;if(/mouse/i.test(b.type)&&c.ie_touch(b))return!1;if(e.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type)&&b.preventDefault(),c.hide(e);else{if(f.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type))return;!f.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type)&&(b.preventDefault(),d(f.tooltip_class+".open").hide(),g=!0),/enter|over/i.test(b.type)?this.timer=setTimeout(function(){c.showTip(e)}.bind(this),c.settings.hover_delay):"mouseout"===b.type||"mouseleave"===b.type?(clearTimeout(this.timer),c.hide(e)):c.showTip(e)}}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(b){return/mouse/i.test(b.type)&&c.ie_touch(b)?!1:void(("touch"!=a(this).data("tooltip-open-event-type")||"mouseleave"!=b.type)&&("mouse"==a(this).data("tooltip-open-event-type")&&/MSPointerDown|touchstart/i.test(b.type)?c.convert_to_touch(a(this)):c.hide(a(this))))}).on("DOMNodeRemoved DOMAttrModified","["+this.attr_name()+"]:not(a)",function(){c.hide(d(this))})},ie_touch:function(){return!1},showTip:function(a){var b=this.getTip(a);return this.should_show(a,b)?this.show(a):void 0},getTip:function(b){var c=this.selector(b),d=a.extend({},this.settings,this.data_options(b)),e=null;return c&&(e=this.S('span[data-selector="'+c+'"]'+d.tooltip_class)),"object"==typeof e?e:!1},selector:function(a){var b=a.attr("id"),c=a.attr(this.attr_name())||a.attr("data-selector");return(b&&b.length<1||!b)&&"string"!=typeof c&&(c=this.random_str(6),a.attr("data-selector",c)),b&&b.length>0?b:c},create:function(c){var d=this,e=a.extend({},this.settings,this.data_options(c)),f=this.settings.tip_template;"string"==typeof e.tip_template&&b.hasOwnProperty(e.tip_template)&&(f=b[e.tip_template]);var g=a(f(this.selector(c),a("
      ").html(c.attr("title")).html())),h=this.inheritable_classes(c);g.addClass(h).appendTo(e.append_to),Modernizr.touch&&(g.append(''+e.touch_close_text+""),g.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(){d.hide(c)})),c.removeAttr("title").attr("title","")},reposition:function(b,c,d){var e,f,g,h,i;if(c.css("visibility","hidden").show(),e=b.data("width"),f=c.children(".nub"),g=f.outerHeight(),h=f.outerHeight(),c.css(this.small()?{width:"100%"}:{width:e?e:"auto"}),i=function(a,b,c,d,e){return a.css({top:b?b:"auto",bottom:d?d:"auto",left:e?e:"auto",right:c?c:"auto"}).end()},i(c,b.offset().top+b.outerHeight()+10,"auto","auto",b.offset().left),this.small())i(c,b.offset().top+b.outerHeight()+10,"auto","auto",12.5,a(this.scope).width()),c.addClass("tip-override"),i(f,-g,"auto","auto",b.offset().left);else{var j=b.offset().left;Foundation.rtl&&(f.addClass("rtl"),j=b.offset().left+b.outerWidth()-c.outerWidth()),i(c,b.offset().top+b.outerHeight()+10,"auto","auto",j),c.removeClass("tip-override"),d&&d.indexOf("tip-top")>-1?(Foundation.rtl&&f.addClass("rtl"),i(c,b.offset().top-c.outerHeight(),"auto","auto",j).removeClass("tip-override")):d&&d.indexOf("tip-left")>-1?(i(c,b.offset().top+b.outerHeight()/2-c.outerHeight()/2,"auto","auto",b.offset().left-c.outerWidth()-g).removeClass("tip-override"),f.removeClass("rtl")):d&&d.indexOf("tip-right")>-1&&(i(c,b.offset().top+b.outerHeight()/2-c.outerHeight()/2,"auto","auto",b.offset().left+b.outerWidth()+g).removeClass("tip-override"),f.removeClass("rtl"))}c.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function(b){var c=a.extend({},this.settings,this.data_options(b)),d=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(c.additional_inheritable_classes),e=b.attr("class"),f=e?a.map(e.split(" "),function(b){return-1!==a.inArray(b,d)?b:void 0}).join(" "):"";return a.trim(f)},convert_to_touch:function(b){var c=this,d=c.getTip(b),e=a.extend({},c.settings,c.data_options(b));0===d.find(".tap-to-close").length&&(d.append(''+e.touch_close_text+""),d.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(){c.hide(b)})),b.data("tooltip-open-event-type","touch")},show:function(a){var b=this.getTip(a);"touch"==a.data("tooltip-open-event-type")&&this.convert_to_touch(a),this.reposition(a,b,a.attr("class")),a.addClass("open"),b.fadeIn(150)},hide:function(a){var b=this.getTip(a);b.fadeOut(150,function(){b.find(".tap-to-close").remove(),b.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose"),a.removeClass("open")})},off:function(){var b=this;this.S(this.scope).off(".fndtn.tooltip"),this.S(this.settings.tooltip_class).each(function(c){a("["+b.attr_name()+"]").eq(c).attr("title",a(this).text())}).remove()},reflow:function(){}}}(jQuery,window,window.document),function(a,b,c){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.3.3",settings:{index:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all"},init:function(b,c,d){Foundation.inherit(this,"add_custom_rule register_media throttle");var e=this;e.register_media("topbar","foundation-mq-topbar"),this.bindings(c,d),e.S("["+this.attr_name()+"]",this.scope).each(function(){{var b=a(this),c=b.data(e.attr_name(!0)+"-init");e.S("section",this)}b.data("index",0);var d=b.parent();d.hasClass("fixed")||e.is_sticky(b,d,c)?(e.settings.sticky_class=c.sticky_class,e.settings.sticky_topbar=b,b.data("height",d.outerHeight()),b.data("stickyoffset",d.offset().top)):b.data("height",b.outerHeight()),c.assembled||e.assemble(b),c.is_hover?e.S(".has-dropdown",b).addClass("not-click"):e.S(".has-dropdown",b).removeClass("not-click"),e.add_custom_rule(".f-topbar-fixed { padding-top: "+b.data("height")+"px }"),d.hasClass("fixed")&&e.S("body").addClass("f-topbar-fixed")})},is_sticky:function(a,b,c){var d=b.hasClass(c.sticky_class);return d&&"all"===c.sticky_on?!0:d&&this.small()&&"small"===c.sticky_on?matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:d&&this.medium()&&"medium"===c.sticky_on?matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:d&&this.large()&&"large"===c.sticky_on?matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&matchMedia(Foundation.media_queries.large).matches:!1},toggle:function(c){var d,e=this;d=c?e.S(c).closest("["+this.attr_name()+"]"):e.S("["+this.attr_name()+"]");var f=d.data(this.attr_name(!0)+"-init"),g=e.S("section, .section",d);e.breakpoint()&&(e.rtl?(g.css({right:"0%"}),a(">.name",g).css({right:"100%"})):(g.css({left:"0%"}),a(">.name",g).css({left:"100%"})),e.S("li.moved",g).removeClass("moved"),d.data("index",0),d.toggleClass("expanded").css("height","")),f.scrolltop?d.hasClass("expanded")?d.parent().hasClass("fixed")&&(f.scrolltop?(d.parent().removeClass("fixed"),d.addClass("fixed"),e.S("body").removeClass("f-topbar-fixed"),b.scrollTo(0,0)):d.parent().removeClass("expanded")):d.hasClass("fixed")&&(d.parent().addClass("fixed"),d.removeClass("fixed"),e.S("body").addClass("f-topbar-fixed")):(e.is_sticky(d,d.parent(),f)&&d.parent().addClass("fixed"),d.parent().hasClass("fixed")&&(d.hasClass("expanded")?(d.addClass("fixed"),d.parent().addClass("expanded"),e.S("body").addClass("f-topbar-fixed")):(d.removeClass("fixed"),d.parent().removeClass("expanded"),e.update_sticky_positioning())))},timer:null,events:function(){var c=this,d=this.S;d(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(a){a.preventDefault(),c.toggle(this)}).on("click.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(){var b=a(this).closest("li");!c.breakpoint()||b.hasClass("back")||b.hasClass("has-dropdown")||c.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(b){var e=d(this),f=d(b.target),g=e.closest("["+c.attr_name()+"]"),h=g.data(c.attr_name(!0)+"-init");return f.data("revealId")?void c.toggle():void(c.breakpoint()||(!h.is_hover||Modernizr.touch)&&(b.stopImmediatePropagation(),e.hasClass("hover")?(e.removeClass("hover").find("li").removeClass("hover"),e.parents("li.hover").removeClass("hover")):(e.addClass("hover"),a(e).siblings().removeClass("hover"),"A"===f[0].nodeName&&f.parent().hasClass("has-dropdown")&&b.preventDefault())))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(a){if(c.breakpoint()){a.preventDefault();var b=d(this),e=b.closest("["+c.attr_name()+"]"),f=e.find("section, .section"),g=(b.next(".dropdown").outerHeight(),b.closest("li"));e.data("index",e.data("index")+1),g.addClass("moved"),c.rtl?(f.css({right:-(100*e.data("index"))+"%"}),f.find(">.name").css({right:100*e.data("index")+"%"})):(f.css({left:-(100*e.data("index"))+"%"}),f.find(">.name").css({left:100*e.data("index")+"%"})),e.css("height",b.siblings("ul").outerHeight(!0)+e.data("height"))}}),d(b).off(".topbar").on("resize.fndtn.topbar",c.throttle(function(){c.resize.call(c)},50)).trigger("resize").trigger("resize.fndtn.topbar"),d("body").off(".topbar").on("click.fndtn.topbar",function(a){var b=d(a.target).closest("li").closest("li.hover");b.length>0||d("["+c.attr_name()+"] li.hover").removeClass("hover")}),d(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(a){a.preventDefault();var b=d(this),e=b.closest("["+c.attr_name()+"]"),f=e.find("section, .section"),g=(e.data(c.attr_name(!0)+"-init"),b.closest("li.moved")),h=g.parent();e.data("index",e.data("index")-1),c.rtl?(f.css({right:-(100*e.data("index"))+"%"}),f.find(">.name").css({right:100*e.data("index")+"%"})):(f.css({left:-(100*e.data("index"))+"%"}),f.find(">.name").css({left:100*e.data("index")+"%"})),0===e.data("index")?e.css("height",""):e.css("height",h.outerHeight(!0)+e.data("height")),setTimeout(function(){g.removeClass("moved")},300)})},resize:function(){var a=this;a.S("["+this.attr_name()+"]").each(function(){var b,d=a.S(this),e=d.data(a.attr_name(!0)+"-init"),f=d.parent("."+a.settings.sticky_class);if(!a.breakpoint()){var g=d.hasClass("expanded");d.css("height","").removeClass("expanded").find("li").removeClass("hover"),g&&a.toggle(d)}a.is_sticky(d,f,e)&&(f.hasClass("fixed")?(f.removeClass("fixed"),b=f.offset().top,a.S(c.body).hasClass("f-topbar-fixed")&&(b-=d.data("height")),d.data("stickyoffset",b),f.addClass("fixed")):(b=f.offset().top,d.data("stickyoffset",b)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(b){var c=this,d=b.data(this.attr_name(!0)+"-init"),e=c.S("section",b);e.detach(),c.S(".has-dropdown>a",e).each(function(){var b,e=c.S(this),f=e.siblings(".dropdown"),g=e.attr("href");f.find(".title.back").length||(b=a(1==d.mobile_show_parent_link&&g?'
    2. ":'
    3. '),a("h5>a",b).html(1==d.custom_back_text?d.back_text:"« "+e.html()),f.prepend(b))}),e.appendTo(b),this.sticky(),this.assembled(b)},assembled:function(b){b.data(this.attr_name(!0),a.extend({},b.data(this.attr_name(!0)),{assembled:!0}))},height:function(b){var c=0,d=this;return a("> li",b).each(function(){c+=d.S(this).outerHeight(!0)}),c},sticky:function(){var a=this;this.S(b).on("scroll",function(){a.update_sticky_positioning()})},update_sticky_positioning:function(){var a="."+this.settings.sticky_class,c=this.S(b),d=this;if(d.settings.sticky_topbar&&d.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)){var e=this.settings.sticky_topbar.data("stickyoffset");d.S(a).hasClass("expanded")||(c.scrollTop()>e?d.S(a).hasClass("fixed")||(d.S(a).addClass("fixed"),d.S("body").addClass("f-topbar-fixed")):c.scrollTop()<=e&&d.S(a).hasClass("fixed")&&(d.S(a).removeClass("fixed"),d.S("body").removeClass("f-topbar-fixed")))}},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(b).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,this,this.document); +!function(a,b,c,d){"use strict";function e(a){return("string"==typeof a||a instanceof String)&&(a=a.replace(/^['\\/"]+|(;\s?})+|['\\/"]+$/g,"")),a}var f=function(b){for(var c=b.length,d=a("head");c--;)0===d.has("."+b[c]).length&&d.append('')};f(["foundation-mq-small","foundation-mq-medium","foundation-mq-large","foundation-mq-xlarge","foundation-mq-xxlarge","foundation-data-attribute-namespace"]),a(function(){"undefined"!=typeof FastClick&&"undefined"!=typeof c.body&&FastClick.attach(c.body)});var g=function(b,d){if("string"==typeof b){if(d){var e;if(d.jquery){if(e=d[0],!e)return d}else e=d;return a(e.querySelectorAll(b))}return a(c.querySelectorAll(b))}return a(b,d)},h=function(a){var b=[];return a||b.push("data"),this.namespace.length>0&&b.push(this.namespace),b.push(this.name),b.join("-")},i=function(a){for(var b=a.split("-"),c=b.length,d=[];c--;)0!==c?d.push(b[c]):this.namespace.length>0?d.push(this.namespace,b[c]):d.push(b[c]);return d.reverse().join("-")},j=function(b,c){var d=this,e=!g(this).data(this.attr_name(!0));return g(this.scope).is("["+this.attr_name()+"]")?(g(this.scope).data(this.attr_name(!0)+"-init",a.extend({},this.settings,c||b,this.data_options(g(this.scope)))),e&&this.events(this.scope)):g("["+this.attr_name()+"]",this.scope).each(function(){var e=!g(this).data(d.attr_name(!0)+"-init");g(this).data(d.attr_name(!0)+"-init",a.extend({},d.settings,c||b,d.data_options(g(this)))),e&&d.events(this)}),"string"==typeof b?this[b].call(this,c):void 0},k=function(a,b){function c(){b(a[0])}function d(){if(this.one("load",c),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var a=this.attr("src"),b=a.match(/\?/)?"&":"?";b+="random="+(new Date).getTime(),this.attr("src",a+b)}}return a.attr("src")?void(a[0].complete||4===a[0].readyState?c():d.call(a)):void c()};b.matchMedia=b.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(c),function(){function a(){c&&(f(a),h&&jQuery.fx.tick())}for(var c,d=0,e=["webkit","moz"],f=b.requestAnimationFrame,g=b.cancelAnimationFrame,h="undefined"!=typeof jQuery.fx;d").appendTo("head")[0].sheet,global:{namespace:d},init:function(a,c,d,e,f){var h=[a,d,e,f],i=[];if(this.rtl=/rtl/i.test(g("html").attr("dir")),this.scope=a||this.scope,this.set_namespace(),c&&"string"==typeof c&&!/reflow/i.test(c))this.libs.hasOwnProperty(c)&&i.push(this.init_lib(c,h));else for(var j in this.libs)i.push(this.init_lib(j,c));return g(b).load(function(){g(b).trigger("resize.fndtn.clearing").trigger("resize.fndtn.dropdown").trigger("resize.fndtn.equalizer").trigger("resize.fndtn.interchange").trigger("resize.fndtn.joyride").trigger("resize.fndtn.magellan").trigger("resize.fndtn.topbar").trigger("resize.fndtn.slider")}),a},init_lib:function(b,c){return this.libs.hasOwnProperty(b)?(this.patch(this.libs[b]),c&&c.hasOwnProperty(b)?("undefined"!=typeof this.libs[b].settings?a.extend(!0,this.libs[b].settings,c[b]):"undefined"!=typeof this.libs[b].defaults&&a.extend(!0,this.libs[b].defaults,c[b]),this.libs[b].init.apply(this.libs[b],[this.scope,c[b]])):(c=c instanceof Array?c:new Array(c),this.libs[b].init.apply(this.libs[b],c))):function(){}},patch:function(a){a.scope=this.scope,a.namespace=this.global.namespace,a.rtl=this.rtl,a.data_options=this.utils.data_options,a.attr_name=h,a.add_namespace=i,a.bindings=j,a.S=this.utils.S},inherit:function(a,b){for(var c=b.split(" "),d=c.length;d--;)this.utils.hasOwnProperty(c[d])&&(a[c[d]]=this.utils[c[d]])},set_namespace:function(){var b=this.global.namespace===d?a(".foundation-data-attribute-namespace").css("font-family"):this.global.namespace;this.global.namespace=b===d||/false/i.test(b)?"":b},libs:{},utils:{S:g,throttle:function(a,b){var c=null;return function(){var d=this,e=arguments;null==c&&(c=setTimeout(function(){a.apply(d,e),c=null},b))}},debounce:function(a,b,c){var d,e;return function(){var f=this,g=arguments,h=function(){d=null,c||(e=a.apply(f,g))},i=c&&!d;return clearTimeout(d),d=setTimeout(h,b),i&&(e=a.apply(f,g)),e}},data_options:function(b,c){function d(a){return!isNaN(a-0)&&null!==a&&""!==a&&a!==!1&&a!==!0}function e(b){return"string"==typeof b?a.trim(b):b}c=c||"options";var f,g,h,i={},j=function(a){var b=Foundation.global.namespace;return a.data(b.length>0?b+"-"+c:c)},k=j(b);if("object"==typeof k)return k;for(h=(k||":").split(";"),f=h.length;f--;)g=h[f].split(":"),g=[g[0],g.slice(1).join(":")],/true/i.test(g[1])&&(g[1]=!0),/false/i.test(g[1])&&(g[1]=!1),d(g[1])&&(g[1]=-1===g[1].indexOf(".")?parseInt(g[1],10):parseFloat(g[1])),2===g.length&&g[0].length>0&&(i[e(g[0])]=e(g[1]));return i},register_media:function(b,c){Foundation.media_queries[b]===d&&(a("head").append(''),Foundation.media_queries[b]=e(a("."+c).css("font-family")))},add_custom_rule:function(a,b){if(b===d&&Foundation.stylesheet)Foundation.stylesheet.insertRule(a,Foundation.stylesheet.cssRules.length);else{var c=Foundation.media_queries[b];c!==d&&Foundation.stylesheet.insertRule("@media "+Foundation.media_queries[b]+"{ "+a+" }")}},image_loaded:function(a,b){var c=this,d=a.length;0===d&&b(a),a.each(function(){k(c.S(this),function(){d-=1,0===d&&b(a)})})},random_str:function(){return this.fidx||(this.fidx=0),this.prefix=this.prefix||[this.name||"F",(+new Date).toString(36)].join("-"),this.prefix+(this.fidx++).toString(36)}}},a.fn.foundation=function(){var a=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(a)),this})}}(jQuery,window,window.document),function(a,b,c){"use strict";Foundation.libs.abide={name:"abide",version:"5.4.6",settings:{live_validate:!0,focus_on_invalid:!0,error_labels:!0,timeout:1e3,patterns:{alpha:/^[a-zA-Z]+$/,alpha_numeric:/^[a-zA-Z0-9]+$/,integer:/^[-+]?\d+$/,number:/^[-+]?\d*(?:[\.\,]\d+)?$/,card:/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/,cvv:/^([0-9]){3,4}$/,email:/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/,url:/^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}$/,datetime:/^([0-2][0-9]{3})\-([0-1][0-9])\-([0-3][0-9])T([0-5][0-9])\:([0-5][0-9])\:([0-5][0-9])(Z|([\-\+]([0-1][0-9])\:00))$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))$/,time:/^(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]){2}$/,dateISO:/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/,month_day_year:/^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/,day_month_year:/^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/},validators:{equalTo:function(a){var b=c.getElementById(a.getAttribute(this.add_namespace("data-equalto"))).value,d=a.value,e=b===d;return e}}},timer:null,init:function(a,b,c){this.bindings(b,c)},events:function(b){var c=this,d=c.S(b).attr("novalidate","novalidate"),e=d.data(this.attr_name(!0)+"-init")||{};this.invalid_attr=this.add_namespace("data-invalid"),d.off(".abide").on("submit.fndtn.abide validate.fndtn.abide",function(a){var b=/ajax/i.test(c.S(this).attr(c.attr_name()));return c.validate(c.S(this).find("input, textarea, select").get(),a,b)}).on("reset",function(){return c.reset(a(this))}).find("input, textarea, select").off(".abide").on("blur.fndtn.abide change.fndtn.abide",function(a){c.validate([this],a)}).on("keydown.fndtn.abide",function(a){e.live_validate===!0&&(clearTimeout(c.timer),c.timer=setTimeout(function(){c.validate([this],a)}.bind(this),e.timeout))})},reset:function(b){b.removeAttr(this.invalid_attr),a(this.invalid_attr,b).removeAttr(this.invalid_attr),a(".error",b).not("small").removeClass("error")},validate:function(a,b,c){for(var d=this.parse_patterns(a),e=d.length,f=this.S(a[0]).closest("form"),g=/submit/.test(b.type),h=0;e>h;h++)if(!d[h]&&(g||c))return this.settings.focus_on_invalid&&a[h].focus(),f.trigger("invalid"),this.S(a[h]).closest("form").attr(this.invalid_attr,""),!1;return(g||c)&&f.trigger("valid"),f.removeAttr(this.invalid_attr),c?!1:!0},parse_patterns:function(a){for(var b=a.length,c=[];b--;)c.push(this.pattern(a[b]));return this.check_validation_and_apply_styles(c)},pattern:function(a){var b=a.getAttribute("type"),c="string"==typeof a.getAttribute("required"),d=a.getAttribute("pattern")||"";return this.settings.patterns.hasOwnProperty(d)&&d.length>0?[a,this.settings.patterns[d],c]:d.length>0?[a,new RegExp(d),c]:this.settings.patterns.hasOwnProperty(b)?[a,this.settings.patterns[b],c]:(d=/.*/,[a,d,c])},check_validation_and_apply_styles:function(b){var c=b.length,d=[],e=this.S(b[0][0]).closest("[data-"+this.attr_name(!0)+"]");for(e.data(this.attr_name(!0)+"-init")||{};c--;){var f,g,h=b[c][0],i=b[c][2],j=h.value.trim(),k=this.S(h).parent(),l=h.getAttribute(this.add_namespace("data-abide-validator")),m="radio"===h.type,n="checkbox"===h.type,o=this.S('label[for="'+h.getAttribute("id")+'"]'),p=i?h.value.length>0:!0,q=[];if(h.getAttribute(this.add_namespace("data-equalto"))&&(l="equalTo"),f=k.is("label")?k.parent():k,l&&(g=this.settings.validators[l].apply(this,[h,i,f]),q.push(g)),m&&i)q.push(this.valid_radio(h,i));else if(n&&i)q.push(this.valid_checkbox(h,i));else if(q.push(b[c][1].test(j)&&p||!i&&h.value.length<1||a(h).attr("disabled")?!0:!1),q=[q.every(function(a){return a})],q[0])this.S(h).removeAttr(this.invalid_attr),h.setAttribute("aria-invalid","false"),h.removeAttribute("aria-describedby"),f.removeClass("error"),o.length>0&&this.settings.error_labels&&o.removeClass("error").removeAttr("role"),a(h).triggerHandler("valid");else{this.S(h).attr(this.invalid_attr,""),h.setAttribute("aria-invalid","true");var r=f.find("small.error, span.error"),s=r.length>0?r[0].id:"";s.length>0&&h.setAttribute("aria-describedby",s),f.addClass("error"),o.length>0&&this.settings.error_labels&&o.addClass("error").attr("role","alert"),a(h).triggerHandler("invalid")}d.push(q[0])}return d=[d.every(function(a){return a})]},valid_checkbox:function(a,b){var a=this.S(a),c=a.is(":checked")||!b;return c?a.removeAttr(this.invalid_attr).parent().removeClass("error"):a.attr(this.invalid_attr,"").parent().addClass("error"),c},valid_radio:function(a){for(var b=a.getAttribute("name"),c=this.S(a).closest("[data-"+this.attr_name(!0)+"]").find("[name='"+b+"']"),d=c.length,e=!1,f=0;d>f;f++)c[f].checked&&(e=!0);for(var f=0;d>f;f++)e?this.S(c[f]).removeAttr(this.invalid_attr).parent().removeClass("error"):this.S(c[f]).attr(this.invalid_attr,"").parent().addClass("error");return e},valid_equal:function(a,b,d){var e=c.getElementById(a.getAttribute(this.add_namespace("data-equalto"))).value,f=a.value,g=e===f;return g?(this.S(a).removeAttr(this.invalid_attr),d.removeClass("error"),label.length>0&&settings.error_labels&&label.removeClass("error")):(this.S(a).attr(this.invalid_attr,""),d.addClass("error"),label.length>0&&settings.error_labels&&label.addClass("error")),g},valid_oneof:function(a,b,c,d){var a=this.S(a),e=this.S("["+this.add_namespace("data-oneof")+"]"),f=e.filter(":checked").length>0;if(f?a.removeAttr(this.invalid_attr).parent().removeClass("error"):a.attr(this.invalid_attr,"").parent().addClass("error"),!d){var g=this;e.each(function(){g.valid_oneof.call(g,this,null,null,!0)})}return f}}}(jQuery,window,window.document),function(a){"use strict";Foundation.libs.accordion={name:"accordion",version:"5.4.6",settings:{active_class:"active",multi_expand:!1,toggleable:!0,callback:function(){}},init:function(a,b,c){this.bindings(b,c)},events:function(){var b=this,c=this.S;c(this.scope).off(".fndtn.accordion").on("click.fndtn.accordion","["+this.attr_name()+"] > dd > a",function(d){var e=c(this).closest("["+b.attr_name()+"]"),f=b.attr_name()+"="+e.attr(b.attr_name()),g=e.data(b.attr_name(!0)+"-init"),h=c("#"+this.href.split("#")[1]),i=a("> dd",e),j=i.children(".content"),k=j.filter("."+g.active_class);return d.preventDefault(),e.attr(b.attr_name())&&(j=j.add("["+f+"] dd > .content"),i=i.add("["+f+"] dd")),g.toggleable&&h.is(k)?(h.parent("dd").toggleClass(g.active_class,!1),h.toggleClass(g.active_class,!1),g.callback(h),h.triggerHandler("toggled",[e]),void e.triggerHandler("toggled",[h])):(g.multi_expand||(j.removeClass(g.active_class),i.removeClass(g.active_class)),h.addClass(g.active_class).parent().addClass(g.active_class),g.callback(h),h.triggerHandler("toggled",[e]),void e.triggerHandler("toggled",[h]))})},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(a){"use strict";Foundation.libs.alert={name:"alert",version:"5.4.6",settings:{callback:function(){}},init:function(a,b,c){this.bindings(b,c)},events:function(){var b=this,c=this.S;a(this.scope).off(".alert").on("click.fndtn.alert","["+this.attr_name()+"] .close",function(a){var d=c(this).closest("["+b.attr_name()+"]"),e=d.data(b.attr_name(!0)+"-init")||b.settings;a.preventDefault(),Modernizr.csstransitions?(d.addClass("alert-close"),d.on("transitionend webkitTransitionEnd oTransitionEnd",function(){c(this).trigger("close").trigger("close.fndtn.alert").remove(),e.callback()})):d.fadeOut(300,function(){c(this).trigger("close").trigger("close.fndtn.alert").remove(),e.callback()})})},reflow:function(){}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";Foundation.libs.clearing={name:"clearing",version:"5.4.6",settings:{templates:{viewing:'×'},close_selectors:".clearing-close, div.clearing-blackout",open_selectors:"",skip_selector:"",touch_label:"",init:!1,locked:!1},init:function(a,b,c){var d=this;Foundation.inherit(this,"throttle image_loaded"),this.bindings(b,c),d.S(this.scope).is("["+this.attr_name()+"]")?this.assemble(d.S("li",this.scope)):d.S("["+this.attr_name()+"]",this.scope).each(function(){d.assemble(d.S("li",this))})},events:function(d){var e=this,f=e.S,g=a(".scroll-container");g.length>0&&(this.scope=g),f(this.scope).off(".clearing").on("click.fndtn.clearing","ul["+this.attr_name()+"] li "+this.settings.open_selectors,function(a,b,c){var b=b||f(this),c=c||b,d=b.next("li"),g=b.closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init"),h=f(a.target);a.preventDefault(),g||(e.init(),g=b.closest("["+e.attr_name()+"]").data(e.attr_name(!0)+"-init")),c.hasClass("visible")&&b[0]===c[0]&&d.length>0&&e.is_open(b)&&(c=d,h=f("img",c)),e.open(h,b,c),e.update_paddles(c)}).on("click.fndtn.clearing",".clearing-main-next",function(a){e.nav(a,"next")}).on("click.fndtn.clearing",".clearing-main-prev",function(a){e.nav(a,"prev")}).on("click.fndtn.clearing",this.settings.close_selectors,function(a){Foundation.libs.clearing.close(a,this)}),a(c).on("keydown.fndtn.clearing",function(a){e.keydown(a)}),f(b).off(".clearing").on("resize.fndtn.clearing",function(){e.resize()}),this.swipe_events(d)},swipe_events:function(){var a=this,b=a.S;b(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(a){a.touches||(a=a.originalEvent);var c={start_page_x:a.touches[0].pageX,start_page_y:a.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:d};b(this).data("swipe-transition",c),a.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(c){if(c.touches||(c=c.originalEvent),!(c.touches.length>1||c.scale&&1!==c.scale)){var d=b(this).data("swipe-transition");if("undefined"==typeof d&&(d={}),d.delta_x=c.touches[0].pageX-d.start_page_x,Foundation.rtl&&(d.delta_x=-d.delta_x),"undefined"==typeof d.is_scrolling&&(d.is_scrolling=!!(d.is_scrolling||Math.abs(d.delta_x)
    ');var d=c.detach(),e="";if(null!=d[0]){e=d[0].outerHTML;var f=this.S("#foundationClearingHolder"),g=c.data(this.attr_name(!0)+"-init"),h={grid:'",viewing:g.templates.viewing},i='
    '+h.viewing+h.grid+"
    ",j=this.settings.touch_label;Modernizr.touch&&(i=a(i).find(".clearing-touch-label").html(j).end()),f.after(i).remove()}}},open:function(b,d,e){function f(){setTimeout(function(){this.image_loaded(m,function(){1!==m.outerWidth()||o?g.call(this,m):f.call(this)}.bind(this))}.bind(this),100)}function g(b){var c=a(b);c.css("visibility","visible"),i.css("overflow","hidden"),j.addClass("clearing-blackout"),k.addClass("clearing-container"),l.show(),this.fix_height(e).caption(h.S(".clearing-caption",l),h.S("img",e)).center_and_label(b,n).shift(d,e,function(){e.closest("li").siblings().removeClass("visible"),e.closest("li").addClass("visible")}),l.trigger("opened.fndtn.clearing")}var h=this,i=a(c.body),j=e.closest(".clearing-assembled"),k=h.S("div",j).first(),l=h.S(".visible-img",k),m=h.S("img",l).not(b),n=h.S(".clearing-touch-label",k),o=!1;a("body").on("touchmove",function(a){a.preventDefault()}),m.error(function(){o=!0}),this.locked()||(l.trigger("open.fndtn.clearing"),m.attr("src",this.load(b)).css("visibility","hidden"),f.call(this))},close:function(b,d){b.preventDefault();var e,f,g=function(a){return/blackout/.test(a.selector)?a:a.closest(".clearing-blackout")}(a(d)),h=a(c.body);return d===b.target&&g&&(h.css("overflow",""),e=a("div",g).first(),f=a(".visible-img",e),f.trigger("close.fndtn.clearing"),this.settings.prev_index=0,a("ul["+this.attr_name()+"]",g).attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),e.removeClass("clearing-container"),f.hide(),f.trigger("closed.fndtn.clearing")),a("body").off("touchmove"),!1},is_open:function(a){return a.parent().prop("style").length>0},keydown:function(b){var c=a(".clearing-blackout ul["+this.attr_name()+"]"),d=this.rtl?37:39,e=this.rtl?39:37,f=27;b.which===d&&this.go(c,"next"),b.which===e&&this.go(c,"prev"),b.which===f&&this.S("a.clearing-close").trigger("click").trigger("click.fndtn.clearing")},nav:function(b,c){var d=a("ul["+this.attr_name()+"]",".clearing-blackout");b.preventDefault(),this.go(d,c)},resize:function(){var b=a("img",".clearing-blackout .visible-img"),c=a(".clearing-touch-label",".clearing-blackout");b.length&&(this.center_and_label(b,c),b.trigger("resized.fndtn.clearing"))},fix_height:function(a){var b=a.parent().children(),c=this;return b.each(function(){var a=c.S(this),b=a.find("img");a.height()>b.outerHeight()&&a.addClass("fix-height")}).closest("ul").width(100*b.length+"%"),this},update_paddles:function(a){a=a.closest("li");var b=a.closest(".carousel").siblings(".visible-img");a.next().length>0?this.S(".clearing-main-next",b).removeClass("disabled"):this.S(".clearing-main-next",b).addClass("disabled"),a.prev().length>0?this.S(".clearing-main-prev",b).removeClass("disabled"):this.S(".clearing-main-prev",b).addClass("disabled")},center_and_label:function(a,b){return this.rtl?(a.css({marginRight:-(a.outerWidth()/2),marginTop:-(a.outerHeight()/2),left:"auto",right:"50%"}),b.length>0&&b.css({marginRight:-(b.outerWidth()/2),marginTop:-(a.outerHeight()/2)-b.outerHeight()-10,left:"auto",right:"50%"})):(a.css({marginLeft:-(a.outerWidth()/2),marginTop:-(a.outerHeight()/2)}),b.length>0&&b.css({marginLeft:-(b.outerWidth()/2),marginTop:-(a.outerHeight()/2)-b.outerHeight()-10})),this},load:function(a){var b;return b="A"===a[0].nodeName?a.attr("href"):a.parent().attr("href"),this.preload(a),b?b:a.attr("src")},preload:function(a){this.img(a.closest("li").next()).img(a.closest("li").prev())},img:function(a){if(a.length){var b=new Image,c=this.S("a",a);b.src=c.length?c.attr("href"):this.S("img",a).attr("src")}return this},caption:function(a,b){var c=b.attr("data-caption");return c?a.html(c).show():a.text("").hide(),this},go:function(a,b){var c=this.S(".visible",a),d=c[b]();this.settings.skip_selector&&0!=d.find(this.settings.skip_selector).length&&(d=d[b]()),d.length&&this.S("img",d).trigger("click",[c,d]).trigger("click.fndtn.clearing",[c,d]).trigger("change.fndtn.clearing")},shift:function(a,b,c){var d,e=b.parent(),f=this.settings.prev_index||b.index(),g=this.direction(e,a,b),h=this.rtl?"right":"left",i=parseInt(e.css("left"),10),j=b.outerWidth(),k={};b.index()===f||/skip/.test(g)?/skip/.test(g)&&(d=b.index()-this.settings.up_count,this.lock(),d>0?(k[h]=-(d*j),e.animate(k,300,this.unlock())):(k[h]=0,e.animate(k,300,this.unlock()))):/left/.test(g)?(this.lock(),k[h]=i+j,e.animate(k,300,this.unlock())):/right/.test(g)&&(this.lock(),k[h]=i-j,e.animate(k,300,this.unlock())),c()},direction:function(a,b,c){var d,e=this.S("li",a),f=e.outerWidth()+e.outerWidth()/4,g=Math.floor(this.S(".clearing-container").outerWidth()/f)-1,h=e.index(c);return this.settings.up_count=g,d=this.adjacent(this.settings.prev_index,h)?h>g&&h>this.settings.prev_index?"right":h>g-1&&h<=this.settings.prev_index?"left":!1:"skip",this.settings.prev_index=h,d},adjacent:function(a,b){for(var c=b+1;c>=b-1;c--)if(c===a)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},off:function(){this.S(this.scope).off(".fndtn.clearing"),this.S(b).off(".fndtn.clearing")},reflow:function(){this.init()}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"5.4.6",settings:{active_class:"open",disabled_class:"disabled",mega_class:"mega",align:"bottom",is_hover:!1,opened:function(){},closed:function(){}},init:function(a,b,c){Foundation.inherit(this,"throttle"),this.bindings(b,c)},events:function(){var c=this,d=c.S;d(this.scope).off(".dropdown").on("click.fndtn.dropdown","["+this.attr_name()+"]",function(b){var e=d(this).data(c.attr_name(!0)+"-init")||c.settings;(!e.is_hover||Modernizr.touch)&&(b.preventDefault(),c.toggle(a(this)))}).on("mouseenter.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(a){var b,e,f=d(this);clearTimeout(c.timeout),f.data(c.data_attr())?(b=d("#"+f.data(c.data_attr())),e=f):(b=f,e=d("["+c.attr_name()+"='"+b.attr("id")+"']"));var g=e.data(c.attr_name(!0)+"-init")||c.settings;d(a.target).data(c.data_attr())&&g.is_hover&&c.closeall.call(c),g.is_hover&&c.open.apply(c,[b,e])}).on("mouseleave.fndtn.dropdown","["+this.attr_name()+"], ["+this.attr_name()+"-content]",function(){var a=d(this);c.timeout=setTimeout(function(){if(a.data(c.data_attr())){var b=a.data(c.data_attr(!0)+"-init")||c.settings;b.is_hover&&c.close.call(c,d("#"+a.data(c.data_attr())))}else{var e=d("["+c.attr_name()+'="'+d(this).attr("id")+'"]'),b=e.data(c.attr_name(!0)+"-init")||c.settings;b.is_hover&&c.close.call(c,a)}}.bind(this),150)}).on("click.fndtn.dropdown",function(b){var e=d(b.target).closest("["+c.attr_name()+"-content]");if(!(d(b.target).closest("["+c.attr_name()+"]").length>0))return!d(b.target).data("revealId")&&e.length>0&&(d(b.target).is("["+c.attr_name()+"-content]")||a.contains(e.first()[0],b.target))?void b.stopPropagation():void c.close.call(c,d("["+c.attr_name()+"-content]"))}).on("opened.fndtn.dropdown","["+c.attr_name()+"-content]",function(){c.settings.opened.call(this)}).on("closed.fndtn.dropdown","["+c.attr_name()+"-content]",function(){c.settings.closed.call(this)}),d(b).off(".dropdown").on("resize.fndtn.dropdown",c.throttle(function(){c.resize.call(c)},50)),this.resize()},close:function(b){var c=this;b.each(function(){var d=a("["+c.attr_name()+"="+b[0].id+"]")||a("aria-controls="+b[0].id+"]");d.attr("aria-expanded","false"),c.S(this).hasClass(c.settings.active_class)&&(c.S(this).css(Foundation.rtl?"right":"left","-99999px").attr("aria-hidden","true").removeClass(c.settings.active_class).prev("["+c.attr_name()+"]").removeClass(c.settings.active_class).removeData("target"),c.S(this).trigger("closed").trigger("closed.fndtn.dropdown",[b]))})},closeall:function(){var b=this;a.each(b.S("["+this.attr_name()+"-content]"),function(){b.close.call(b,b.S(this))})},open:function(a,b){this.css(a.addClass(this.settings.active_class),b),a.prev("["+this.attr_name()+"]").addClass(this.settings.active_class),a.data("target",b.get(0)).trigger("opened").trigger("opened.fndtn.dropdown",[a,b]),a.attr("aria-hidden","false"),b.attr("aria-expanded","true"),a.focus()},data_attr:function(){return this.namespace.length>0?this.namespace+"-"+this.name:this.name},toggle:function(a){if(!a.hasClass(this.settings.disabled_class)){var b=this.S("#"+a.data(this.data_attr()));0!==b.length&&(this.close.call(this,this.S("["+this.attr_name()+"-content]").not(b)),b.hasClass(this.settings.active_class)?(this.close.call(this,b),b.data("target")!==a.get(0)&&this.open.call(this,b,a)):this.open.call(this,b,a))}},resize:function(){var a=this.S("["+this.attr_name()+"-content].open"),b=this.S("["+this.attr_name()+"='"+a.attr("id")+"']");a.length&&b.length&&this.css(a,b)},css:function(a,b){var c=Math.max((b.width()-a.width())/2,8),d=b.data(this.attr_name(!0)+"-init")||this.settings;if(this.clear_idx(),this.small()){var e=this.dirs.bottom.call(a,b,d);a.attr("style","").removeClass("drop-left drop-right drop-top").css({position:"absolute",width:"95%","max-width":"none",top:e.top}),a.css(Foundation.rtl?"right":"left",c)}else this.style(a,b,d);return a},style:function(b,c,d){var e=a.extend({position:"absolute"},this.dirs[d.align].call(b,c,d));b.attr("style","").css(e)},dirs:{_base:function(a){var b=this.offsetParent(),c=b.offset(),d=a.offset();return d.top-=c.top,d.left-=c.left,d},top:function(a,b){var c=Foundation.libs.dropdown,d=c.dirs._base.call(this,a);return this.addClass("drop-top"),(a.outerWidth()0)for(var d=this.S("["+this.add_namespace("data-uuid")+'="'+a+'"]');c--;){var e,f=b[c][2];if(e=matchMedia(this.settings.named_queries.hasOwnProperty(f)?this.settings.named_queries[f]:f),e.matches)return{el:d,scenario:b[c]}}return!1},load:function(a,b){return("undefined"==typeof this["cached_"+a]||b)&&this["update_"+a](),this["cached_"+a]},update_images:function(){var a=this.S("img["+this.data_attr+"]"),b=a.length,c=b,d=0,e=this.data_attr;for(this.cache={},this.cached_images=[],this.images_loaded=0===b;c--;){if(d++,a[c]){var f=a[c].getAttribute(e)||"";f.length>0&&this.cached_images.push(a[c])}d===b&&(this.images_loaded=!0,this.enhance("images"))}return this},update_nodes:function(){var a=this.S("["+this.data_attr+"]").not("img"),b=a.length,c=b,d=0,e=this.data_attr;for(this.cached_nodes=[],this.nodes_loaded=0===b;c--;){d++;var f=a[c].getAttribute(e)||"";f.length>0&&this.cached_nodes.push(a[c]),d===b&&(this.nodes_loaded=!0,this.enhance("nodes"))}return this},enhance:function(c){for(var d=this["cached_"+c].length;d--;)this.object(a(this["cached_"+c][d]));return a(b).trigger("resize").trigger("resize.fndtn.interchange")},convert_directive:function(a){var b=this.trim(a);return b.length>0?b:"replace"},parse_scenario:function(a){var b=a[0].match(/(.+),\s*(\w+)\s*$/),c=a[1];if(b)var d=b[1],e=b[2];else var f=a[0].split(/,\s*$/),d=f[0],e="";return[this.trim(d),this.convert_directive(e),this.trim(c)]},object:function(a){var b=this.parse_data_attr(a),c=[],d=b.length;if(d>0)for(;d--;){var e=b[d].split(/\((.*?)(\))$/);if(e.length>1){var f=this.parse_scenario(e);c.push(f)}}return this.store(a,c)},store:function(a,b){var c=this.random_str(),d=a.data(this.add_namespace("uuid",!0));return this.cache[d]?this.cache[d]:(a.attr(this.add_namespace("data-uuid"),c),this.cache[c]=b)},trim:function(b){return"string"==typeof b?a.trim(b):b},set_data_attr:function(a){return a?this.namespace.length>0?this.namespace+"-"+this.settings.load_attr:this.settings.load_attr:this.namespace.length>0?"data-"+this.namespace+"-"+this.settings.load_attr:"data-"+this.settings.load_attr},parse_data_attr:function(a){for(var b=a.attr(this.attr_name()).split(/\[(.*?)\]/),c=b.length,d=[];c--;)b[c].replace(/[\W\d]+/,"").length>4&&d.push(b[c]);return d},reflow:function(){this.load("images",!0),this.load("nodes",!0)}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";Foundation.libs.joyride={name:"joyride",version:"5.4.6",defaults:{expose:!1,modal:!0,keyboard:!0,tip_location:"bottom",nub_position:"auto",scroll_speed:1500,scroll_animation:"linear",timer:0,start_timer_on_click:!0,start_offset:0,next_button:!0,prev_button:!0,tip_animation:"fade",pause_after:[],exposed:[],tip_animation_fade_speed:300,cookie_monster:!1,cookie_name:"joyride",cookie_domain:!1,cookie_expires:365,tip_container:"body",abort_on_close:!0,tip_location_patterns:{top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},post_ride_callback:function(){},post_step_callback:function(){},pre_step_callback:function(){},pre_ride_callback:function(){},post_expose_callback:function(){},template:{link:'×',timer:'
    ',tip:'
    ',wrapper:'
    ',button:'',prev_button:'',modal:'
    ',expose:'
    ',expose_cover:'
    '},expose_add_class:""},init:function(b,c,d){Foundation.inherit(this,"throttle random_str"),this.settings=this.settings||a.extend({},this.defaults,d||c),this.bindings(c,d)},go_next:function(){this.settings.$li.next().length<1?this.end():this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())},go_prev:function(){this.settings.$li.prev().length<1||(this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(null,!0),this.startTimer()):(this.hide(),this.show(null,!0)))},events:function(){var c=this;a(this.scope).off(".joyride").on("click.fndtn.joyride",".joyride-next-tip, .joyride-modal-bg",function(a){a.preventDefault(),this.go_next()}.bind(this)).on("click.fndtn.joyride",".joyride-prev-tip",function(a){a.preventDefault(),this.go_prev()}.bind(this)).on("click.fndtn.joyride",".joyride-close-tip",function(a){a.preventDefault(),this.end(this.settings.abort_on_close)}.bind(this)).on("keyup.fndtn.joyride",function(a){if(this.settings.keyboard&&this.settings.riding)switch(a.which){case 39:a.preventDefault(),this.go_next();break;case 37:a.preventDefault(),this.go_prev();break;case 27:a.preventDefault(),this.end(this.settings.abort_on_close)}}.bind(this)),a(b).off(".joyride").on("resize.fndtn.joyride",c.throttle(function(){if(a("["+c.attr_name()+"]").length>0&&c.settings.$next_tip&&c.settings.riding){if(c.settings.exposed.length>0){var b=a(c.settings.exposed);b.each(function(){var b=a(this);c.un_expose(b),c.expose(b)})}c.is_phone()?c.pos_phone():c.pos_default(!1)}},100))},start:function(){var b=this,c=a("["+this.attr_name()+"]",this.scope),d=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],e=d.length;!c.length>0||(this.settings.init||this.events(),this.settings=c.data(this.attr_name(!0)+"-init"),this.settings.$content_el=c,this.settings.$body=a(this.settings.tip_container),this.settings.body_offset=a(this.settings.tip_container).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,this.settings.riding=!0,"function"!=typeof a.cookie&&(this.settings.cookie_monster=!1),(!this.settings.cookie_monster||this.settings.cookie_monster&&!a.cookie(this.settings.cookie_name))&&(this.settings.$tip_content.each(function(c){var f=a(this);this.settings=a.extend({},b.defaults,b.data_options(f));for(var g=e;g--;)b.settings[d[g]]=parseInt(b.settings[d[g]],10);b.create({$li:f,index:c})}),!this.settings.start_timer_on_click&&this.settings.timer>0?(this.show("init"),this.startTimer()):this.show("init")))},resume:function(){this.set_li(),this.show()},tip_template:function(b){var c,d;return b.tip_class=b.tip_class||"",c=a(this.settings.template.tip).addClass(b.tip_class),d=a.trim(a(b.li).html())+this.prev_button_text(b.prev_button_text,b.index)+this.button_text(b.button_text)+this.settings.template.link+this.timer_instance(b.index),c.append(a(this.settings.template.wrapper)),c.first().attr(this.add_namespace("data-index"),b.index),a(".joyride-content-wrapper",c).append(d),c[0]},timer_instance:function(b){var c;return c=0===b&&this.settings.start_timer_on_click&&this.settings.timer>0||0===this.settings.timer?"":a(this.settings.template.timer)[0].outerHTML},button_text:function(b){return this.settings.tip_settings.next_button?(b=a.trim(b)||"Next",b=a(this.settings.template.button).append(b)[0].outerHTML):b="",b},prev_button_text:function(b,c){return this.settings.tip_settings.prev_button?(b=a.trim(b)||"Previous",b=0==c?a(this.settings.template.prev_button).append(b).addClass("disabled")[0].outerHTML:a(this.settings.template.prev_button).append(b)[0].outerHTML):b="",b},create:function(b){this.settings.tip_settings=a.extend({},this.settings,this.data_options(b.$li));var c=b.$li.attr(this.add_namespace("data-button"))||b.$li.attr(this.add_namespace("data-text")),d=b.$li.attr(this.add_namespace("data-button-prev"))||b.$li.attr(this.add_namespace("data-prev-text")),e=b.$li.attr("class"),f=a(this.tip_template({tip_class:e,index:b.index,button_text:c,prev_button_text:d,li:b.$li}));a(this.settings.tip_container).append(f)},show:function(b,c){var e=null;this.settings.$li===d||-1===a.inArray(this.settings.$li.index(),this.settings.pause_after)?(this.settings.paused?this.settings.paused=!1:this.set_li(b,c),this.settings.attempts=0,this.settings.$li.length&&this.settings.$target.length>0?(b&&(this.settings.pre_ride_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.show_modal()),this.settings.pre_step_callback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.settings.expose&&this.expose(),this.settings.tip_settings=a.extend({},this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tip_settings.tip_location_pattern=this.settings.tip_location_patterns[this.settings.tip_settings.tip_location],/body/i.test(this.settings.$target.selector)||this.scroll_to(),this.is_phone()?this.pos_phone(!0):this.pos_default(!0),e=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tip_animation)?(e.width(0),this.settings.timer>0?(this.settings.$next_tip.show(),setTimeout(function(){e.animate({width:e.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tip_animation)&&(e.width(0),this.settings.timer>0?(this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed).show(),setTimeout(function(){e.animate({width:e.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tip_animation_fade_speed)):this.settings.$next_tip.fadeIn(this.settings.tip_animation_fade_speed)),this.settings.$current_tip=this.settings.$next_tip):this.settings.$li&&this.settings.$target.length<1?this.show(b,c):this.end()):this.settings.paused=!0},is_phone:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},hide:function(){this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.modal||a(".joyride-modal-bg").hide(),this.settings.$current_tip.css("visibility","hidden"),setTimeout(a.proxy(function(){this.hide(),this.css("visibility","visible")},this.settings.$current_tip),0),this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip)},set_li:function(a,b){a?(this.settings.$li=this.settings.$tip_content.eq(this.settings.start_offset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(this.settings.$li=b?this.settings.$li.prev():this.settings.$li.next(),this.set_next_tip()),this.set_target()},set_next_tip:function(){this.settings.$next_tip=a(".joyride-tip-guide").eq(this.settings.$li.index()),this.settings.$next_tip.data("closed","")},set_target:function(){var b=this.settings.$li.attr(this.add_namespace("data-class")),d=this.settings.$li.attr(this.add_namespace("data-id")),e=function(){return d?a(c.getElementById(d)):b?a("."+b).first():a("body")};this.settings.$target=e()},scroll_to:function(){var c,d;c=a(b).height()/2,d=Math.ceil(this.settings.$target.offset().top-c+this.settings.$next_tip.outerHeight()),0!=d&&a("html, body").stop().animate({scrollTop:d},this.settings.scroll_speed,"swing")},paused:function(){return-1===a.inArray(this.settings.$li.index()+1,this.settings.pause_after)},restart:function(){this.hide(),this.settings.$li=d,this.show("init")},pos_default:function(a){var b=this.settings.$next_tip.find(".joyride-nub"),c=Math.ceil(b.outerWidth()/2),d=Math.ceil(b.outerHeight()/2),e=a||!1;if(e&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector))this.settings.$li.length&&this.pos_modal(b);else{var f=this.settings.tip_settings.tipAdjustmentY?parseInt(this.settings.tip_settings.tipAdjustmentY):0,g=this.settings.tip_settings.tipAdjustmentX?parseInt(this.settings.tip_settings.tipAdjustmentX):0;this.bottom()?(this.settings.$next_tip.css(this.rtl?{top:this.settings.$target.offset().top+d+this.settings.$target.outerHeight()+f,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()+g}:{top:this.settings.$target.offset().top+d+this.settings.$target.outerHeight()+f,left:this.settings.$target.offset().left+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"top")):this.top()?(this.settings.$next_tip.css(this.rtl?{top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-d+f,left:this.settings.$target.offset().left+this.settings.$target.outerWidth()-this.settings.$next_tip.outerWidth()}:{top:this.settings.$target.offset().top-this.settings.$next_tip.outerHeight()-d+f,left:this.settings.$target.offset().left+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"bottom")):this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top+f,left:this.settings.$target.outerWidth()+this.settings.$target.offset().left+c+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top+f,left:this.settings.$target.offset().left-this.settings.$next_tip.outerWidth()-c+g}),this.nub_position(b,this.settings.tip_settings.nub_position,"right")),!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts0&&arguments[0]instanceof a)e=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;e=this.settings.$target}return e.length<1?(b.console&&console.error("element not valid",e),!1):(c=a(this.settings.template.expose),this.settings.$body.append(c),c.css({top:e.offset().top,left:e.offset().left,width:e.outerWidth(!0),height:e.outerHeight(!0)}),d=a(this.settings.template.expose_cover),f={zIndex:e.css("z-index"),position:e.css("position")},g=null==e.attr("class")?"":e.attr("class"),e.css("z-index",parseInt(c.css("z-index"))+1),"static"==f.position&&e.css("position","relative"),e.data("expose-css",f),e.data("orig-class",g),e.attr("class",g+" "+this.settings.expose_add_class),d.css({top:e.offset().top,left:e.offset().left,width:e.outerWidth(!0),height:e.outerHeight(!0)}),this.settings.modal&&this.show_modal(),this.settings.$body.append(d),c.addClass(h),d.addClass(h),e.data("expose",h),this.settings.post_expose_callback(this.settings.$li.index(),this.settings.$next_tip,e),void this.add_exposed(e))},un_expose:function(){var c,d,e,f,g,h=!1;if(arguments.length>0&&arguments[0]instanceof a)d=arguments[0];else{if(!this.settings.$target||/body/i.test(this.settings.$target.selector))return!1;d=this.settings.$target}return d.length<1?(b.console&&console.error("element not valid",d),!1):(c=d.data("expose"),e=a("."+c),arguments.length>1&&(h=arguments[1]),h===!0?a(".joyride-expose-wrapper,.joyride-expose-cover").remove():e.remove(),f=d.data("expose-css"),"auto"==f.zIndex?d.css("z-index",""):d.css("z-index",f.zIndex),f.position!=d.css("position")&&("static"==f.position?d.css("position",""):d.css("position",f.position)),g=d.data("orig-class"),d.attr("class",g),d.removeData("orig-classes"),d.removeData("expose"),d.removeData("expose-z-index"),void this.remove_exposed(d))},add_exposed:function(b){this.settings.exposed=this.settings.exposed||[],b instanceof a||"object"==typeof b?this.settings.exposed.push(b[0]):"string"==typeof b&&this.settings.exposed.push(b)},remove_exposed:function(b){var c,d;for(b instanceof a?c=b[0]:"string"==typeof b&&(c=b),this.settings.exposed=this.settings.exposed||[],d=this.settings.exposed.length;d--;)if(this.settings.exposed[d]==c)return void this.settings.exposed.splice(d,1)},center:function(){var c=a(b);return this.settings.$next_tip.css({top:(c.height()-this.settings.$next_tip.outerHeight())/2+c.scrollTop(),left:(c.width()-this.settings.$next_tip.outerWidth())/2+c.scrollLeft()}),!0},bottom:function(){return/bottom/i.test(this.settings.tip_settings.tip_location)},top:function(){return/top/i.test(this.settings.tip_settings.tip_location)},right:function(){return/right/i.test(this.settings.tip_settings.tip_location)},left:function(){return/left/i.test(this.settings.tip_settings.tip_location)},corners:function(c){var d=a(b),e=d.height()/2,f=Math.ceil(this.settings.$target.offset().top-e+this.settings.$next_tip.outerHeight()),g=d.width()+d.scrollLeft(),h=d.height()+f,i=d.height()+d.scrollTop(),j=d.scrollTop();return j>f&&(j=0>f?0:f),h>i&&(i=h),[c.offset().topc.offset().left]},visible:function(a){for(var b=a.length;b--;)if(a[b])return!1;return!0},nub_position:function(a,b,c){a.addClass("auto"===b?c:b)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide(),this.show(),this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(b){this.settings.cookie_monster&&a.cookie(this.settings.cookie_name,"ridden",{expires:this.settings.cookie_expires,domain:this.settings.cookie_domain}),this.settings.timer>0&&clearTimeout(this.settings.automate),this.settings.modal&&this.settings.expose&&this.un_expose(),a(this.scope).off("keyup.joyride"),this.settings.$next_tip.data("closed",!0),this.settings.riding=!1,a(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),("undefined"==typeof b||b===!1)&&(this.settings.post_step_callback(this.settings.$li.index(),this.settings.$current_tip),this.settings.post_ride_callback(this.settings.$li.index(),this.settings.$current_tip)),a(".joyride-tip-guide").remove()},off:function(){a(this.scope).off(".joyride"),a(b).off(".joyride"),a(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),a(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(this.settings.automate),this.settings={}},reflow:function(){}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs["magellan-expedition"]={name:"magellan-expedition",version:"5.4.6",settings:{active_class:"active",threshold:0,destination_threshold:20,throttle_delay:30,fixed_top:0},init:function(a,b,c){Foundation.inherit(this,"throttle"),this.bindings(b,c)},events:function(){var c=this,d=c.S,e=c.settings;c.set_expedition_position(),d(c.scope).off(".magellan").on("click.fndtn.magellan","["+c.add_namespace("data-magellan-arrival")+'] a[href^="#"]',function(b){b.preventDefault();var d=a(this).closest("["+c.attr_name()+"]"),e=d.data("magellan-expedition-init"),f=this.hash.split("#").join(""),g=a("a[name='"+f+"']");0===g.length&&(g=a("#"+f));var h=g.offset().top-e.destination_threshold+1;h-=d.outerHeight(),a("html, body").stop().animate({scrollTop:h},700,"swing",function(){history.pushState?history.pushState(null,null,"#"+f):location.hash="#"+f})}).on("scroll.fndtn.magellan",c.throttle(this.check_for_arrivals.bind(this),e.throttle_delay)),a(b).on("resize.fndtn.magellan",c.throttle(this.set_expedition_position.bind(this),e.throttle_delay))},check_for_arrivals:function(){var a=this;a.update_arrivals(),a.update_expedition_positions()},set_expedition_position:function(){var b=this;a("["+this.attr_name()+"=fixed]",b.scope).each(function(){var c,d,e=a(this),f=e.data("magellan-expedition-init"),g=e.attr("styles");e.attr("style",""),c=e.offset().top+f.threshold,d=parseInt(e.data("magellan-fixed-top")),isNaN(d)||(b.settings.fixed_top=d),e.data(b.data_attr("magellan-top-offset"),c),e.attr("style",g)})},update_expedition_positions:function(){var c=this,d=a(b).scrollTop();a("["+this.attr_name()+"=fixed]",c.scope).each(function(){var b=a(this),e=b.data("magellan-expedition-init"),f=b.attr("style"),g=b.data("magellan-top-offset");if(d+c.settings.fixed_top>=g){var h=b.prev("["+c.add_namespace("data-magellan-expedition-clone")+"]");0===h.length&&(h=b.clone(),h.removeAttr(c.attr_name()),h.attr(c.add_namespace("data-magellan-expedition-clone"),""),b.before(h)),b.css({position:"fixed",top:e.fixed_top}).addClass("fixed")}else b.prev("["+c.add_namespace("data-magellan-expedition-clone")+"]").remove(),b.attr("style",f).css("position","").css("top","").removeClass("fixed")})},update_arrivals:function(){var c=this,d=a(b).scrollTop();a("["+this.attr_name()+"]",c.scope).each(function(){var b=a(this),e=b.data(c.attr_name(!0)+"-init"),f=c.offsets(b,d),g=b.find("["+c.add_namespace("data-magellan-arrival")+"]"),h=!1;f.each(function(a,d){if(d.viewport_offset>=d.top_offset){var f=b.find("["+c.add_namespace("data-magellan-arrival")+"]");return f.not(d.arrival).removeClass(e.active_class),d.arrival.addClass(e.active_class),h=!0,!0}}),h||g.removeClass(e.active_class)})},offsets:function(b,c){var d=this,e=b.data(d.attr_name(!0)+"-init"),f=c;return b.find("["+d.add_namespace("data-magellan-arrival")+"]").map(function(){var c=a(this).data(d.data_attr("magellan-arrival")),g=a("["+d.add_namespace("data-magellan-destination")+"="+c+"]");if(g.length>0){var h=Math.floor(g.offset().top-e.destination_threshold-b.outerHeight());return{destination:g,arrival:a(this),top_offset:h,viewport_offset:f}}}).sort(function(a,b){return a.top_offsetb.top_offset?1:0})},data_attr:function(a){return this.namespace.length>0?this.namespace+"-"+a:a},off:function(){this.S(this.scope).off(".magellan"),this.S(b).off(".magellan")},reflow:function(){var b=this;a("["+b.add_namespace("data-magellan-expedition-clone")+"]",b.scope).remove()}}}(jQuery,window,window.document),function(a){"use strict";Foundation.libs.offcanvas={name:"offcanvas",version:"5.4.6",settings:{open_method:"move",close_on_click:!1},init:function(a,b,c){this.bindings(b,c)},events:function(){var b=this,c=b.S,d="",e="",f="";"move"===this.settings.open_method?(d="move-",e="right",f="left"):"overlap_single"===this.settings.open_method?(d="offcanvas-overlap-",e="right",f="left"):"overlap"===this.settings.open_method&&(d="offcanvas-overlap"),c(this.scope).off(".offcanvas").on("click.fndtn.offcanvas",".left-off-canvas-toggle",function(f){b.click_toggle_class(f,d+e),"overlap"!==b.settings.open_method&&c(".left-submenu").removeClass(d+e),a(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".left-off-canvas-menu a",function(f){var g=b.get_settings(f),h=c(this).parent();!g.close_on_click||h.hasClass("has-submenu")||h.hasClass("back")?c(this).parent().hasClass("has-submenu")?(f.preventDefault(),c(this).siblings(".left-submenu").toggleClass(d+e)):h.hasClass("back")&&(f.preventDefault(),h.parent().removeClass(d+e)):(b.hide.call(b,d+e,b.get_wrapper(f)),h.parent().removeClass(d+e)),a(".left-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-toggle",function(e){b.click_toggle_class(e,d+f),"overlap"!==b.settings.open_method&&c(".right-submenu").removeClass(d+f),a(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".right-off-canvas-menu a",function(e){var g=b.get_settings(e),h=c(this).parent();!g.close_on_click||h.hasClass("has-submenu")||h.hasClass("back")?c(this).parent().hasClass("has-submenu")?(e.preventDefault(),c(this).siblings(".right-submenu").toggleClass(d+f)):h.hasClass("back")&&(e.preventDefault(),h.parent().removeClass(d+f)):(b.hide.call(b,d+f,b.get_wrapper(e)),h.parent().removeClass(d+f)),a(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(g){b.click_remove_class(g,d+f),c(".right-submenu").removeClass(d+f),e&&(b.click_remove_class(g,d+e),c(".left-submenu").removeClass(d+f)),a(".right-off-canvas-toggle").attr("aria-expanded","true")}).on("click.fndtn.offcanvas",".exit-off-canvas",function(c){b.click_remove_class(c,d+f),a(".left-off-canvas-toggle").attr("aria-expanded","false"),e&&(b.click_remove_class(c,d+e),a(".right-off-canvas-toggle").attr("aria-expanded","false"))})},toggle:function(a,b){b=b||this.get_wrapper(),b.is("."+a)?this.hide(a,b):this.show(a,b)},show:function(a,b){b=b||this.get_wrapper(),b.trigger("open").trigger("open.fndtn.offcanvas"),b.addClass(a)},hide:function(a,b){b=b||this.get_wrapper(),b.trigger("close").trigger("close.fndtn.offcanvas"),b.removeClass(a)},click_toggle_class:function(a,b){a.preventDefault();var c=this.get_wrapper(a);this.toggle(b,c)},click_remove_class:function(a,b){a.preventDefault();var c=this.get_wrapper(a);this.hide(b,c)},get_settings:function(a){var b=this.S(a.target).closest("["+this.attr_name()+"]");return b.data(this.attr_name(!0)+"-init")||this.settings},get_wrapper:function(a){var b=this.S(a?a.target:this.scope).closest(".off-canvas-wrap");return 0===b.length&&(b=this.S(".off-canvas-wrap")),b},reflow:function(){}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";var e=function(){},f=function(e,f){if(e.hasClass(f.slides_container_class))return this;var j,k,l,m,n,o,p=this,q=e,r=0,s=!1;p.slides=function(){return q.children(f.slide_selector)},p.slides().first().addClass(f.active_slide_class),p.update_slide_number=function(b){f.slide_number&&(k.find("span:first").text(parseInt(b)+1),k.find("span:last").text(p.slides().length)),f.bullets&&(l.children().removeClass(f.bullets_active_class),a(l.children().get(b)).addClass(f.bullets_active_class))},p.update_active_link=function(b){var c=a('[data-orbit-link="'+p.slides().eq(b).attr("data-orbit-slide")+'"]');c.siblings().removeClass(f.bullets_active_class),c.addClass(f.bullets_active_class)},p.build_markup=function(){q.wrap('
    '),j=q.parent(),q.addClass(f.slides_container_class),f.stack_on_small&&j.addClass(f.stack_on_small_class),f.navigation_arrows&&(j.append(a('').addClass(f.prev_class)),j.append(a('').addClass(f.next_class))),f.timer&&(m=a("
    ").addClass(f.timer_container_class),m.append(""),m.append(a("
    ").addClass(f.timer_progress_class)),m.addClass(f.timer_paused_class),j.append(m)),f.slide_number&&(k=a("
    ").addClass(f.slide_number_class),k.append(" "+f.slide_number_text+" "),j.append(k)),f.bullets&&(l=a("
      ").addClass(f.bullets_container_class),j.append(l),l.wrap('
      '),p.slides().each(function(b){var c=a("
    1. ").attr("data-orbit-slide",b).on("click",p.link_bullet);l.append(c)}))},p._goto=function(b,c){if(b===r)return!1;"object"==typeof o&&o.restart();var d=p.slides(),e="next";if(s=!0,r>b&&(e="prev"),b>=d.length){if(!f.circular)return!1;b=0}else if(0>b){if(!f.circular)return!1;b=d.length-1}var g=a(d.get(r)),h=a(d.get(b));g.css("zIndex",2),g.removeClass(f.active_slide_class),h.css("zIndex",4).addClass(f.active_slide_class),q.trigger("before-slide-change.fndtn.orbit"),f.before_slide_change(),p.update_active_link(b);var i=function(){var a=function(){r=b,s=!1,c===!0&&(o=p.create_timer(),o.start()),p.update_slide_number(r),q.trigger("after-slide-change.fndtn.orbit",[{slide_number:r,total_slides:d.length}]),f.after_slide_change(r,d.length)};q.height()!=h.height()&&f.variable_height?q.animate({height:h.height()},250,"linear",a):a()};if(1===d.length)return i(),!1;var j=function(){"next"===e&&n.next(g,h,i),"prev"===e&&n.prev(g,h,i)};h.height()>q.height()&&f.variable_height?q.animate({height:h.height()},250,"linear",j):j()},p.next=function(a){a.stopImmediatePropagation(),a.preventDefault(),p._goto(r+1)},p.prev=function(a){a.stopImmediatePropagation(),a.preventDefault(),p._goto(r-1)},p.link_custom=function(b){b.preventDefault();var c=a(this).attr("data-orbit-link");if("string"==typeof c&&""!=(c=a.trim(c))){var d=j.find("[data-orbit-slide="+c+"]");-1!=d.index()&&p._goto(d.index())}},p.link_bullet=function(){var b=a(this).attr("data-orbit-slide");if("string"==typeof b&&""!=(b=a.trim(b)))if(isNaN(parseInt(b))){var c=j.find("[data-orbit-slide="+b+"]");-1!=c.index()&&p._goto(c.index()+1)}else p._goto(parseInt(b))},p.timer_callback=function(){p._goto(r+1,!0)},p.compute_dimensions=function(){var b=a(p.slides().get(r)),c=b.height();f.variable_height||p.slides().each(function(){a(this).height()>c&&(c=a(this).height())}),q.height(c)},p.create_timer=function(){var a=new g(j.find("."+f.timer_container_class),f,p.timer_callback);return a},p.stop_timer=function(){"object"==typeof o&&o.stop()},p.toggle_timer=function(){var a=j.find("."+f.timer_container_class);a.hasClass(f.timer_paused_class)?("undefined"==typeof o&&(o=p.create_timer()),o.start()):"object"==typeof o&&o.stop()},p.init=function(){p.build_markup(),f.timer&&(o=p.create_timer(),Foundation.utils.image_loaded(this.slides().children("img"),o.start)),n=new i(f,q),"slide"===f.animation&&(n=new h(f,q)),j.on("click","."+f.next_class,p.next),j.on("click","."+f.prev_class,p.prev),f.next_on_click&&j.on("click","."+f.slides_container_class+" [data-orbit-slide]",p.link_bullet),j.on("click",p.toggle_timer),f.swipe&&j.on("touchstart.fndtn.orbit",function(a){a.touches||(a=a.originalEvent);var b={start_page_x:a.touches[0].pageX,start_page_y:a.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:d};j.data("swipe-transition",b),a.stopPropagation()}).on("touchmove.fndtn.orbit",function(a){if(a.touches||(a=a.originalEvent),!(a.touches.length>1||a.scale&&1!==a.scale)){var b=j.data("swipe-transition");if("undefined"==typeof b&&(b={}),b.delta_x=a.touches[0].pageX-b.start_page_x,"undefined"==typeof b.is_scrolling&&(b.is_scrolling=!!(b.is_scrolling||Math.abs(b.delta_x)0?b(this.scope).on("open.fndtn.reveal",this.settings.open).on("opened.fndtn.reveal",this.settings.opened).on("opened.fndtn.reveal",this.open_video).on("close.fndtn.reveal",this.settings.close).on("closed.fndtn.reveal",this.settings.closed).on("closed.fndtn.reveal",this.close_video):b(this.scope).on("open.fndtn.reveal","["+a.attr_name()+"]",this.settings.open).on("opened.fndtn.reveal","["+a.attr_name()+"]",this.settings.opened).on("opened.fndtn.reveal","["+a.attr_name()+"]",this.open_video).on("close.fndtn.reveal","["+a.attr_name()+"]",this.settings.close).on("closed.fndtn.reveal","["+a.attr_name()+"]",this.settings.closed).on("closed.fndtn.reveal","["+a.attr_name()+"]",this.close_video),!0},key_up_on:function(){var a=this;return a.S("body").off("keyup.fndtn.reveal").on("keyup.fndtn.reveal",function(b){var c=a.S("["+a.attr_name()+"].open"),d=c.data(a.attr_name(!0)+"-init")||a.settings;d&&27===b.which&&d.close_on_esc&&!a.locked&&a.close.call(a,c)}),!0},key_up_off:function(){return this.S("body").off("keyup.fndtn.reveal"),!0},open:function(c,d){var e,f=this;c?"undefined"!=typeof c.selector?e=f.S("#"+c.data(f.data_attr("reveal-id"))).first():(e=f.S(this.scope),d=c):e=f.S(this.scope);var g=e.data(f.attr_name(!0)+"-init");if(g=g||this.settings,e.hasClass("open")&&c.attr("data-reveal-id")==e.attr("id"))return f.close(e);if(!e.hasClass("open")){var h=f.S("["+f.attr_name()+"].open");if("undefined"==typeof e.data("css-top")&&e.data("css-top",parseInt(e.css("top"),10)).data("offset",this.cache_offset(e)),this.key_up_on(e),e.trigger("open").trigger("open.fndtn.reveal"),h.length<1&&this.toggle_bg(e,!0),"string"==typeof d&&(d={url:d}),"undefined"!=typeof d&&d.url){var i="undefined"!=typeof d.success?d.success:null;a.extend(d,{success:function(b,c,d){a.isFunction(i)&&i(b,c,d),e.html(b),f.S(e).foundation("section","reflow"),f.S(e).children().foundation(),h.length>0&&f.hide(h,g.css.close),f.show(e,g.css.open)}}),a.ajax(d)}else h.length>0&&this.hide(h,g.css.close),this.show(e,g.css.open)}f.S(b).trigger("resize")},close:function(a){var a=a&&a.length?a:this.S(this.scope),b=this.S("["+this.attr_name()+"].open"),c=a.data(this.attr_name(!0)+"-init")||this.settings;b.length>0&&(this.locked=!0,this.key_up_off(a),a.trigger("close").trigger("close.fndtn.reveal"),this.toggle_bg(a,!1),this.hide(b,c.css.close,c))},close_targets:function(){var a="."+this.settings.dismiss_modal_class;return this.settings.close_on_background_click?a+", ."+this.settings.bg_class:a},toggle_bg:function(b,c){0===this.S("."+this.settings.bg_class).length&&(this.settings.bg=a("
      ",{"class":this.settings.bg_class}).appendTo("body").hide());var e=this.settings.bg.filter(":visible").length>0;c!=e&&((c==d?e:!c)?this.hide(this.settings.bg):this.show(this.settings.bg))},show:function(c,d){if(d){var f=c.data(this.attr_name(!0)+"-init")||this.settings,g=f.root_element;if(0===c.parent(g).length){var h=c.wrap('
      ').parent();c.on("closed.fndtn.reveal.wrapped",function(){c.detach().appendTo(h),c.unwrap().unbind("closed.fndtn.reveal.wrapped")}),c.detach().appendTo(g)}var i=e(f.animation);if(i.animate||(this.locked=!1),i.pop){d.top=a(b).scrollTop()-c.data("offset")+"px";var j={top:a(b).scrollTop()+c.data("css-top")+"px",opacity:1};return setTimeout(function(){return c.css(d).animate(j,f.animation_speed,"linear",function(){this.locked=!1,c.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),f.animation_speed/2)}if(i.fade){d.top=a(b).scrollTop()+c.data("css-top")+"px";var j={opacity:1};return setTimeout(function(){return c.css(d).animate(j,f.animation_speed,"linear",function(){this.locked=!1,c.trigger("opened").trigger("opened.fndtn.reveal")}.bind(this)).addClass("open")}.bind(this),f.animation_speed/2)}return c.css(d).show().css({opacity:1}).addClass("open").trigger("opened").trigger("opened.fndtn.reveal")}var f=this.settings;return e(f.animation).fade?c.fadeIn(f.animation_speed/2):(this.locked=!1,c.show())},hide:function(c,d){if(d){var f=c.data(this.attr_name(!0)+"-init");f=f||this.settings;var g=e(f.animation);if(g.animate||(this.locked=!1),g.pop){var h={top:-a(b).scrollTop()-c.data("offset")+"px",opacity:0};return setTimeout(function(){return c.animate(h,f.animation_speed,"linear",function(){this.locked=!1,c.css(d).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)}if(g.fade){var h={opacity:0};return setTimeout(function(){return c.animate(h,f.animation_speed,"linear",function(){this.locked=!1,c.css(d).trigger("closed").trigger("closed.fndtn.reveal")}.bind(this)).removeClass("open")}.bind(this),f.animation_speed/2)}return c.hide().css(d).removeClass("open").trigger("closed").trigger("closed.fndtn.reveal")}var f=this.settings;return e(f.animation).fade?c.fadeOut(f.animation_speed/2):c.hide()},close_video:function(b){var c=a(".flex-video",b.target),d=a("iframe",c);d.length>0&&(d.attr("data-src",d[0].src),d.attr("src",d.attr("src")),c.hide())},open_video:function(b){var c=a(".flex-video",b.target),e=c.find("iframe");if(e.length>0){var f=e.attr("data-src");if("string"==typeof f)e[0].src=e.attr("data-src");else{var g=e[0].src;e[0].src=d,e[0].src=g}c.show()}},data_attr:function(a){return this.namespace.length>0?this.namespace+"-"+a:a},cache_offset:function(a){var b=a.show().height()+parseInt(a.css("top"),10);return a.hide(),b},off:function(){a(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs.slider={name:"slider",version:"5.4.6",settings:{start:0,end:100,step:1,initial:null,display_selector:"",vertical:!1,on_change:function(){}},cache:{},init:function(a,b,c){Foundation.inherit(this,"throttle"),this.bindings(b,c),this.reflow()},events:function(){var c=this;a(this.scope).off(".slider").on("mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider","["+c.attr_name()+"]:not(.disabled, [disabled]) .range-slider-handle",function(b){c.cache.active||(b.preventDefault(),c.set_active_slider(a(b.target)))}).on("mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider",function(d){if(c.cache.active)if(d.preventDefault(),a.data(c.cache.active[0],"settings").vertical){var e=0;d.pageY||(e=b.scrollY),c.calculate_position(c.cache.active,(d.pageY||d.originalEvent.clientY||d.originalEvent.touches[0].clientY||d.currentPoint.y)+e)}else c.calculate_position(c.cache.active,d.pageX||d.originalEvent.clientX||d.originalEvent.touches[0].clientX||d.currentPoint.x)}).on("mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider",function(){c.remove_active_slider()}).on("change.fndtn.slider",function(){c.settings.on_change()}),c.S(b).on("resize.fndtn.slider",c.throttle(function(){c.reflow()},300))},set_active_slider:function(a){this.cache.active=a},remove_active_slider:function(){this.cache.active=null},calculate_position:function(b,c){var d=this,e=a.data(b[0],"settings"),f=(a.data(b[0],"handle_l"),a.data(b[0],"handle_o"),a.data(b[0],"bar_l")),g=a.data(b[0],"bar_o");requestAnimationFrame(function(){var a;a=Foundation.rtl&&!e.vertical?d.limit_to((g+f-c)/f,0,1):d.limit_to((c-g)/f,0,1),a=e.vertical?1-a:a;var h=d.normalized_value(a,e.start,e.end,e.step);d.set_ui(b,h)})},set_ui:function(b,c){var d=a.data(b[0],"settings"),e=a.data(b[0],"handle_l"),f=a.data(b[0],"bar_l"),g=this.normalized_percentage(c,d.start,d.end),h=g*(f-e)-1,i=100*g;Foundation.rtl&&!d.vertical&&(h=-h),h=d.vertical?-h+f-e+1:h,this.set_translate(b,h,d.vertical),d.vertical?b.siblings(".range-slider-active-segment").css("height",i+"%"):b.siblings(".range-slider-active-segment").css("width",i+"%"),b.parent().attr(this.attr_name(),c).trigger("change").trigger("change.fndtn.slider"),b.parent().children("input[type=hidden]").val(c),b[0].hasAttribute("aria-valuemin")||b.attr({"aria-valuemin":d.start,"aria-valuemax":d.end}),b.attr("aria-valuenow",c),""!=d.display_selector&&a(d.display_selector).each(function(){this.hasOwnProperty("value")?a(this).val(c):a(this).text(c)})},normalized_percentage:function(a,b,c){return Math.min(1,(a-b)/(c-b))},normalized_value:function(a,b,c,d){var e=c-b,f=a*e,g=(f-f%d)/d,h=f%d,i=h>=.5*d?d:0;return g*d+i+b},set_translate:function(b,c,d){d?a(b).css("-webkit-transform","translateY("+c+"px)").css("-moz-transform","translateY("+c+"px)").css("-ms-transform","translateY("+c+"px)").css("-o-transform","translateY("+c+"px)").css("transform","translateY("+c+"px)"):a(b).css("-webkit-transform","translateX("+c+"px)").css("-moz-transform","translateX("+c+"px)").css("-ms-transform","translateX("+c+"px)").css("-o-transform","translateX("+c+"px)").css("transform","translateX("+c+"px)")},limit_to:function(a,b,c){return Math.min(Math.max(a,b),c)},initialize_settings:function(b){var c=a.extend({},this.settings,this.data_options(a(b).parent()));c.vertical?(a.data(b,"bar_o",a(b).parent().offset().top),a.data(b,"bar_l",a(b).parent().outerHeight()),a.data(b,"handle_o",a(b).offset().top),a.data(b,"handle_l",a(b).outerHeight())):(a.data(b,"bar_o",a(b).parent().offset().left),a.data(b,"bar_l",a(b).parent().outerWidth()),a.data(b,"handle_o",a(b).offset().left),a.data(b,"handle_l",a(b).outerWidth())),a.data(b,"bar",a(b).parent()),a.data(b,"settings",c)},set_initial_position:function(b){var c=a.data(b.children(".range-slider-handle")[0],"settings"),d=c.initial?c.initial:Math.floor(.5*(c.end-c.start)/c.step)*c.step+c.start,e=b.children(".range-slider-handle");this.set_ui(e,d)},set_value:function(b){var c=this;a("["+c.attr_name()+"]",this.scope).each(function(){a(this).attr(c.attr_name(),b)}),a(this.scope).attr(c.attr_name())&&a(this.scope).attr(c.attr_name(),b),c.reflow()},reflow:function(){var b=this;b.S("["+this.attr_name()+"]").each(function(){var c=a(this).children(".range-slider-handle")[0],d=a(this).attr(b.attr_name());b.initialize_settings(c),d?b.set_ui(a(c),parseFloat(d)):b.set_initial_position(a(this))})}}}(jQuery,window,window.document),function(a,b,c,d){"use strict";Foundation.libs.tab={name:"tab",version:"5.4.6",settings:{active_class:"active",callback:function(){},deep_linking:!1,scroll_to_content:!0,is_hover:!1},default_tab_hashes:[],init:function(a,b,c){var d=this,e=this.S;this.bindings(b,c),this.handle_location_hash_change(),e("["+this.attr_name()+"] > .active > a",this.scope).each(function(){d.default_tab_hashes.push(this.hash)})},events:function(){var a=this,c=this.S,d=function(b){var d=c(this).closest("["+a.attr_name()+"]").data(a.attr_name(!0)+"-init");(!d.is_hover||Modernizr.touch)&&(b.preventDefault(),b.stopPropagation(),a.toggle_active_tab(c(this).parent()))};c(this.scope).off(".tab").on("focus.fndtn.tab","["+this.attr_name()+"] > * > a",d).on("click.fndtn.tab","["+this.attr_name()+"] > * > a",d).on("mouseenter.fndtn.tab","["+this.attr_name()+"] > * > a",function(){var b=c(this).closest("["+a.attr_name()+"]").data(a.attr_name(!0)+"-init");b.is_hover&&a.toggle_active_tab(c(this).parent())}),c(b).on("hashchange.fndtn.tab",function(b){b.preventDefault(),a.handle_location_hash_change()})},handle_location_hash_change:function(){var b=this,c=this.S;c("["+this.attr_name()+"]",this.scope).each(function(){var e=c(this).data(b.attr_name(!0)+"-init");if(e.deep_linking){var f;if(f=e.scroll_to_content?b.scope.location.hash:b.scope.location.hash.replace("fndtn-",""),""!=f){var g=c(f);if(g.hasClass("content")&&g.parent().hasClass("tab-content"))b.toggle_active_tab(a("["+b.attr_name()+"] > * > a[href="+f+"]").parent());else{var h=g.closest(".content").attr("id");h!=d&&b.toggle_active_tab(a("["+b.attr_name()+"] > * > a[href=#"+h+"]").parent(),f)}}else for(var i=0;i * > a[href="+b.default_tab_hashes[i]+"]").parent())}})},toggle_active_tab:function(e,f){var g=this.S,h=e.closest("["+this.attr_name()+"]"),i=e.find("a"),j=e.children("a").first(),k="#"+j.attr("href").split("#")[1],l=g(k),m=e.siblings(),n=h.data(this.attr_name(!0)+"-init"),o=function(b){var d,e=a(this),f=a(this).parents("li").prev().children('[role="tab"]'),g=a(this).parents("li").next().children('[role="tab"]');switch(b.keyCode){case 37:d=f;break;case 39:d=g;break;default:d=!1}d.length&&(e.attr({tabindex:"-1","aria-selected":null}),d.attr({tabindex:"0","aria-selected":!0}).focus()),a('[role="tabpanel"]').attr("aria-hidden","true"),a("#"+a(c.activeElement).attr("href").substring(1)).attr("aria-hidden",null)};g(this).data(this.data_attr("tab-content"))&&(k="#"+g(this).data(this.data_attr("tab-content")).split("#")[1],l=g(k)),n.deep_linking&&(n.scroll_to_content?(b.location.hash=f||k,f==d||f==k?e.parent()[0].scrollIntoView():g(k)[0].scrollIntoView()):b.location.hash=f!=d?"fndtn-"+f.replace("#",""):"fndtn-"+k.replace("#","")),e.addClass(n.active_class).triggerHandler("opened"),i.attr({"aria-selected":"true",tabindex:0}),m.removeClass(n.active_class),m.find("a").attr({"aria-selected":"false",tabindex:-1}),l.siblings().removeClass(n.active_class).attr({"aria-hidden":"true",tabindex:-1}),l.addClass(n.active_class).attr("aria-hidden","false").removeAttr("tabindex"),n.callback(e),l.triggerHandler("toggled",[e]),h.triggerHandler("toggled",[l]),i.off("keydown").on("keydown",o)},data_attr:function(a){return this.namespace.length>0?this.namespace+"-"+a:a},off:function(){},reflow:function(){}}}(jQuery,window,window.document),function(a,b){"use strict";Foundation.libs.tooltip={name:"tooltip",version:"5.4.6",settings:{additional_inheritable_classes:[],tooltip_class:".tooltip",append_to:"body",touch_close_text:"Tap To Close",disable_for_touch:!1,hover_delay:200,show_on:"all",tip_template:function(a,b){return''+b+''}},cache:{},init:function(a,b,c){Foundation.inherit(this,"random_str"),this.bindings(b,c)},should_show:function(b){var c=a.extend({},this.settings,this.data_options(b));return"all"===c.show_on?!0:this.small()&&"small"===c.show_on?!0:this.medium()&&"medium"===c.show_on?!0:this.large()&&"large"===c.show_on?!0:!1},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},events:function(b){var c=this,d=c.S;c.create(this.S(b)),a(this.scope).off(".tooltip").on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"]",function(b){var e=d(this),f=a.extend({},c.settings,c.data_options(e)),g=!1;if(Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type)&&d(b.target).is("a"))return!1;if(/mouse/i.test(b.type)&&c.ie_touch(b))return!1;if(e.hasClass("open"))Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type)&&b.preventDefault(),c.hide(e);else{if(f.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type))return;!f.disable_for_touch&&Modernizr.touch&&/touchstart|MSPointerDown/i.test(b.type)&&(b.preventDefault(),d(f.tooltip_class+".open").hide(),g=!0),/enter|over/i.test(b.type)?this.timer=setTimeout(function(){c.showTip(e)}.bind(this),c.settings.hover_delay):"mouseout"===b.type||"mouseleave"===b.type?(clearTimeout(this.timer),c.hide(e)):c.showTip(e)}}).on("mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip","["+this.attr_name()+"].open",function(b){return/mouse/i.test(b.type)&&c.ie_touch(b)?!1:void(("touch"!=a(this).data("tooltip-open-event-type")||"mouseleave"!=b.type)&&("mouse"==a(this).data("tooltip-open-event-type")&&/MSPointerDown|touchstart/i.test(b.type)?c.convert_to_touch(a(this)):c.hide(a(this))))}).on("DOMNodeRemoved DOMAttrModified","["+this.attr_name()+"]:not(a)",function(){c.hide(d(this))})},ie_touch:function(){return!1},showTip:function(a){var b=this.getTip(a);return this.should_show(a,b)?this.show(a):void 0},getTip:function(b){var c=this.selector(b),d=a.extend({},this.settings,this.data_options(b)),e=null;return c&&(e=this.S('span[data-selector="'+c+'"]'+d.tooltip_class)),"object"==typeof e?e:!1},selector:function(a){var b=a.attr("id"),c=a.attr(this.attr_name())||a.attr("data-selector");return(b&&b.length<1||!b)&&"string"!=typeof c&&(c=this.random_str(6),a.attr("data-selector",c).attr("aria-describedby",c)),b&&b.length>0?b:c},create:function(c){var d=this,e=a.extend({},this.settings,this.data_options(c)),f=this.settings.tip_template;"string"==typeof e.tip_template&&b.hasOwnProperty(e.tip_template)&&(f=b[e.tip_template]);var g=a(f(this.selector(c),a("
      ").html(c.attr("title")).html())),h=this.inheritable_classes(c);g.addClass(h).appendTo(e.append_to),Modernizr.touch&&(g.append(''+e.touch_close_text+""),g.on("touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip",function(){d.hide(c)})),c.removeAttr("title").attr("title","")},reposition:function(b,c,d){var e,f,g,h,i;if(c.css("visibility","hidden").show(),e=b.data("width"),f=c.children(".nub"),g=f.outerHeight(),h=f.outerHeight(),c.css(this.small()?{width:"100%"}:{width:e?e:"auto"}),i=function(a,b,c,d,e){return a.css({top:b?b:"auto",bottom:d?d:"auto",left:e?e:"auto",right:c?c:"auto"}).end()},i(c,b.offset().top+b.outerHeight()+10,"auto","auto",b.offset().left),this.small())i(c,b.offset().top+b.outerHeight()+10,"auto","auto",12.5,a(this.scope).width()),c.addClass("tip-override"),i(f,-g,"auto","auto",b.offset().left);else{var j=b.offset().left;Foundation.rtl&&(f.addClass("rtl"),j=b.offset().left+b.outerWidth()-c.outerWidth()),i(c,b.offset().top+b.outerHeight()+10,"auto","auto",j),c.removeClass("tip-override"),d&&d.indexOf("tip-top")>-1?(Foundation.rtl&&f.addClass("rtl"),i(c,b.offset().top-c.outerHeight(),"auto","auto",j).removeClass("tip-override")):d&&d.indexOf("tip-left")>-1?(i(c,b.offset().top+b.outerHeight()/2-c.outerHeight()/2,"auto","auto",b.offset().left-c.outerWidth()-g).removeClass("tip-override"),f.removeClass("rtl")):d&&d.indexOf("tip-right")>-1&&(i(c,b.offset().top+b.outerHeight()/2-c.outerHeight()/2,"auto","auto",b.offset().left+b.outerWidth()+g).removeClass("tip-override"),f.removeClass("rtl"))}c.css("visibility","visible").hide()},small:function(){return matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches},inheritable_classes:function(b){var c=a.extend({},this.settings,this.data_options(b)),d=["tip-top","tip-left","tip-bottom","tip-right","radius","round"].concat(c.additional_inheritable_classes),e=b.attr("class"),f=e?a.map(e.split(" "),function(b){return-1!==a.inArray(b,d)?b:void 0}).join(" "):"";return a.trim(f)},convert_to_touch:function(b){var c=this,d=c.getTip(b),e=a.extend({},c.settings,c.data_options(b));0===d.find(".tap-to-close").length&&(d.append(''+e.touch_close_text+""),d.on("click.fndtn.tooltip.tapclose touchstart.fndtn.tooltip.tapclose MSPointerDown.fndtn.tooltip.tapclose",function(){c.hide(b)})),b.data("tooltip-open-event-type","touch")},show:function(a){var b=this.getTip(a);"touch"==a.data("tooltip-open-event-type")&&this.convert_to_touch(a),this.reposition(a,b,a.attr("class")),a.addClass("open"),b.fadeIn(150)},hide:function(a){var b=this.getTip(a);b.fadeOut(150,function(){b.find(".tap-to-close").remove(),b.off("click.fndtn.tooltip.tapclose MSPointerDown.fndtn.tapclose"),a.removeClass("open")})},off:function(){var b=this;this.S(this.scope).off(".fndtn.tooltip"),this.S(this.settings.tooltip_class).each(function(c){a("["+b.attr_name()+"]").eq(c).attr("title",a(this).text())}).remove()},reflow:function(){}}}(jQuery,window,window.document),function(a,b,c){"use strict";Foundation.libs.topbar={name:"topbar",version:"5.4.6",settings:{index:0,sticky_class:"sticky",custom_back_text:!0,back_text:"Back",mobile_show_parent_link:!0,is_hover:!0,scrolltop:!0,sticky_on:"all"},init:function(b,c,d){Foundation.inherit(this,"add_custom_rule register_media throttle");var e=this;e.register_media("topbar","foundation-mq-topbar"),this.bindings(c,d),e.S("["+this.attr_name()+"]",this.scope).each(function(){{var b=a(this),c=b.data(e.attr_name(!0)+"-init");e.S("section, .top-bar-section",this)}b.data("index",0);var d=b.parent();d.hasClass("fixed")||e.is_sticky(b,d,c)?(e.settings.sticky_class=c.sticky_class,e.settings.sticky_topbar=b,b.data("height",d.outerHeight()),b.data("stickyoffset",d.offset().top)):b.data("height",b.outerHeight()),c.assembled||e.assemble(b),c.is_hover?e.S(".has-dropdown",b).addClass("not-click"):e.S(".has-dropdown",b).removeClass("not-click"),e.add_custom_rule(".f-topbar-fixed { padding-top: "+b.data("height")+"px }"),d.hasClass("fixed")&&e.S("body").addClass("f-topbar-fixed")})},is_sticky:function(a,b,c){var d=b.hasClass(c.sticky_class);return d&&"all"===c.sticky_on?!0:d&&this.small()&&"small"===c.sticky_on?matchMedia(Foundation.media_queries.small).matches&&!matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:d&&this.medium()&&"medium"===c.sticky_on?matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&!matchMedia(Foundation.media_queries.large).matches:d&&this.large()&&"large"===c.sticky_on?matchMedia(Foundation.media_queries.small).matches&&matchMedia(Foundation.media_queries.medium).matches&&matchMedia(Foundation.media_queries.large).matches:!1},toggle:function(c){var d,e=this;d=c?e.S(c).closest("["+this.attr_name()+"]"):e.S("["+this.attr_name()+"]");var f=d.data(this.attr_name(!0)+"-init"),g=e.S("section, .top-bar-section",d);e.breakpoint()&&(e.rtl?(g.css({right:"0%"}),a(">.name",g).css({right:"100%"})):(g.css({left:"0%"}),a(">.name",g).css({left:"100%"})),e.S("li.moved",g).removeClass("moved"),d.data("index",0),d.toggleClass("expanded").css("height","")),f.scrolltop?d.hasClass("expanded")?d.parent().hasClass("fixed")&&(f.scrolltop?(d.parent().removeClass("fixed"),d.addClass("fixed"),e.S("body").removeClass("f-topbar-fixed"),b.scrollTo(0,0)):d.parent().removeClass("expanded")):d.hasClass("fixed")&&(d.parent().addClass("fixed"),d.removeClass("fixed"),e.S("body").addClass("f-topbar-fixed")):(e.is_sticky(d,d.parent(),f)&&d.parent().addClass("fixed"),d.parent().hasClass("fixed")&&(d.hasClass("expanded")?(d.addClass("fixed"),d.parent().addClass("expanded"),e.S("body").addClass("f-topbar-fixed")):(d.removeClass("fixed"),d.parent().removeClass("expanded"),e.update_sticky_positioning())))},timer:null,events:function(){var c=this,d=this.S;d(this.scope).off(".topbar").on("click.fndtn.topbar","["+this.attr_name()+"] .toggle-topbar",function(a){a.preventDefault(),c.toggle(this)}).on("click.fndtn.topbar",'.top-bar .top-bar-section li a[href^="#"],['+this.attr_name()+'] .top-bar-section li a[href^="#"]',function(){var b=a(this).closest("li");!c.breakpoint()||b.hasClass("back")||b.hasClass("has-dropdown")||c.toggle()}).on("click.fndtn.topbar","["+this.attr_name()+"] li.has-dropdown",function(b){var e=d(this),f=d(b.target),g=e.closest("["+c.attr_name()+"]"),h=g.data(c.attr_name(!0)+"-init");return f.data("revealId")?void c.toggle():void(c.breakpoint()||(!h.is_hover||Modernizr.touch)&&(b.stopImmediatePropagation(),e.hasClass("hover")?(e.removeClass("hover").find("li").removeClass("hover"),e.parents("li.hover").removeClass("hover")):(e.addClass("hover"),a(e).siblings().removeClass("hover"),"A"===f[0].nodeName&&f.parent().hasClass("has-dropdown")&&b.preventDefault())))}).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown>a",function(a){if(c.breakpoint()){a.preventDefault();var b=d(this),e=b.closest("["+c.attr_name()+"]"),f=e.find("section, .top-bar-section"),g=(b.next(".dropdown").outerHeight(),b.closest("li"));e.data("index",e.data("index")+1),g.addClass("moved"),c.rtl?(f.css({right:-(100*e.data("index"))+"%"}),f.find(">.name").css({right:100*e.data("index")+"%"})):(f.css({left:-(100*e.data("index"))+"%"}),f.find(">.name").css({left:100*e.data("index")+"%"})),e.css("height",b.siblings("ul").outerHeight(!0)+e.data("height"))}}),d(b).off(".topbar").on("resize.fndtn.topbar",c.throttle(function(){c.resize.call(c)},50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){d(this).trigger("resize.fndtn.topbar")}),d("body").off(".topbar").on("click.fndtn.topbar",function(a){var b=d(a.target).closest("li").closest("li.hover");b.length>0||d("["+c.attr_name()+"] li.hover").removeClass("hover")}),d(this.scope).on("click.fndtn.topbar","["+this.attr_name()+"] .has-dropdown .back",function(a){a.preventDefault();var b=d(this),e=b.closest("["+c.attr_name()+"]"),f=e.find("section, .top-bar-section"),g=(e.data(c.attr_name(!0)+"-init"),b.closest("li.moved")),h=g.parent();e.data("index",e.data("index")-1),c.rtl?(f.css({right:-(100*e.data("index"))+"%"}),f.find(">.name").css({right:100*e.data("index")+"%"})):(f.css({left:-(100*e.data("index"))+"%"}),f.find(">.name").css({left:100*e.data("index")+"%"})),0===e.data("index")?e.css("height",""):e.css("height",h.outerHeight(!0)+e.data("height")),setTimeout(function(){g.removeClass("moved")},300)}),d(this.scope).find(".dropdown a").focus(function(){a(this).parents(".has-dropdown").addClass("hover")}).blur(function(){a(this).parents(".has-dropdown").removeClass("hover")})},resize:function(){var a=this;a.S("["+this.attr_name()+"]").each(function(){var b,d=a.S(this),e=d.data(a.attr_name(!0)+"-init"),f=d.parent("."+a.settings.sticky_class);if(!a.breakpoint()){var g=d.hasClass("expanded");d.css("height","").removeClass("expanded").find("li").removeClass("hover"),g&&a.toggle(d)}a.is_sticky(d,f,e)&&(f.hasClass("fixed")?(f.removeClass("fixed"),b=f.offset().top,a.S(c.body).hasClass("f-topbar-fixed")&&(b-=d.data("height")),d.data("stickyoffset",b),f.addClass("fixed")):(b=f.offset().top,d.data("stickyoffset",b)))})},breakpoint:function(){return!matchMedia(Foundation.media_queries.topbar).matches},small:function(){return matchMedia(Foundation.media_queries.small).matches},medium:function(){return matchMedia(Foundation.media_queries.medium).matches},large:function(){return matchMedia(Foundation.media_queries.large).matches},assemble:function(b){var c=this,d=b.data(this.attr_name(!0)+"-init"),e=c.S("section, .top-bar-section",b);e.detach(),c.S(".has-dropdown>a",e).each(function(){var b,e=c.S(this),f=e.siblings(".dropdown"),g=e.attr("href");f.find(".title.back").length||(b=a(1==d.mobile_show_parent_link&&g?'
    2. ":'
    3. '),a("h5>a",b).html(1==d.custom_back_text?d.back_text:"« "+e.html()),f.prepend(b))}),e.appendTo(b),this.sticky(),this.assembled(b)},assembled:function(b){b.data(this.attr_name(!0),a.extend({},b.data(this.attr_name(!0)),{assembled:!0}))},height:function(b){var c=0,d=this;return a("> li",b).each(function(){c+=d.S(this).outerHeight(!0)}),c},sticky:function(){var a=this;this.S(b).on("scroll",function(){a.update_sticky_positioning() +})},update_sticky_positioning:function(){var a="."+this.settings.sticky_class,c=this.S(b),d=this;if(d.settings.sticky_topbar&&d.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(),this.settings)){var e=this.settings.sticky_topbar.data("stickyoffset");d.S(a).hasClass("expanded")||(c.scrollTop()>e?d.S(a).hasClass("fixed")||(d.S(a).addClass("fixed"),d.S("body").addClass("f-topbar-fixed")):c.scrollTop()<=e&&d.S(a).hasClass("fixed")&&(d.S(a).removeClass("fixed"),d.S("body").removeClass("f-topbar-fixed")))}},off:function(){this.S(this.scope).off(".fndtn.topbar"),this.S(b).off(".fndtn.topbar")},reflow:function(){}}}(jQuery,window,window.document); \ No newline at end of file diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.abide.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.abide.js index 21e783e6d2..d76b8b9967 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.abide.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.abide.js @@ -4,7 +4,7 @@ Foundation.libs.abide = { name : 'abide', - version : '5.3.3', + version : '5.4.6', settings : { live_validate : true, @@ -22,7 +22,7 @@ cvv : /^([0-9]){3,4}$/, // http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#valid-e-mail-address - email : /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, + email : /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/, url: /^(https?|ftp|file|ssh):\/\/(((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-zA-Z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/, // abc.de @@ -36,6 +36,8 @@ dateISO: /^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/, // MM/DD/YYYY month_day_year : /^(0[1-9]|1[012])[- \/.](0[1-9]|[12][0-9]|3[01])[- \/.]\d{4}$/, + // DD/MM/YYYY + day_month_year : /^(0[1-9]|[12][0-9]|3[01])[- \/.](0[1-9]|1[012])[- \/.]\d{4}$/, // #FFF or #FFFFFF color: /^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/ @@ -167,7 +169,8 @@ is_radio = el.type === "radio", is_checkbox = el.type === "checkbox", label = this.S('label[for="' + el.getAttribute('id') + '"]'), - valid_length = (required) ? (el.value.length > 0) : true; + valid_length = (required) ? (el.value.length > 0) : true, + el_validations = []; var parent, valid; @@ -180,41 +183,55 @@ parent = direct_parent.parent(); } + if (validator) { + valid = this.settings.validators[validator].apply(this, [el, required, parent]); + el_validations.push(valid); + } + if (is_radio && required) { - validations.push(this.valid_radio(el, required)); + el_validations.push(this.valid_radio(el, required)); } else if (is_checkbox && required) { - validations.push(this.valid_checkbox(el, required)); + el_validations.push(this.valid_checkbox(el, required)); } else { - - if (validator) { - valid = this.settings.validators[validator].apply(this, [el, required, parent]); - validations.push(valid); - } if (el_patterns[i][1].test(value) && valid_length || !required && el.value.length < 1 || $(el).attr('disabled')) { - validations.push(true); + el_validations.push(true); } else { - validations.push(false); + el_validations.push(false); } - validations = [validations.every(function(valid){return valid;})]; + el_validations = [el_validations.every(function(valid){return valid;})]; - if(validations[0]){ + if(el_validations[0]){ this.S(el).removeAttr(this.invalid_attr); + el.setAttribute('aria-invalid', 'false'); + el.removeAttribute('aria-describedby'); parent.removeClass('error'); - if (label.length > 0 && this.settings.error_labels) label.removeClass('error'); + if (label.length > 0 && this.settings.error_labels) { + label.removeClass('error').removeAttr('role'); + } $(el).triggerHandler('valid'); } else { - parent.addClass('error'); this.S(el).attr(this.invalid_attr, ''); - if (label.length > 0 && this.settings.error_labels) label.addClass('error'); + el.setAttribute('aria-invalid', 'true'); + + // Try to find the error associated with the input + var errorElem = parent.find('small.error, span.error'); + var errorID = errorElem.length > 0 ? errorElem[0].id : ""; + if (errorID.length > 0) el.setAttribute('aria-describedby', errorID); + + // el.setAttribute('aria-describedby', $(el).find('.error')[0].id); + parent.addClass('error'); + if (label.length > 0 && this.settings.error_labels) { + label.addClass('error').attr('role', 'alert'); + } $(el).triggerHandler('invalid'); } - } + validations.push(el_validations[0]); } - + validations = [validations.every(function(valid){return valid;})]; return validations; }, @@ -262,9 +279,11 @@ if (valid) { this.S(el).removeAttr(this.invalid_attr); parent.removeClass('error'); + if (label.length > 0 && settings.error_labels) label.removeClass('error'); } else { this.S(el).attr(this.invalid_attr, ''); parent.addClass('error'); + if (label.length > 0 && settings.error_labels) label.addClass('error'); } return valid; diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.accordion.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.accordion.js index 9f5b488f1f..0c793c5f0d 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.accordion.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.accordion.js @@ -4,7 +4,7 @@ Foundation.libs.accordion = { name : 'accordion', - version : '5.3.3', + version : '5.4.6', settings : { active_class: 'active', diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.alert.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.alert.js index bd9098ce22..42503654f1 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.alert.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.alert.js @@ -4,7 +4,7 @@ Foundation.libs.alert = { name : 'alert', - version : '5.3.3', + version : '5.4.6', settings : { callback: function (){} @@ -18,7 +18,7 @@ var self = this, S = this.S; - $(this.scope).off('.alert').on('click.fndtn.alert', '[' + this.attr_name() + '] a.close', function (e) { + $(this.scope).off('.alert').on('click.fndtn.alert', '[' + this.attr_name() + '] .close', function (e) { var alertBox = S(this).closest('[' + self.attr_name() + ']'), settings = alertBox.data(self.attr_name(true) + '-init') || self.settings; diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.clearing.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.clearing.js index 435e9b1334..451ad137b8 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.clearing.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.clearing.js @@ -4,7 +4,7 @@ Foundation.libs.clearing = { name : 'clearing', - version: '5.3.3', + version: '5.4.6', settings : { templates : { diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.dropdown.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.dropdown.js index 4d85681711..26f05faa0f 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.dropdown.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.dropdown.js @@ -4,10 +4,12 @@ Foundation.libs.dropdown = { name : 'dropdown', - version : '5.3.3', + version : '5.4.6', settings : { active_class: 'open', + disabled_class: 'disabled', + mega_class: 'mega', align: 'bottom', is_hover: false, opened: function(){}, @@ -49,11 +51,11 @@ } var settings = target.data(self.attr_name(true) + '-init') || self.settings; - + if(S(e.target).data(self.data_attr()) && settings.is_hover) { self.closeall.call(self); } - + if (settings.is_hover) self.open.apply(self, [dropdown, target]); }) .on('mouseleave.fndtn.dropdown', '[' + this.attr_name() + '], [' + this.attr_name() + '-content]', function (e) { @@ -63,7 +65,7 @@ var settings = $this.data(self.data_attr(true) + '-init') || self.settings; if (settings.is_hover) self.close.call(self, S('#' + $this.data(self.data_attr()))); } else { - var target = S('[' + self.attr_name() + '="' + S(this).attr('id') + '"]'), + var target = S('[' + self.attr_name() + '="' + S(this).attr('id') + '"]'), settings = target.data(self.attr_name(true) + '-init') || self.settings; if (settings.is_hover) self.close.call(self, $this); } @@ -75,8 +77,8 @@ if (S(e.target).closest('[' + self.attr_name() + ']').length > 0) { return; } - if (!(S(e.target).data('revealId')) && - (parent.length > 0 && (S(e.target).is('[' + self.attr_name() + '-content]') || + if (!(S(e.target).data('revealId')) && + (parent.length > 0 && (S(e.target).is('[' + self.attr_name() + '-content]') || $.contains(parent.first()[0], e.target)))) { e.stopPropagation(); return; @@ -103,9 +105,12 @@ close: function (dropdown) { var self = this; dropdown.each(function () { + var original_target = $('[' + self.attr_name() + '=' + dropdown[0].id + ']') || $('aria-controls=' + dropdown[0].id+ ']'); + original_target.attr('aria-expanded', "false"); if (self.S(this).hasClass(self.settings.active_class)) { self.S(this) .css(Foundation.rtl ? 'right':'left', '-99999px') + .attr('aria-hidden', "true") .removeClass(self.settings.active_class) .prev('[' + self.attr_name() + ']') .removeClass(self.settings.active_class) @@ -119,7 +124,7 @@ closeall: function() { var self = this; $.each(self.S('[' + this.attr_name() + '-content]'), function() { - self.close.call(self, self.S(this)) + self.close.call(self, self.S(this)); }); }, @@ -129,6 +134,9 @@ .addClass(this.settings.active_class), target); dropdown.prev('[' + this.attr_name() + ']').addClass(this.settings.active_class); dropdown.data('target', target.get(0)).trigger('opened').trigger('opened.fndtn.dropdown', [dropdown, target]); + dropdown.attr('aria-hidden', 'false'); + target.attr('aria-expanded', 'true'); + dropdown.focus(); }, data_attr: function () { @@ -140,6 +148,9 @@ }, toggle : function (target) { + if (target.hasClass(this.settings.disabled_class)) { + return; + } var dropdown = this.S('#' + target.data(this.data_attr())); if (dropdown.length === 0) { // No dropdown found, not continuing @@ -167,12 +178,13 @@ }, css : function (dropdown, target) { - var left_offset = Math.max((target.width() - dropdown.width()) / 2, 8); - + var left_offset = Math.max((target.width() - dropdown.width()) / 2, 8), + settings = target.data(this.attr_name(true) + '-init') || this.settings; + this.clear_idx(); if (this.small()) { - var p = this.dirs.bottom.call(dropdown, target); + var p = this.dirs.bottom.call(dropdown, target, settings); dropdown.attr('style', '').removeClass('drop-left drop-right drop-top').css({ position : 'absolute', @@ -183,7 +195,6 @@ dropdown.css(Foundation.rtl ? 'right':'left', left_offset); } else { - var settings = target.data(this.attr_name(true) + '-init') || this.settings; this.style(dropdown, target, settings); } @@ -192,7 +203,7 @@ }, style : function (dropdown, target, settings) { - var css = $.extend({position: 'absolute'}, + var css = $.extend({position: 'absolute'}, this.dirs[settings.align].call(dropdown, target, settings)); dropdown.attr('style', '').css(css); @@ -214,29 +225,27 @@ }, top: function (t, s) { var self = Foundation.libs.dropdown, - p = self.dirs._base.call(this, t), - pip_offset_base = 8; + p = self.dirs._base.call(this, t); this.addClass('drop-top'); - if (t.outerWidth() < this.outerWidth() || self.small()) { - self.adjust_pip(pip_offset_base, p); + if (t.outerWidth() < this.outerWidth() || self.small() || this.hasClass(s.mega_menu)) { + self.adjust_pip(this,t,s,p); } if (Foundation.rtl) { - return {left: p.left - this.outerWidth() + t.outerWidth(), + return {left: p.left - this.outerWidth() + t.outerWidth(), top: p.top - this.outerHeight()}; } return {left: p.left, top: p.top - this.outerHeight()}; }, - bottom: function (t, s) { + bottom: function (t,s) { var self = Foundation.libs.dropdown, - p = self.dirs._base.call(this, t), - pip_offset_base = 8; + p = self.dirs._base.call(this, t); - if (t.outerWidth() < this.outerWidth() || self.small()) { - self.adjust_pip(pip_offset_base, p); + if (t.outerWidth() < this.outerWidth() || self.small() || this.hasClass(s.mega_menu)) { + self.adjust_pip(this,t,s,p); } if (self.rtl) { @@ -262,11 +271,15 @@ }, // Insert rule to style psuedo elements - adjust_pip : function (pip_offset_base, p) { - var sheet = Foundation.stylesheet; + adjust_pip : function (dropdown,target,settings,position) { + var sheet = Foundation.stylesheet, + pip_offset_base = 8; - if (this.small()) { - pip_offset_base += p.left - 8; + if (dropdown.hasClass(settings.mega_class)) { + pip_offset_base = position.left + (target.outerWidth()/2) - 8; + } + else if (this.small()) { + pip_offset_base += position.left - 8; } this.rule_idx = sheet.cssRules.length; diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.equalizer.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.equalizer.js index c8292b90ae..5d0ad4615f 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.equalizer.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.equalizer.js @@ -4,7 +4,7 @@ Foundation.libs.equalizer = { name : 'equalizer', - version : '5.3.3', + version : '5.4.6', settings : { use_tallest: true, diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.interchange.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.interchange.js index 541a80d4a8..05e03bf3bf 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.interchange.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.interchange.js @@ -4,7 +4,7 @@ Foundation.libs.interchange = { name : 'interchange', - version : '5.3.3', + version : '5.4.6', cache : {}, diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.joyride.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.joyride.js index e3552be7dc..f52b910ed6 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.joyride.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.joyride.js @@ -6,11 +6,12 @@ Foundation.libs.joyride = { name : 'joyride', - version : '5.3.3', + version : '5.4.6', defaults : { expose : false, // turn on or off the expose feature modal : true, // Whether to cover page with modal during the tour + keyboard : true, // enable left, right and esc keystrokes tip_location : 'bottom', // 'top' or 'bottom' in relation to parent nub_position : 'auto', // override on a per tooltip bases scroll_speed : 1500, // Page scrolling speed in milliseconds, 0 = no scroll animation @@ -63,6 +64,34 @@ this.bindings(method, options) }, + go_next : function() { + if (this.settings.$li.next().length < 1) { + this.end(); + } else if (this.settings.timer > 0) { + clearTimeout(this.settings.automate); + this.hide(); + this.show(); + this.startTimer(); + } else { + this.hide(); + this.show(); + } + }, + + go_prev : function() { + if (this.settings.$li.prev().length < 1) { + // Do nothing if there are no prev element + } else if (this.settings.timer > 0) { + clearTimeout(this.settings.automate); + this.hide(); + this.show(null, true); + this.startTimer(); + } else { + this.hide(); + this.show(null, true); + } + }, + events : function () { var self = this; @@ -70,46 +99,42 @@ .off('.joyride') .on('click.fndtn.joyride', '.joyride-next-tip, .joyride-modal-bg', function (e) { e.preventDefault(); - - if (this.settings.$li.next().length < 1) { - this.end(); - } else if (this.settings.timer > 0) { - clearTimeout(this.settings.automate); - this.hide(); - this.show(); - this.startTimer(); - } else { - this.hide(); - this.show(); - } - + this.go_next() }.bind(this)) .on('click.fndtn.joyride', '.joyride-prev-tip', function (e) { e.preventDefault(); - - if (this.settings.$li.prev().length < 1) { - // Do nothing if there are no prev element - } else if (this.settings.timer > 0) { - clearTimeout(this.settings.automate); - this.hide(); - this.show(null, true); - this.startTimer(); - } else { - this.hide(); - this.show(null, true); - } - + this.go_prev(); }.bind(this)) .on('click.fndtn.joyride', '.joyride-close-tip', function (e) { e.preventDefault(); this.end(this.settings.abort_on_close); + }.bind(this)) + + .on("keyup.fndtn.joyride", function(e) { + // Don't do anything if keystrokes are disabled + // or if the joyride is not being shown + if (!this.settings.keyboard || !this.settings.riding) return; + + switch (e.which) { + case 39: // right arrow + e.preventDefault(); + this.go_next(); + break; + case 37: // left arrow + e.preventDefault(); + this.go_prev(); + break; + case 27: // escape + e.preventDefault(); + this.end(this.settings.abort_on_close); + } }.bind(this)); $(window) .off('.joyride') .on('resize.fndtn.joyride', self.throttle(function () { - if ($('[' + self.attr_name() + ']').length > 0 && self.settings.$next_tip) { + if ($('[' + self.attr_name() + ']').length > 0 && self.settings.$next_tip && self.settings.riding) { if (self.settings.exposed.length > 0) { var $els = $(self.settings.exposed); @@ -148,6 +173,7 @@ this.settings.$tip_content = this.settings.$content_el.find('> li'); this.settings.paused = false; this.settings.attempts = 0; + this.settings.riding = true; // can we create cookies? if (typeof $.cookie !== 'function') { @@ -352,7 +378,7 @@ // skip non-existant targets } else if (this.settings.$li && this.settings.$target.length < 1) { - this.show(); + this.show(init, is_prev); } else { @@ -860,7 +886,11 @@ this.un_expose(); } + // Unplug keystrokes listener + $(this.scope).off('keyup.joyride') + this.settings.$next_tip.data('closed', true); + this.settings.riding = false; $('.joyride-modal-bg').hide(); this.settings.$current_tip.hide(); diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.js index ba0eb18085..b01dffaaf5 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.js @@ -116,7 +116,7 @@ } }); } - // # Patch to fix #5043 to move this *after* the if/else clause in order for Backbone and similar frameworks to have improved control over event binding and data-options updating. + // # Patch to fix #5043 to move this *after* the if/else clause in order for Backbone and similar frameworks to have improved control over event binding and data-options updating. if (typeof method === 'string') { return this[method].call(this, options); } @@ -278,7 +278,7 @@ window.Foundation = { name : 'Foundation', - version : '5.3.1', + version : '5.4.6', media_queries : { small : S('.foundation-mq-small').css('font-family').replace(/^[\/\\'"]+|(;\s?})+|[\/\\'"]+$/g, ''), @@ -316,6 +316,18 @@ } } + S(window).load(function(){ + S(window) + .trigger('resize.fndtn.clearing') + .trigger('resize.fndtn.dropdown') + .trigger('resize.fndtn.equalizer') + .trigger('resize.fndtn.interchange') + .trigger('resize.fndtn.joyride') + .trigger('resize.fndtn.magellan') + .trigger('resize.fndtn.topbar') + .trigger('resize.fndtn.slider'); + }); + return scope; }, diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.magellan.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.magellan.js index 31b35a11d6..43747de9b2 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.magellan.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.magellan.js @@ -4,7 +4,7 @@ Foundation.libs['magellan-expedition'] = { name : 'magellan-expedition', - version : '5.3.3', + version : '5.4.6', settings : { active_class: 'active', @@ -12,7 +12,7 @@ destination_threshold: 20, // pixels from the top of destination for it to be considered active throttle_delay: 30, // calculation throttling to increase framerate fixed_top: 0 // top distance in pixels assigend to the fixed element on scroll - }, + }, init : function (scope, method, options) { Foundation.inherit(this, 'throttle'); @@ -35,10 +35,10 @@ settings = expedition.data('magellan-expedition-init'), hash = this.hash.split('#').join(''), target = $("a[name='"+hash+"']"); - + if (target.length === 0) { target = $('#'+hash); - + } @@ -58,7 +58,7 @@ }); }) .on('scroll.fndtn.magellan', self.throttle(this.check_for_arrivals.bind(this), settings.throttle_delay)); - + $(window) .on('resize.fndtn.magellan', self.throttle(this.set_expedition_position.bind(this), settings.throttle_delay)); }, @@ -111,7 +111,7 @@ placeholder.attr(self.add_namespace('data-magellan-expedition-clone'),''); expedition.before(placeholder); } - expedition.css({position:'fixed', top: settings.fixed_top}); + expedition.css({position:'fixed', top: settings.fixed_top}).addClass('fixed'); } else { expedition.prev('[' + self.add_namespace('data-magellan-expedition-clone') + ']').remove(); expedition.attr('style',styles).css('position','').css('top','').removeClass('fixed'); diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.offcanvas.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.offcanvas.js index 8d9b26f565..63ad2e3b5e 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.offcanvas.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.offcanvas.js @@ -4,7 +4,7 @@ Foundation.libs.offcanvas = { name : 'offcanvas', - version : '5.3.3', + version : '5.4.6', settings : { open_method: 'move', @@ -26,6 +26,10 @@ move_class = 'move-'; right_postfix = 'right'; left_postfix = 'left'; + } else if (this.settings.open_method === 'overlap_single') { + move_class = 'offcanvas-overlap-'; + right_postfix = 'right'; + left_postfix = 'left'; } else if (this.settings.open_method === 'overlap') { move_class = 'offcanvas-overlap'; } @@ -33,27 +37,67 @@ S(this.scope).off('.offcanvas') .on('click.fndtn.offcanvas', '.left-off-canvas-toggle', function (e) { self.click_toggle_class(e, move_class + right_postfix); + if (self.settings.open_method !== 'overlap'){ + S(".left-submenu").removeClass(move_class + right_postfix); + } + $('.left-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.left-off-canvas-menu a', function (e) { var settings = self.get_settings(e); - if (settings.close_on_click) { + var parent = S(this).parent(); + + if(settings.close_on_click && !parent.hasClass("has-submenu") && !parent.hasClass("back")){ self.hide.call(self, move_class + right_postfix, self.get_wrapper(e)); + parent.parent().removeClass(move_class + right_postfix); + }else if(S(this).parent().hasClass("has-submenu")){ + e.preventDefault(); + S(this).siblings(".left-submenu").toggleClass(move_class + right_postfix); + }else if(parent.hasClass("back")){ + e.preventDefault(); + parent.parent().removeClass(move_class + right_postfix); } + $('.left-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.right-off-canvas-toggle', function (e) { self.click_toggle_class(e, move_class + left_postfix); + if (self.settings.open_method !== 'overlap'){ + S(".right-submenu").removeClass(move_class + left_postfix); + } + $('.right-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.right-off-canvas-menu a', function (e) { var settings = self.get_settings(e); - if (settings.close_on_click) { + var parent = S(this).parent(); + + if(settings.close_on_click && !parent.hasClass("has-submenu") && !parent.hasClass("back")){ self.hide.call(self, move_class + left_postfix, self.get_wrapper(e)); + parent.parent().removeClass(move_class + left_postfix); + }else if(S(this).parent().hasClass("has-submenu")){ + e.preventDefault(); + S(this).siblings(".right-submenu").toggleClass(move_class + left_postfix); + }else if(parent.hasClass("back")){ + e.preventDefault(); + parent.parent().removeClass(move_class + left_postfix); } + $('.right-off-canvas-toggle').attr('aria-expanded', 'true'); }) .on('click.fndtn.offcanvas', '.exit-off-canvas', function (e) { self.click_remove_class(e, move_class + left_postfix); - if (right_postfix) self.click_remove_class(e, move_class + right_postfix); + S(".right-submenu").removeClass(move_class + left_postfix); + if (right_postfix){ + self.click_remove_class(e, move_class + right_postfix); + S(".left-submenu").removeClass(move_class + left_postfix); + } + $('.right-off-canvas-toggle').attr('aria-expanded', 'true'); + }) + .on('click.fndtn.offcanvas', '.exit-off-canvas', function (e) { + self.click_remove_class(e, move_class + left_postfix); + $('.left-off-canvas-toggle').attr('aria-expanded', 'false'); + if (right_postfix) { + self.click_remove_class(e, move_class + right_postfix); + $('.right-off-canvas-toggle').attr('aria-expanded', "false"); + } }); - }, toggle: function(class_name, $off_canvas) { diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.orbit.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.orbit.js index e490412915..d4057dc0aa 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.orbit.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.orbit.js @@ -402,7 +402,7 @@ Foundation.libs.orbit = { name: 'orbit', - version: '5.3.1', + version: '5.4.6', settings: { animation: 'slide', diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.reveal.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.reveal.js index c5a94d67d8..ea7f2204c4 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.reveal.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.reveal.js @@ -4,7 +4,7 @@ Foundation.libs.reveal = { name : 'reveal', - version : '5.3.3', + version : '5.4.6', locked : false, @@ -210,6 +210,7 @@ $.ajax(ajax_settings); } } + self.S(window).trigger('resize'); }, close : function (modal) { diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.slider.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.slider.js index cbbd18fa22..731c4c4fe2 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.slider.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.slider.js @@ -4,7 +4,7 @@ Foundation.libs.slider = { name : 'slider', - version : '5.3.3', + version : '5.4.6', settings: { start: 0, @@ -128,7 +128,15 @@ $handle.parent().children('input[type=hidden]').val(value); - if (settings.input_id != '') { + if (!$handle[0].hasAttribute('aria-valuemin')) { + $handle.attr({ + 'aria-valuemin': settings.start, + 'aria-valuemax': settings.end, + }); + } + $handle.attr('aria-valuenow', value); + + if (settings.display_selector != '') { $(settings.display_selector).each(function(){ if (this.hasOwnProperty('value')) { $(this).val(value); @@ -141,7 +149,7 @@ }, normalized_percentage : function(val, start, end) { - return (val - start)/(end - start); + return Math.min(1, (val - start)/(end - start)); }, normalized_value : function(val, start, end, step) { diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tab.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tab.js index 9cbd5a720e..d8a7a0b4c8 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tab.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tab.js @@ -4,7 +4,7 @@ Foundation.libs.tab = { name : 'tab', - version : '5.3.3', + version : '5.4.6', settings : { active_class: 'active', @@ -35,17 +35,20 @@ var self = this, S = this.S; - S(this.scope) - .off('.tab') - // Click event: tab title - .on('click.fndtn.tab', '[' + this.attr_name() + '] > * > a', function (e) { + var usual_tab_behavior = function (e) { var settings = S(this).closest('[' + self.attr_name() +']').data(self.attr_name(true) + '-init'); if (!settings.is_hover || Modernizr.touch) { e.preventDefault(); e.stopPropagation(); self.toggle_active_tab(S(this).parent()); } - }) + }; + + S(this.scope) + .off('.tab') + // Click event: tab title + .on('focus.fndtn.tab', '[' + this.attr_name() + '] > * > a', usual_tab_behavior ) + .on('click.fndtn.tab', '[' + this.attr_name() + '] > * > a', usual_tab_behavior ) // Hover event: tab title .on('mouseenter.fndtn.tab', '[' + this.attr_name() + '] > * > a', function (e) { var settings = S(this).closest('[' + self.attr_name() +']').data(self.attr_name(true) + '-init'); @@ -60,6 +63,7 @@ }, handle_location_hash_change : function () { + var self = this, S = this.S; @@ -67,7 +71,13 @@ var settings = S(this).data(self.attr_name(true) + '-init'); if (settings.deep_linking) { // Match the location hash to a label - var hash = self.scope.location.hash; + var hash; + if (settings.scroll_to_content) { + hash = self.scope.location.hash; + } else { + // prefix the hash to prevent anchor scrolling + hash = self.scope.location.hash.replace('fndtn-', ''); + } if (hash != '') { // Check whether the location hash references a tab content div or // another element on the page (inside or outside the tab content div) @@ -85,7 +95,7 @@ } } else { // Reference the default tab hashes which were initialized in the init function - for (var ind in self.default_tab_hashes) { + for (var ind = 0; ind < self.default_tab_hashes.length; ind++) { self.toggle_active_tab($('[' + self.attr_name() + '] > * > a[href=' + self.default_tab_hashes[ind] + ']').parent()); } } @@ -96,11 +106,58 @@ toggle_active_tab: function (tab, location_hash) { var S = this.S, tabs = tab.closest('[' + this.attr_name() + ']'), + tab_link = tab.find('a'), anchor = tab.children('a').first(), target_hash = '#' + anchor.attr('href').split('#')[1], target = S(target_hash), siblings = tab.siblings(), - settings = tabs.data(this.attr_name(true) + '-init'); + settings = tabs.data(this.attr_name(true) + '-init'), + interpret_keyup_action = function(e) { + // Light modification of Heydon Pickering's Practical ARIA Examples: http://heydonworks.com/practical_aria_examples/js/a11y.js + + // define current, previous and next (possible) tabs + + var $original = $(this); + var $prev = $(this).parents('li').prev().children('[role="tab"]'); + var $next = $(this).parents('li').next().children('[role="tab"]'); + var $target; + + // find the direction (prev or next) + + switch (e.keyCode) { + case 37: + $target = $prev; + break; + case 39: + $target = $next; + break; + default: + $target = false + break; + } + + if ($target.length) { + $original.attr({ + 'tabindex' : '-1', + 'aria-selected' : null + }); + $target.attr({ + 'tabindex' : '0', + 'aria-selected' : true + }).focus(); + } + + // Hide panels + + $('[role="tabpanel"]') + .attr('aria-hidden', 'true'); + + // Show panel which corresponds to target + + $('#' + $(document.activeElement).attr('href').substring(1)) + .attr('aria-hidden', null); + + }; // allow usage of data-tab-content attribute instead of href if (S(this).data(this.data_attr('tab-content'))) { @@ -109,34 +166,21 @@ } if (settings.deep_linking) { - // Get the scroll Y position prior to moving to the hash ID - var cur_ypos = $('body,html').scrollTop(); - - // Update the location hash to preserve browser history - // Note that the hash does not need to correspond to the - // tab content ID anchor; it can be an ID inside or outside of the tab - // content div. - if (location_hash != undefined) { - window.location.hash = location_hash; - } else { - window.location.hash = target_hash; - } if (settings.scroll_to_content) { - // If the user is requesting the content of a tab, then scroll to the - // top of the title area; otherwise, scroll to the element within - // the content area as defined by the hash value. + // retain current hash to scroll to content + window.location.hash = location_hash || target_hash; if (location_hash == undefined || location_hash == target_hash) { tab.parent()[0].scrollIntoView(); } else { S(target_hash)[0].scrollIntoView(); } } else { - // Adjust the scrollbar to the Y position prior to setting the hash - // Only do this for the tab content anchor, otherwise there will be - // conflicts with in-tab anchor links nested in the tab-content div - if (location_hash == undefined || location_hash == target_hash) { - $('body,html').scrollTop(cur_ypos); + // prefix the hashes so that the browser doesn't scroll down + if (location_hash != undefined) { + window.location.hash = 'fndtn-' + location_hash.replace('#', ''); + } else { + window.location.hash = 'fndtn-' + target_hash.replace('#', ''); } } } @@ -144,12 +188,18 @@ // WARNING: The activation and deactivation of the tab content must // occur after the deep linking in order to properly refresh the browser // window (notably in Chrome). + // Clean up multiple attr instances to done once tab.addClass(settings.active_class).triggerHandler('opened'); - siblings.removeClass(settings.active_class); - target.siblings().removeClass(settings.active_class).end().addClass(settings.active_class); + tab_link.attr({"aria-selected": "true", tabindex: 0}); + siblings.removeClass(settings.active_class) + siblings.find('a').attr({"aria-selected": "false", tabindex: -1}); + target.siblings().removeClass(settings.active_class).attr({"aria-hidden": "true", tabindex: -1}); + target.addClass(settings.active_class).attr('aria-hidden', 'false').removeAttr("tabindex"); settings.callback(tab); target.triggerHandler('toggled', [tab]); tabs.triggerHandler('toggled', [target]); + + tab_link.off('keydown').on('keydown', interpret_keyup_action ); }, data_attr: function (str) { diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tooltip.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tooltip.js index 608a782ac3..7118e1aa75 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tooltip.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.tooltip.js @@ -4,7 +4,7 @@ Foundation.libs.tooltip = { name : 'tooltip', - version : '5.3.3', + version : '5.4.6', settings : { additional_inheritable_classes : [], @@ -15,9 +15,9 @@ hover_delay: 200, show_on : 'all', tip_template : function (selector, content) { - return '' + content + ''; + + '" role="tooltip">' + content + ''; } }, @@ -143,7 +143,9 @@ if ((id && id.length < 1 || !id) && typeof dataSelector != 'string') { dataSelector = this.random_str(6); - $target.attr('data-selector', dataSelector); + $target + .attr('data-selector', dataSelector) + .attr('aria-describedby', dataSelector); } return (id && id.length > 0) ? id : dataSelector; diff --git a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.topbar.js b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.topbar.js index 3258ae6da4..aaf588b0a9 100644 --- a/src/sunstone/public/bower_components/foundation/js/foundation/foundation.topbar.js +++ b/src/sunstone/public/bower_components/foundation/js/foundation/foundation.topbar.js @@ -4,7 +4,7 @@ Foundation.libs.topbar = { name : 'topbar', - version: '5.3.3', + version: '5.4.6', settings : { index : 0, @@ -16,7 +16,7 @@ scrolltop : true, // jump to top when sticky nav menu toggle is clicked sticky_on : 'all' }, - + init : function (section, method, options) { Foundation.inherit(this, 'add_custom_rule register_media throttle'); var self = this; @@ -28,7 +28,7 @@ self.S('[' + this.attr_name() + ']', this.scope).each(function () { var topbar = $(this), settings = topbar.data(self.attr_name(true) + '-init'), - section = self.S('section', this); + section = self.S('section, .top-bar-section', this); topbar.data('index', 0); var topbarContainer = topbar.parent(); if (topbarContainer.hasClass('fixed') || self.is_sticky(topbar, topbarContainer, settings) ) { @@ -67,7 +67,7 @@ return true; } else if (sticky && this.small() && settings.sticky_on === 'small') { return (matchMedia(Foundation.media_queries.small).matches && !matchMedia(Foundation.media_queries.medium).matches && - !matchMedia(Foundation.media_queries.large).matches); + !matchMedia(Foundation.media_queries.large).matches); //return true; } else if (sticky && this.medium() && settings.sticky_on === 'medium') { return (matchMedia(Foundation.media_queries.small).matches && matchMedia(Foundation.media_queries.medium).matches && @@ -94,7 +94,7 @@ var settings = topbar.data(this.attr_name(true) + '-init'); - var section = self.S('section, .section', topbar); + var section = self.S('section, .top-bar-section', topbar); if (self.breakpoint()) { if (!self.rtl) { @@ -210,7 +210,7 @@ var $this = S(this), topbar = $this.closest('[' + self.attr_name() + ']'), - section = topbar.find('section, .section'), + section = topbar.find('section, .top-bar-section'), dropdownHeight = $this.next('.dropdown').outerHeight(), $selectedLi = $this.closest('li'); @@ -228,10 +228,13 @@ topbar.css('height', $this.siblings('ul').outerHeight(true) + topbar.data('height')); } }); - - S(window).off('.topbar').on('resize.fndtn.topbar', self.throttle(function () { - self.resize.call(self); - }, 50)).trigger('resize').trigger('resize.fndtn.topbar'); + + S(window).off(".topbar").on("resize.fndtn.topbar", self.throttle(function() { + self.resize.call(self); + }, 50)).trigger("resize").trigger("resize.fndtn.topbar").load(function(){ + // Ensure that the offset is calculated after all of the pages resources have loaded + S(this).trigger("resize.fndtn.topbar"); + }); S('body').off('.topbar').on('click.fndtn.topbar', function (e) { var parent = S(e.target).closest('li').closest('li.hover'); @@ -249,7 +252,7 @@ var $this = S(this), topbar = $this.closest('[' + self.attr_name() + ']'), - section = topbar.find('section, .section'), + section = topbar.find('section, .top-bar-section'), settings = topbar.data(self.attr_name(true) + '-init'), $movedLi = $this.closest('li.moved'), $previousLevelUl = $movedLi.parent(); @@ -274,6 +277,15 @@ $movedLi.removeClass('moved'); }, 300); }); + + // Show dropdown menus when their items are focused + S(this.scope).find('.dropdown a') + .focus(function() { + $(this).parents('.has-dropdown').addClass('hover'); + }) + .blur(function() { + $(this).parents('.has-dropdown').removeClass('hover'); + }); }, resize : function () { @@ -338,7 +350,7 @@ assemble : function (topbar) { var self = this, settings = topbar.data(this.attr_name(true) + '-init'), - section = self.S('section', topbar); + section = self.S('section, .top-bar-section', topbar); // Pull element out of the DOM for manipulation section.detach(); @@ -357,7 +369,7 @@ } else { $titleLi = $('
    4. '); } - + // Copy link to subnav if (settings.custom_back_text == true) { $('h5>a', $titleLi).html(settings.back_text); @@ -385,8 +397,8 @@ var total = 0, self = this; - $('> li', ul).each(function () { - total += self.S(this).outerHeight(true); + $('> li', ul).each(function () { + total += self.S(this).outerHeight(true); }); return total; @@ -402,7 +414,7 @@ update_sticky_positioning: function() { var klass = '.' + this.settings.sticky_class, - $window = this.S(window), + $window = this.S(window), self = this; if (self.settings.sticky_topbar && self.is_sticky(this.settings.sticky_topbar,this.settings.sticky_topbar.parent(), this.settings)) { @@ -430,4 +442,4 @@ reflow : function () {} }; -}(jQuery, this, this.document)); +}(jQuery, window, window.document)); diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/_functions.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/_functions.scss index f82ac98a3f..f018ced0e2 100644 --- a/src/sunstone/public/bower_components/foundation/scss/foundation/_functions.scss +++ b/src/sunstone/public/bower_components/foundation/scss/foundation/_functions.scss @@ -98,4 +98,4 @@ $modules: () !default; // Deprecated: We'll drop support for this in 5.1.0, use rem-calc() @function em-calc($values){ @return rem-calc($values); -} \ No newline at end of file +} diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/_settings.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/_settings.scss index 67a8ae6d4a..b585d7d087 100644 --- a/src/sunstone/public/bower_components/foundation/scss/foundation/_settings.scss +++ b/src/sunstone/public/bower_components/foundation/scss/foundation/_settings.scss @@ -3,8 +3,53 @@ // Licensed under MIT Open Source // -// FOUNDATION SETTINGS + +// Table of Contents +// Foundation Settings // +// a. Base +// b. Grid +// c. Global +// d. Media Query Ranges +// e. Typography +// 01. Accordion +// 02. Alert Boxes +// 03. Block Grid +// 04. Breadcrumbs +// 05. Buttons +// 06. Button Groups +// 07. Clearing +// 08. Dropdown +// 09. Dropdown Buttons +// 10. Flex Video +// 11. Forms +// 12. Icon Bar +// 13. Inline Lists +// 14. Joyride +// 15. Keystrokes +// 16. Labels +// 17. Magellan +// 18. Off-canvas +// 19. Orbit +// 20. Pagination +// 21. Panels +// 22. Pricing Tables +// 23. Progress Bar +// 24. Range Slider +// 25. Reveal +// 26. Side Nav +// 27. Split Buttons +// 28. Sub Nav +// 29. Switch +// 30. Tables +// 31. Tabs +// 32. Thumbnails +// 33. Tooltips +// 34. Top Bar +// 36. Visibility Classes + +// a. Base +// - - - - - - - - - - - - - - - - - - - - - - - - - // This is the default html and body font-size for the base rem value. // $rem-base: 16px; @@ -28,26 +73,61 @@ $include-html-classes: true; // $include-print-styles: true; $include-html-global-classes: $include-html-classes; -// Grid +// b. Grid +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-grid-classes: $include-html-classes; // $include-xl-html-grid-classes: false; // $row-width: rem-calc(1000); // $total-columns: 12; +// $column-gutter: rem-calc(30); -// Global +// c. Global +// - - - - - - - - - - - - - - - - - - - - - - - - - + +// We use these to define default font stacks +// $font-family-sans-serif: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; +// $font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif; +// $font-family-monospace: Consolas, "Liberation Mono", Courier, monospace; // We use these to define default font weights // $font-weight-normal: normal !default; // $font-weight-bold: bold !default; +// $white : #FFFFFF; +// $ghost : #FAFAFA; +// $snow : #F9F9F9; +// $vapor : #F6F6F6; +// $white-smoke : #F5F5F5; +// $silver : #EFEFEF; +// $smoke : #EEEEEE; +// $gainsboro : #DDDDDD; +// $iron : #CCCCCC; +// $base : #AAAAAA; +// $aluminum : #999999; +// $jumbo : #888888; +// $monsoon : #777777; +// $steel : #666666; +// $charcoal : #555555; +// $tuatara : #444444; +// $oil : #333333; +// $jet : #222222; +// $black : #000000; + +// We use these as default colors throughout +// $primary-color: #008CBA; +// $secondary-color: #e7e7e7; +// $alert-color: #f04124; +// $success-color: #43AC6A; +// $warning-color: #f08a24; +// $info-color: #a0d3e8; + // We use these to control various global styles -// $body-bg: #fff; -// $body-font-color: #222; -// $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; -$font-weight-normal:normal; -$body-font-weight: $font-weight-normal; +// $body-bg: $white; +// $body-font-color: $jet; +// $body-font-family: $font-family-sans-serif; +// $body-font-weight: $font-weight-normal; // $body-font-style: normal; // We use this to control font-smoothing @@ -57,14 +137,7 @@ $body-font-weight: $font-weight-normal; // $text-direction: ltr; // $opposite-direction: right; // $default-float: left; - -// We use these as default colors throughout -$primary-color: #008CBA; -// $secondary-color: #e7e7e7; -// $alert-color: #f04124; -// $success-color: #43AC6A; -// $warning-color: #f08a24; -// $info-color: #a0d3e8; +// $last-child-float: $opposite-direction; // We use these to make sure border radius matches unless we want it different. // $global-radius: 3px; @@ -72,12 +145,12 @@ $primary-color: #008CBA; // We use these to control inset shadow shiny edges and depressions. // $shiny-edge-size: 0 1px 0; -// $shiny-edge-color: rgba(#fff, .5); -// $shiny-edge-active-color: rgba(#000, .2); +// $shiny-edge-color: rgba($white, .5); +// $shiny-edge-active-color: rgba($black, .2); -// $column-gutter: rem-calc(30); +// d. Media Query Ranges +// - - - - - - - - - - - - - - - - - - - - - - - - - -// Media Query Ranges // $small-range: (0em, 40em); // $medium-range: (40.063em, 64em); // $large-range: (64.063em, 90em); @@ -109,16 +182,15 @@ $primary-color: #008CBA; // $medium: $medium-up; // $large: $large-up; -//We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet +// We use this as cursors values for enabling the option of having custom cursors in the whole site's stylesheet // $cursor-crosshair-value: crosshair; // $cursor-default-value: default; // $cursor-pointer-value: pointer; // $cursor-help-value: help; // $cursor-text-value: text; -// -// TYPOGRAPHY -// +// e. Typography +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-type-classes: $include-html-classes; @@ -126,7 +198,7 @@ $primary-color: #008CBA; // $header-font-family: $body-font-family; // $header-font-weight: $font-weight-normal; // $header-font-style: normal; -// $header-font-color: #222; +// $header-font-color: $jet; // $header-line-height: 1.4; // $header-top-margin: .2rem; // $header-bottom-margin: .5rem; @@ -171,8 +243,8 @@ $primary-color: #008CBA; // $paragraph-text-rendering: optimizeLegibility; // We use these to style tags -// $code-color: #333; -// $code-font-family: Consolas, 'Liberation Mono', Courier, monospace; +// $code-color: $oil; +// $code-font-family: $font-family-monospace; // $code-font-weight: $font-weight-normal; // $code-background-color: scale-color($secondary-color, $lightness: 70%); // $code-border-size: 1px; @@ -189,7 +261,7 @@ $primary-color: #008CBA; // We use these to style the
      element // $hr-border-width: 1px; // $hr-border-style: solid; -// $hr-border-color: #ddd; +// $hr-border-color: $gainsboro; // $hr-margin: rem-calc(20); // We use these to style lists @@ -209,13 +281,13 @@ $primary-color: #008CBA; // We use these to style blockquotes // $blockquote-font-color: scale-color($header-font-color, $lightness: 35%); // $blockquote-padding: rem-calc(9 20 0 19); -// $blockquote-border: 1px solid #ddd; +// $blockquote-border: 1px solid $gainsboro; // $blockquote-cite-font-size: rem-calc(13); // $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%); // $blockquote-cite-link-color: $blockquote-cite-font-color; // Acronym styles -// $acronym-underline: 1px dotted #ddd; +// $acronym-underline: 1px dotted $gainsboro; // We use these to control padding and margin // $microformat-padding: rem-calc(10 12); @@ -224,7 +296,7 @@ $primary-color: #008CBA; // We use these to control the border styles // $microformat-border-width: 1px; // $microformat-border-style: solid; -// $microformat-border-color: #ddd; +// $microformat-border-color: $gainsboro; // We use these to control full name font styles // $microformat-fullname-font-weight: $font-weight-bold; @@ -240,22 +312,24 @@ $primary-color: #008CBA; // $microformat-abbr-font-weight: $font-weight-bold; // $microformat-abbr-font-decoration: none; -// Accordion +// 01. Accordion +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-accordion-classes: $include-html-classes; // $accordion-navigation-padding: rem-calc(16); -// $accordion-navigation-bg-color: #efefef ; +// $accordion-navigation-bg-color: $silver ; // $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%); // $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%); -// $accordion-navigation-font-color: #222; +// $accordion-navigation-font-color: $jet; // $accordion-navigation-font-size: rem-calc(16); // $accordion-navigation-font-family: $body-font-family; // $accordion-content-padding: $column-gutter/2; -// $accordion-content-active-bg-color: #fff; +// $accordion-content-active-bg-color: $white; -// Alert Boxes +// 02. Alert Boxes +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-alert-classes: $include-html-classes; @@ -268,7 +342,7 @@ $primary-color: #008CBA; // We use these to control text style. // $alert-font-weight: $font-weight-normal; // $alert-font-size: rem-calc(13); -// $alert-font-color: #fff; +// $alert-font-color: $white; // $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%); // We use this for close hover effect. @@ -281,7 +355,7 @@ $primary-color: #008CBA; // $alert-bottom-margin: rem-calc(20); // We use these to style the close buttons -// $alert-close-color: #333; +// $alert-close-color: $oil; // $alert-close-top: 50%; // $alert-close-position: rem-calc(4); // $alert-close-font-size: rem-calc(22); @@ -296,7 +370,8 @@ $primary-color: #008CBA; // $alert-transition-speed: 300ms; // $alert-transition-ease: ease-out; -// Block Grid +// 03. Block Grid +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-block-grid-classes: $include-html-classes; // $include-xl-html-block-grid-classes: false; @@ -306,11 +381,11 @@ $primary-color: #008CBA; // $block-grid-default-spacing: rem-calc(20); // $align-block-grid-to-grid: false; - // Enables media queries for block-grid classes. Set to false if writing semantic HTML. // $block-grid-media-queries: true; -// Breadcrumbs +// 04. Breadcrumbs +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-nav-classes: $include-html-classes; @@ -331,18 +406,17 @@ $primary-color: #008CBA; // We use these to set various text styles for breadcrumbs. // $crumb-font-size: rem-calc(11); // $crumb-font-color: $primary-color; -// $crumb-font-color-current: #333; -// $crumb-font-color-unavailable: #999; +// $crumb-font-color-current: $oil; +// $crumb-font-color-unavailable: $aluminum; // $crumb-font-transform: uppercase; // $crumb-link-decor: underline; // We use these to control the slash between breadcrumbs -// $crumb-slash-color: #aaa; +// $crumb-slash-color: $base; // $crumb-slash: "/"; -// -// BUTTONS -// +// 05. Buttons +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-button-classes: $include-html-classes; @@ -358,8 +432,8 @@ $primary-color: #008CBA; // We use these to control button text styles. // $button-font-family: $body-font-family; -// $button-font-color: #fff; -// $button-font-color-alt: #333; +// $button-font-color: $white; +// $button-font-color-alt: $oil; // $button-font-tny: rem-calc(11); // $button-font-sml: rem-calc(13); // $button-font-med: rem-calc(16); @@ -391,7 +465,8 @@ $primary-color: #008CBA; // $button-disabled-opacity: 0.7; // $button-disabled-cursor: $cursor-default-value; -// Button Groups +// 06. Button Groups +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-button-classes: $include-html-classes; @@ -399,18 +474,19 @@ $primary-color: #008CBA; // $button-bar-margin-opposite: rem-calc(10); // $button-group-border-width: 1px; -// Clearing +// 07. Clearing +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-clearing-classes: $include-html-classes; // We use these to set the background colors for parts of Clearing. -// $clearing-bg: #333; +// $clearing-bg: $oil; // $clearing-caption-bg: $clearing-bg; // $clearing-carousel-bg: rgba(51,51,51,0.8); // $clearing-img-bg: $clearing-bg; // We use these to style the close button -// $clearing-close-color: #ccc; +// $clearing-close-color: $iron; // $clearing-close-size: 30px; // We use these to style the arrows @@ -418,7 +494,7 @@ $primary-color: #008CBA; // $clearing-arrow-color: $clearing-close-color; // We use these to style captions -// $clearing-caption-font-color: #ccc; +// $clearing-caption-font-color: $iron; // $clearing-caption-font-size: 0.875em; // $clearing-caption-padding: 10px 30px 20px; @@ -428,7 +504,8 @@ $primary-color: #008CBA; // $clearing-carousel-thumb-width: 120px; // $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255); -// Dropdown +// 08. Dropdown +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-dropdown-classes: $include-html-classes; @@ -450,37 +527,42 @@ $primary-color: #008CBA; // $f-dropdown-margin-bottom: $f-dropdown-margin-top; // We use this to control the background color -// $f-dropdown-bg: #fff; +// $f-dropdown-bg: $white; // We use this to set the border styles for dropdowns. // $f-dropdown-border-style: solid; // $f-dropdown-border-width: 1px; -// $f-dropdown-border-color: scale-color(#fff, $lightness: -20%); +// $f-dropdown-border-color: scale-color($white, $lightness: -20%); // We use these to style the triangle pip. // $f-dropdown-triangle-size: 6px; -// $f-dropdown-triangle-color: #fff; +// $f-dropdown-triangle-color: $white; // $f-dropdown-triangle-side-offset: 10px; // We use these to control styles for the list elements. // $f-dropdown-list-style: none; -// $f-dropdown-font-color: #555; +// $f-dropdown-font-color: $charcoal; // $f-dropdown-font-size: rem-calc(14); // $f-dropdown-list-padding: rem-calc(5, 10); // $f-dropdown-line-height: rem-calc(18); -// $f-dropdown-list-hover-bg: #eeeeee ; +// $f-dropdown-list-hover-bg: $smoke ; // $dropdown-mobile-default-float: 0; // We use this to control the styles for when the dropdown has custom content. // $f-dropdown-content-padding: rem-calc(20); -// Dropdown Buttons +// Default radius for dropdown. +// $f-dropdown-radius: $global-radius; + + +// 09. Dropdown Buttons +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-button-classes: $include-html-classes; // We use these to set the color of the pip in dropdown buttons -// $dropdown-button-pip-color: #fff; -// $dropdown-button-pip-color-alt: #333; +// $dropdown-button-pip-color: $white; +// $dropdown-button-pip-color-alt: $oil; // $button-pip-tny: rem-calc(6); // $button-pip-sml: rem-calc(7); @@ -511,7 +593,8 @@ $primary-color: #008CBA; // $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5; // $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3); -// Flex Video +// 10. Flex Video +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-media-classes: $include-html-classes; @@ -523,7 +606,8 @@ $primary-color: #008CBA; // We use this to control widescreen bottom padding // $flex-video-widescreen-padding-bottom: 56.34%; -// Forms +// 11. Forms +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-form-classes: $include-html-classes; @@ -535,43 +619,43 @@ $primary-color: #008CBA; // $form-label-font-size: rem-calc(14); // $form-label-font-weight: $font-weight-normal; // $form-label-line-height: 1.5; -// $form-label-font-color: scale-color(#000, $lightness: 30%); +// $form-label-font-color: scale-color($black, $lightness: 30%); // $form-label-small-transform: capitalize; // $form-label-bottom-margin: 0; // $input-font-family: inherit; // $input-font-color: rgba(0,0,0,0.75); // $input-font-size: rem-calc(14); -// $input-bg-color: #fff; -// $input-focus-bg-color: scale-color(#fff, $lightness: -2%); -// $input-border-color: scale-color(#fff, $lightness: -20%); -// $input-focus-border-color: scale-color(#fff, $lightness: -40%); +// $input-bg-color: $white; +// $input-focus-bg-color: scale-color($white, $lightness: -2%); +// $input-border-color: scale-color($white, $lightness: -20%); +// $input-focus-border-color: scale-color($white, $lightness: -40%); // $input-border-style: solid; // $input-border-width: 1px; // $input-border-radius: $global-radius; -// $input-disabled-bg: #ddd; +// $input-disabled-bg: $gainsboro; // $input-disabled-cursor: $cursor-default-value; // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); // We use these to style the fieldset border and spacing. // $fieldset-border-style: solid; // $fieldset-border-width: 1px; -// $fieldset-border-color: #ddd; +// $fieldset-border-color: $gainsboro; // $fieldset-padding: rem-calc(20); // $fieldset-margin: rem-calc(18 0); // We use these to style the legends when you use them -// $legend-bg: #fff; +// $legend-bg: $white; // $legend-font-weight: $font-weight-bold; // $legend-padding: rem-calc(0 3); // We use these to style the prefix and postfix input elements -// $input-prefix-bg: scale-color(#fff, $lightness: -5%); -// $input-prefix-border-color: scale-color(#fff, $lightness: -20%); +// $input-prefix-bg: scale-color($white, $lightness: -5%); +// $input-prefix-border-color: scale-color($white, $lightness: -20%); // $input-prefix-border-size: 1px; // $input-prefix-border-type: solid; // $input-prefix-overflow: hidden; -// $input-prefix-font-color: #333; -// $input-prefix-font-color-alt: #fff; +// $input-prefix-font-color: $oil; +// $input-prefix-font-color-alt: $white; // We use this setting to turn on/off HTML5 number spinners (the up/down arrows) // $input-number-spinners: true; @@ -582,8 +666,8 @@ $primary-color: #008CBA; // $input-error-message-font-size: rem-calc(12); // $input-error-message-font-weight: $font-weight-normal; // $input-error-message-font-style: italic; -// $input-error-message-font-color: #fff; -// $input-error-message-font-color-alt: #333; +// $input-error-message-font-color: $white; +// $input-error-message-font-color-alt: $oil; // We use this to style the glowing effect of inputs when focused // $input-include-glowing-effect: true; @@ -591,10 +675,27 @@ $primary-color: #008CBA; // $glowing-effect-color: $input-focus-border-color; // Select variables -// $select-bg-color: #fafafa; +// $select-bg-color: $ghost; // $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%); -// Inline Lists +// 12. Icon Bar +// - - - - - - - - - - - - - - - - - - - - - - - - - + +// We use these to style the icon-bar and items +// $include-html-icon-bar-classes: $include-html-classes; +// $icon-bar-bg: $oil; +// $icon-bar-font-color: $white; +// $icon-bar-font-size: 1rem; +// $icon-bar-hover-color: $primary-color; +// $icon-bar-icon-color: $white; +// $icon-bar-icon-size: 1.875rem; +// $icon-bar-image-width: 1.875rem; +// $icon-bar-image-height: 1.875rem; +// $icon-bar-active-color: $primary-color; +// $icon-bar-item-padding: 1.25rem; + +// 13. Inline Lists +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-inline-list-classes: $include-html-classes; @@ -613,23 +714,24 @@ $primary-color: #008CBA; // We use this to control the list items // $inline-list-display: block; -// We use this to control any elments within list items +// We use this to control any elements within list items // $inline-list-children-display: block; -// Joyride +// 14. Joyride +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-joyride-classes: $include-html-classes; // Controlling default Joyride styles -// $joyride-tip-bg: #333; +// $joyride-tip-bg: $oil; // $joyride-tip-default-width: 300px; // $joyride-tip-padding: rem-calc(18 20 24); -// $joyride-tip-border: solid 1px #555; +// $joyride-tip-border: solid 1px $charcoal; // $joyride-tip-radius: 4px; // $joyride-tip-position-offset: 22px; -// Here, we're setting the tip dont styles -// $joyride-tip-font-color: #fff; +// Here, we're setting the tip font styles +// $joyride-tip-font-color: $white; // $joyride-tip-font-size: rem-calc(14); // $joyride-tip-header-weight: $font-weight-bold; @@ -639,68 +741,72 @@ $primary-color: #008CBA; // This adjusts the styles for the timer when its enabled // $joyride-tip-timer-width: 50px; // $joyride-tip-timer-height: 3px; -// $joyride-tip-timer-color: #666; +// $joyride-tip-timer-color: $steel; // This changes up the styles for the close button -// $joyride-tip-close-color: #777; +// $joyride-tip-close-color: $monsoon; // $joyride-tip-close-size: 24px; // $joyride-tip-close-weight: $font-weight-normal; // When Joyride is filling the screen, we use this style for the bg // $joyride-screenfill: rgba(0,0,0,0.5); -// Keystrokes +// 15. Keystrokes +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-keystroke-classes: $include-html-classes; // We use these to control text styles. // $keystroke-font: "Consolas", "Menlo", "Courier", monospace; // $keystroke-font-size: inherit; -// $keystroke-font-color: #222; -// $keystroke-font-color-alt: #fff; +// $keystroke-font-color: $jet; +// $keystroke-font-color-alt: $white; // $keystroke-function-factor: -7%; // We use this to control keystroke padding. // $keystroke-padding: rem-calc(2 4 0); // We use these to control background and border styles. -// $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor); +// $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor); // $keystroke-border-style: solid; // $keystroke-border-width: 1px; // $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor); // $keystroke-radius: $global-radius; -// Labels +// 16. Labels +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-label-classes: $include-html-classes; // We use these to style the labels -// $label-padding: rem-calc(4 8 6); +// $label-padding: rem-calc(4 8 4); // $label-radius: $global-radius; // We use these to style the label text // $label-font-sizing: rem-calc(11); // $label-font-weight: $font-weight-normal; -// $label-font-color: #333; -// $label-font-color-alt: #fff; +// $label-font-color: $oil; +// $label-font-color-alt: $white; // $label-font-family: $body-font-family; -// Magellan +// 17. Magellan +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-magellan-classes: $include-html-classes; -// $magellan-bg: #fff; -$magellan-padding: 0 !important; +// $magellan-bg: $white; +// $magellan-padding: 0 !important; -// Off-canvas +// 18. Off-canvas +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-off-canvas-classes: $include-html-classes; -// $tabbar-bg: #333; +// $tabbar-bg: $oil; // $tabbar-height: rem-calc(45); // $tabbar-icon-width: $tabbar-height; // $tabbar-line-height: $tabbar-height; -// $tabbar-color: #fff; +// $tabbar-color: $white; // $tabbar-middle-padding: 0 rem-calc(10); // Off Canvas Divider Styles @@ -708,30 +814,38 @@ $magellan-padding: 0 !important; // $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%); // Off Canvas Tab Bar Headers -// $tabbar-header-color: #fff; +// $tabbar-header-color: $white; // $tabbar-header-weight: $font-weight-bold; // $tabbar-header-line-height: $tabbar-height; // $tabbar-header-margin: 0; // Off Canvas Menu Variables // $off-canvas-width: rem-calc(250); -// $off-canvas-bg: #333; +// $off-canvas-bg: $oil; +// $off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%); // Off Canvas Menu List Variables // $off-canvas-label-padding: 0.3rem rem-calc(15); -// $off-canvas-label-color: #999; +// $off-canvas-label-color: $aluminum; // $off-canvas-label-text-transform: uppercase; +// $off-canvas-label-font-size: rem-calc(12); // $off-canvas-label-font-weight: $font-weight-bold; -// $off-canvas-label-bg: #444; -// $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%); +// $off-canvas-label-bg: $tuatara; +// $off-canvas-label-border-top: 1px solid scale-color($tuatara, $lightness: 14%); // $off-canvas-label-border-bottom: none; // $off-canvas-label-margin:0; // $off-canvas-link-padding: rem-calc(10, 15); -// $off-canvas-link-color: rgba(#fff, 0.7); +// $off-canvas-link-color: rgba($white, 0.7); // $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%); +// $off-canvas-back-bg: $tuatara; +// $off-canvas-back-border-top: $off-canvas-label-border-top; +// $off-canvas-back-border-bottom: $off-canvas-label-border-bottom; +// $off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%); +// $off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%); +// $off-canvas-back-hover-border-bottom: none; // Off Canvas Menu Icon Variables -// $tabbar-menu-icon-color: #fff; +// $tabbar-menu-icon-color: $white; // $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%); // $tabbar-menu-icon-text-indent: rem-calc(35); @@ -748,21 +862,22 @@ $magellan-padding: 0 !important; // Off Canvas Back-Link Overlay // $off-canvas-overlay-transition: background 300ms ease; // $off-canvas-overlay-cursor: pointer; -// $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5); -// $off-canvas-overlay-background: rgba(#fff, 0.2); -// $off-canvas-overlay-background-hover: rgba(#fff, 0.05); +// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, 0.5), 4px 0 4px rgba($black, 0.5); +// $off-canvas-overlay-background: rgba($white, 0.2); +// $off-canvas-overlay-background-hover: rgba($white, 0.05); // Transition Variables // $menu-slide: "transform 500ms ease"; -// Orbit +// 19. Orbit +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-orbit-classes: $include-html-classes; // We use these to control the caption styles // $orbit-container-bg: none; // $orbit-caption-bg: rgba(51,51,51, 0.8); -// $orbit-caption-font-color: #fff; +// $orbit-caption-font-color: $white; // $orbit-caption-font-size: rem-calc(14); // $orbit-caption-position: "bottom"; // Supported values: "bottom", "under" // $orbit-caption-padding: rem-calc(10 14); @@ -771,21 +886,21 @@ $magellan-padding: 0 !important; // We use these to control the left/right nav styles // $orbit-nav-bg: transparent; // $orbit-nav-bg-hover: rgba(0,0,0,0.3); -// $orbit-nav-arrow-color: #fff; -// $orbit-nav-arrow-color-hover: #fff; +// $orbit-nav-arrow-color: $white; +// $orbit-nav-arrow-color-hover: $white; // We use these to control the timer styles // $orbit-timer-bg: rgba(255,255,255,0.3); // $orbit-timer-show-progress-bar: true; // We use these to control the bullet nav styles -// $orbit-bullet-nav-color: #ccc; -// $orbit-bullet-nav-color-active: #999; +// $orbit-bullet-nav-color: $iron; +// $orbit-bullet-nav-color-active: $aluminum; // $orbit-bullet-radius: rem-calc(9); // We use these to controls the style of slide numbers // $orbit-slide-number-bg: rgba(0,0,0,0); -// $orbit-slide-number-font-color: #fff; +// $orbit-slide-number-font-color: $white; // $orbit-slide-number-padding: rem-calc(5); // Hide controls on small @@ -797,7 +912,8 @@ $magellan-padding: 0 !important; // $wrapper-class: "slideshow-wrapper"; // $preloader-class: "preloader"; -// Pagination +// 20. Pagination +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-pagination-classes: $include-html-classes; @@ -808,33 +924,34 @@ $magellan-padding: 0 !important; // We use these to set the list-item properties // $pagination-li-float: $default-float; // $pagination-li-height: rem-calc(24); -// $pagination-li-font-color: #222; +// $pagination-li-font-color: $jet; // $pagination-li-font-size: rem-calc(14); // $pagination-li-margin: rem-calc(5); // We use these for the pagination anchor links // $pagination-link-pad: rem-calc(1 10 1); -// $pagination-link-font-color: #999; -// $pagination-link-active-bg: scale-color(#fff, $lightness: -10%); +// $pagination-link-font-color: $aluminum; +// $pagination-link-active-bg: scale-color($white, $lightness: -10%); // We use these for disabled anchor links // $pagination-link-unavailable-cursor: default; -// $pagination-link-unavailable-font-color: #999; +// $pagination-link-unavailable-font-color: $aluminum; // $pagination-link-unavailable-bg-active: transparent; // We use these for currently selected anchor links // $pagination-link-current-background: $primary-color; -// $pagination-link-current-font-color: #fff; +// $pagination-link-current-font-color: $white; // $pagination-link-current-font-weight: $font-weight-bold; // $pagination-link-current-cursor: default; // $pagination-link-current-active-bg: $primary-color; -// Panels +// 21. Panels +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-panel-classes: $include-html-classes; // We use these to control the background and border styles -// $panel-bg: scale-color(#fff, $lightness: -5%); +// $panel-bg: scale-color($white, $lightness: -5%); // $panel-border-style: solid; // $panel-border-size: 1px; @@ -847,74 +964,75 @@ $magellan-padding: 0 !important; // $panel-padding: rem-calc(20); // We use these to set default font colors -// $panel-font-color: #333; -// $panel-font-color-alt: #fff; +// $panel-font-color: $oil; +// $panel-font-color-alt: $white; // $panel-header-adjust: true; // $callout-panel-link-color: $primary-color; -// Pricing Tables +// 22. Pricing Tables +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-pricing-classes: $include-html-classes; // We use this to control the border color -// $price-table-border: solid 1px #ddd; +// $price-table-border: solid 1px $gainsboro; // We use this to control the bottom margin of the pricing table // $price-table-margin-bottom: rem-calc(20); // We use these to control the title styles -// $price-title-bg: #333; +// $price-title-bg: $oil; // $price-title-padding: rem-calc(15 20); // $price-title-align: center; -// $price-title-color: #eee; +// $price-title-color: $smoke; // $price-title-weight: $font-weight-normal; // $price-title-size: rem-calc(16); // $price-title-font-family: $body-font-family; // We use these to control the price styles -// $price-money-bg: #f6f6f6 ; +// $price-money-bg: $vapor ; // $price-money-padding: rem-calc(15 20); // $price-money-align: center; -// $price-money-color: #333; +// $price-money-color: $oil; // $price-money-weight: $font-weight-normal; // $price-money-size: rem-calc(32); // $price-money-font-family: $body-font-family; - // We use these to control the description styles -// $price-bg: #fff; -// $price-desc-color: #777; +// $price-bg: $white; +// $price-desc-color: $monsoon; // $price-desc-padding: rem-calc(15); // $price-desc-align: center; // $price-desc-font-size: rem-calc(12); // $price-desc-weight: $font-weight-normal; // $price-desc-line-height: 1.4; -// $price-desc-bottom-border: dotted 1px #ddd; +// $price-desc-bottom-border: dotted 1px $gainsboro; // We use these to control the list item styles -// $price-item-color: #333; +// $price-item-color: $oil; // $price-item-padding: rem-calc(15); // $price-item-align: center; // $price-item-font-size: rem-calc(14); // $price-item-weight: $font-weight-normal; -// $price-item-bottom-border: dotted 1px #ddd; +// $price-item-bottom-border: dotted 1px $gainsboro; // We use these to control the CTA area styles -// $price-cta-bg: #fff; +// $price-cta-bg: $white; // $price-cta-align: center; // $price-cta-padding: rem-calc(20 20 0); -// Progress Bar +// 23. Progress Bar +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-media-classes: $include-html-classes; // We use this to set the progress bar height // $progress-bar-height: rem-calc(25); -// $progress-bar-color: #f6f6f6 ; +// $progress-bar-color: $vapor ; // We use these to control the border styles -// $progress-bar-border-color: scale-color(#fff, $lightness: 20%); +// $progress-bar-border-color: scale-color($white, $lightness: 20%); // $progress-bar-border-size: 1px; // $progress-bar-border-style: solid; // $progress-bar-border-radius: $global-radius; @@ -929,26 +1047,61 @@ $magellan-padding: 0 !important; // $progress-meter-success-color: $success-color; // $progress-meter-alert-color: $alert-color; -// Reveal +// 24. Range Slider +// - - - - - - - - - - - - - - - - - - - - - - - - - + +// $include-html-range-slider-classes: $include-html-classes; + +// These variables define the slider bar styles +// $range-slider-bar-width: 100%; +// $range-slider-bar-height: rem-calc(16); + +// $range-slider-bar-border-width: 1px; +// $range-slider-bar-border-style: solid; +// $range-slider-bar-border-color: $gainsboro; +// $range-slider-radius: $global-radius; +// $range-slider-round: $global-rounded; +// $range-slider-bar-bg-color: $ghost; + +// Vertical bar styles +// $range-slider-vertical-bar-width: rem-calc(16); +// $range-slider-vertical-bar-height: rem-calc(200); + +// These variables define the slider handle styles +// $range-slider-handle-width: rem-calc(32); +// $range-slider-handle-height: rem-calc(22); +// $range-slider-handle-position-top: rem-calc(-5); +// $range-slider-handle-bg-color: $primary-color; +// $range-slider-handle-border-width: 1px; +// $range-slider-handle-border-style: solid; +// $range-slider-handle-border-color: none; +// $range-slider-handle-radius: $global-radius; +// $range-slider-handle-round: $global-rounded; +// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%); +// $range-slider-handle-cursor: pointer; + +// 25. Reveal +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-reveal-classes: $include-html-classes; // We use these to control the style of the reveal overlay. -// $reveal-overlay-bg: rgba(#000, .45); -// $reveal-overlay-bg-old: #000; +// $reveal-overlay-bg: rgba($black, .45); +// $reveal-overlay-bg-old: $black; // We use these to control the style of the modal itself. -// $reveal-modal-bg: #fff; +// $reveal-modal-bg: $white; // $reveal-position-top: rem-calc(100); // $reveal-default-width: 80%; +// $reveal-max-width: $row-width; // $reveal-modal-padding: rem-calc(20); -// $reveal-box-shadow: 0 0 10px rgba(#000,.4); +// $reveal-box-shadow: 0 0 10px rgba($black,.4); // We use these to style the reveal close button // $reveal-close-font-size: rem-calc(40); // $reveal-close-top: rem-calc(8); // $reveal-close-side: rem-calc(11); -// $reveal-close-color: #aaa; +// $reveal-close-color: $base; // $reveal-close-weight: $font-weight-bold; // We use this to set the default radius used throughout the core. @@ -958,12 +1111,13 @@ $magellan-padding: 0 !important; // We use these to control the modal border // $reveal-border-style: solid; // $reveal-border-width: 1px; -// $reveal-border-color: #666; +// $reveal-border-color: $steel; // $reveal-modal-class: "reveal-modal"; // $close-reveal-modal-class: "close-reveal-modal"; -// Side Nav +// 26. Side Nav +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-nav-classes: $include-html-classes; @@ -986,7 +1140,7 @@ $magellan-padding: 0 !important; // $side-nav-font-weight: $font-weight-normal; // $side-nav-font-weight-active: $side-nav-font-weight; // $side-nav-font-family: $body-font-family; -// $side-nav-active-font-family: $side-nav-font-family; +// $side-nav-font-family-active: $side-nav-font-family; // We use these to control heading styles. // $side-nav-heading-color: $side-nav-link-color; @@ -997,16 +1151,17 @@ $magellan-padding: 0 !important; // We use these to control border styles // $side-nav-divider-size: 1px; // $side-nav-divider-style: solid; -// $side-nav-divider-color: scale-color(#fff, $lightness: 10%); +// $side-nav-divider-color: scale-color($white, $lightness: 10%); -// Split Buttons +// 27. Split Buttons +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-button-classes: $include-html-classes; // We use these to control different shared styles for Split Buttons // $split-button-function-factor: 10%; -// $split-button-pip-color: #fff; -// $split-button-pip-color-alt: #333; +// $split-button-pip-color: $white; +// $split-button-pip-color-alt: $oil; // $split-button-active-bg-tint: rgba(0,0,0,0.1); // We use these to control tiny split buttons @@ -1037,7 +1192,8 @@ $magellan-padding: 0 !important; // $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5); // $split-button-pip-default-float-lrg: rem-calc(-6); -// Sub Nav +// 28. Sub Nav +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-nav-classes: $include-html-classes; @@ -1048,36 +1204,34 @@ $magellan-padding: 0 !important; // We use this to control the definition // $sub-nav-font-family: $body-font-family; // $sub-nav-font-size: rem-calc(14); -// $sub-nav-font-color: #999; +// $sub-nav-font-color: $aluminum; // $sub-nav-font-weight: $font-weight-normal; // $sub-nav-text-decoration: none; -$sub-nav-padding: rem-calc(3 16); +// $sub-nav-padding: rem-calc(3 16); // $sub-nav-border-radius: 3px; // $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%); - // We use these to control the active item styles -$sub-nav-active-font-weight: $font-weight-normal; -$sub-nav-active-bg: $primary-color; -$sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%); -$sub-nav-active-color: #fff; -$sub-nav-active-padding: $sub-nav-padding; -$sub-nav-active-cursor: default; +// $sub-nav-active-font-weight: $font-weight-normal; +// $sub-nav-active-bg: $primary-color; +// $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%); +// $sub-nav-active-color: $white; +// $sub-nav-active-padding: $sub-nav-padding; +// $sub-nav-active-cursor: default; // $sub-nav-item-divider: ""; // $sub-nav-item-divider-margin: rem-calc(12); -// -// SWITCH -// +// 29. Switch +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-form-classes: $include-html-classes; // Controlling border styles and background colors for the switch container -// $switch-border-color: scale-color(#fff, $lightness: -20%); +// $switch-border-color: scale-color($white, $lightness: -20%); // $switch-border-style: solid; // $switch-border-width: 1px; -// $switch-bg: #fff; +// $switch-bg: $white; // We use these to control the switch heights for our default classes // $switch-height-tny: rem-calc(22); @@ -1094,7 +1248,7 @@ $sub-nav-active-cursor: default; // $switch-label-side-padding: 6px; // We use these to style the switch-paddle -// $switch-paddle-bg: #fff; +// $switch-paddle-bg: $white; // $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%); // $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%); // $switch-paddle-border-width: 1px; @@ -1102,52 +1256,53 @@ $sub-nav-active-cursor: default; // $switch-paddle-transition-speed: .1s; // $switch-paddle-transition-ease: ease-out; // $switch-positive-color: scale-color($success-color, $lightness: 94%); -// $switch-negative-color: #f5f5f5; +// $switch-negative-color: $white-smoke; // Outline Style for tabbing through switches -// $switch-label-outline: 1px dotted #888; +// $switch-label-outline: 1px dotted $jumbo; -// Tables +// 30. Tables +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-table-classes: $include-html-classes; // These control the background color for the table and even rows -// $table-bg: #fff; -// $table-even-row-bg: #f9f9f9 ; +// $table-bg: $white; +// $table-even-row-bg: $snow ; // These control the table cell border style // $table-border-style: solid; // $table-border-size: 1px; -// $table-border-color: #ddd; +// $table-border-color: $gainsboro; // These control the table head styles -// $table-head-bg: #f5f5f5 ; +// $table-head-bg: $white-smoke ; // $table-head-font-size: rem-calc(14); -// $table-head-font-color: #222; +// $table-head-font-color: $jet; // $table-head-font-weight: $font-weight-bold; // $table-head-padding: rem-calc(8 10 10); // These control the row padding and font styles // $table-row-padding: rem-calc(9 10); // $table-row-font-size: rem-calc(14); -// $table-row-font-color: #222; +// $table-row-font-color: $jet; // $table-line-height: rem-calc(18); -// These are for controlling the display and margin of tables +// These are for controlling the layout, display and margin of tables +// $table-layout: auto; // $table-display: table-cell; // $table-margin-bottom: rem-calc(20); -// -// TABS -// +// 31. Tabs +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-tabs-classes: $include-html-classes; // $tabs-navigation-padding: rem-calc(16); -// $tabs-navigation-bg-color: #efefef ; -// $tabs-navigation-active-bg-color: #fff; +// $tabs-navigation-bg-color: $silver ; +// $tabs-navigation-active-bg-color: $white; // $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%); -// $tabs-navigation-font-color: #222; +// $tabs-navigation-font-color: $jet; // $tabs-navigation-active-font-color: $tabs-navigation-font-color; // $tabs-navigation-font-size: rem-calc(16); // $tabs-navigation-font-family: $body-font-family; @@ -1157,59 +1312,56 @@ $sub-nav-active-cursor: default; // $tabs-vertical-navigation-margin-bottom: 1.25rem; -// -// THUMBNAILS -// +// 32. Thumbnails +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-media-classes: $include-html-classes; // We use these to control border styles // $thumb-border-style: solid; // $thumb-border-width: 4px; -// $thumb-border-color: #fff; -// $thumb-box-shadow: 0 0 0 1px rgba(#000,.2); +// $thumb-border-color: $white; +// $thumb-box-shadow: 0 0 0 1px rgba($black,.2); // $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5); // Radius and transition speed for thumbs // $thumb-radius: $global-radius; // $thumb-transition-speed: 200ms; -// -// TOOLTIPS -// +// 33. Tooltips +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-tooltip-classes: $include-html-classes; -// $has-tip-border-bottom: dotted 1px #ccc; +// $has-tip-border-bottom: dotted 1px $iron; // $has-tip-font-weight: $font-weight-bold; -// $has-tip-font-color: #333; +// $has-tip-font-color: $oil; // $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%); // $has-tip-font-color-hover: $primary-color; // $has-tip-cursor-type: help; // $tooltip-padding: rem-calc(12); -// $tooltip-bg: #333; +// $tooltip-bg: $oil; // $tooltip-font-size: rem-calc(14); // $tooltip-font-weight: $font-weight-normal; -// $tooltip-font-color: #fff; +// $tooltip-font-color: $white; // $tooltip-line-height: 1.3; // $tooltip-close-font-size: rem-calc(10); // $tooltip-close-font-weight: $font-weight-normal; -// $tooltip-close-font-color: #777; +// $tooltip-close-font-color: $monsoon; // $tooltip-font-size-sml: rem-calc(14); // $tooltip-radius: $global-radius; // $tooltip-rounded: $global-rounded; // $tooltip-pip-size: 5px; // $tooltip-max-width: 300px; -// -// TOP BAR -// +// 34. Top Bar +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-top-bar-classes: $include-html-classes; // Background color for the top bar -// $topbar-bg-color: #333; +// $topbar-bg-color: $oil; // $topbar-bg: $topbar-bg-color; // Height and margin @@ -1221,48 +1373,50 @@ $sub-nav-active-cursor: default; // $topbar-title-font-size: rem-calc(17); // Style the top bar dropdown elements -// $topbar-dropdown-bg: #333; -// $topbar-dropdown-link-color: #fff; -// $topbar-dropdown-link-bg: #333; +// $topbar-dropdown-bg: $oil; +// $topbar-dropdown-link-color: $white; +// $topbar-dropdown-link-bg: $oil; // $topbar-dropdown-link-weight: $font-weight-normal; // $topbar-dropdown-toggle-size: 5px; -// $topbar-dropdown-toggle-color: #fff; +// $topbar-dropdown-toggle-color: $white; // $topbar-dropdown-toggle-alpha: 0.4; // Set the link colors and styles for top-level nav -// $topbar-link-color: #fff; -// $topbar-link-color-hover: #fff; -// $topbar-link-color-active: #fff; -// $topbar-link-color-active-hover: #fff; +// $topbar-link-color: $white; +// $topbar-link-color-hover: $white; +// $topbar-link-color-active: $white; +// $topbar-link-color-active-hover: $white; // $topbar-link-weight: $font-weight-normal; // $topbar-link-font-size: rem-calc(13); // $topbar-link-hover-lightness: -10%; // Darken by 10% // $topbar-link-bg: $topbar-bg; -// $topbar-link-bg-color-hover: #555555; +// $topbar-link-bg-color-hover: $charcoal; // $topbar-link-bg-hover: #272727; // $topbar-link-bg-active: $primary-color; // $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%); // $topbar-link-font-family: $body-font-family; // $topbar-link-text-transform: none; // $topbar-link-padding: $topbar-height / 3; +// $topbar-back-link-size: $h5-font-size; +// $topbar-link-dropdown-padding: 20px; // $topbar-button-font-size: 0.75rem; // $topbar-button-top: 7px; -// $topbar-dropdown-label-color: #777; +// $topbar-dropdown-label-color: $monsoon; // $topbar-dropdown-label-text-transform: uppercase; // $topbar-dropdown-label-font-weight: $font-weight-bold; // $topbar-dropdown-label-font-size: rem-calc(10); -// $topbar-dropdown-label-bg: #333; +// $topbar-dropdown-label-bg: $oil; // Top menu icon styles // $topbar-menu-link-transform: uppercase; // $topbar-menu-link-font-size: rem-calc(13); // $topbar-menu-link-weight: $font-weight-bold; -// $topbar-menu-link-color: #fff; -// $topbar-menu-icon-color: #fff; -// $topbar-menu-link-color-toggled: #888; -// $topbar-menu-icon-color-toggled: #888; +// $topbar-menu-link-color: $white; +// $topbar-menu-icon-color: $white; +// $topbar-menu-link-color-toggled: $jumbo; +// $topbar-menu-icon-color-toggled: $jumbo; // Transitions and breakpoint styles // $topbar-transition-speed: 300ms; @@ -1278,60 +1432,10 @@ $sub-nav-active-cursor: default; // $topbar-sticky-class: ".sticky"; // $topbar-arrows: true; //Set false to remove the triangle icon from the menu item -// ICON BAR - -// We use these to style the icon-bar and items -// $include-html-icon-bar-classes: $include-html-classes; -// $icon-bar-bg: #333; -// $icon-bar-font-color: #fff; -// $icon-bar-font-size: 1rem; -// $icon-bar-hover-color: $primary-color; -// $icon-bar-icon-color: #fff; -// $icon-bar-icon-size: 1.875rem; -// $icon-bar-image-width: 1.875rem; -// $icon-bar-image-height: 1.875rem; -// $icon-bar-active-color: $primary-color; -// $icon-bar-item-padding: 1.25rem; - -// -// VISIBILITY CLASSES -// +// 36. Visibility Classes +// - - - - - - - - - - - - - - - - - - - - - - - - - // $include-html-visibility-classes: $include-html-classes; // $include-table-visibility-classes: true; // $include-legacy-visibility-classes: true; // $include-accessibility-classes: true; - -// -// RANGE SLIDER -// - -// $include-html-range-slider-classes: $include-html-classes; - -// These variabels define the slider bar styles -// $range-slider-bar-width: 100%; -// $range-slider-bar-height: rem-calc(16); - -// $range-slider-bar-border-width: 1px; -// $range-slider-bar-border-style: solid; -// $range-slider-bar-border-color: #ddd; -// $range-slider-radius: $global-radius; -// $range-slider-round: $global-rounded; -// $range-slider-bar-bg-color: #fafafa; - -// Vertical bar styles -// $range-slider-vertical-bar-width: rem-calc(16); -// $range-slider-vertical-bar-height: rem-calc(200); - -// These variabels define the slider handle styles -// $range-slider-handle-width: rem-calc(32); -// $range-slider-handle-height: rem-calc(22); -// $range-slider-handle-position-top: rem-calc(-5); -// $range-slider-handle-bg-color: $primary-color; -// $range-slider-handle-border-width: 1px; -// $range-slider-handle-border-style: solid; -// $range-slider-handle-border-color: none; -// $range-slider-handle-radius: $global-radius; -// $range-slider-handle-round: $global-rounded; -// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%); -// $range-slider-handle-cursor: pointer; diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss index 5f48211a58..84d9611a58 100644 --- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss +++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss @@ -11,15 +11,15 @@ $include-html-accordion-classes: $include-html-classes !default; $accordion-navigation-padding: rem-calc(16) !default; -$accordion-navigation-bg-color: #efefef !default; +$accordion-navigation-bg-color: $silver !default; $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%) !default; $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%) !default; -$accordion-navigation-font-color: #222 !default; +$accordion-navigation-font-color: $jet !default; $accordion-navigation-font-size: rem-calc(16) !default; $accordion-navigation-font-family: $body-font-family !default; $accordion-content-padding: $column-gutter/2 !default; -$accordion-content-active-bg-color: #fff !default; +$accordion-content-active-bg-color: $white !default; // Mixin: accordion-container() @@ -61,7 +61,7 @@ $accordion-content-active-bg-color: #fff !default; @warn "#{$padding} was read as a #{type-of($padding)}"; @warn "`#{$padding}` isn't a valid number. $accordion-navigation-padding (#{$accordion-navigation-padding}) will be used instead.)"; padding: $accordion-navigation-padding; - } + } @else { @warn "`#{$padding}` isn't a valid number and $accordion-navigation-padding is missing. A value of `null` is returned to not output an invalid value for padding"; padding: null; @@ -99,10 +99,10 @@ $accordion-content-active-bg-color: #fff !default; // @params $active_class [ string ]: Class name used to keep track of which accordion tab should be visible. @mixin accordion-content($bg: $accordion-content-active-bg-color, $padding: $accordion-content-padding, $active_class: 'active'){ - display: none; + display: none; @if type-of($padding) != "number" { @warn "#{$padding} was read as a #{type-of($padding)}"; - @if $accordion-content-padding != null { + @if $accordion-content-padding != null { @warn "`#{$padding}` isn't a valid number. $accordion-content-padding used instead"; padding: $accordion-content-padding; } @else { @@ -127,7 +127,8 @@ $accordion-content-active-bg-color: #fff !default; @include exports("accordion") { @if $include-html-accordion-classes { .accordion { - @include clearfix; margin-bottom: 0; + @include clearfix; + margin-bottom: 0; .accordion-navigation, dd { display: block; margin-bottom: 0 !important; @@ -141,7 +142,7 @@ $accordion-content-active-bg-color: #fff !default; font-size: $accordion-navigation-font-size; &:hover { background: $accordion-navigation-hover-bg-color; } } - + > .content { display: none; padding: $accordion-content-padding; diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss index bd1fd5f401..6cf9b96387 100644 --- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss @@ -18,7 +18,7 @@ $alert-padding-bottom: $alert-padding-top !default; // We use these to control text style. $alert-font-weight: $font-weight-normal !default; $alert-font-size: rem-calc(13) !default; -$alert-font-color: #fff !default; +$alert-font-color: $white !default; $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%) !default; // We use this for close hover effect. @@ -31,7 +31,7 @@ $alert-border-color: scale-color($primary-color, $lightness: $alert-function-fac $alert-bottom-margin: rem-calc(20) !default; // We use these to style the close buttons -$alert-close-color: #333 !default; +$alert-close-color: $oil !default; $alert-close-top: 50% !default; $alert-close-position: rem-calc(4) !default; $alert-close-font-size: rem-calc(22) !default; diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss index 620ea04704..612a146c40 100644 --- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss @@ -26,13 +26,13 @@ $crumb-radius: $global-radius !default; // We use these to set various text styles for breadcrumbs. $crumb-font-size: rem-calc(11) !default; $crumb-font-color: $primary-color !default; -$crumb-font-color-current: #333 !default; -$crumb-font-color-unavailable: #999 !default; +$crumb-font-color-current: $oil !default; +$crumb-font-color-unavailable: $aluminum !default; $crumb-font-transform: uppercase !default; $crumb-link-decor: underline !default; // We use these to control the slash between breadcrumbs -$crumb-slash-color: #aaa !default; +$crumb-slash-color: $base !default; $crumb-slash: "/" !default; // @@ -125,3 +125,8 @@ $crumb-slash: "/" !default; } } } + +/* Accessibility - hides the forward slash */ +[aria-label="breadcrumbs"] [aria-hidden="true"]:after { + content: "/"; + } diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss index 7d7e100afd..46c17ba795 100644 --- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss +++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss @@ -5,7 +5,6 @@ @import "global"; @import "buttons"; - // // Button Group Variables // @@ -35,7 +34,7 @@ $button-group-border-width: 1px !default; } // We use this to control styles for button groups -@mixin button-group-style($radius:false, $even:false, $float:$default-float) { +@mixin button-group-style($radius:false, $even:false, $float:false, $orientation:horizontal) { > button, .button { border-#{$default-float}: $button-group-border-width solid; @@ -52,9 +51,33 @@ $button-group-border-width: 1px !default; @if $float { margin: 0; float: $float; + display: list-item; // Make sure the first child doesn't get the negative margin. &:first-child { margin-#{$default-float}: 0; } } + @else { + margin: 0 -2px; + float: $default-float; + display: inline-block; + } + + @if $orientation == vertical { + display:block; + margin:0; + > button, .button { + border-top: $button-group-border-width solid; + border-color: rgba(255, 255, 255, 0.5); + border-left-width: 0px; + margin:0; + display: block; + } + + &:first-child { + button, .button { + border-top: 0; + } + } + } // We use these to control left and right radius on first/last buttons in the group. @if $radius == true { @@ -65,11 +88,25 @@ $button-group-border-width: 1px !default; &:first-child, &:first-child > a, &:first-child > button, - &:first-child > .button { @include side-radius($default-float, $button-radius); } + &:first-child > .button { + @if $orientation == vertical { + @include side-radius(top, $button-radius); + } + @else { + @include side-radius($default-float, $button-radius); + } + } &:last-child, &:last-child > a, &:last-child > button, - &:last-child > .button { @include side-radius($opposite-direction, $button-radius); } + &:last-child > .button { + @if $orientation == vertical { + @include side-radius(bottom, $button-radius); + } + @else { + @include side-radius($opposite-direction, $button-radius); + } + } } @else if $radius { &, @@ -79,11 +116,25 @@ $button-group-border-width: 1px !default; &:first-child, &:first-child > a, &:first-child > button, - &:first-child > .button { @include side-radius($default-float, $radius); } + &:first-child > .button { + @if $orientation == vertical { + @include side-radius(top, $radius); + } + @else { + @include side-radius($default-float, $radius); + } + } &:last-child, &:last-child > a, &:last-child > button, - &:last-child > .button { @include side-radius($opposite-direction, $radius); } + &:last-child > .button { + @if $orientation == vertical { + @include side-radius(bottom, $radius); + } + @else { + @include side-radius($opposite-direction, $radius); + } + } } // We use this to make the buttons even width across their container @@ -91,7 +142,6 @@ $button-group-border-width: 1px !default; width: percentage((100/$even) / 100); button, .button { width: 100%; } } - } @include exports("button-group") { @@ -100,8 +150,40 @@ $button-group-border-width: 1px !default; & > li { @include button-group-style(); } + &.stack { + & > li { @include button-group-style($orientation:vertical); float: none; } + } + + &.stack-for-small { + & > li { + @include button-group-style($orientation:horizontal); + @media #{$small-only} { + @include button-group-style($orientation:vertical); + } + } + } + &.radius > * { @include button-group-style($radius:$button-radius, $float:null); } + &.radius.stack > * { @include button-group-style($radius:$button-radius, $float:null, $orientation:vertical); } + &.radius.stack-for-small > * { + @media #{$medium-up} { + @include button-group-style($radius:$button-radius, $orientation:horizontal); + } + @media #{$small-only} { + @include button-group-style($radius:$button-radius, $orientation:vertical); + } + } + &.round > * { @include button-group-style($radius:$button-round, $float:null); } + &.round.stack > * { @include button-group-style($radius:$button-med, $float:null, $orientation:vertical); } + &.round.stack-for-small > * { + @media #{$medium-up} { + @include button-group-style($radius:$button-round, $orientation:horizontal); + } + @media #{$small-only} { + @include button-group-style($radius:$button-med, $orientation:vertical); + } + } @for $i from 2 through 8 { &.even-#{$i} li { @include button-group-style($even:$i, $float:null); } @@ -110,7 +192,7 @@ $button-group-border-width: 1px !default; .button-bar { @include clearfix; - .button-group { @include button-group-container($styles:false,$float:true); } + .button-group { @include button-group-container($styles:false, $float:true); } } } } diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss index e005b3241e..c3d2def097 100644 --- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss +++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss @@ -21,8 +21,8 @@ $button-margin-bottom: rem-calc(20) !default; // We use these to control button text styles. $button-font-family: $body-font-family !default; -$button-font-color: #fff !default; -$button-font-color-alt: #333 !default; +$button-font-color: $white !default; +$button-font-color-alt: $oil !default; $button-font-tny: rem-calc(11) !default; $button-font-sml: rem-calc(13) !default; $button-font-med: rem-calc(16) !default; @@ -45,6 +45,10 @@ $success-button-bg-hover: scale-color($success-color, $lightness: $button-functi $success-button-border-color: $success-button-bg-hover !default; $alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor) !default; $alert-button-border-color: $alert-button-bg-hover !default; +$warning-button-bg-hover: scale-color($warning-color, $lightness: $button-function-factor) !default; +$warning-button-border-color: $warning-button-bg-hover !default; +$info-button-bg-hover: scale-color($info-color, $lightness: $button-function-factor) !default; +$info-button-border-color: $info-button-bg-hover !default; // We use this to set the default radius used throughout the core. $button-radius: $global-radius !default; @@ -175,7 +179,7 @@ $button-disabled-cursor: $cursor-default-value !default; &:focus { background-color: $bg; } } - // We can control how much button radius us used. + // We can control how much button radius is used. @if $radius == true { @include radius($button-radius); } @else if $radius { @include radius($radius); } @@ -190,12 +194,11 @@ $button-disabled-cursor: $cursor-default-value !default; // $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default:false. // $full-width - We can set $full-width:true to remove side padding extend width. Default:false. // $disabled - We can set $disabled:true to create a disabled transparent button. Default:false. -// $is-input - 's and