diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..23a42ca --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +composer.phar +/vendor/ + +# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control +# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file +# composer.lock \ No newline at end of file diff --git a/README_English.md b/README_English.md new file mode 100644 index 0000000..db9821c --- /dev/null +++ b/README_English.md @@ -0,0 +1,63 @@ +# AdAr - Another dumb Archive + +(sorry, ATM german only) + +AdAr is a further development based on the system "DiBaS (Digital Image Archive Saffig)", which was developed for the archiving of the photo collection of the history association Saffig. In this project, the system was supplemented by document-relevant functions such as OCR, contact management and others. + +AdAr is currently only available in German. The PHP code is provided under the terms of GPLv3 or later. Some libraries, which are in this repo, stand under other licenses, which can be seen in the respective project folder. + +Attention: crafted with part historical code. Do not use productively without scrutiny. + +If the PHP EXIF ​​extension is installed, it will be used +If pdftotext is installed this is used + +## usage +The system is actively used by me for data storage. For this purpose, PDF files are generated with text (see tools /) and then uploaded + +## installation + +### Requirements + + - Requires a web server with PHP> = 7.0, GD and EXIF ​​support + - Requires server with IPv4 access (Github does not support IPv6 yet) + - Requires a MySQL / MariaDB database + - Requires [composer] (https://getcomposer.org/) + - tesseract> = 3 + - To execute OCR for graphics + - not really tested, language German preset + - pdftotext + - For extracting text from PDF files + - imagemagick + - or its convert to convert image data + +### Facility + + - Copy data to web server + - The folder data / * and tpl / cache / must be writable for the web server + - Create MySQL database and import doc / mysql.sql + - Add access data in config.php + - Optional: Customize installation name (ADAR_PROGNAME) + - Optional: Add an e-mail address to ADAR_INFOMAIL_TO, in which case an e-mail will be sent to this address every time a new system is created + - Install dependencies: `` `composer install``` + - cron.php should be called regularly as a web server, otherwise temporary files will not be cleaned up and OCR will not be executed + - eg `` `* / 15 * * * * / usr / bin / php -f / var / www / cron.php> / var / log / adar.cron.log``` in crontab + - Login with admin / admin + +### Debian Jessie + +For Debian Jessie, an automatic installation script with configuration wizard is available in [doc / setup-debian8.sh] (https://github.com/adlerweb/adar/blob/master/doc/setup-debian8.sh): + +`` `` +pushd / tmp +wget "https://raw.githubusercontent.com/adlerweb/adar/master/doc/setup-debian8.sh" +bash setup-debian8.de +popd +`` `` + +This installs all prerequisites (Apache / MariaDB, etc), changes the configurations, creates the database and sets a login password. Since this system configurations are changed, the script should only be used on systems exclusively intended for AdAr (VM, container, etc). +Attention: The PHP7 installation uses the dotdeb repository, which is currently only available for x86 processors. It is therefore not possible to use automatic installation on ARM systems such as Raspberry Pi. + +## Hints + - Currently there is no graphical user administration, so the password can not be changed. In general, it is advisable to set up authentication at the web server level. The users can be edited in SQL, suitable password hashes can be generated using the function [session_getNewPasswordHash] (https://github.com/adlerweb/awtools/blob/master/session.php#L137). + - Backups. + - More backups. \ No newline at end of file diff --git a/api.php b/api.php index a0d9ff7..6342d7a 100644 --- a/api.php +++ b/api.php @@ -23,7 +23,7 @@ } $requestData= $_REQUEST; - +if($requestData['source']=="content"){ $columns = array( // datatable column index => database column name 0 => array(false, 'ItemID', array('%s', array('ItemID', 'ItemID'))), @@ -46,7 +46,7 @@ $colout[] = '`'.$col[1].'`'; } - if($col[2]) { + if($col[2]) { //if format foreach($col[2][1] as $tcol) { if(!in_array($tcol, $colout_done)) { $colout[] = $tcol; @@ -161,6 +161,424 @@ if(isset($requestData['draw'])) $json_data['draw'] = $requestData['draw']; + +} +//============================================================================================ +elseif($requestData['source']=="users"){ + //user management + $columns = array( +// datatable column index => database column name + 0 => array(false, 'UserID', false), + 1 => array(false, 'Name', false), + 2 => array(false, 'Nickname', false), + 3 => array(false, 'EMail', false) +); + +$colout = array(); +$colout_f = array(); +$colout_done = array(); +foreach($columns as $col) { + $colout_done[] = $col[1]; + if($col[0]) { + $colout[] = $col[0].' AS `'.$col[1].'`'; + $colout_f[] = $col[0].' AS `'.$col[1].'`'; + }else{ + $colout[] = '`'.$col[1].'`'; + } + + if($col[2]) { //if format + foreach($col[2][1] as $tcol) { + if(!in_array($tcol, $colout_done)) { + $colout[] = $tcol; + $colout_done[] = $tcol; + } + } + } +} + +$sql_data = "SELECT "; +$sql_data .= implode(", ", $colout); +$sql_data .= " FROM Users"; + +$sql_anz = "SELECT COUNT(`Users`.`UserID`) as anz "; + +$sql_anz .= " FROM Users "; + +// getting total number records without any external filters +//$anzq=$GLOBALS['adlerweb']['sql']->query($sql_anz.$sql_filter); +$anzq=$GLOBALS['adlerweb']['sql']->query_single($sql_anz); +if(!$anzq) { + $totalData=0; +}else{ + $totalData=$anzq['anz']; +} +$totalFiltered = $totalData; + +$sql_filter_data = array(); +$sql_filter = " WHERE 1 = ?"; +$sql_filter_data[] = 1; + +// getting records as per search parameters +for($i=0; $i 1) { + $anzq=$GLOBALS['adlerweb']['sql']->querystmt_single($sql_anz.$sql_filter, str_repeat('s', count($sql_filter_data)), $sql_filter_data); + if(!$anzq) { + $totalFiltered=0; + }else{ + $totalFiltered=$anzq['anz']; + } +} + +if(isset($requestData['order'][0]['column']) && isset($requestData['order'][0]['dir'])) { + if(!in_array($requestData['order'][0]['dir'], array('ASC', 'DESC', 'asc', 'desc'))) die('Errr?'); + $sql_filter.=" ORDER BY ". $columns[$requestData['order'][0]['column']][1]." ".$requestData['order'][0]['dir'].' '; +} +if(isset($requestData['start']) && isset($requestData['length']) && $requestData['length'] > 0) + $sql_filter.="LIMIT ".(int)$requestData['start']." ,".(int)$requestData['length']." "; // adding length + +$query = $GLOBALS['adlerweb']['sql']->querystmt($sql_data.$sql_filter, str_repeat('s', count($sql_filter_data)), $sql_filter_data); +$data = array(); +if($query) { + foreach($query as $row) { // preparing an array + $nestedData=array(); + + foreach($columns as $col) { + if($col[2]) { + $argdata = array( + $col[2][0] + ); + foreach($col[2][1] as $in) { + $argdata[] = $row[$in]; + } + $nestedData[] = call_user_func_array('sprintf', $argdata); + }else{ + $nestedData[] = $row[$col[1]]; + } + } + + $data[] = $nestedData; + } +} + +$json_data = array( + "recordsTotal" => intval( $totalData ), // total number of records + "recordsFiltered" => intval( $totalFiltered ), // total number of records after searching, if there is no searching then totalFiltered = totalData + "data" => $data // total data array +); + +if(isset($requestData['draw'])) $json_data['draw'] = $requestData['draw']; +//================================================================================================= +}elseif($requestData['source']=="student"){ + //student management + $columns = array( +// datatable column index => database column name + 0 => array(false, 'studentID', false), + 1 => array(false, 'studentNumber', false), + 2 => array(false, 'firstName', false), + 3 => array(false, 'surname', false), + 4 => array(false, 'gender', false), + 5 => array(false, 'course', false) +); + +$colout = array(); +$colout_f = array(); +$colout_done = array(); +foreach($columns as $col) { + $colout_done[] = $col[1]; + if($col[0]) { + $colout[] = $col[0].' AS `'.$col[1].'`'; + $colout_f[] = $col[0].' AS `'.$col[1].'`'; + }else{ + $colout[] = '`'.$col[1].'`'; + } + + if($col[2]) { //if format + foreach($col[2][1] as $tcol) { + if(!in_array($tcol, $colout_done)) { + $colout[] = $tcol; + $colout_done[] = $tcol; + } + } + } +} + +$sql_data = "SELECT "; +$sql_data .= implode(", ", $colout); + +$sql_data .= " FROM Student"; + +$sql_anz = "SELECT COUNT(`Student`.`studentID`) as anz "; + +$sql_anz .= " FROM Student "; + + +// getting total number records without any external filters +//$anzq=$GLOBALS['adlerweb']['sql']->query($sql_anz.$sql_filter); +$anzq=$GLOBALS['adlerweb']['sql']->query_single($sql_anz); +if(!$anzq) { + $totalData=0; +}else{ + $totalData=$anzq['anz']; +} +$totalFiltered = $totalData; + +$sql_filter_data = array(); +$sql_filter = " WHERE 1 = ?"; +$sql_filter_data[] = 1; + +// getting records as per search parameters +for($i=0; $i 1) { + $anzq=$GLOBALS['adlerweb']['sql']->querystmt_single($sql_anz.$sql_filter, str_repeat('s', count($sql_filter_data)), $sql_filter_data); + if(!$anzq) { + $totalFiltered=0; + }else{ + $totalFiltered=$anzq['anz']; + } +} + +if(isset($requestData['order'][0]['column']) && isset($requestData['order'][0]['dir'])) { + if(!in_array($requestData['order'][0]['dir'], array('ASC', 'DESC', 'asc', 'desc'))) die('Errr?'); + $sql_filter.=" ORDER BY ". $columns[$requestData['order'][0]['column']][1]." ".$requestData['order'][0]['dir'].' '; +} +if(isset($requestData['start']) && isset($requestData['length']) && $requestData['length'] > 0) + $sql_filter.="LIMIT ".(int)$requestData['start']." ,".(int)$requestData['length']." "; // adding length + +$query = $GLOBALS['adlerweb']['sql']->querystmt($sql_data.$sql_filter, str_repeat('s', count($sql_filter_data)), $sql_filter_data); +$data = array(); +if($query) { + foreach($query as $row) { // preparing an array + $nestedData=array(); + + foreach($columns as $col) { + if($col[2]) { + $argdata = array( + $col[2][0] + ); + foreach($col[2][1] as $in) { + $argdata[] = $row[$in]; + } + $nestedData[] = call_user_func_array('sprintf', $argdata); + }else{ + $nestedData[] = $row[$col[1]]; + } + } + + $data[] = $nestedData; + } +} + +$json_data = array( + "recordsTotal" => intval( $totalData ), // total number of records + "recordsFiltered" => intval( $totalFiltered ), // total number of records after searching, if there is no searching then totalFiltered = totalData + "data" => $data // total data array +); + +if(isset($requestData['draw'])) $json_data['draw'] = $requestData['draw']; + +} +//================================================================================================= +/*elseif($requestData['source']=="papers"){ + //student management + $columns = array( +// datatable column index => database column name + 0 => array(false, 'paperId', false), + 1 => array(false, 'dateUpload', false), + 2 => array(false, 'dateModerated', false), + 3 => array(false, 'lectureId', false), + 4 => array(false, 'moderatorId', false), + 5 => array(false, 'studentNumber', false) + 6 => array(false, 'coordinatorId', false), + 7 => array(false, 'clusterId', false), + 8 => array(false, 'publishedStatus', false) +); + +$colout = array(); +$colout_f = array(); +$colout_done = array(); +foreach($columns as $col) { + $colout_done[] = $col[1]; + if($col[0]) { + $colout[] = $col[0].' AS `'.$col[1].'`'; + $colout_f[] = $col[0].' AS `'.$col[1].'`'; + }else{ + $colout[] = '`'.$col[1].'`'; + } + + if($col[2]) { //if format + foreach($col[2][1] as $tcol) { + if(!in_array($tcol, $colout_done)) { + $colout[] = $tcol; + $colout_done[] = $tcol; + } + } + } +} + +$sql_data = "SELECT "; +$sql_data .= implode(", ", $colout); +$sql_data .= " FROM papers"; + +$sql_anz = "SELECT COUNT(`papers`.`paperId`) as anz "; + +$sql_anz .= " FROM papers "; + +// getting total number records without any external filters +//$anzq=$GLOBALS['adlerweb']['sql']->query($sql_anz.$sql_filter); +$anzq=$GLOBALS['adlerweb']['sql']->query_single($sql_anz); +if(!$anzq) { + $totalData=0; +}else{ + $totalData=$anzq['anz']; +} +$totalFiltered = $totalData; + +$sql_filter_data = array(); +$sql_filter = " WHERE 1 = ?"; +$sql_filter_data[] = 1; + +// getting records as per search parameters +for($i=0; $i 1) { + $anzq=$GLOBALS['adlerweb']['sql']->querystmt_single($sql_anz.$sql_filter, str_repeat('s', count($sql_filter_data)), $sql_filter_data); + if(!$anzq) { + $totalFiltered=0; + }else{ + $totalFiltered=$anzq['anz']; + } +} + +if(isset($requestData['order'][0]['column']) && isset($requestData['order'][0]['dir'])) { + if(!in_array($requestData['order'][0]['dir'], array('ASC', 'DESC', 'asc', 'desc'))) die('Errr?'); + $sql_filter.=" ORDER BY ". $columns[$requestData['order'][0]['column']][1]." ".$requestData['order'][0]['dir'].' '; +} +if(isset($requestData['start']) && isset($requestData['length']) && $requestData['length'] > 0) + $sql_filter.="LIMIT ".(int)$requestData['start']." ,".(int)$requestData['length']." "; // adding length + +$query = $GLOBALS['adlerweb']['sql']->querystmt($sql_data.$sql_filter, str_repeat('s', count($sql_filter_data)), $sql_filter_data); +$data = array(); +if($query) { + foreach($query as $row) { // preparing an array + $nestedData=array(); + + foreach($columns as $col) { + if($col[2]) { + $argdata = array( + $col[2][0] + ); + foreach($col[2][1] as $in) { + $argdata[] = $row[$in]; + } + $nestedData[] = call_user_func_array('sprintf', $argdata); + }else{ + $nestedData[] = $row[$col[1]]; + } + } + + $data[] = $nestedData; + } +} + +$json_data = array( + "recordsTotal" => intval( $totalData ), // total number of records + "recordsFiltered" => intval( $totalFiltered ), // total number of records after searching, if there is no searching then totalFiltered = totalData + "data" => $data // total data array +); + +if(isset($requestData['draw'])) $json_data['draw'] = $requestData['draw']; + +}*/ + echo json_encode($json_data); // send data as json format ?> diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..223ba35 --- /dev/null +++ b/composer.lock @@ -0,0 +1,360 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "f7a0a0b5636e5cbf40a1470262b26eed", + "packages": [ + { + "name": "adlerweb/awtools", + "version": "v0.2.3", + "source": { + "type": "git", + "url": "https://github.com/adlerweb/awtools.git", + "reference": "51a5e232b623385adae58dcf9aebd34dd938d342" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/adlerweb/awtools/zipball/51a5e232b623385adae58dcf9aebd34dd938d342", + "reference": "51a5e232b623385adae58dcf9aebd34dd938d342", + "shasum": "" + }, + "require": { + "php": ">=5.2" + }, + "type": "component", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Florian Knodt", + "email": "awtools@adlerweb.info" + } + ], + "description": "Various wrappers to extend PHP functionality", + "homepage": "https://github.com/adlerweb/awtools", + "support": { + "issues": "https://github.com/adlerweb/awtools/issues", + "source": "https://github.com/adlerweb/awtools/tree/v0.2.3" + }, + "time": "2017-05-20T23:39:29+00:00" + }, + { + "name": "adlerweb/calender-date-input", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/adlerweb/calendarDateInput.git", + "reference": "1c458ea3340a64f74e6551f80fd71ea7e8fac68a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/adlerweb/calendarDateInput/zipball/1c458ea3340a64f74e6551f80fd71ea7e8fac68a", + "reference": "1c458ea3340a64f74e6551f80fd71ea7e8fac68a", + "shasum": "" + }, + "type": "library", + "license": [ + "unknown" + ], + "authors": [ + { + "name": "Jason Moon" + }, + { + "name": "Florian Knodt", + "email": "legacy-cdi@adlerweb.info" + } + ], + "description": "CalenderDateInput - Legacy JS date picker", + "homepage": "https://github.com/adlerweb/CalenderDateInput", + "support": { + "source": "https://github.com/adlerweb/calendarDateInput/tree/master", + "issues": "https://github.com/adlerweb/calendarDateInput/issues" + }, + "time": "2017-05-28T09:41:59+00:00" + }, + { + "name": "components/jquery", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/components/jquery.git", + "reference": "e5534d4ab8e80c159553d507e358ed20a806d3bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/components/jquery/zipball/e5534d4ab8e80c159553d507e358ed20a806d3bf", + "reference": "e5534d4ab8e80c159553d507e358ed20a806d3bf", + "shasum": "" + }, + "type": "component", + "extra": { + "component": { + "scripts": [ + "jquery.js" + ], + "files": [ + "jquery.min.js", + "jquery.min.map", + "jquery.slim.js", + "jquery.slim.min.js", + "jquery.slim.min.map" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "JS Foundation and other contributors" + } + ], + "description": "jQuery JavaScript Library", + "homepage": "http://jquery.com", + "time": "2017-03-21T07:01:49+00:00" + }, + { + "name": "components/jqueryui", + "version": "1.12.1", + "source": { + "type": "git", + "url": "https://github.com/components/jqueryui.git", + "reference": "44ecf3794cc56b65954cc19737234a3119d036cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/components/jqueryui/zipball/44ecf3794cc56b65954cc19737234a3119d036cc", + "reference": "44ecf3794cc56b65954cc19737234a3119d036cc", + "shasum": "" + }, + "require": { + "components/jquery": ">=1.6" + }, + "type": "component", + "extra": { + "component": { + "name": "jquery-ui", + "scripts": [ + "jquery-ui.js" + ], + "files": [ + "ui/**", + "themes/**", + "jquery-ui.min.js" + ], + "shim": { + "deps": [ + "jquery" + ], + "exports": "jQuery" + } + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "jQuery UI Team", + "homepage": "http://jqueryui.com/about" + }, + { + "name": "Joern Zaefferer", + "email": "joern.zaefferer@gmail.com", + "homepage": "http://bassistance.de" + }, + { + "name": "Scott Gonzalez", + "email": "scott.gonzalez@gmail.com", + "homepage": "http://scottgonzalez.com" + }, + { + "name": "Kris Borchers", + "email": "kris.borchers@gmail.com", + "homepage": "http://krisborchers.com" + }, + { + "name": "Mike Sherov", + "email": "mike.sherov@gmail.com", + "homepage": "http://mike.sherov.com" + }, + { + "name": "TJ VanToll", + "email": "tj.vantoll@gmail.com", + "homepage": "http://tjvantoll.com" + }, + { + "name": "Corey Frang", + "email": "gnarf37@gmail.com", + "homepage": "http://gnarf.net" + }, + { + "name": "Felix Nagel", + "email": "info@felixnagel.com", + "homepage": "http://www.felixnagel.com" + } + ], + "description": "jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.", + "time": "2016-09-16T05:47:55+00:00" + }, + { + "name": "datatables/datatables", + "version": "1.10.19", + "source": { + "type": "git", + "url": "https://github.com/DataTables/DataTables.git", + "reference": "156faa83386460c578e00c460eca9766e38a0c5f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/DataTables/DataTables/zipball/156faa83386460c578e00c460eca9766e38a0c5f", + "reference": "156faa83386460c578e00c460eca9766e38a0c5f", + "shasum": "" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "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/", + "time": "2018-06-22T15:34:14+00:00" + }, + { + "name": "koala-framework/library-silkicons", + "version": "v1.3", + "source": { + "type": "git", + "url": "https://github.com/koala-framework/library-silkicons.git", + "reference": "f7fee072786fc330bdbaf69d2fbf036f39eb53fa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/koala-framework/library-silkicons/zipball/f7fee072786fc330bdbaf69d2fbf036f39eb53fa", + "reference": "f7fee072786fc330bdbaf69d2fbf036f39eb53fa", + "shasum": "" + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Creative Commons Attribution 2.5 License" + ], + "authors": [ + { + "name": "Mark James", + "homepage": "http://www.famfamfam.com/" + } + ], + "description": "This is the Famfamfam silk icon set, wrapped into an easy to use PHP composer package.", + "homepage": "http://www.famfamfam.com/", + "keywords": [ + "famfamfam", + "icons", + "silk" + ], + "time": "2014-05-23T13:40:04+00:00" + }, + { + "name": "pixabay/jquery-tageditor", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/adlerweb/jQuery-tagEditor.git", + "reference": "408d323b00d378d6176832461f267203a601cd37" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/adlerweb/jQuery-tagEditor/zipball/408d323b00d378d6176832461f267203a601cd37", + "reference": "408d323b00d378d6176832461f267203a601cd37", + "shasum": "" + }, + "type": "component", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Simon Steinberger / Pixabay" + } + ], + "description": "A powerful and lightweight tag editor plugin for jQuery.", + "homepage": "https://goodies.pixabay.com/jquery/tag-editor/demo.html", + "support": { + "source": "https://github.com/Pixabay/jQuery-tagEditor" + }, + "time": "2017-05-20T15:53:10+00:00" + }, + { + "name": "smarty/smarty", + "version": "v3.1.33", + "source": { + "type": "git", + "url": "https://github.com/smarty-php/smarty.git", + "reference": "dd55b23121e55a3b4f1af90a707a6c4e5969530f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/smarty-php/smarty/zipball/dd55b23121e55a3b4f1af90a707a6c4e5969530f", + "reference": "dd55b23121e55a3b4f1af90a707a6c4e5969530f", + "shasum": "" + }, + "require": { + "php": ">=5.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1.x-dev" + } + }, + "autoload": { + "files": [ + "libs/bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0" + ], + "authors": [ + { + "name": "Monte Ohrt", + "email": "monte@ohrt.com" + }, + { + "name": "Uwe Tews", + "email": "uwe.tews@googlemail.com" + }, + { + "name": "Rodney Rehm", + "email": "rodney.rehm@medialize.de" + } + ], + "description": "Smarty - the compiling PHP template engine", + "homepage": "http://www.smarty.net", + "keywords": [ + "templating" + ], + "time": "2018-09-12T20:54:16+00:00" + } + ], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": { + "adlerweb/calender-date-input": 20, + "pixabay/jquery-tageditor": 20 + }, + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=5.6" + }, + "platform-dev": [] +} diff --git a/composer.phar b/composer.phar new file mode 100644 index 0000000..b8ce13f Binary files /dev/null and b/composer.phar differ diff --git a/config.php b/config.php index e8bdfca..d6012b5 100644 --- a/config.php +++ b/config.php @@ -20,8 +20,9 @@ define("SMARTY_CACHE", false); -define("ADAR_PROGNAME", 'AdAr - Another dumb Archive'); +define("ADAR_PROGNAME", 'HONOURS PROJECT REPORT REPOSITORY'); + +define("ADAR_INFOMAIL_TO", 'doriva17@gmail.com'); -define("ADAR_INFOMAIL_TO", ''); define("ADAR_INFOMAIL_FROM", 'ADAR '); ?> diff --git a/doc/TODO.txt b/doc/TODO.txt index cc30303..21da1c9 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -1,12 +1,12 @@ - search tags - user management - installer -- API/Liveforms kombinieren -- Verwaltung Kontakte -- Insert-API aufnehmen -- Suche: Datumsbereiche/Datepicker -- Formularerkennung -- Mehr Dateitypen (Libreoffice-API?) -- GPG statt SHA256 -- gettext / Übersetzungen +- API/Liveforms combine +- Administration contacts +- Record Insert API +- Search: Date ranges / Datepicker +- forms recognition +- More file types (Libreoffice API?) +- GPG instead of SHA256 +- gettext / translations diff --git a/doc/adar.sql b/doc/adar.sql new file mode 100644 index 0000000..ced3628 --- /dev/null +++ b/doc/adar.sql @@ -0,0 +1,369 @@ +/* +MySQL Data Transfer +Source Host: localhost +Source Database: adar +Target Host: localhost +Target Database: adar +Date: 2019/03/10 2:39:39 PM +*/ + +SET FOREIGN_KEY_CHECKS=0; +-- ---------------------------- +-- Table structure for contacts +-- ---------------------------- +CREATE TABLE `contacts` ( + `CID` int(11) NOT NULL AUTO_INCREMENT, + `FamilyName` varchar(164) NOT NULL, + `GivenName` varchar(224) NOT NULL, + `Type` set('m','f','u','c') NOT NULL COMMENT '(m)ale, (f)emale, (u)ndefined, (c)ompany', + `Street` varchar(164) NOT NULL, + `Housenr` varchar(16) NOT NULL, + `ZIP` varchar(16) NOT NULL, + `City` varchar(164) NOT NULL, + `Country` varchar(2) NOT NULL, + `Phone` varchar(64) NOT NULL, + `Fax` varchar(64) NOT NULL, + `Mail` varchar(164) NOT NULL, + `URL` varchar(150) NOT NULL, + `Notes` text NOT NULL, + PRIMARY KEY (`CID`) +) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for countries +-- ---------------------------- +CREATE TABLE `countries` ( + `Alpha2` varchar(2) NOT NULL, + `Name` varchar(128) NOT NULL, + PRIMARY KEY (`Alpha2`), + UNIQUE KEY `Name` (`Name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Source: http://www.iso.org/iso/country_codes/iso_3166_code_l'; + +-- ---------------------------- +-- Table structure for items +-- ---------------------------- +CREATE TABLE `items` ( + `ItemID` varchar(10) NOT NULL COMMENT 'using users short-id and a >=4-digit-sequential number - example: FK_0003', + `Caption` varchar(100) NOT NULL COMMENT 'Freetext to describe the document', + `Description` longtext COMMENT 'Contains detailed description and data gathered from EXIF or OCR', + `Format` varchar(25) DEFAULT NULL COMMENT 'Freetext to describe physical source of this document - (letter, photo, whatever)', + `Date` date DEFAULT NULL COMMENT 'originals date', + `Sender` int(11) DEFAULT NULL COMMENT 'source (needs to be changed)', + `Receiver` int(11) NOT NULL, + `ScanUser` int(11) NOT NULL COMMENT 'scanning user', + `ScanDate` date NOT NULL COMMENT 'scanning date', + `SourceSHA256` varchar(64) NOT NULL COMMENT 'SHA256 of archived document to check for corrupted files', + `OCRStatus` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`ItemID`), + UNIQUE KEY `SourceSHA256` (`SourceSHA256`), + KEY `Caption` (`Caption`), + KEY `Format` (`Format`), + KEY `Sender` (`Sender`), + KEY `Receiver` (`Receiver`), + FULLTEXT KEY `Description` (`Description`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for tags +-- ---------------------------- +CREATE TABLE `tags` ( + `TagID` int(11) NOT NULL AUTO_INCREMENT, + `ItemID` varchar(10) NOT NULL, + `TagValue` varchar(150) NOT NULL, + PRIMARY KEY (`TagID`), + UNIQUE KEY `ItemID_2` (`ItemID`,`TagValue`), + KEY `TagCategory` (`TagValue`), + KEY `ItemID` (`ItemID`), + KEY `TagValue` (`TagValue`) +) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for users +-- ---------------------------- +CREATE TABLE `users` ( + `UserID` int(11) NOT NULL AUTO_INCREMENT, + `Name` varchar(150) NOT NULL, + `Nickname` varchar(50) NOT NULL COMMENT 'aka loginname', + `Password` varchar(72) NOT NULL COMMENT 'salted SHA256', + `EMail` varchar(150) NOT NULL, + `Level` int(11) NOT NULL DEFAULT '0' COMMENT 'binary system, not really documented yet', + `UIdent` varchar(2) NOT NULL COMMENT 'two chars used as user-identifier for document IDs', + PRIMARY KEY (`UserID`), + UNIQUE KEY `Name` (`Name`), + UNIQUE KEY `EMail` (`EMail`), + UNIQUE KEY `UIdent` (`UIdent`), + UNIQUE KEY `Nickname` (`Nickname`), + UNIQUE KEY `Login` (`Nickname`,`Password`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Records +-- ---------------------------- +INSERT INTO `contacts` VALUES ('1', 'Andrew', 'Muteka', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('2', '', '', 'u', '', '', '', '', 'DE', '', '', '', '', ''); +INSERT INTO `contacts` VALUES ('3', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('4', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('5', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('6', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('7', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('8', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('9', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('10', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('11', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('12', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `contacts` VALUES ('13', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `countries` VALUES ('AF', 'AFGHANISTAN'); +INSERT INTO `countries` VALUES ('AX', 'ÅLAND ISLANDS'); +INSERT INTO `countries` VALUES ('AL', 'ALBANIA'); +INSERT INTO `countries` VALUES ('DZ', 'ALGERIA'); +INSERT INTO `countries` VALUES ('AS', 'AMERICAN SAMOA'); +INSERT INTO `countries` VALUES ('AD', 'ANDORRA'); +INSERT INTO `countries` VALUES ('AO', 'ANGOLA'); +INSERT INTO `countries` VALUES ('AI', 'ANGUILLA'); +INSERT INTO `countries` VALUES ('AQ', 'ANTARCTICA'); +INSERT INTO `countries` VALUES ('AG', 'ANTIGUA AND BARBUDA'); +INSERT INTO `countries` VALUES ('AR', 'ARGENTINA'); +INSERT INTO `countries` VALUES ('AM', 'ARMENIA'); +INSERT INTO `countries` VALUES ('AW', 'ARUBA'); +INSERT INTO `countries` VALUES ('AU', 'AUSTRALIA'); +INSERT INTO `countries` VALUES ('AT', 'AUSTRIA'); +INSERT INTO `countries` VALUES ('AZ', 'AZERBAIJAN'); +INSERT INTO `countries` VALUES ('BS', 'BAHAMAS'); +INSERT INTO `countries` VALUES ('BH', 'BAHRAIN'); +INSERT INTO `countries` VALUES ('BD', 'BANGLADESH'); +INSERT INTO `countries` VALUES ('BB', 'BARBADOS'); +INSERT INTO `countries` VALUES ('BY', 'BELARUS'); +INSERT INTO `countries` VALUES ('BE', 'BELGIUM'); +INSERT INTO `countries` VALUES ('BZ', 'BELIZE'); +INSERT INTO `countries` VALUES ('BJ', 'BENIN'); +INSERT INTO `countries` VALUES ('BM', 'BERMUDA'); +INSERT INTO `countries` VALUES ('BT', 'BHUTAN'); +INSERT INTO `countries` VALUES ('BO', 'BOLIVIA, PLURINATIONAL STATE OF'); +INSERT INTO `countries` VALUES ('BQ', 'BONAIRE, SINT EUSTATIUS AND SABA'); +INSERT INTO `countries` VALUES ('BA', 'BOSNIA AND HERZEGOVINA'); +INSERT INTO `countries` VALUES ('BW', 'BOTSWANA'); +INSERT INTO `countries` VALUES ('BV', 'BOUVET ISLAND'); +INSERT INTO `countries` VALUES ('BR', 'BRAZIL'); +INSERT INTO `countries` VALUES ('IO', 'BRITISH INDIAN OCEAN TERRITORY'); +INSERT INTO `countries` VALUES ('BN', 'BRUNEI DARUSSALAM'); +INSERT INTO `countries` VALUES ('BG', 'BULGARIA'); +INSERT INTO `countries` VALUES ('BF', 'BURKINA FASO'); +INSERT INTO `countries` VALUES ('BI', 'BURUNDI'); +INSERT INTO `countries` VALUES ('KH', 'CAMBODIA'); +INSERT INTO `countries` VALUES ('CM', 'CAMEROON'); +INSERT INTO `countries` VALUES ('CA', 'CANADA'); +INSERT INTO `countries` VALUES ('CV', 'CAPE VERDE'); +INSERT INTO `countries` VALUES ('KY', 'CAYMAN ISLANDS'); +INSERT INTO `countries` VALUES ('CF', 'CENTRAL AFRICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('TD', 'CHAD'); +INSERT INTO `countries` VALUES ('CL', 'CHILE'); +INSERT INTO `countries` VALUES ('CN', 'CHINA'); +INSERT INTO `countries` VALUES ('CX', 'CHRISTMAS ISLAND'); +INSERT INTO `countries` VALUES ('CC', 'COCOS (KEELING) ISLANDS'); +INSERT INTO `countries` VALUES ('CO', 'COLOMBIA'); +INSERT INTO `countries` VALUES ('KM', 'COMOROS'); +INSERT INTO `countries` VALUES ('CG', 'CONGO'); +INSERT INTO `countries` VALUES ('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE'); +INSERT INTO `countries` VALUES ('CK', 'COOK ISLANDS'); +INSERT INTO `countries` VALUES ('CR', 'COSTA RICA'); +INSERT INTO `countries` VALUES ('CI', 'CÔTE D\'IVOIRE'); +INSERT INTO `countries` VALUES ('HR', 'CROATIA'); +INSERT INTO `countries` VALUES ('CU', 'CUBA'); +INSERT INTO `countries` VALUES ('CW', 'CURAÇAO'); +INSERT INTO `countries` VALUES ('CY', 'CYPRUS'); +INSERT INTO `countries` VALUES ('CZ', 'CZECH REPUBLIC'); +INSERT INTO `countries` VALUES ('DK', 'DENMARK'); +INSERT INTO `countries` VALUES ('DJ', 'DJIBOUTI'); +INSERT INTO `countries` VALUES ('DM', 'DOMINICA'); +INSERT INTO `countries` VALUES ('DO', 'DOMINICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('EC', 'ECUADOR'); +INSERT INTO `countries` VALUES ('EG', 'EGYPT'); +INSERT INTO `countries` VALUES ('SV', 'EL SALVADOR'); +INSERT INTO `countries` VALUES ('GQ', 'EQUATORIAL GUINEA'); +INSERT INTO `countries` VALUES ('ER', 'ERITREA'); +INSERT INTO `countries` VALUES ('EE', 'ESTONIA'); +INSERT INTO `countries` VALUES ('ET', 'ETHIOPIA'); +INSERT INTO `countries` VALUES ('FK', 'FALKLAND ISLANDS (MALVINAS)'); +INSERT INTO `countries` VALUES ('FO', 'FAROE ISLANDS'); +INSERT INTO `countries` VALUES ('FJ', 'FIJI'); +INSERT INTO `countries` VALUES ('FI', 'FINLAND'); +INSERT INTO `countries` VALUES ('FR', 'FRANCE'); +INSERT INTO `countries` VALUES ('GF', 'FRENCH GUIANA'); +INSERT INTO `countries` VALUES ('PF', 'FRENCH POLYNESIA'); +INSERT INTO `countries` VALUES ('TF', 'FRENCH SOUTHERN TERRITORIES'); +INSERT INTO `countries` VALUES ('GA', 'GABON'); +INSERT INTO `countries` VALUES ('GM', 'GAMBIA'); +INSERT INTO `countries` VALUES ('GE', 'GEORGIA'); +INSERT INTO `countries` VALUES ('DE', 'GERMANY'); +INSERT INTO `countries` VALUES ('GH', 'GHANA'); +INSERT INTO `countries` VALUES ('GI', 'GIBRALTAR'); +INSERT INTO `countries` VALUES ('GR', 'GREECE'); +INSERT INTO `countries` VALUES ('GL', 'GREENLAND'); +INSERT INTO `countries` VALUES ('GD', 'GRENADA'); +INSERT INTO `countries` VALUES ('GP', 'GUADELOUPE'); +INSERT INTO `countries` VALUES ('GU', 'GUAM'); +INSERT INTO `countries` VALUES ('GT', 'GUATEMALA'); +INSERT INTO `countries` VALUES ('GG', 'GUERNSEY'); +INSERT INTO `countries` VALUES ('GN', 'GUINEA'); +INSERT INTO `countries` VALUES ('GW', 'GUINEA-BISSAU'); +INSERT INTO `countries` VALUES ('GY', 'GUYANA'); +INSERT INTO `countries` VALUES ('HT', 'HAITI'); +INSERT INTO `countries` VALUES ('HM', 'HEARD ISLAND AND MCDONALD ISLANDS'); +INSERT INTO `countries` VALUES ('VA', 'HOLY SEE (VATICAN CITY STATE)'); +INSERT INTO `countries` VALUES ('HN', 'HONDURAS'); +INSERT INTO `countries` VALUES ('HK', 'HONG KONG'); +INSERT INTO `countries` VALUES ('HU', 'HUNGARY'); +INSERT INTO `countries` VALUES ('IS', 'ICELAND'); +INSERT INTO `countries` VALUES ('IN', 'INDIA'); +INSERT INTO `countries` VALUES ('ID', 'INDONESIA'); +INSERT INTO `countries` VALUES ('IR', 'IRAN, ISLAMIC REPUBLIC OF'); +INSERT INTO `countries` VALUES ('IQ', 'IRAQ'); +INSERT INTO `countries` VALUES ('IE', 'IRELAND'); +INSERT INTO `countries` VALUES ('IM', 'ISLE OF MAN'); +INSERT INTO `countries` VALUES ('IL', 'ISRAEL'); +INSERT INTO `countries` VALUES ('IT', 'ITALY'); +INSERT INTO `countries` VALUES ('JM', 'JAMAICA'); +INSERT INTO `countries` VALUES ('JP', 'JAPAN'); +INSERT INTO `countries` VALUES ('JE', 'JERSEY'); +INSERT INTO `countries` VALUES ('JO', 'JORDAN'); +INSERT INTO `countries` VALUES ('KZ', 'KAZAKHSTAN'); +INSERT INTO `countries` VALUES ('KE', 'KENYA'); +INSERT INTO `countries` VALUES ('KI', 'KIRIBATI'); +INSERT INTO `countries` VALUES ('KP', 'KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KR', 'KOREA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KW', 'KUWAIT'); +INSERT INTO `countries` VALUES ('KG', 'KYRGYZSTAN'); +INSERT INTO `countries` VALUES ('LA', 'LAO PEOPLE\'S DEMOCRATIC REPUBLIC'); +INSERT INTO `countries` VALUES ('LV', 'LATVIA'); +INSERT INTO `countries` VALUES ('LB', 'LEBANON'); +INSERT INTO `countries` VALUES ('LS', 'LESOTHO'); +INSERT INTO `countries` VALUES ('LR', 'LIBERIA'); +INSERT INTO `countries` VALUES ('LY', 'LIBYA'); +INSERT INTO `countries` VALUES ('LI', 'LIECHTENSTEIN'); +INSERT INTO `countries` VALUES ('LT', 'LITHUANIA'); +INSERT INTO `countries` VALUES ('LU', 'LUXEMBOURG'); +INSERT INTO `countries` VALUES ('MO', 'MACAO'); +INSERT INTO `countries` VALUES ('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MG', 'MADAGASCAR'); +INSERT INTO `countries` VALUES ('MW', 'MALAWI'); +INSERT INTO `countries` VALUES ('MY', 'MALAYSIA'); +INSERT INTO `countries` VALUES ('MV', 'MALDIVES'); +INSERT INTO `countries` VALUES ('ML', 'MALI'); +INSERT INTO `countries` VALUES ('MT', 'MALTA'); +INSERT INTO `countries` VALUES ('MH', 'MARSHALL ISLANDS'); +INSERT INTO `countries` VALUES ('MQ', 'MARTINIQUE'); +INSERT INTO `countries` VALUES ('MR', 'MAURITANIA'); +INSERT INTO `countries` VALUES ('MU', 'MAURITIUS'); +INSERT INTO `countries` VALUES ('YT', 'MAYOTTE'); +INSERT INTO `countries` VALUES ('MX', 'MEXICO'); +INSERT INTO `countries` VALUES ('FM', 'MICRONESIA, FEDERATED STATES OF'); +INSERT INTO `countries` VALUES ('MD', 'MOLDOVA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MC', 'MONACO'); +INSERT INTO `countries` VALUES ('MN', 'MONGOLIA'); +INSERT INTO `countries` VALUES ('ME', 'MONTENEGRO'); +INSERT INTO `countries` VALUES ('MS', 'MONTSERRAT'); +INSERT INTO `countries` VALUES ('MA', 'MOROCCO'); +INSERT INTO `countries` VALUES ('MZ', 'MOZAMBIQUE'); +INSERT INTO `countries` VALUES ('MM', 'MYANMAR'); +INSERT INTO `countries` VALUES ('NA', 'NAMIBIA'); +INSERT INTO `countries` VALUES ('NR', 'NAURU'); +INSERT INTO `countries` VALUES ('NP', 'NEPAL'); +INSERT INTO `countries` VALUES ('NL', 'NETHERLANDS'); +INSERT INTO `countries` VALUES ('NC', 'NEW CALEDONIA'); +INSERT INTO `countries` VALUES ('NZ', 'NEW ZEALAND'); +INSERT INTO `countries` VALUES ('NI', 'NICARAGUA'); +INSERT INTO `countries` VALUES ('NE', 'NIGER'); +INSERT INTO `countries` VALUES ('NG', 'NIGERIA'); +INSERT INTO `countries` VALUES ('NU', 'NIUE'); +INSERT INTO `countries` VALUES ('NF', 'NORFOLK ISLAND'); +INSERT INTO `countries` VALUES ('MP', 'NORTHERN MARIANA ISLANDS'); +INSERT INTO `countries` VALUES ('NO', 'NORWAY'); +INSERT INTO `countries` VALUES ('OM', 'OMAN'); +INSERT INTO `countries` VALUES ('PK', 'PAKISTAN'); +INSERT INTO `countries` VALUES ('PW', 'PALAU'); +INSERT INTO `countries` VALUES ('PS', 'PALESTINIAN TERRITORY, OCCUPIED'); +INSERT INTO `countries` VALUES ('PA', 'PANAMA'); +INSERT INTO `countries` VALUES ('PG', 'PAPUA NEW GUINEA'); +INSERT INTO `countries` VALUES ('PY', 'PARAGUAY'); +INSERT INTO `countries` VALUES ('PE', 'PERU'); +INSERT INTO `countries` VALUES ('PH', 'PHILIPPINES'); +INSERT INTO `countries` VALUES ('PN', 'PITCAIRN'); +INSERT INTO `countries` VALUES ('PL', 'POLAND'); +INSERT INTO `countries` VALUES ('PT', 'PORTUGAL'); +INSERT INTO `countries` VALUES ('PR', 'PUERTO RICO'); +INSERT INTO `countries` VALUES ('QA', 'QATAR'); +INSERT INTO `countries` VALUES ('RE', 'RÉUNION'); +INSERT INTO `countries` VALUES ('RO', 'ROMANIA'); +INSERT INTO `countries` VALUES ('RU', 'RUSSIAN FEDERATION'); +INSERT INTO `countries` VALUES ('RW', 'RWANDA'); +INSERT INTO `countries` VALUES ('BL', 'SAINT BARTHÉLEMY'); +INSERT INTO `countries` VALUES ('SH', 'SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA'); +INSERT INTO `countries` VALUES ('KN', 'SAINT KITTS AND NEVIS'); +INSERT INTO `countries` VALUES ('LC', 'SAINT LUCIA'); +INSERT INTO `countries` VALUES ('MF', 'SAINT MARTIN (FRENCH PART)'); +INSERT INTO `countries` VALUES ('PM', 'SAINT PIERRE AND MIQUELON'); +INSERT INTO `countries` VALUES ('VC', 'SAINT VINCENT AND THE GRENADINES'); +INSERT INTO `countries` VALUES ('WS', 'SAMOA'); +INSERT INTO `countries` VALUES ('SM', 'SAN MARINO'); +INSERT INTO `countries` VALUES ('ST', 'SAO TOME AND PRINCIPE'); +INSERT INTO `countries` VALUES ('SA', 'SAUDI ARABIA'); +INSERT INTO `countries` VALUES ('SN', 'SENEGAL'); +INSERT INTO `countries` VALUES ('RS', 'SERBIA'); +INSERT INTO `countries` VALUES ('SC', 'SEYCHELLES'); +INSERT INTO `countries` VALUES ('SL', 'SIERRA LEONE'); +INSERT INTO `countries` VALUES ('SG', 'SINGAPORE'); +INSERT INTO `countries` VALUES ('SX', 'SINT MAARTEN (DUTCH PART)'); +INSERT INTO `countries` VALUES ('SK', 'SLOVAKIA'); +INSERT INTO `countries` VALUES ('SI', 'SLOVENIA'); +INSERT INTO `countries` VALUES ('SB', 'SOLOMON ISLANDS'); +INSERT INTO `countries` VALUES ('SO', 'SOMALIA'); +INSERT INTO `countries` VALUES ('ZA', 'SOUTH AFRICA'); +INSERT INTO `countries` VALUES ('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'); +INSERT INTO `countries` VALUES ('SS', 'SOUTH SUDAN'); +INSERT INTO `countries` VALUES ('ES', 'SPAIN'); +INSERT INTO `countries` VALUES ('LK', 'SRI LANKA'); +INSERT INTO `countries` VALUES ('SD', 'SUDAN'); +INSERT INTO `countries` VALUES ('SR', 'SURINAME'); +INSERT INTO `countries` VALUES ('SJ', 'SVALBARD AND JAN MAYEN'); +INSERT INTO `countries` VALUES ('SZ', 'SWAZILAND'); +INSERT INTO `countries` VALUES ('SE', 'SWEDEN'); +INSERT INTO `countries` VALUES ('CH', 'SWITZERLAND'); +INSERT INTO `countries` VALUES ('SY', 'SYRIAN ARAB REPUBLIC'); +INSERT INTO `countries` VALUES ('TW', 'TAIWAN, PROVINCE OF CHINA'); +INSERT INTO `countries` VALUES ('TJ', 'TAJIKISTAN'); +INSERT INTO `countries` VALUES ('TZ', 'TANZANIA, UNITED REPUBLIC OF'); +INSERT INTO `countries` VALUES ('TH', 'THAILAND'); +INSERT INTO `countries` VALUES ('TL', 'TIMOR-LESTE'); +INSERT INTO `countries` VALUES ('TG', 'TOGO'); +INSERT INTO `countries` VALUES ('TK', 'TOKELAU'); +INSERT INTO `countries` VALUES ('TO', 'TONGA'); +INSERT INTO `countries` VALUES ('TT', 'TRINIDAD AND TOBAGO'); +INSERT INTO `countries` VALUES ('TN', 'TUNISIA'); +INSERT INTO `countries` VALUES ('TR', 'TURKEY'); +INSERT INTO `countries` VALUES ('TM', 'TURKMENISTAN'); +INSERT INTO `countries` VALUES ('TC', 'TURKS AND CAICOS ISLANDS'); +INSERT INTO `countries` VALUES ('TV', 'TUVALU'); +INSERT INTO `countries` VALUES ('UG', 'UGANDA'); +INSERT INTO `countries` VALUES ('UA', 'UKRAINE'); +INSERT INTO `countries` VALUES ('AE', 'UNITED ARAB EMIRATES'); +INSERT INTO `countries` VALUES ('GB', 'UNITED KINGDOM'); +INSERT INTO `countries` VALUES ('US', 'UNITED STATES'); +INSERT INTO `countries` VALUES ('UM', 'UNITED STATES MINOR OUTLYING ISLANDS'); +INSERT INTO `countries` VALUES ('UY', 'URUGUAY'); +INSERT INTO `countries` VALUES ('UZ', 'UZBEKISTAN'); +INSERT INTO `countries` VALUES ('VU', 'VANUATU'); +INSERT INTO `countries` VALUES ('VE', 'VENEZUELA, BOLIVARIAN REPUBLIC OF'); +INSERT INTO `countries` VALUES ('VN', 'VIET NAM'); +INSERT INTO `countries` VALUES ('VG', 'VIRGIN ISLANDS, BRITISH'); +INSERT INTO `countries` VALUES ('VI', 'VIRGIN ISLANDS, U.S.'); +INSERT INTO `countries` VALUES ('WF', 'WALLIS AND FUTUNA'); +INSERT INTO `countries` VALUES ('EH', 'WESTERN SAHARA'); +INSERT INTO `countries` VALUES ('YE', 'YEMEN'); +INSERT INTO `countries` VALUES ('ZM', 'ZAMBIA'); +INSERT INTO `countries` VALUES ('ZW', 'ZIMBABWE'); +INSERT INTO `items` VALUES ('AD_0001', 'children', 'test', 'children', '2019-08-08', '6', '12', '1', '2019-03-08', 'd55b9a442886c5e05678754320d27cdff8a8e96439d4877d6dd623d10fdbe541', '1'); +INSERT INTO `items` VALUES ('AD_0002', 'PDF test', 'PDF test', 'pdf file', '2019-03-08', '1', '12', '1', '2019-03-08', '70ecb628ada069214ab8ff5e9f368fc7c3b86073c5d8259e5349921b98e2f854', '1'); +INSERT INTO `items` VALUES ('AD_0003', 'project plan', 'project plan', 'project plan', '2019-03-09', '12', '6', '1', '2019-03-09', '1fb7c63c18a2ee28320510cce7e83908fef19f70a1501e5ce1d8834cdc2599ba', '1'); +INSERT INTO `tags` VALUES ('1', 'AD_0001', 'children'); +INSERT INTO `tags` VALUES ('2', 'AD_0001', 'book'); +INSERT INTO `users` VALUES ('1', 'admin', 'admin', '3469b67ebf2b71177c3fdb9da2c3fb0e0dec73a9e9a7e3e3516f6ba4813e52dc3f283c57', 'doriva17@gmail.com', '255', 'AD'); diff --git a/doc/adar12032019.sql b/doc/adar12032019.sql new file mode 100644 index 0000000..96180fe --- /dev/null +++ b/doc/adar12032019.sql @@ -0,0 +1,418 @@ +/* +MySQL Data Transfer +Source Host: localhost +Source Database: adar +Target Host: localhost +Target Database: adar +Date: 2019/03/12 9:46:23 PM +*/ + +SET FOREIGN_KEY_CHECKS=0; +-- ---------------------------- +-- Table structure for cluster +-- ---------------------------- +CREATE TABLE `cluster` ( + `clusterId` int(11) NOT NULL AUTO_INCREMENT, + `clustername` varchar(255) DEFAULT NULL, + `Description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`clusterId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for contacts +-- ---------------------------- +CREATE TABLE `contacts` ( + `CID` int(11) NOT NULL AUTO_INCREMENT, + `FamilyName` varchar(164) NOT NULL, + `GivenName` varchar(224) NOT NULL, + `Type` set('m','f','u','c') NOT NULL COMMENT '(m)ale, (f)emale, (u)ndefined, (c)ompany', + `Street` varchar(164) NOT NULL, + `Housenr` varchar(16) NOT NULL, + `ZIP` varchar(16) NOT NULL, + `City` varchar(164) NOT NULL, + `Country` varchar(2) NOT NULL, + `Phone` varchar(64) NOT NULL, + `Fax` varchar(64) NOT NULL, + `Mail` varchar(164) NOT NULL, + `URL` varchar(150) NOT NULL, + `Notes` text NOT NULL, + PRIMARY KEY (`CID`) +) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for countries +-- ---------------------------- +CREATE TABLE `countries` ( + `Alpha2` varchar(2) NOT NULL, + `Name` varchar(128) NOT NULL, + PRIMARY KEY (`Alpha2`), + UNIQUE KEY `Name` (`Name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Source: http://www.iso.org/iso/country_codes/iso_3166_code_l'; + +-- ---------------------------- +-- Table structure for items +-- ---------------------------- +CREATE TABLE `items` ( + `ItemID` varchar(10) NOT NULL COMMENT 'using users short-id and a >=4-digit-sequential number - example: FK_0003', + `Caption` varchar(100) NOT NULL COMMENT 'Freetext to describe the document', + `Description` longtext COMMENT 'Contains detailed description and data gathered from EXIF or OCR', + `Format` varchar(25) DEFAULT NULL COMMENT 'Freetext to describe physical source of this document - (letter, photo, whatever)', + `Date` date DEFAULT NULL COMMENT 'originals date', + `Sender` int(11) DEFAULT NULL COMMENT 'source (needs to be changed)', + `Receiver` int(11) NOT NULL, + `ScanUser` int(11) NOT NULL COMMENT 'scanning user', + `ScanDate` date NOT NULL COMMENT 'scanning date', + `SourceSHA256` varchar(64) NOT NULL COMMENT 'SHA256 of archived document to check for corrupted files', + `OCRStatus` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`ItemID`), + UNIQUE KEY `SourceSHA256` (`SourceSHA256`), + KEY `Caption` (`Caption`), + KEY `Format` (`Format`), + KEY `Sender` (`Sender`), + KEY `Receiver` (`Receiver`), + FULLTEXT KEY `Description` (`Description`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for papers +-- ---------------------------- +CREATE TABLE `papers` ( + `paperId` int(11) NOT NULL AUTO_INCREMENT, + `dateUpload` date DEFAULT NULL, + `dateModerated` date DEFAULT NULL, + `lecturerId` varchar(255) DEFAULT NULL, + `moderatorId` varchar(255) DEFAULT NULL, + `studentNumber` varchar(255) DEFAULT NULL, + `coordinatorId` varchar(255) DEFAULT NULL, + `clusterId` varchar(255) DEFAULT NULL, + `publishedStatus` varchar(255) DEFAULT NULL, + `abstract` blob, + PRIMARY KEY (`paperId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for tags +-- ---------------------------- +CREATE TABLE `tags` ( + `TagID` int(11) NOT NULL AUTO_INCREMENT, + `ItemID` varchar(10) NOT NULL, + `TagValue` varchar(150) NOT NULL, + PRIMARY KEY (`TagID`), + UNIQUE KEY `ItemID_2` (`ItemID`,`TagValue`), + KEY `TagCategory` (`TagValue`), + KEY `ItemID` (`ItemID`), + KEY `TagValue` (`TagValue`) +) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for userloginaccount +-- ---------------------------- +CREATE TABLE `userloginaccount` ( + `UserId` int(11) NOT NULL AUTO_INCREMENT, + `Username` varchar(255) DEFAULT NULL, + `Password` varchar(255) DEFAULT NULL, + PRIMARY KEY (`UserId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for users +-- ---------------------------- +CREATE TABLE `users` ( + `UserID` int(11) NOT NULL AUTO_INCREMENT, + `Name` varchar(150) NOT NULL, + `Nickname` varchar(50) NOT NULL COMMENT 'aka loginname', + `Password` varchar(72) NOT NULL COMMENT 'salted SHA256', + `EMail` varchar(150) NOT NULL, + `Level` int(11) NOT NULL DEFAULT '0' COMMENT 'binary system, not really documented yet', + `UIdent` varchar(2) NOT NULL COMMENT 'two chars used as user-identifier for document IDs', + PRIMARY KEY (`UserID`), + UNIQUE KEY `Name` (`Name`), + UNIQUE KEY `EMail` (`EMail`), + UNIQUE KEY `UIdent` (`UIdent`), + UNIQUE KEY `Nickname` (`Nickname`), + UNIQUE KEY `Login` (`Nickname`,`Password`) +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for usertype +-- ---------------------------- +CREATE TABLE `usertype` ( + `userTypeId` int(11) NOT NULL AUTO_INCREMENT, + `typeName` varchar(255) DEFAULT NULL, + `Description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`userTypeId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Records +-- ---------------------------- +INSERT INTO `contacts` VALUES ('1', 'Andrew', 'Muteka', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('2', '', '', 'u', '', '', '', '', 'DE', '', '', '', '', ''); +INSERT INTO `contacts` VALUES ('3', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('4', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('5', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('6', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('7', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('8', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('9', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('10', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('11', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('12', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `contacts` VALUES ('13', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `countries` VALUES ('AF', 'AFGHANISTAN'); +INSERT INTO `countries` VALUES ('AX', 'ÅLAND ISLANDS'); +INSERT INTO `countries` VALUES ('AL', 'ALBANIA'); +INSERT INTO `countries` VALUES ('DZ', 'ALGERIA'); +INSERT INTO `countries` VALUES ('AS', 'AMERICAN SAMOA'); +INSERT INTO `countries` VALUES ('AD', 'ANDORRA'); +INSERT INTO `countries` VALUES ('AO', 'ANGOLA'); +INSERT INTO `countries` VALUES ('AI', 'ANGUILLA'); +INSERT INTO `countries` VALUES ('AQ', 'ANTARCTICA'); +INSERT INTO `countries` VALUES ('AG', 'ANTIGUA AND BARBUDA'); +INSERT INTO `countries` VALUES ('AR', 'ARGENTINA'); +INSERT INTO `countries` VALUES ('AM', 'ARMENIA'); +INSERT INTO `countries` VALUES ('AW', 'ARUBA'); +INSERT INTO `countries` VALUES ('AU', 'AUSTRALIA'); +INSERT INTO `countries` VALUES ('AT', 'AUSTRIA'); +INSERT INTO `countries` VALUES ('AZ', 'AZERBAIJAN'); +INSERT INTO `countries` VALUES ('BS', 'BAHAMAS'); +INSERT INTO `countries` VALUES ('BH', 'BAHRAIN'); +INSERT INTO `countries` VALUES ('BD', 'BANGLADESH'); +INSERT INTO `countries` VALUES ('BB', 'BARBADOS'); +INSERT INTO `countries` VALUES ('BY', 'BELARUS'); +INSERT INTO `countries` VALUES ('BE', 'BELGIUM'); +INSERT INTO `countries` VALUES ('BZ', 'BELIZE'); +INSERT INTO `countries` VALUES ('BJ', 'BENIN'); +INSERT INTO `countries` VALUES ('BM', 'BERMUDA'); +INSERT INTO `countries` VALUES ('BT', 'BHUTAN'); +INSERT INTO `countries` VALUES ('BO', 'BOLIVIA, PLURINATIONAL STATE OF'); +INSERT INTO `countries` VALUES ('BQ', 'BONAIRE, SINT EUSTATIUS AND SABA'); +INSERT INTO `countries` VALUES ('BA', 'BOSNIA AND HERZEGOVINA'); +INSERT INTO `countries` VALUES ('BW', 'BOTSWANA'); +INSERT INTO `countries` VALUES ('BV', 'BOUVET ISLAND'); +INSERT INTO `countries` VALUES ('BR', 'BRAZIL'); +INSERT INTO `countries` VALUES ('IO', 'BRITISH INDIAN OCEAN TERRITORY'); +INSERT INTO `countries` VALUES ('BN', 'BRUNEI DARUSSALAM'); +INSERT INTO `countries` VALUES ('BG', 'BULGARIA'); +INSERT INTO `countries` VALUES ('BF', 'BURKINA FASO'); +INSERT INTO `countries` VALUES ('BI', 'BURUNDI'); +INSERT INTO `countries` VALUES ('KH', 'CAMBODIA'); +INSERT INTO `countries` VALUES ('CM', 'CAMEROON'); +INSERT INTO `countries` VALUES ('CA', 'CANADA'); +INSERT INTO `countries` VALUES ('CV', 'CAPE VERDE'); +INSERT INTO `countries` VALUES ('KY', 'CAYMAN ISLANDS'); +INSERT INTO `countries` VALUES ('CF', 'CENTRAL AFRICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('TD', 'CHAD'); +INSERT INTO `countries` VALUES ('CL', 'CHILE'); +INSERT INTO `countries` VALUES ('CN', 'CHINA'); +INSERT INTO `countries` VALUES ('CX', 'CHRISTMAS ISLAND'); +INSERT INTO `countries` VALUES ('CC', 'COCOS (KEELING) ISLANDS'); +INSERT INTO `countries` VALUES ('CO', 'COLOMBIA'); +INSERT INTO `countries` VALUES ('KM', 'COMOROS'); +INSERT INTO `countries` VALUES ('CG', 'CONGO'); +INSERT INTO `countries` VALUES ('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE'); +INSERT INTO `countries` VALUES ('CK', 'COOK ISLANDS'); +INSERT INTO `countries` VALUES ('CR', 'COSTA RICA'); +INSERT INTO `countries` VALUES ('CI', 'CÔTE D\'IVOIRE'); +INSERT INTO `countries` VALUES ('HR', 'CROATIA'); +INSERT INTO `countries` VALUES ('CU', 'CUBA'); +INSERT INTO `countries` VALUES ('CW', 'CURAÇAO'); +INSERT INTO `countries` VALUES ('CY', 'CYPRUS'); +INSERT INTO `countries` VALUES ('CZ', 'CZECH REPUBLIC'); +INSERT INTO `countries` VALUES ('DK', 'DENMARK'); +INSERT INTO `countries` VALUES ('DJ', 'DJIBOUTI'); +INSERT INTO `countries` VALUES ('DM', 'DOMINICA'); +INSERT INTO `countries` VALUES ('DO', 'DOMINICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('EC', 'ECUADOR'); +INSERT INTO `countries` VALUES ('EG', 'EGYPT'); +INSERT INTO `countries` VALUES ('SV', 'EL SALVADOR'); +INSERT INTO `countries` VALUES ('GQ', 'EQUATORIAL GUINEA'); +INSERT INTO `countries` VALUES ('ER', 'ERITREA'); +INSERT INTO `countries` VALUES ('EE', 'ESTONIA'); +INSERT INTO `countries` VALUES ('ET', 'ETHIOPIA'); +INSERT INTO `countries` VALUES ('FK', 'FALKLAND ISLANDS (MALVINAS)'); +INSERT INTO `countries` VALUES ('FO', 'FAROE ISLANDS'); +INSERT INTO `countries` VALUES ('FJ', 'FIJI'); +INSERT INTO `countries` VALUES ('FI', 'FINLAND'); +INSERT INTO `countries` VALUES ('FR', 'FRANCE'); +INSERT INTO `countries` VALUES ('GF', 'FRENCH GUIANA'); +INSERT INTO `countries` VALUES ('PF', 'FRENCH POLYNESIA'); +INSERT INTO `countries` VALUES ('TF', 'FRENCH SOUTHERN TERRITORIES'); +INSERT INTO `countries` VALUES ('GA', 'GABON'); +INSERT INTO `countries` VALUES ('GM', 'GAMBIA'); +INSERT INTO `countries` VALUES ('GE', 'GEORGIA'); +INSERT INTO `countries` VALUES ('DE', 'GERMANY'); +INSERT INTO `countries` VALUES ('GH', 'GHANA'); +INSERT INTO `countries` VALUES ('GI', 'GIBRALTAR'); +INSERT INTO `countries` VALUES ('GR', 'GREECE'); +INSERT INTO `countries` VALUES ('GL', 'GREENLAND'); +INSERT INTO `countries` VALUES ('GD', 'GRENADA'); +INSERT INTO `countries` VALUES ('GP', 'GUADELOUPE'); +INSERT INTO `countries` VALUES ('GU', 'GUAM'); +INSERT INTO `countries` VALUES ('GT', 'GUATEMALA'); +INSERT INTO `countries` VALUES ('GG', 'GUERNSEY'); +INSERT INTO `countries` VALUES ('GN', 'GUINEA'); +INSERT INTO `countries` VALUES ('GW', 'GUINEA-BISSAU'); +INSERT INTO `countries` VALUES ('GY', 'GUYANA'); +INSERT INTO `countries` VALUES ('HT', 'HAITI'); +INSERT INTO `countries` VALUES ('HM', 'HEARD ISLAND AND MCDONALD ISLANDS'); +INSERT INTO `countries` VALUES ('VA', 'HOLY SEE (VATICAN CITY STATE)'); +INSERT INTO `countries` VALUES ('HN', 'HONDURAS'); +INSERT INTO `countries` VALUES ('HK', 'HONG KONG'); +INSERT INTO `countries` VALUES ('HU', 'HUNGARY'); +INSERT INTO `countries` VALUES ('IS', 'ICELAND'); +INSERT INTO `countries` VALUES ('IN', 'INDIA'); +INSERT INTO `countries` VALUES ('ID', 'INDONESIA'); +INSERT INTO `countries` VALUES ('IR', 'IRAN, ISLAMIC REPUBLIC OF'); +INSERT INTO `countries` VALUES ('IQ', 'IRAQ'); +INSERT INTO `countries` VALUES ('IE', 'IRELAND'); +INSERT INTO `countries` VALUES ('IM', 'ISLE OF MAN'); +INSERT INTO `countries` VALUES ('IL', 'ISRAEL'); +INSERT INTO `countries` VALUES ('IT', 'ITALY'); +INSERT INTO `countries` VALUES ('JM', 'JAMAICA'); +INSERT INTO `countries` VALUES ('JP', 'JAPAN'); +INSERT INTO `countries` VALUES ('JE', 'JERSEY'); +INSERT INTO `countries` VALUES ('JO', 'JORDAN'); +INSERT INTO `countries` VALUES ('KZ', 'KAZAKHSTAN'); +INSERT INTO `countries` VALUES ('KE', 'KENYA'); +INSERT INTO `countries` VALUES ('KI', 'KIRIBATI'); +INSERT INTO `countries` VALUES ('KP', 'KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KR', 'KOREA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KW', 'KUWAIT'); +INSERT INTO `countries` VALUES ('KG', 'KYRGYZSTAN'); +INSERT INTO `countries` VALUES ('LA', 'LAO PEOPLE\'S DEMOCRATIC REPUBLIC'); +INSERT INTO `countries` VALUES ('LV', 'LATVIA'); +INSERT INTO `countries` VALUES ('LB', 'LEBANON'); +INSERT INTO `countries` VALUES ('LS', 'LESOTHO'); +INSERT INTO `countries` VALUES ('LR', 'LIBERIA'); +INSERT INTO `countries` VALUES ('LY', 'LIBYA'); +INSERT INTO `countries` VALUES ('LI', 'LIECHTENSTEIN'); +INSERT INTO `countries` VALUES ('LT', 'LITHUANIA'); +INSERT INTO `countries` VALUES ('LU', 'LUXEMBOURG'); +INSERT INTO `countries` VALUES ('MO', 'MACAO'); +INSERT INTO `countries` VALUES ('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MG', 'MADAGASCAR'); +INSERT INTO `countries` VALUES ('MW', 'MALAWI'); +INSERT INTO `countries` VALUES ('MY', 'MALAYSIA'); +INSERT INTO `countries` VALUES ('MV', 'MALDIVES'); +INSERT INTO `countries` VALUES ('ML', 'MALI'); +INSERT INTO `countries` VALUES ('MT', 'MALTA'); +INSERT INTO `countries` VALUES ('MH', 'MARSHALL ISLANDS'); +INSERT INTO `countries` VALUES ('MQ', 'MARTINIQUE'); +INSERT INTO `countries` VALUES ('MR', 'MAURITANIA'); +INSERT INTO `countries` VALUES ('MU', 'MAURITIUS'); +INSERT INTO `countries` VALUES ('YT', 'MAYOTTE'); +INSERT INTO `countries` VALUES ('MX', 'MEXICO'); +INSERT INTO `countries` VALUES ('FM', 'MICRONESIA, FEDERATED STATES OF'); +INSERT INTO `countries` VALUES ('MD', 'MOLDOVA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MC', 'MONACO'); +INSERT INTO `countries` VALUES ('MN', 'MONGOLIA'); +INSERT INTO `countries` VALUES ('ME', 'MONTENEGRO'); +INSERT INTO `countries` VALUES ('MS', 'MONTSERRAT'); +INSERT INTO `countries` VALUES ('MA', 'MOROCCO'); +INSERT INTO `countries` VALUES ('MZ', 'MOZAMBIQUE'); +INSERT INTO `countries` VALUES ('MM', 'MYANMAR'); +INSERT INTO `countries` VALUES ('NA', 'NAMIBIA'); +INSERT INTO `countries` VALUES ('NR', 'NAURU'); +INSERT INTO `countries` VALUES ('NP', 'NEPAL'); +INSERT INTO `countries` VALUES ('NL', 'NETHERLANDS'); +INSERT INTO `countries` VALUES ('NC', 'NEW CALEDONIA'); +INSERT INTO `countries` VALUES ('NZ', 'NEW ZEALAND'); +INSERT INTO `countries` VALUES ('NI', 'NICARAGUA'); +INSERT INTO `countries` VALUES ('NE', 'NIGER'); +INSERT INTO `countries` VALUES ('NG', 'NIGERIA'); +INSERT INTO `countries` VALUES ('NU', 'NIUE'); +INSERT INTO `countries` VALUES ('NF', 'NORFOLK ISLAND'); +INSERT INTO `countries` VALUES ('MP', 'NORTHERN MARIANA ISLANDS'); +INSERT INTO `countries` VALUES ('NO', 'NORWAY'); +INSERT INTO `countries` VALUES ('OM', 'OMAN'); +INSERT INTO `countries` VALUES ('PK', 'PAKISTAN'); +INSERT INTO `countries` VALUES ('PW', 'PALAU'); +INSERT INTO `countries` VALUES ('PS', 'PALESTINIAN TERRITORY, OCCUPIED'); +INSERT INTO `countries` VALUES ('PA', 'PANAMA'); +INSERT INTO `countries` VALUES ('PG', 'PAPUA NEW GUINEA'); +INSERT INTO `countries` VALUES ('PY', 'PARAGUAY'); +INSERT INTO `countries` VALUES ('PE', 'PERU'); +INSERT INTO `countries` VALUES ('PH', 'PHILIPPINES'); +INSERT INTO `countries` VALUES ('PN', 'PITCAIRN'); +INSERT INTO `countries` VALUES ('PL', 'POLAND'); +INSERT INTO `countries` VALUES ('PT', 'PORTUGAL'); +INSERT INTO `countries` VALUES ('PR', 'PUERTO RICO'); +INSERT INTO `countries` VALUES ('QA', 'QATAR'); +INSERT INTO `countries` VALUES ('RE', 'RÉUNION'); +INSERT INTO `countries` VALUES ('RO', 'ROMANIA'); +INSERT INTO `countries` VALUES ('RU', 'RUSSIAN FEDERATION'); +INSERT INTO `countries` VALUES ('RW', 'RWANDA'); +INSERT INTO `countries` VALUES ('BL', 'SAINT BARTHÉLEMY'); +INSERT INTO `countries` VALUES ('SH', 'SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA'); +INSERT INTO `countries` VALUES ('KN', 'SAINT KITTS AND NEVIS'); +INSERT INTO `countries` VALUES ('LC', 'SAINT LUCIA'); +INSERT INTO `countries` VALUES ('MF', 'SAINT MARTIN (FRENCH PART)'); +INSERT INTO `countries` VALUES ('PM', 'SAINT PIERRE AND MIQUELON'); +INSERT INTO `countries` VALUES ('VC', 'SAINT VINCENT AND THE GRENADINES'); +INSERT INTO `countries` VALUES ('WS', 'SAMOA'); +INSERT INTO `countries` VALUES ('SM', 'SAN MARINO'); +INSERT INTO `countries` VALUES ('ST', 'SAO TOME AND PRINCIPE'); +INSERT INTO `countries` VALUES ('SA', 'SAUDI ARABIA'); +INSERT INTO `countries` VALUES ('SN', 'SENEGAL'); +INSERT INTO `countries` VALUES ('RS', 'SERBIA'); +INSERT INTO `countries` VALUES ('SC', 'SEYCHELLES'); +INSERT INTO `countries` VALUES ('SL', 'SIERRA LEONE'); +INSERT INTO `countries` VALUES ('SG', 'SINGAPORE'); +INSERT INTO `countries` VALUES ('SX', 'SINT MAARTEN (DUTCH PART)'); +INSERT INTO `countries` VALUES ('SK', 'SLOVAKIA'); +INSERT INTO `countries` VALUES ('SI', 'SLOVENIA'); +INSERT INTO `countries` VALUES ('SB', 'SOLOMON ISLANDS'); +INSERT INTO `countries` VALUES ('SO', 'SOMALIA'); +INSERT INTO `countries` VALUES ('ZA', 'SOUTH AFRICA'); +INSERT INTO `countries` VALUES ('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'); +INSERT INTO `countries` VALUES ('SS', 'SOUTH SUDAN'); +INSERT INTO `countries` VALUES ('ES', 'SPAIN'); +INSERT INTO `countries` VALUES ('LK', 'SRI LANKA'); +INSERT INTO `countries` VALUES ('SD', 'SUDAN'); +INSERT INTO `countries` VALUES ('SR', 'SURINAME'); +INSERT INTO `countries` VALUES ('SJ', 'SVALBARD AND JAN MAYEN'); +INSERT INTO `countries` VALUES ('SZ', 'SWAZILAND'); +INSERT INTO `countries` VALUES ('SE', 'SWEDEN'); +INSERT INTO `countries` VALUES ('CH', 'SWITZERLAND'); +INSERT INTO `countries` VALUES ('SY', 'SYRIAN ARAB REPUBLIC'); +INSERT INTO `countries` VALUES ('TW', 'TAIWAN, PROVINCE OF CHINA'); +INSERT INTO `countries` VALUES ('TJ', 'TAJIKISTAN'); +INSERT INTO `countries` VALUES ('TZ', 'TANZANIA, UNITED REPUBLIC OF'); +INSERT INTO `countries` VALUES ('TH', 'THAILAND'); +INSERT INTO `countries` VALUES ('TL', 'TIMOR-LESTE'); +INSERT INTO `countries` VALUES ('TG', 'TOGO'); +INSERT INTO `countries` VALUES ('TK', 'TOKELAU'); +INSERT INTO `countries` VALUES ('TO', 'TONGA'); +INSERT INTO `countries` VALUES ('TT', 'TRINIDAD AND TOBAGO'); +INSERT INTO `countries` VALUES ('TN', 'TUNISIA'); +INSERT INTO `countries` VALUES ('TR', 'TURKEY'); +INSERT INTO `countries` VALUES ('TM', 'TURKMENISTAN'); +INSERT INTO `countries` VALUES ('TC', 'TURKS AND CAICOS ISLANDS'); +INSERT INTO `countries` VALUES ('TV', 'TUVALU'); +INSERT INTO `countries` VALUES ('UG', 'UGANDA'); +INSERT INTO `countries` VALUES ('UA', 'UKRAINE'); +INSERT INTO `countries` VALUES ('AE', 'UNITED ARAB EMIRATES'); +INSERT INTO `countries` VALUES ('GB', 'UNITED KINGDOM'); +INSERT INTO `countries` VALUES ('US', 'UNITED STATES'); +INSERT INTO `countries` VALUES ('UM', 'UNITED STATES MINOR OUTLYING ISLANDS'); +INSERT INTO `countries` VALUES ('UY', 'URUGUAY'); +INSERT INTO `countries` VALUES ('UZ', 'UZBEKISTAN'); +INSERT INTO `countries` VALUES ('VU', 'VANUATU'); +INSERT INTO `countries` VALUES ('VE', 'VENEZUELA, BOLIVARIAN REPUBLIC OF'); +INSERT INTO `countries` VALUES ('VN', 'VIET NAM'); +INSERT INTO `countries` VALUES ('VG', 'VIRGIN ISLANDS, BRITISH'); +INSERT INTO `countries` VALUES ('VI', 'VIRGIN ISLANDS, U.S.'); +INSERT INTO `countries` VALUES ('WF', 'WALLIS AND FUTUNA'); +INSERT INTO `countries` VALUES ('EH', 'WESTERN SAHARA'); +INSERT INTO `countries` VALUES ('YE', 'YEMEN'); +INSERT INTO `countries` VALUES ('ZM', 'ZAMBIA'); +INSERT INTO `countries` VALUES ('ZW', 'ZIMBABWE'); +INSERT INTO `items` VALUES ('AD_0001', 'children', 'test', 'children', '2019-08-08', '6', '12', '1', '2019-03-08', 'd55b9a442886c5e05678754320d27cdff8a8e96439d4877d6dd623d10fdbe541', '1'); +INSERT INTO `items` VALUES ('AD_0002', 'PDF test', 'PDF test', 'pdf file', '2019-03-08', '1', '12', '1', '2019-03-08', '70ecb628ada069214ab8ff5e9f368fc7c3b86073c5d8259e5349921b98e2f854', '1'); +INSERT INTO `items` VALUES ('AD_0003', 'project plan', 'project plan', 'project plan', '2019-03-09', '12', '6', '1', '2019-03-09', '1fb7c63c18a2ee28320510cce7e83908fef19f70a1501e5ce1d8834cdc2599ba', '1'); +INSERT INTO `items` VALUES ('AD_0004', 'Sonic', 'Sonic and Tails', 'project plan', '2019-03-10', '1', '6', '1', '2019-03-10', '5df5107d71b5eeab44a3bb87daa7c4a54f7f3b6f64209492d2fde2039554df37', '1'); +INSERT INTO `items` VALUES ('AD_0005', 'character_wallpaper_tails - Copy.png', '', 'something else', '2019-03-11', '12', '12', '1', '2019-03-11', 'c6fe184d653276954aced1d3f1545ab8c1f6cdc0a99c109acc5ab77d74552b49', '1'); +INSERT INTO `tags` VALUES ('1', 'AD_0001', 'children'); +INSERT INTO `tags` VALUES ('2', 'AD_0001', 'book'); +INSERT INTO `users` VALUES ('1', 'admin', 'admin', '3469b67ebf2b71177c3fdb9da2c3fb0e0dec73a9e9a7e3e3516f6ba4813e52dc3f283c57', 'doriva17@gmail.com', '255', 'AD'); diff --git a/doc/adar20190317.sql b/doc/adar20190317.sql new file mode 100644 index 0000000..9b6798b --- /dev/null +++ b/doc/adar20190317.sql @@ -0,0 +1,463 @@ +/* +MySQL Data Transfer +Source Host: localhost +Source Database: adar +Target Host: localhost +Target Database: adar +Date: 2019/03/17 1:20:58 PM +*/ + +SET FOREIGN_KEY_CHECKS=0; +-- ---------------------------- +-- Table structure for cluster +-- ---------------------------- +CREATE TABLE `cluster` ( + `clusterId` int(11) NOT NULL AUTO_INCREMENT, + `clustername` varchar(255) DEFAULT NULL, + `Description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`clusterId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for contacts +-- ---------------------------- +CREATE TABLE `contacts` ( + `CID` int(11) NOT NULL AUTO_INCREMENT, + `FamilyName` varchar(164) NOT NULL, + `GivenName` varchar(224) NOT NULL, + `Type` set('m','f','u','c') NOT NULL COMMENT '(m)ale, (f)emale, (u)ndefined, (c)ompany', + `Street` varchar(164) NOT NULL, + `Housenr` varchar(16) NOT NULL, + `ZIP` varchar(16) NOT NULL, + `City` varchar(164) NOT NULL, + `Country` varchar(2) NOT NULL, + `Phone` varchar(64) NOT NULL, + `Fax` varchar(64) NOT NULL, + `Mail` varchar(164) NOT NULL, + `URL` varchar(150) NOT NULL, + `Notes` text NOT NULL, + PRIMARY KEY (`CID`) +) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for countries +-- ---------------------------- +CREATE TABLE `countries` ( + `Alpha2` varchar(2) NOT NULL, + `Name` varchar(128) NOT NULL, + PRIMARY KEY (`Alpha2`), + UNIQUE KEY `Name` (`Name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Source: http://www.iso.org/iso/country_codes/iso_3166_code_l'; + +-- ---------------------------- +-- Table structure for items +-- ---------------------------- +CREATE TABLE `items` ( + `ItemID` varchar(10) NOT NULL COMMENT 'using users short-id and a >=4-digit-sequential number - example: FK_0003', + `Caption` varchar(100) NOT NULL COMMENT 'Freetext to describe the document', + `Description` longtext COMMENT 'Contains detailed description and data gathered from EXIF or OCR', + `Format` varchar(25) DEFAULT NULL COMMENT 'Freetext to describe physical source of this document - (letter, photo, whatever)', + `Date` date DEFAULT NULL COMMENT 'originals date', + `Sender` int(11) DEFAULT NULL COMMENT 'source (needs to be changed)', + `Receiver` int(11) NOT NULL, + `ScanUser` int(11) NOT NULL COMMENT 'scanning user', + `ScanDate` date NOT NULL COMMENT 'scanning date', + `SourceSHA256` varchar(64) NOT NULL COMMENT 'SHA256 of archived document to check for corrupted files', + `OCRStatus` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`ItemID`), + UNIQUE KEY `SourceSHA256` (`SourceSHA256`), + KEY `Caption` (`Caption`), + KEY `Format` (`Format`), + KEY `Sender` (`Sender`), + KEY `Receiver` (`Receiver`), + FULLTEXT KEY `Description` (`Description`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for papers +-- ---------------------------- +CREATE TABLE `papers` ( + `paperId` int(11) NOT NULL AUTO_INCREMENT, + `dateUpload` date DEFAULT NULL, + `dateModerated` date DEFAULT NULL, + `lecturerId` varchar(255) DEFAULT NULL, + `moderatorId` varchar(255) DEFAULT NULL, + `studentNumber` varchar(255) DEFAULT NULL, + `coordinatorId` varchar(255) DEFAULT NULL, + `clusterId` varchar(255) DEFAULT NULL, + `publishedStatus` varchar(255) DEFAULT NULL, + `abstract` blob, + PRIMARY KEY (`paperId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for paperstatus +-- ---------------------------- +CREATE TABLE `paperstatus` ( + `statusID` int(11) NOT NULL AUTO_INCREMENT, + `statusName` varchar(255) DEFAULT NULL COMMENT 'who can view which paper', + `description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`statusID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for roles +-- ---------------------------- +CREATE TABLE `roles` ( + `roleID` int(11) NOT NULL AUTO_INCREMENT, + `roleName` varchar(255) DEFAULT NULL, + PRIMARY KEY (`roleID`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for student +-- ---------------------------- +CREATE TABLE `student` ( + `studentID` int(11) NOT NULL AUTO_INCREMENT, + `studentNumber` int(11) DEFAULT NULL, + `firstName` varchar(255) DEFAULT NULL, + `surname` varchar(255) DEFAULT NULL, + `gender` varchar(255) DEFAULT NULL, + `course` varchar(255) DEFAULT NULL, + PRIMARY KEY (`studentID`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for tags +-- ---------------------------- +CREATE TABLE `tags` ( + `TagID` int(11) NOT NULL AUTO_INCREMENT, + `ItemID` varchar(10) NOT NULL, + `TagValue` varchar(150) NOT NULL, + PRIMARY KEY (`TagID`), + UNIQUE KEY `ItemID_2` (`ItemID`,`TagValue`), + KEY `TagCategory` (`TagValue`), + KEY `ItemID` (`ItemID`), + KEY `TagValue` (`TagValue`) +) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for userloginaccount +-- ---------------------------- +CREATE TABLE `userloginaccount` ( + `UserId` int(11) NOT NULL AUTO_INCREMENT, + `Username` varchar(255) DEFAULT NULL, + `Password` varchar(255) DEFAULT NULL, + PRIMARY KEY (`UserId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for users +-- ---------------------------- +CREATE TABLE `users` ( + `UserID` int(11) NOT NULL AUTO_INCREMENT, + `Name` varchar(150) NOT NULL, + `Nickname` varchar(50) NOT NULL COMMENT 'aka loginname', + `Password` varchar(72) NOT NULL COMMENT 'salted SHA256', + `EMail` varchar(150) NOT NULL, + `Level` varchar(11) NOT NULL DEFAULT '0' COMMENT 'binary system, not really documented yet', + `UIdent` varchar(11) NOT NULL COMMENT 'two chars used as user-identifier for document IDs', + PRIMARY KEY (`UserID`), + UNIQUE KEY `Name` (`Name`), + UNIQUE KEY `EMail` (`EMail`), + UNIQUE KEY `UIdent` (`UIdent`), + UNIQUE KEY `Nickname` (`Nickname`), + UNIQUE KEY `Login` (`Nickname`,`Password`) +) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for usertype +-- ---------------------------- +CREATE TABLE `usertype` ( + `userTypeId` int(11) NOT NULL AUTO_INCREMENT, + `typeName` varchar(255) DEFAULT NULL, + `Description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`userTypeId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Records +-- ---------------------------- +INSERT INTO `contacts` VALUES ('1', 'Andrew', 'Muteka', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('2', '', '', 'u', '', '', '', '', 'DE', '', '', '', '', ''); +INSERT INTO `contacts` VALUES ('3', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('4', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('5', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('6', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('7', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('8', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('9', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('10', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('11', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('12', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `contacts` VALUES ('13', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `contacts` VALUES ('14', 'Muhepa', 'Mafo', 'm', 'here', '22', '9000', 'home', 'NA', '2546813', '', 'abc@zyx.co', '', 'test'); +INSERT INTO `countries` VALUES ('AF', 'AFGHANISTAN'); +INSERT INTO `countries` VALUES ('AX', 'ÅLAND ISLANDS'); +INSERT INTO `countries` VALUES ('AL', 'ALBANIA'); +INSERT INTO `countries` VALUES ('DZ', 'ALGERIA'); +INSERT INTO `countries` VALUES ('AS', 'AMERICAN SAMOA'); +INSERT INTO `countries` VALUES ('AD', 'ANDORRA'); +INSERT INTO `countries` VALUES ('AO', 'ANGOLA'); +INSERT INTO `countries` VALUES ('AI', 'ANGUILLA'); +INSERT INTO `countries` VALUES ('AQ', 'ANTARCTICA'); +INSERT INTO `countries` VALUES ('AG', 'ANTIGUA AND BARBUDA'); +INSERT INTO `countries` VALUES ('AR', 'ARGENTINA'); +INSERT INTO `countries` VALUES ('AM', 'ARMENIA'); +INSERT INTO `countries` VALUES ('AW', 'ARUBA'); +INSERT INTO `countries` VALUES ('AU', 'AUSTRALIA'); +INSERT INTO `countries` VALUES ('AT', 'AUSTRIA'); +INSERT INTO `countries` VALUES ('AZ', 'AZERBAIJAN'); +INSERT INTO `countries` VALUES ('BS', 'BAHAMAS'); +INSERT INTO `countries` VALUES ('BH', 'BAHRAIN'); +INSERT INTO `countries` VALUES ('BD', 'BANGLADESH'); +INSERT INTO `countries` VALUES ('BB', 'BARBADOS'); +INSERT INTO `countries` VALUES ('BY', 'BELARUS'); +INSERT INTO `countries` VALUES ('BE', 'BELGIUM'); +INSERT INTO `countries` VALUES ('BZ', 'BELIZE'); +INSERT INTO `countries` VALUES ('BJ', 'BENIN'); +INSERT INTO `countries` VALUES ('BM', 'BERMUDA'); +INSERT INTO `countries` VALUES ('BT', 'BHUTAN'); +INSERT INTO `countries` VALUES ('BO', 'BOLIVIA, PLURINATIONAL STATE OF'); +INSERT INTO `countries` VALUES ('BQ', 'BONAIRE, SINT EUSTATIUS AND SABA'); +INSERT INTO `countries` VALUES ('BA', 'BOSNIA AND HERZEGOVINA'); +INSERT INTO `countries` VALUES ('BW', 'BOTSWANA'); +INSERT INTO `countries` VALUES ('BV', 'BOUVET ISLAND'); +INSERT INTO `countries` VALUES ('BR', 'BRAZIL'); +INSERT INTO `countries` VALUES ('IO', 'BRITISH INDIAN OCEAN TERRITORY'); +INSERT INTO `countries` VALUES ('BN', 'BRUNEI DARUSSALAM'); +INSERT INTO `countries` VALUES ('BG', 'BULGARIA'); +INSERT INTO `countries` VALUES ('BF', 'BURKINA FASO'); +INSERT INTO `countries` VALUES ('BI', 'BURUNDI'); +INSERT INTO `countries` VALUES ('KH', 'CAMBODIA'); +INSERT INTO `countries` VALUES ('CM', 'CAMEROON'); +INSERT INTO `countries` VALUES ('CA', 'CANADA'); +INSERT INTO `countries` VALUES ('CV', 'CAPE VERDE'); +INSERT INTO `countries` VALUES ('KY', 'CAYMAN ISLANDS'); +INSERT INTO `countries` VALUES ('CF', 'CENTRAL AFRICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('TD', 'CHAD'); +INSERT INTO `countries` VALUES ('CL', 'CHILE'); +INSERT INTO `countries` VALUES ('CN', 'CHINA'); +INSERT INTO `countries` VALUES ('CX', 'CHRISTMAS ISLAND'); +INSERT INTO `countries` VALUES ('CC', 'COCOS (KEELING) ISLANDS'); +INSERT INTO `countries` VALUES ('CO', 'COLOMBIA'); +INSERT INTO `countries` VALUES ('KM', 'COMOROS'); +INSERT INTO `countries` VALUES ('CG', 'CONGO'); +INSERT INTO `countries` VALUES ('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE'); +INSERT INTO `countries` VALUES ('CK', 'COOK ISLANDS'); +INSERT INTO `countries` VALUES ('CR', 'COSTA RICA'); +INSERT INTO `countries` VALUES ('CI', 'CÔTE D\'IVOIRE'); +INSERT INTO `countries` VALUES ('HR', 'CROATIA'); +INSERT INTO `countries` VALUES ('CU', 'CUBA'); +INSERT INTO `countries` VALUES ('CW', 'CURAÇAO'); +INSERT INTO `countries` VALUES ('CY', 'CYPRUS'); +INSERT INTO `countries` VALUES ('CZ', 'CZECH REPUBLIC'); +INSERT INTO `countries` VALUES ('DK', 'DENMARK'); +INSERT INTO `countries` VALUES ('DJ', 'DJIBOUTI'); +INSERT INTO `countries` VALUES ('DM', 'DOMINICA'); +INSERT INTO `countries` VALUES ('DO', 'DOMINICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('EC', 'ECUADOR'); +INSERT INTO `countries` VALUES ('EG', 'EGYPT'); +INSERT INTO `countries` VALUES ('SV', 'EL SALVADOR'); +INSERT INTO `countries` VALUES ('GQ', 'EQUATORIAL GUINEA'); +INSERT INTO `countries` VALUES ('ER', 'ERITREA'); +INSERT INTO `countries` VALUES ('EE', 'ESTONIA'); +INSERT INTO `countries` VALUES ('ET', 'ETHIOPIA'); +INSERT INTO `countries` VALUES ('FK', 'FALKLAND ISLANDS (MALVINAS)'); +INSERT INTO `countries` VALUES ('FO', 'FAROE ISLANDS'); +INSERT INTO `countries` VALUES ('FJ', 'FIJI'); +INSERT INTO `countries` VALUES ('FI', 'FINLAND'); +INSERT INTO `countries` VALUES ('FR', 'FRANCE'); +INSERT INTO `countries` VALUES ('GF', 'FRENCH GUIANA'); +INSERT INTO `countries` VALUES ('PF', 'FRENCH POLYNESIA'); +INSERT INTO `countries` VALUES ('TF', 'FRENCH SOUTHERN TERRITORIES'); +INSERT INTO `countries` VALUES ('GA', 'GABON'); +INSERT INTO `countries` VALUES ('GM', 'GAMBIA'); +INSERT INTO `countries` VALUES ('GE', 'GEORGIA'); +INSERT INTO `countries` VALUES ('DE', 'GERMANY'); +INSERT INTO `countries` VALUES ('GH', 'GHANA'); +INSERT INTO `countries` VALUES ('GI', 'GIBRALTAR'); +INSERT INTO `countries` VALUES ('GR', 'GREECE'); +INSERT INTO `countries` VALUES ('GL', 'GREENLAND'); +INSERT INTO `countries` VALUES ('GD', 'GRENADA'); +INSERT INTO `countries` VALUES ('GP', 'GUADELOUPE'); +INSERT INTO `countries` VALUES ('GU', 'GUAM'); +INSERT INTO `countries` VALUES ('GT', 'GUATEMALA'); +INSERT INTO `countries` VALUES ('GG', 'GUERNSEY'); +INSERT INTO `countries` VALUES ('GN', 'GUINEA'); +INSERT INTO `countries` VALUES ('GW', 'GUINEA-BISSAU'); +INSERT INTO `countries` VALUES ('GY', 'GUYANA'); +INSERT INTO `countries` VALUES ('HT', 'HAITI'); +INSERT INTO `countries` VALUES ('HM', 'HEARD ISLAND AND MCDONALD ISLANDS'); +INSERT INTO `countries` VALUES ('VA', 'HOLY SEE (VATICAN CITY STATE)'); +INSERT INTO `countries` VALUES ('HN', 'HONDURAS'); +INSERT INTO `countries` VALUES ('HK', 'HONG KONG'); +INSERT INTO `countries` VALUES ('HU', 'HUNGARY'); +INSERT INTO `countries` VALUES ('IS', 'ICELAND'); +INSERT INTO `countries` VALUES ('IN', 'INDIA'); +INSERT INTO `countries` VALUES ('ID', 'INDONESIA'); +INSERT INTO `countries` VALUES ('IR', 'IRAN, ISLAMIC REPUBLIC OF'); +INSERT INTO `countries` VALUES ('IQ', 'IRAQ'); +INSERT INTO `countries` VALUES ('IE', 'IRELAND'); +INSERT INTO `countries` VALUES ('IM', 'ISLE OF MAN'); +INSERT INTO `countries` VALUES ('IL', 'ISRAEL'); +INSERT INTO `countries` VALUES ('IT', 'ITALY'); +INSERT INTO `countries` VALUES ('JM', 'JAMAICA'); +INSERT INTO `countries` VALUES ('JP', 'JAPAN'); +INSERT INTO `countries` VALUES ('JE', 'JERSEY'); +INSERT INTO `countries` VALUES ('JO', 'JORDAN'); +INSERT INTO `countries` VALUES ('KZ', 'KAZAKHSTAN'); +INSERT INTO `countries` VALUES ('KE', 'KENYA'); +INSERT INTO `countries` VALUES ('KI', 'KIRIBATI'); +INSERT INTO `countries` VALUES ('KP', 'KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KR', 'KOREA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KW', 'KUWAIT'); +INSERT INTO `countries` VALUES ('KG', 'KYRGYZSTAN'); +INSERT INTO `countries` VALUES ('LA', 'LAO PEOPLE\'S DEMOCRATIC REPUBLIC'); +INSERT INTO `countries` VALUES ('LV', 'LATVIA'); +INSERT INTO `countries` VALUES ('LB', 'LEBANON'); +INSERT INTO `countries` VALUES ('LS', 'LESOTHO'); +INSERT INTO `countries` VALUES ('LR', 'LIBERIA'); +INSERT INTO `countries` VALUES ('LY', 'LIBYA'); +INSERT INTO `countries` VALUES ('LI', 'LIECHTENSTEIN'); +INSERT INTO `countries` VALUES ('LT', 'LITHUANIA'); +INSERT INTO `countries` VALUES ('LU', 'LUXEMBOURG'); +INSERT INTO `countries` VALUES ('MO', 'MACAO'); +INSERT INTO `countries` VALUES ('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MG', 'MADAGASCAR'); +INSERT INTO `countries` VALUES ('MW', 'MALAWI'); +INSERT INTO `countries` VALUES ('MY', 'MALAYSIA'); +INSERT INTO `countries` VALUES ('MV', 'MALDIVES'); +INSERT INTO `countries` VALUES ('ML', 'MALI'); +INSERT INTO `countries` VALUES ('MT', 'MALTA'); +INSERT INTO `countries` VALUES ('MH', 'MARSHALL ISLANDS'); +INSERT INTO `countries` VALUES ('MQ', 'MARTINIQUE'); +INSERT INTO `countries` VALUES ('MR', 'MAURITANIA'); +INSERT INTO `countries` VALUES ('MU', 'MAURITIUS'); +INSERT INTO `countries` VALUES ('YT', 'MAYOTTE'); +INSERT INTO `countries` VALUES ('MX', 'MEXICO'); +INSERT INTO `countries` VALUES ('FM', 'MICRONESIA, FEDERATED STATES OF'); +INSERT INTO `countries` VALUES ('MD', 'MOLDOVA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MC', 'MONACO'); +INSERT INTO `countries` VALUES ('MN', 'MONGOLIA'); +INSERT INTO `countries` VALUES ('ME', 'MONTENEGRO'); +INSERT INTO `countries` VALUES ('MS', 'MONTSERRAT'); +INSERT INTO `countries` VALUES ('MA', 'MOROCCO'); +INSERT INTO `countries` VALUES ('MZ', 'MOZAMBIQUE'); +INSERT INTO `countries` VALUES ('MM', 'MYANMAR'); +INSERT INTO `countries` VALUES ('NA', 'NAMIBIA'); +INSERT INTO `countries` VALUES ('NR', 'NAURU'); +INSERT INTO `countries` VALUES ('NP', 'NEPAL'); +INSERT INTO `countries` VALUES ('NL', 'NETHERLANDS'); +INSERT INTO `countries` VALUES ('NC', 'NEW CALEDONIA'); +INSERT INTO `countries` VALUES ('NZ', 'NEW ZEALAND'); +INSERT INTO `countries` VALUES ('NI', 'NICARAGUA'); +INSERT INTO `countries` VALUES ('NE', 'NIGER'); +INSERT INTO `countries` VALUES ('NG', 'NIGERIA'); +INSERT INTO `countries` VALUES ('NU', 'NIUE'); +INSERT INTO `countries` VALUES ('NF', 'NORFOLK ISLAND'); +INSERT INTO `countries` VALUES ('MP', 'NORTHERN MARIANA ISLANDS'); +INSERT INTO `countries` VALUES ('NO', 'NORWAY'); +INSERT INTO `countries` VALUES ('OM', 'OMAN'); +INSERT INTO `countries` VALUES ('PK', 'PAKISTAN'); +INSERT INTO `countries` VALUES ('PW', 'PALAU'); +INSERT INTO `countries` VALUES ('PS', 'PALESTINIAN TERRITORY, OCCUPIED'); +INSERT INTO `countries` VALUES ('PA', 'PANAMA'); +INSERT INTO `countries` VALUES ('PG', 'PAPUA NEW GUINEA'); +INSERT INTO `countries` VALUES ('PY', 'PARAGUAY'); +INSERT INTO `countries` VALUES ('PE', 'PERU'); +INSERT INTO `countries` VALUES ('PH', 'PHILIPPINES'); +INSERT INTO `countries` VALUES ('PN', 'PITCAIRN'); +INSERT INTO `countries` VALUES ('PL', 'POLAND'); +INSERT INTO `countries` VALUES ('PT', 'PORTUGAL'); +INSERT INTO `countries` VALUES ('PR', 'PUERTO RICO'); +INSERT INTO `countries` VALUES ('QA', 'QATAR'); +INSERT INTO `countries` VALUES ('RE', 'RÉUNION'); +INSERT INTO `countries` VALUES ('RO', 'ROMANIA'); +INSERT INTO `countries` VALUES ('RU', 'RUSSIAN FEDERATION'); +INSERT INTO `countries` VALUES ('RW', 'RWANDA'); +INSERT INTO `countries` VALUES ('BL', 'SAINT BARTHÉLEMY'); +INSERT INTO `countries` VALUES ('SH', 'SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA'); +INSERT INTO `countries` VALUES ('KN', 'SAINT KITTS AND NEVIS'); +INSERT INTO `countries` VALUES ('LC', 'SAINT LUCIA'); +INSERT INTO `countries` VALUES ('MF', 'SAINT MARTIN (FRENCH PART)'); +INSERT INTO `countries` VALUES ('PM', 'SAINT PIERRE AND MIQUELON'); +INSERT INTO `countries` VALUES ('VC', 'SAINT VINCENT AND THE GRENADINES'); +INSERT INTO `countries` VALUES ('WS', 'SAMOA'); +INSERT INTO `countries` VALUES ('SM', 'SAN MARINO'); +INSERT INTO `countries` VALUES ('ST', 'SAO TOME AND PRINCIPE'); +INSERT INTO `countries` VALUES ('SA', 'SAUDI ARABIA'); +INSERT INTO `countries` VALUES ('SN', 'SENEGAL'); +INSERT INTO `countries` VALUES ('RS', 'SERBIA'); +INSERT INTO `countries` VALUES ('SC', 'SEYCHELLES'); +INSERT INTO `countries` VALUES ('SL', 'SIERRA LEONE'); +INSERT INTO `countries` VALUES ('SG', 'SINGAPORE'); +INSERT INTO `countries` VALUES ('SX', 'SINT MAARTEN (DUTCH PART)'); +INSERT INTO `countries` VALUES ('SK', 'SLOVAKIA'); +INSERT INTO `countries` VALUES ('SI', 'SLOVENIA'); +INSERT INTO `countries` VALUES ('SB', 'SOLOMON ISLANDS'); +INSERT INTO `countries` VALUES ('SO', 'SOMALIA'); +INSERT INTO `countries` VALUES ('ZA', 'SOUTH AFRICA'); +INSERT INTO `countries` VALUES ('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'); +INSERT INTO `countries` VALUES ('SS', 'SOUTH SUDAN'); +INSERT INTO `countries` VALUES ('ES', 'SPAIN'); +INSERT INTO `countries` VALUES ('LK', 'SRI LANKA'); +INSERT INTO `countries` VALUES ('SD', 'SUDAN'); +INSERT INTO `countries` VALUES ('SR', 'SURINAME'); +INSERT INTO `countries` VALUES ('SJ', 'SVALBARD AND JAN MAYEN'); +INSERT INTO `countries` VALUES ('SZ', 'SWAZILAND'); +INSERT INTO `countries` VALUES ('SE', 'SWEDEN'); +INSERT INTO `countries` VALUES ('CH', 'SWITZERLAND'); +INSERT INTO `countries` VALUES ('SY', 'SYRIAN ARAB REPUBLIC'); +INSERT INTO `countries` VALUES ('TW', 'TAIWAN, PROVINCE OF CHINA'); +INSERT INTO `countries` VALUES ('TJ', 'TAJIKISTAN'); +INSERT INTO `countries` VALUES ('TZ', 'TANZANIA, UNITED REPUBLIC OF'); +INSERT INTO `countries` VALUES ('TH', 'THAILAND'); +INSERT INTO `countries` VALUES ('TL', 'TIMOR-LESTE'); +INSERT INTO `countries` VALUES ('TG', 'TOGO'); +INSERT INTO `countries` VALUES ('TK', 'TOKELAU'); +INSERT INTO `countries` VALUES ('TO', 'TONGA'); +INSERT INTO `countries` VALUES ('TT', 'TRINIDAD AND TOBAGO'); +INSERT INTO `countries` VALUES ('TN', 'TUNISIA'); +INSERT INTO `countries` VALUES ('TR', 'TURKEY'); +INSERT INTO `countries` VALUES ('TM', 'TURKMENISTAN'); +INSERT INTO `countries` VALUES ('TC', 'TURKS AND CAICOS ISLANDS'); +INSERT INTO `countries` VALUES ('TV', 'TUVALU'); +INSERT INTO `countries` VALUES ('UG', 'UGANDA'); +INSERT INTO `countries` VALUES ('UA', 'UKRAINE'); +INSERT INTO `countries` VALUES ('AE', 'UNITED ARAB EMIRATES'); +INSERT INTO `countries` VALUES ('GB', 'UNITED KINGDOM'); +INSERT INTO `countries` VALUES ('US', 'UNITED STATES'); +INSERT INTO `countries` VALUES ('UM', 'UNITED STATES MINOR OUTLYING ISLANDS'); +INSERT INTO `countries` VALUES ('UY', 'URUGUAY'); +INSERT INTO `countries` VALUES ('UZ', 'UZBEKISTAN'); +INSERT INTO `countries` VALUES ('VU', 'VANUATU'); +INSERT INTO `countries` VALUES ('VE', 'VENEZUELA, BOLIVARIAN REPUBLIC OF'); +INSERT INTO `countries` VALUES ('VN', 'VIET NAM'); +INSERT INTO `countries` VALUES ('VG', 'VIRGIN ISLANDS, BRITISH'); +INSERT INTO `countries` VALUES ('VI', 'VIRGIN ISLANDS, U.S.'); +INSERT INTO `countries` VALUES ('WF', 'WALLIS AND FUTUNA'); +INSERT INTO `countries` VALUES ('EH', 'WESTERN SAHARA'); +INSERT INTO `countries` VALUES ('YE', 'YEMEN'); +INSERT INTO `countries` VALUES ('ZM', 'ZAMBIA'); +INSERT INTO `countries` VALUES ('ZW', 'ZIMBABWE'); +INSERT INTO `items` VALUES ('AD_0001', 'children', 'test', 'children', '2019-08-08', '6', '12', '1', '2019-03-08', 'd55b9a442886c5e05678754320d27cdff8a8e96439d4877d6dd623d10fdbe541', '1'); +INSERT INTO `items` VALUES ('AD_0002', 'PDF test', 'PDF test', 'pdf file', '2019-03-08', '1', '12', '1', '2019-03-08', '70ecb628ada069214ab8ff5e9f368fc7c3b86073c5d8259e5349921b98e2f854', '1'); +INSERT INTO `items` VALUES ('AD_0003', 'project plan', 'project plan', 'project plan', '2019-03-09', '12', '6', '1', '2019-03-09', '1fb7c63c18a2ee28320510cce7e83908fef19f70a1501e5ce1d8834cdc2599ba', '1'); +INSERT INTO `items` VALUES ('AD_0004', 'Sonic', 'Sonic and Tails', 'project plan', '2019-03-10', '1', '6', '1', '2019-03-10', '5df5107d71b5eeab44a3bb87daa7c4a54f7f3b6f64209492d2fde2039554df37', '1'); +INSERT INTO `items` VALUES ('AD_0005', 'character_wallpaper_tails - Copy.png', '', 'something else', '2019-03-11', '12', '12', '1', '2019-03-11', 'c6fe184d653276954aced1d3f1545ab8c1f6cdc0a99c109acc5ab77d74552b49', '1'); +INSERT INTO `roles` VALUES ('1', 'admin'); +INSERT INTO `roles` VALUES ('2', 'moderator'); +INSERT INTO `roles` VALUES ('3', 'supervisor'); +INSERT INTO `roles` VALUES ('4', 'coordinator'); +INSERT INTO `roles` VALUES ('5', 'student'); +INSERT INTO `student` VALUES ('1', '200608444', 'Andrew', 'Muteka', 'male', 'Software Development'); +INSERT INTO `tags` VALUES ('1', 'AD_0001', 'children'); +INSERT INTO `tags` VALUES ('2', 'AD_0001', 'book'); +INSERT INTO `users` VALUES ('1', 'admin', 'admin', '3469b67ebf2b71177c3fdb9da2c3fb0e0dec73a9e9a7e3e3516f6ba4813e52dc3f283c57', 'doriva17@gmail.com', '255', 'AD'); +INSERT INTO `users` VALUES ('2', 'Andrew', 'andrew', 'andrew', 'andrew@tumbare.com', '255', 'AN'); +INSERT INTO `users` VALUES ('3', 'test', 'test', 'test', 'tewset', '11', 'te'); +INSERT INTO `users` VALUES ('4', 'test1', 'test1', 'test', 'tewset1', '11', 'q'); +INSERT INTO `users` VALUES ('5', 'test2', 'test2', 'test2', 'test2', '11', 'qq'); +INSERT INTO `users` VALUES ('6', 'Nic', 'Nic', 'Nic', 'Nic', '11', 'Nic'); +INSERT INTO `users` VALUES ('7', 'John', 'Jon', 'rew', 'ewrwer', '11', 'jo'); diff --git a/doc/adar20190322.sql b/doc/adar20190322.sql new file mode 100644 index 0000000..20cf4ff --- /dev/null +++ b/doc/adar20190322.sql @@ -0,0 +1,462 @@ +/* +MySQL Data Transfer +Source Host: localhost +Source Database: adar +Target Host: localhost +Target Database: adar +Date: 2019/03/25 5:48:57 PM +*/ + +SET FOREIGN_KEY_CHECKS=0; +-- ---------------------------- +-- Table structure for cluster +-- ---------------------------- +CREATE TABLE `cluster` ( + `clusterId` int(11) NOT NULL AUTO_INCREMENT, + `clustername` varchar(255) DEFAULT NULL, + `Description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`clusterId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for contacts +-- ---------------------------- +CREATE TABLE `contacts` ( + `CID` int(11) NOT NULL AUTO_INCREMENT, + `FamilyName` varchar(164) NOT NULL, + `GivenName` varchar(224) NOT NULL, + `Type` set('m','f','u','c') NOT NULL COMMENT '(m)ale, (f)emale, (u)ndefined, (c)ompany', + `Street` varchar(164) NOT NULL, + `Housenr` varchar(16) NOT NULL, + `ZIP` varchar(16) NOT NULL, + `City` varchar(164) NOT NULL, + `Country` varchar(2) NOT NULL, + `Phone` varchar(64) NOT NULL, + `Fax` varchar(64) NOT NULL, + `Mail` varchar(164) NOT NULL, + `URL` varchar(150) NOT NULL, + `Notes` text NOT NULL, + PRIMARY KEY (`CID`) +) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for countries +-- ---------------------------- +CREATE TABLE `countries` ( + `Alpha2` varchar(2) NOT NULL, + `Name` varchar(128) NOT NULL, + PRIMARY KEY (`Alpha2`), + UNIQUE KEY `Name` (`Name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Source: http://www.iso.org/iso/country_codes/iso_3166_code_l'; + +-- ---------------------------- +-- Table structure for items +-- ---------------------------- +CREATE TABLE `items` ( + `ItemID` varchar(10) NOT NULL COMMENT 'using users short-id and a >=4-digit-sequential number - example: FK_0003', + `Caption` varchar(100) NOT NULL COMMENT 'Freetext to describe the document', + `Description` longtext COMMENT 'Contains detailed description and data gathered from EXIF or OCR', + `Format` varchar(25) DEFAULT NULL COMMENT 'Freetext to describe physical source of this document - (letter, photo, whatever)', + `Date` date DEFAULT NULL COMMENT 'originals date', + `Sender` int(11) DEFAULT NULL COMMENT 'source (needs to be changed)', + `Receiver` int(11) NOT NULL, + `ScanUser` int(11) NOT NULL COMMENT 'scanning user', + `ScanDate` date NOT NULL COMMENT 'scanning date', + `SourceSHA256` varchar(64) NOT NULL COMMENT 'SHA256 of archived document to check for corrupted files', + `OCRStatus` tinyint(1) NOT NULL DEFAULT '0', + PRIMARY KEY (`ItemID`), + UNIQUE KEY `SourceSHA256` (`SourceSHA256`), + KEY `Caption` (`Caption`), + KEY `Format` (`Format`), + KEY `Sender` (`Sender`), + KEY `Receiver` (`Receiver`), + FULLTEXT KEY `Description` (`Description`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for papers +-- ---------------------------- +CREATE TABLE `papers` ( + `paperId` int(11) NOT NULL AUTO_INCREMENT, + `dateUpload` date DEFAULT NULL, + `dateModerated` date DEFAULT NULL, + `lecturerId` varchar(255) DEFAULT NULL, + `moderatorId` varchar(255) DEFAULT NULL, + `studentNumber` varchar(255) DEFAULT NULL, + `coordinatorId` varchar(255) DEFAULT NULL, + `clusterId` varchar(255) DEFAULT NULL, + `publishedStatus` varchar(255) DEFAULT NULL, + `abstract` blob, + PRIMARY KEY (`paperId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for paperstatus +-- ---------------------------- +CREATE TABLE `paperstatus` ( + `statusID` int(11) NOT NULL AUTO_INCREMENT, + `statusName` varchar(255) DEFAULT NULL COMMENT 'who can view which paper', + `description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`statusID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for roles +-- ---------------------------- +CREATE TABLE `roles` ( + `roleID` int(11) NOT NULL AUTO_INCREMENT, + `roleName` varchar(255) DEFAULT NULL, + PRIMARY KEY (`roleID`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for student +-- ---------------------------- +CREATE TABLE `student` ( + `studentID` int(11) NOT NULL AUTO_INCREMENT, + `studentNumber` int(11) DEFAULT NULL, + `firstName` varchar(255) DEFAULT NULL, + `surname` varchar(255) DEFAULT NULL, + `gender` varchar(255) DEFAULT NULL, + `course` varchar(255) DEFAULT NULL, + PRIMARY KEY (`studentID`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for tags +-- ---------------------------- +CREATE TABLE `tags` ( + `TagID` int(11) NOT NULL AUTO_INCREMENT, + `ItemID` varchar(10) NOT NULL, + `TagValue` varchar(150) NOT NULL, + PRIMARY KEY (`TagID`), + UNIQUE KEY `ItemID_2` (`ItemID`,`TagValue`), + KEY `TagCategory` (`TagValue`), + KEY `ItemID` (`ItemID`), + KEY `TagValue` (`TagValue`) +) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for userloginaccount +-- ---------------------------- +CREATE TABLE `userloginaccount` ( + `UserId` int(11) NOT NULL AUTO_INCREMENT, + `Username` varchar(255) DEFAULT NULL, + `Password` varchar(255) DEFAULT NULL, + PRIMARY KEY (`UserId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Table structure for users +-- ---------------------------- +CREATE TABLE `users` ( + `UserID` int(11) NOT NULL AUTO_INCREMENT, + `Name` varchar(50) NOT NULL, + `Surname` varchar(50) NOT NULL, + `Username` varchar(50) NOT NULL COMMENT 'aka loginname', + `Password` varchar(72) NOT NULL COMMENT 'salted SHA256', + `EMail` varchar(150) NOT NULL, + `UIdent` varchar(11) NOT NULL COMMENT 'two chars used as user-identifier for document IDs', + `Level` int(11) NOT NULL DEFAULT '0' COMMENT 'binary system, not really documented yet', + PRIMARY KEY (`UserID`), + UNIQUE KEY `Name` (`Name`), + UNIQUE KEY `EMail` (`EMail`), + UNIQUE KEY `UIdent` (`UIdent`), + UNIQUE KEY `Nickname` (`Username`), + UNIQUE KEY `Login` (`Username`,`Password`) +) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for usertype +-- ---------------------------- +CREATE TABLE `usertype` ( + `userTypeId` int(11) NOT NULL AUTO_INCREMENT, + `typeName` varchar(255) DEFAULT NULL, + `Description` varchar(255) DEFAULT NULL, + PRIMARY KEY (`userTypeId`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +-- ---------------------------- +-- Records +-- ---------------------------- +INSERT INTO `contacts` VALUES ('1', 'Andrew', 'Muteka', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('2', '', '', 'u', '', '', '', '', 'DE', '', '', '', '', ''); +INSERT INTO `contacts` VALUES ('3', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('4', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('5', 'Andrew', 'Muteka', 'c', 'home', '', 'home', 'home', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('6', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('7', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('8', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('9', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('10', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('11', 'test', 'test', 'u', 'test', 'test', 'test', 'test', 'NA', '1111111', '111111', 'doriva17@gmail.com', 'www.gmail.com', 'test'); +INSERT INTO `contacts` VALUES ('12', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `contacts` VALUES ('13', 'Rendy', 'Amputu', 'm', 'home', 'home', 'home', 'home', 'NA', '1111111', '', 'amputur@gmail.com ', '', 'amputur@gmail.com '); +INSERT INTO `contacts` VALUES ('14', 'Muhepa', 'Mafo', 'm', 'here', '22', '9000', 'home', 'NA', '2546813', '', 'abc@zyx.co', '', 'test'); +INSERT INTO `countries` VALUES ('AF', 'AFGHANISTAN'); +INSERT INTO `countries` VALUES ('AX', 'ÅLAND ISLANDS'); +INSERT INTO `countries` VALUES ('AL', 'ALBANIA'); +INSERT INTO `countries` VALUES ('DZ', 'ALGERIA'); +INSERT INTO `countries` VALUES ('AS', 'AMERICAN SAMOA'); +INSERT INTO `countries` VALUES ('AD', 'ANDORRA'); +INSERT INTO `countries` VALUES ('AO', 'ANGOLA'); +INSERT INTO `countries` VALUES ('AI', 'ANGUILLA'); +INSERT INTO `countries` VALUES ('AQ', 'ANTARCTICA'); +INSERT INTO `countries` VALUES ('AG', 'ANTIGUA AND BARBUDA'); +INSERT INTO `countries` VALUES ('AR', 'ARGENTINA'); +INSERT INTO `countries` VALUES ('AM', 'ARMENIA'); +INSERT INTO `countries` VALUES ('AW', 'ARUBA'); +INSERT INTO `countries` VALUES ('AU', 'AUSTRALIA'); +INSERT INTO `countries` VALUES ('AT', 'AUSTRIA'); +INSERT INTO `countries` VALUES ('AZ', 'AZERBAIJAN'); +INSERT INTO `countries` VALUES ('BS', 'BAHAMAS'); +INSERT INTO `countries` VALUES ('BH', 'BAHRAIN'); +INSERT INTO `countries` VALUES ('BD', 'BANGLADESH'); +INSERT INTO `countries` VALUES ('BB', 'BARBADOS'); +INSERT INTO `countries` VALUES ('BY', 'BELARUS'); +INSERT INTO `countries` VALUES ('BE', 'BELGIUM'); +INSERT INTO `countries` VALUES ('BZ', 'BELIZE'); +INSERT INTO `countries` VALUES ('BJ', 'BENIN'); +INSERT INTO `countries` VALUES ('BM', 'BERMUDA'); +INSERT INTO `countries` VALUES ('BT', 'BHUTAN'); +INSERT INTO `countries` VALUES ('BO', 'BOLIVIA, PLURINATIONAL STATE OF'); +INSERT INTO `countries` VALUES ('BQ', 'BONAIRE, SINT EUSTATIUS AND SABA'); +INSERT INTO `countries` VALUES ('BA', 'BOSNIA AND HERZEGOVINA'); +INSERT INTO `countries` VALUES ('BW', 'BOTSWANA'); +INSERT INTO `countries` VALUES ('BV', 'BOUVET ISLAND'); +INSERT INTO `countries` VALUES ('BR', 'BRAZIL'); +INSERT INTO `countries` VALUES ('IO', 'BRITISH INDIAN OCEAN TERRITORY'); +INSERT INTO `countries` VALUES ('BN', 'BRUNEI DARUSSALAM'); +INSERT INTO `countries` VALUES ('BG', 'BULGARIA'); +INSERT INTO `countries` VALUES ('BF', 'BURKINA FASO'); +INSERT INTO `countries` VALUES ('BI', 'BURUNDI'); +INSERT INTO `countries` VALUES ('KH', 'CAMBODIA'); +INSERT INTO `countries` VALUES ('CM', 'CAMEROON'); +INSERT INTO `countries` VALUES ('CA', 'CANADA'); +INSERT INTO `countries` VALUES ('CV', 'CAPE VERDE'); +INSERT INTO `countries` VALUES ('KY', 'CAYMAN ISLANDS'); +INSERT INTO `countries` VALUES ('CF', 'CENTRAL AFRICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('TD', 'CHAD'); +INSERT INTO `countries` VALUES ('CL', 'CHILE'); +INSERT INTO `countries` VALUES ('CN', 'CHINA'); +INSERT INTO `countries` VALUES ('CX', 'CHRISTMAS ISLAND'); +INSERT INTO `countries` VALUES ('CC', 'COCOS (KEELING) ISLANDS'); +INSERT INTO `countries` VALUES ('CO', 'COLOMBIA'); +INSERT INTO `countries` VALUES ('KM', 'COMOROS'); +INSERT INTO `countries` VALUES ('CG', 'CONGO'); +INSERT INTO `countries` VALUES ('CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE'); +INSERT INTO `countries` VALUES ('CK', 'COOK ISLANDS'); +INSERT INTO `countries` VALUES ('CR', 'COSTA RICA'); +INSERT INTO `countries` VALUES ('CI', 'CÔTE D\'IVOIRE'); +INSERT INTO `countries` VALUES ('HR', 'CROATIA'); +INSERT INTO `countries` VALUES ('CU', 'CUBA'); +INSERT INTO `countries` VALUES ('CW', 'CURAÇAO'); +INSERT INTO `countries` VALUES ('CY', 'CYPRUS'); +INSERT INTO `countries` VALUES ('CZ', 'CZECH REPUBLIC'); +INSERT INTO `countries` VALUES ('DK', 'DENMARK'); +INSERT INTO `countries` VALUES ('DJ', 'DJIBOUTI'); +INSERT INTO `countries` VALUES ('DM', 'DOMINICA'); +INSERT INTO `countries` VALUES ('DO', 'DOMINICAN REPUBLIC'); +INSERT INTO `countries` VALUES ('EC', 'ECUADOR'); +INSERT INTO `countries` VALUES ('EG', 'EGYPT'); +INSERT INTO `countries` VALUES ('SV', 'EL SALVADOR'); +INSERT INTO `countries` VALUES ('GQ', 'EQUATORIAL GUINEA'); +INSERT INTO `countries` VALUES ('ER', 'ERITREA'); +INSERT INTO `countries` VALUES ('EE', 'ESTONIA'); +INSERT INTO `countries` VALUES ('ET', 'ETHIOPIA'); +INSERT INTO `countries` VALUES ('FK', 'FALKLAND ISLANDS (MALVINAS)'); +INSERT INTO `countries` VALUES ('FO', 'FAROE ISLANDS'); +INSERT INTO `countries` VALUES ('FJ', 'FIJI'); +INSERT INTO `countries` VALUES ('FI', 'FINLAND'); +INSERT INTO `countries` VALUES ('FR', 'FRANCE'); +INSERT INTO `countries` VALUES ('GF', 'FRENCH GUIANA'); +INSERT INTO `countries` VALUES ('PF', 'FRENCH POLYNESIA'); +INSERT INTO `countries` VALUES ('TF', 'FRENCH SOUTHERN TERRITORIES'); +INSERT INTO `countries` VALUES ('GA', 'GABON'); +INSERT INTO `countries` VALUES ('GM', 'GAMBIA'); +INSERT INTO `countries` VALUES ('GE', 'GEORGIA'); +INSERT INTO `countries` VALUES ('DE', 'GERMANY'); +INSERT INTO `countries` VALUES ('GH', 'GHANA'); +INSERT INTO `countries` VALUES ('GI', 'GIBRALTAR'); +INSERT INTO `countries` VALUES ('GR', 'GREECE'); +INSERT INTO `countries` VALUES ('GL', 'GREENLAND'); +INSERT INTO `countries` VALUES ('GD', 'GRENADA'); +INSERT INTO `countries` VALUES ('GP', 'GUADELOUPE'); +INSERT INTO `countries` VALUES ('GU', 'GUAM'); +INSERT INTO `countries` VALUES ('GT', 'GUATEMALA'); +INSERT INTO `countries` VALUES ('GG', 'GUERNSEY'); +INSERT INTO `countries` VALUES ('GN', 'GUINEA'); +INSERT INTO `countries` VALUES ('GW', 'GUINEA-BISSAU'); +INSERT INTO `countries` VALUES ('GY', 'GUYANA'); +INSERT INTO `countries` VALUES ('HT', 'HAITI'); +INSERT INTO `countries` VALUES ('HM', 'HEARD ISLAND AND MCDONALD ISLANDS'); +INSERT INTO `countries` VALUES ('VA', 'HOLY SEE (VATICAN CITY STATE)'); +INSERT INTO `countries` VALUES ('HN', 'HONDURAS'); +INSERT INTO `countries` VALUES ('HK', 'HONG KONG'); +INSERT INTO `countries` VALUES ('HU', 'HUNGARY'); +INSERT INTO `countries` VALUES ('IS', 'ICELAND'); +INSERT INTO `countries` VALUES ('IN', 'INDIA'); +INSERT INTO `countries` VALUES ('ID', 'INDONESIA'); +INSERT INTO `countries` VALUES ('IR', 'IRAN, ISLAMIC REPUBLIC OF'); +INSERT INTO `countries` VALUES ('IQ', 'IRAQ'); +INSERT INTO `countries` VALUES ('IE', 'IRELAND'); +INSERT INTO `countries` VALUES ('IM', 'ISLE OF MAN'); +INSERT INTO `countries` VALUES ('IL', 'ISRAEL'); +INSERT INTO `countries` VALUES ('IT', 'ITALY'); +INSERT INTO `countries` VALUES ('JM', 'JAMAICA'); +INSERT INTO `countries` VALUES ('JP', 'JAPAN'); +INSERT INTO `countries` VALUES ('JE', 'JERSEY'); +INSERT INTO `countries` VALUES ('JO', 'JORDAN'); +INSERT INTO `countries` VALUES ('KZ', 'KAZAKHSTAN'); +INSERT INTO `countries` VALUES ('KE', 'KENYA'); +INSERT INTO `countries` VALUES ('KI', 'KIRIBATI'); +INSERT INTO `countries` VALUES ('KP', 'KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KR', 'KOREA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('KW', 'KUWAIT'); +INSERT INTO `countries` VALUES ('KG', 'KYRGYZSTAN'); +INSERT INTO `countries` VALUES ('LA', 'LAO PEOPLE\'S DEMOCRATIC REPUBLIC'); +INSERT INTO `countries` VALUES ('LV', 'LATVIA'); +INSERT INTO `countries` VALUES ('LB', 'LEBANON'); +INSERT INTO `countries` VALUES ('LS', 'LESOTHO'); +INSERT INTO `countries` VALUES ('LR', 'LIBERIA'); +INSERT INTO `countries` VALUES ('LY', 'LIBYA'); +INSERT INTO `countries` VALUES ('LI', 'LIECHTENSTEIN'); +INSERT INTO `countries` VALUES ('LT', 'LITHUANIA'); +INSERT INTO `countries` VALUES ('LU', 'LUXEMBOURG'); +INSERT INTO `countries` VALUES ('MO', 'MACAO'); +INSERT INTO `countries` VALUES ('MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MG', 'MADAGASCAR'); +INSERT INTO `countries` VALUES ('MW', 'MALAWI'); +INSERT INTO `countries` VALUES ('MY', 'MALAYSIA'); +INSERT INTO `countries` VALUES ('MV', 'MALDIVES'); +INSERT INTO `countries` VALUES ('ML', 'MALI'); +INSERT INTO `countries` VALUES ('MT', 'MALTA'); +INSERT INTO `countries` VALUES ('MH', 'MARSHALL ISLANDS'); +INSERT INTO `countries` VALUES ('MQ', 'MARTINIQUE'); +INSERT INTO `countries` VALUES ('MR', 'MAURITANIA'); +INSERT INTO `countries` VALUES ('MU', 'MAURITIUS'); +INSERT INTO `countries` VALUES ('YT', 'MAYOTTE'); +INSERT INTO `countries` VALUES ('MX', 'MEXICO'); +INSERT INTO `countries` VALUES ('FM', 'MICRONESIA, FEDERATED STATES OF'); +INSERT INTO `countries` VALUES ('MD', 'MOLDOVA, REPUBLIC OF'); +INSERT INTO `countries` VALUES ('MC', 'MONACO'); +INSERT INTO `countries` VALUES ('MN', 'MONGOLIA'); +INSERT INTO `countries` VALUES ('ME', 'MONTENEGRO'); +INSERT INTO `countries` VALUES ('MS', 'MONTSERRAT'); +INSERT INTO `countries` VALUES ('MA', 'MOROCCO'); +INSERT INTO `countries` VALUES ('MZ', 'MOZAMBIQUE'); +INSERT INTO `countries` VALUES ('MM', 'MYANMAR'); +INSERT INTO `countries` VALUES ('NA', 'NAMIBIA'); +INSERT INTO `countries` VALUES ('NR', 'NAURU'); +INSERT INTO `countries` VALUES ('NP', 'NEPAL'); +INSERT INTO `countries` VALUES ('NL', 'NETHERLANDS'); +INSERT INTO `countries` VALUES ('NC', 'NEW CALEDONIA'); +INSERT INTO `countries` VALUES ('NZ', 'NEW ZEALAND'); +INSERT INTO `countries` VALUES ('NI', 'NICARAGUA'); +INSERT INTO `countries` VALUES ('NE', 'NIGER'); +INSERT INTO `countries` VALUES ('NG', 'NIGERIA'); +INSERT INTO `countries` VALUES ('NU', 'NIUE'); +INSERT INTO `countries` VALUES ('NF', 'NORFOLK ISLAND'); +INSERT INTO `countries` VALUES ('MP', 'NORTHERN MARIANA ISLANDS'); +INSERT INTO `countries` VALUES ('NO', 'NORWAY'); +INSERT INTO `countries` VALUES ('OM', 'OMAN'); +INSERT INTO `countries` VALUES ('PK', 'PAKISTAN'); +INSERT INTO `countries` VALUES ('PW', 'PALAU'); +INSERT INTO `countries` VALUES ('PS', 'PALESTINIAN TERRITORY, OCCUPIED'); +INSERT INTO `countries` VALUES ('PA', 'PANAMA'); +INSERT INTO `countries` VALUES ('PG', 'PAPUA NEW GUINEA'); +INSERT INTO `countries` VALUES ('PY', 'PARAGUAY'); +INSERT INTO `countries` VALUES ('PE', 'PERU'); +INSERT INTO `countries` VALUES ('PH', 'PHILIPPINES'); +INSERT INTO `countries` VALUES ('PN', 'PITCAIRN'); +INSERT INTO `countries` VALUES ('PL', 'POLAND'); +INSERT INTO `countries` VALUES ('PT', 'PORTUGAL'); +INSERT INTO `countries` VALUES ('PR', 'PUERTO RICO'); +INSERT INTO `countries` VALUES ('QA', 'QATAR'); +INSERT INTO `countries` VALUES ('RE', 'RÉUNION'); +INSERT INTO `countries` VALUES ('RO', 'ROMANIA'); +INSERT INTO `countries` VALUES ('RU', 'RUSSIAN FEDERATION'); +INSERT INTO `countries` VALUES ('RW', 'RWANDA'); +INSERT INTO `countries` VALUES ('BL', 'SAINT BARTHÉLEMY'); +INSERT INTO `countries` VALUES ('SH', 'SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA'); +INSERT INTO `countries` VALUES ('KN', 'SAINT KITTS AND NEVIS'); +INSERT INTO `countries` VALUES ('LC', 'SAINT LUCIA'); +INSERT INTO `countries` VALUES ('MF', 'SAINT MARTIN (FRENCH PART)'); +INSERT INTO `countries` VALUES ('PM', 'SAINT PIERRE AND MIQUELON'); +INSERT INTO `countries` VALUES ('VC', 'SAINT VINCENT AND THE GRENADINES'); +INSERT INTO `countries` VALUES ('WS', 'SAMOA'); +INSERT INTO `countries` VALUES ('SM', 'SAN MARINO'); +INSERT INTO `countries` VALUES ('ST', 'SAO TOME AND PRINCIPE'); +INSERT INTO `countries` VALUES ('SA', 'SAUDI ARABIA'); +INSERT INTO `countries` VALUES ('SN', 'SENEGAL'); +INSERT INTO `countries` VALUES ('RS', 'SERBIA'); +INSERT INTO `countries` VALUES ('SC', 'SEYCHELLES'); +INSERT INTO `countries` VALUES ('SL', 'SIERRA LEONE'); +INSERT INTO `countries` VALUES ('SG', 'SINGAPORE'); +INSERT INTO `countries` VALUES ('SX', 'SINT MAARTEN (DUTCH PART)'); +INSERT INTO `countries` VALUES ('SK', 'SLOVAKIA'); +INSERT INTO `countries` VALUES ('SI', 'SLOVENIA'); +INSERT INTO `countries` VALUES ('SB', 'SOLOMON ISLANDS'); +INSERT INTO `countries` VALUES ('SO', 'SOMALIA'); +INSERT INTO `countries` VALUES ('ZA', 'SOUTH AFRICA'); +INSERT INTO `countries` VALUES ('GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'); +INSERT INTO `countries` VALUES ('SS', 'SOUTH SUDAN'); +INSERT INTO `countries` VALUES ('ES', 'SPAIN'); +INSERT INTO `countries` VALUES ('LK', 'SRI LANKA'); +INSERT INTO `countries` VALUES ('SD', 'SUDAN'); +INSERT INTO `countries` VALUES ('SR', 'SURINAME'); +INSERT INTO `countries` VALUES ('SJ', 'SVALBARD AND JAN MAYEN'); +INSERT INTO `countries` VALUES ('SZ', 'SWAZILAND'); +INSERT INTO `countries` VALUES ('SE', 'SWEDEN'); +INSERT INTO `countries` VALUES ('CH', 'SWITZERLAND'); +INSERT INTO `countries` VALUES ('SY', 'SYRIAN ARAB REPUBLIC'); +INSERT INTO `countries` VALUES ('TW', 'TAIWAN, PROVINCE OF CHINA'); +INSERT INTO `countries` VALUES ('TJ', 'TAJIKISTAN'); +INSERT INTO `countries` VALUES ('TZ', 'TANZANIA, UNITED REPUBLIC OF'); +INSERT INTO `countries` VALUES ('TH', 'THAILAND'); +INSERT INTO `countries` VALUES ('TL', 'TIMOR-LESTE'); +INSERT INTO `countries` VALUES ('TG', 'TOGO'); +INSERT INTO `countries` VALUES ('TK', 'TOKELAU'); +INSERT INTO `countries` VALUES ('TO', 'TONGA'); +INSERT INTO `countries` VALUES ('TT', 'TRINIDAD AND TOBAGO'); +INSERT INTO `countries` VALUES ('TN', 'TUNISIA'); +INSERT INTO `countries` VALUES ('TR', 'TURKEY'); +INSERT INTO `countries` VALUES ('TM', 'TURKMENISTAN'); +INSERT INTO `countries` VALUES ('TC', 'TURKS AND CAICOS ISLANDS'); +INSERT INTO `countries` VALUES ('TV', 'TUVALU'); +INSERT INTO `countries` VALUES ('UG', 'UGANDA'); +INSERT INTO `countries` VALUES ('UA', 'UKRAINE'); +INSERT INTO `countries` VALUES ('AE', 'UNITED ARAB EMIRATES'); +INSERT INTO `countries` VALUES ('GB', 'UNITED KINGDOM'); +INSERT INTO `countries` VALUES ('US', 'UNITED STATES'); +INSERT INTO `countries` VALUES ('UM', 'UNITED STATES MINOR OUTLYING ISLANDS'); +INSERT INTO `countries` VALUES ('UY', 'URUGUAY'); +INSERT INTO `countries` VALUES ('UZ', 'UZBEKISTAN'); +INSERT INTO `countries` VALUES ('VU', 'VANUATU'); +INSERT INTO `countries` VALUES ('VE', 'VENEZUELA, BOLIVARIAN REPUBLIC OF'); +INSERT INTO `countries` VALUES ('VN', 'VIET NAM'); +INSERT INTO `countries` VALUES ('VG', 'VIRGIN ISLANDS, BRITISH'); +INSERT INTO `countries` VALUES ('VI', 'VIRGIN ISLANDS, U.S.'); +INSERT INTO `countries` VALUES ('WF', 'WALLIS AND FUTUNA'); +INSERT INTO `countries` VALUES ('EH', 'WESTERN SAHARA'); +INSERT INTO `countries` VALUES ('YE', 'YEMEN'); +INSERT INTO `countries` VALUES ('ZM', 'ZAMBIA'); +INSERT INTO `countries` VALUES ('ZW', 'ZIMBABWE'); +INSERT INTO `items` VALUES ('AD_0001', 'children', 'test', 'children', '2019-08-08', '6', '12', '1', '2019-03-08', 'd55b9a442886c5e05678754320d27cdff8a8e96439d4877d6dd623d10fdbe541', '1'); +INSERT INTO `items` VALUES ('AD_0002', 'PDF test', 'PDF test', 'pdf file', '2019-03-08', '1', '12', '1', '2019-03-08', '70ecb628ada069214ab8ff5e9f368fc7c3b86073c5d8259e5349921b98e2f854', '1'); +INSERT INTO `items` VALUES ('AD_0003', 'project plan', 'project plan', 'project plan', '2019-03-09', '12', '6', '1', '2019-03-09', '1fb7c63c18a2ee28320510cce7e83908fef19f70a1501e5ce1d8834cdc2599ba', '1'); +INSERT INTO `items` VALUES ('AD_0004', 'Sonic', 'Sonic and Tails', 'project plan', '2019-03-10', '1', '6', '1', '2019-03-10', '5df5107d71b5eeab44a3bb87daa7c4a54f7f3b6f64209492d2fde2039554df37', '1'); +INSERT INTO `items` VALUES ('AD_0005', 'character_wallpaper_tails - Copy.png', '', 'something else', '2019-03-11', '12', '12', '1', '2019-03-11', 'c6fe184d653276954aced1d3f1545ab8c1f6cdc0a99c109acc5ab77d74552b49', '1'); +INSERT INTO `roles` VALUES ('1', 'admin'); +INSERT INTO `roles` VALUES ('2', 'moderator'); +INSERT INTO `roles` VALUES ('3', 'supervisor'); +INSERT INTO `roles` VALUES ('4', 'coordinator'); +INSERT INTO `roles` VALUES ('5', 'student'); +INSERT INTO `student` VALUES ('1', '200608444', 'Andrew', 'Muteka', 'male', 'Software Development'); +INSERT INTO `tags` VALUES ('1', 'AD_0001', 'children'); +INSERT INTO `tags` VALUES ('2', 'AD_0001', 'book'); +INSERT INTO `users` VALUES ('1', 'admin', 'admin', 'admin', '3469b67ebf2b71177c3fdb9da2c3fb0e0dec73a9e9a7e3e3516f6ba4813e52dc3f283c57', 'doriva17@gmail.com', 'AD', '1'); +INSERT INTO `users` VALUES ('11', 'Mike', 'Mike', 'mike', '2e7c142bbf94a9986206222a269ff3c7a660fdb7fd3ab7a0d5258339a1b9c0bc80a5970c', 'mike@abc.com', 'mi', '2'); +INSERT INTO `users` VALUES ('10', 'Andrew', 'Andrew', 'Andrew', '05cbb39769ed982e1f7c54d7f6c15fcc7a5e24d1026c796e72cec018d465d0e8c6dbc652', 'Andrew@abc.com', 'kk', '1'); +INSERT INTO `users` VALUES ('9', 'aj', 'aj', 'aj', '1a661b7d4e0c89eb66bc17e05a75b5d46522d7d8f6543a41f4f6f4995689b094b594da69', 'aj', 'aj', '255'); +INSERT INTO `users` VALUES ('12', 'Peter', 'Peter', 'Peter', '1ff93a32e9e764f4a2a00ae9b0d954e2d227d7f30ec8a16f489319fe5fd89acf7f8aca53', 'Peter', 'pe', '5'); diff --git a/doc/config.php b/doc/config.php new file mode 100644 index 0000000..9919e6e --- /dev/null +++ b/doc/config.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/doc/config.php.tmp b/doc/config.php.tmp new file mode 100644 index 0000000..e69de29 diff --git a/doc/setup-debian8.sh b/doc/setup-debian8.sh index 5111e76..e40203b 100644 --- a/doc/setup-debian8.sh +++ b/doc/setup-debian8.sh @@ -1,9 +1,9 @@ #!/bin/bash -#Voraussetzungen aus Paketquellen Installieren +#Prerequisites from Package Sources Install apt-get update apt-get install mariadb-server mariadb-client apache2 imagemagick tesseract-ocr tesseract-ocr-deu poppler-utils git apt-transport-https -# "root"-Passwort für MySQL/MariaDB setzen (und merken) +# "root"-Set password for MySQL / MariaDB (and remember) #PHP7 echo 'deb http://packages.dotdeb.org jessie all' > /etc/apt/sources.list.d/dotdeb.list @@ -11,7 +11,7 @@ curl http://www.dotdeb.org/dotdeb.gpg | apt-key add - apt-get update apt-get install php7.0 php7.0-cli php7.0-mysql php7.0-gd libapache2-mod-php7.0 php7.0-opcache php7.0-zip -#PHP konfigurieren +#PHP configuration phpenmod gd phpenmod mysqli phpenmod opcache @@ -20,22 +20,22 @@ sed -e "s/memory_limit = 128M/memory_limit = 512M/g" /etc/php/7.0/apache2/php.in sed -e "s/memory_limit = 128M/memory_limit = 512M/g" /etc/php/7.0/cli/php.ini > /etc/php/7.0/cli/php.ini.tmp && mv /etc/php/7.0/cli/php.ini.tmp /etc/php/7.0/cli/php.ini systemctl restart apache2.service -#Composer ist bisher nur in Testing vorhanden, daher installieren wir nun manuell +#Composer is only available in testing, so we install manually now pushd /tmp wget -O - "https://gist.githubusercontent.com/adlerweb/b63784bd859e63ac0bbd8ea85ec161da/raw/54ae771120880364df75141f9d5c39bd82439a4c/composersetup.sh" | sh mv composer.phar /usr/local/bin/composer popd -#AdAr Herunterladen +#AdAr download install -o www-data -d /var/www/html/adar/ pushd /var/www/html/adar su -s $SHELL -c 'git clone https://github.com/adlerweb/adar.git .' www-data -#Abhängigkeiten installieren +#Dependencies install install -o www-data -d /var/www/.composer/ su -s $SHELL -c 'composer install' www-data -#MySQL/MariaDB einrichten +#MySQL/MariaDB set up read -s -p "Database root password? " sqlroot echo sqlpw=$(base64 /dev/urandom | tr -d '/+' | dd bs=32 count=1 2>/dev/null) @@ -50,17 +50,17 @@ echo "$sql" | mysql -uroot -p"$sqlroot" unset sqlroot unset sql -#Konfiguration anpassen +#configuration to adjust sed -e "s/testinstallation/$sqlpw/g" config.php > config.php.tmp && mv config.php.tmp config.php -read -p "Absendeadresse für E-Mails? [ADAR ] " cfgtmp +read -p "Sender address for e-mails? [ADAR ] " cfgtmp echo if [[ -z "${cfgtmp// }" ]] ;then cfgtmp="ADAR " fi sed -e "s/ADAR /$cfgtmp/g" config.php > config.php.tmp && mv config.php.tmp config.php -read -p "E-Mail für Benachrichtigung bei Neuanlagen? (Leer = Keine Infomail) " cfgtmp +read -p "E-mail for notification of new installations? (Blank = No info mail) " cfgtmp echo if [[ ! -z "${cfgtmp// }" ]] ;then sed -e "s/''/'$cfgtmp'/g" config.php > config.php.tmp && mv config.php.tmp config.php @@ -68,8 +68,8 @@ fi unset cfgtmp -# Admin-Passwort festlegen -read -s -p "Passwort für admin? " cfgtmp +# Set admin password +read -s -p "Password for admin? " cfgtmp echo cfgtmp=$(echo "session_getNewPasswordHash("$cfgtmp"); ?>" | php 2>/dev/null) @@ -77,15 +77,15 @@ cfgtmp=$(echo " /var/log/adar.cron.log' > /etc/cron.d/adar +#Cronjob set up C:\xampp\htdocs\DMS +echo '*/5 * * * * /usr/bin/php -f /C/xampp/htdocs/DMS/cron.php > /var/log/adar.cron.log' > /etc/cron.d/adar #Done popd -echo Setup abgeschlossen +echo Setup completed diff --git a/index.php b/index.php index 684ca92..3cb47fb 100644 --- a/index.php +++ b/index.php @@ -8,6 +8,8 @@ * @package adar * @author Florian Knodt */ +ini_set('error_reporting', E_ALL); +ini_set('display_errors', true); if(!file_exists('config.php') ||!is_readable('config.php')) { die('Missing configuration'); diff --git a/lib/func.php b/lib/func.php index d4090fd..0eb23c6 100644 --- a/lib/func.php +++ b/lib/func.php @@ -24,76 +24,85 @@ function __construct($prefix = 'tpl') { $GLOBALS['adlerweb']['tpl'] = $GLOBALS['adlerweb']['tpl_wrapper']->s; } -// Browsersprache ermitteln -// Quelle: http://aktuell.de.selfhtml.org/artikel/php/httpsprache/ +// Determine browser language +// Those: http://aktuell.de.selfhtml.org/artikel/php/httpsprache/ function lang_getfrombrowser ($allowed_languages, $default_language, $lang_variable = null, $strict_mode = true) { - // $_SERVER['HTTP_ACCEPT_LANGUAGE'] verwenden, wenn keine Sprachvariable mitgegeben wurde + // $_SERVER['HTTP_ACCEPT_LANGUAGE'] use if no language variable was specified if ($lang_variable === null) { $lang_variable = $_SERVER['HTTP_ACCEPT_LANGUAGE']; } - // wurde irgendwelche Information mitgeschickt? + // was any information sent? if (empty($lang_variable)) { - // Nein? => Standardsprache zur�ckgeben + // No=> Return standard language return $default_language; } - // Den Header auftrennen + // Split the header $accepted_languages = preg_split('/,\s*/', $lang_variable); - // Die Standardwerte einstellen + // Set the default values $current_lang = $default_language; $current_q = 0; - // Nun alle mitgegebenen Sprachen abarbeiten + // Now complete all given languages foreach ($accepted_languages as $accepted_language) { - // Alle Infos �ber diese Sprache rausholen + // Get all info about this language $res = preg_match ('/^([a-z]{1,8}(?:-[a-z]{1,8})*)'. '(?:;\s*q=(0(?:\.[0-9]{1,3})?|1(?:\.0{1,3})?))?$/i', $accepted_language, $matches); - // war die Syntax g�ltig? + // was the syntax valid? if (!$res) { - // Nein? Dann ignorieren + // No? Then ignore it continue; } - // Sprachcode holen und dann sofort in die Einzelteile trennen + // Get language code and then immediately split into the items $lang_code = explode ('-', $matches[1]); - // Wurde eine Qualit�t mitgegeben? + // Was a quality given? if (isset($matches[2])) { - // die Qualit�t benutzen + // to use the quality $lang_quality = (float)$matches[2]; } else { - // Kompabilit�tsmodus: Qualit�t 1 annehmen + // Compatibility mode: accept quality 1 $lang_quality = 1.0; } - // Bis der Sprachcode leer ist... + // Until the language code is empty ... while (count ($lang_code)) { - // mal sehen, ob der Sprachcode angeboten wird + // Let's see if the language code is offered if (in_array (strtolower (join ('-', $lang_code)), $allowed_languages)) { - // Qualit�t anschauen + // Look at quality if ($lang_quality > $current_q) { - // diese Sprache verwenden + // use this language $current_lang = strtolower (join ('-', $lang_code)); $current_q = $lang_quality; - // Hier die innere while-Schleife verlassen + // Here leave the inner while loop break; } } - // Wenn wir im strengen Modus sind, die Sprache nicht versuchen zu minimalisieren + // If we are in strict mode, do not try to minimize the language if ($strict_mode) { - // innere While-Schleife aufbrechen + // break inside while loop break; } - // den rechtesten Teil des Sprachcodes abschneiden + // cut off the most right part of the language code array_pop ($lang_code); } } - // die gefundene Sprache zur�ckgeben + // to return the found language return $current_lang; } +// fucntion to check if email is valid +function checkemail($email2){ + +if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email2)) +return true; +else +return false; + +} ?> diff --git a/lib/liveforms.js b/lib/liveforms.js index 472110a..a2938b3 100644 --- a/lib/liveforms.js +++ b/lib/liveforms.js @@ -44,7 +44,7 @@ function dynReqBlurReal(id) { target.innerHTML=''; } -//Nötig da onblur vor dem anklicken eines links im infokasten ausgeführt wird +//Necessary on onblur before clicking on a left in the info box is executed function dynReqBlur(req) { setTimeout("dynReqBlurReal('"+req.id+'_hint'+"')",250); } @@ -52,7 +52,7 @@ function dynReqBlur(req) { -//Spart Schreibarbeit… +//Saves paperwork ... function formInit() { var inputs=document.getElementsByTagName("input"); for(var i=0;i<=inputs.length;i++){ diff --git a/lib/liveforms.php b/lib/liveforms.php index 6228d3a..2b9b53e 100644 --- a/lib/liveforms.php +++ b/lib/liveforms.php @@ -2,7 +2,7 @@ /** * DiFlAS - Digitales Flachgut-Archiv Saffig * - * System zur Archivierung von Fotos und Dokumenten + * System for archiving photos and documents * * @package diflas * @author Florian "adlerweb" Knodt @@ -14,11 +14,11 @@ require_once('../vendor/adlerweb/awtools/session.php'); if(!isset($_GET['q']) || !isset($_GET['m'])) { - die('Fehler…'); + die('Error…'); } if(!$GLOBALS['adlerweb']['session']->session_isloggedin()) { - die('Bitte anmelden…'); + die('Please login…'); } $q=urldecode($_GET['q']); @@ -60,7 +60,7 @@ echo json_encode($out); exit(); default: - die('Fehler…'); + die('Error…'); } ?> diff --git a/lib/module/contact_create.inc.php b/lib/module/contact_create.inc.php index c6cea28..2522f9d 100644 --- a/lib/module/contact_create.inc.php +++ b/lib/module/contact_create.inc.php @@ -7,7 +7,7 @@ $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Sie haben nicht die nötigen Rechte um neue Kontakte zu erfassen.'.$back); }elseif(isset($_REQUEST['a']) - && $_REQUEST['a'] == 'Erfassen' + && $_REQUEST['a'] == 'To capture' && isset($_REQUEST['id']) && isset($_REQUEST['FamilyName']) && isset($_REQUEST['GivenName']) @@ -80,12 +80,13 @@ $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Es ist ein Datenbankfehler aufgetreten #103.'.$back); }else{ - //$back2=''; + + $back2=''; $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('titel', 'Kontakt erfolgreich erfasst!'); $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Der Kontakt wurde erfolgreich in die Datenbank übernommen.'); $GLOBALS['adlerweb']['tpl']->assign('errico', 'information'); - infomail("Neuer Kontakt AdAr", print_r($_REQUEST, true)); + infomail("New contact AdAr", print_r($_REQUEST, true)); } }else{ $clist = $GLOBALS['adlerweb']['sql']->query("SELECT Alpha2, Name FROM Countries;"); @@ -119,7 +120,7 @@ } if(!isset($details['Country']) || $details['Country'] == '') { - $lang = strtoupper(lang_getfrombrowser ($allowed, 'de', null, false)); + $lang = strtoupper(lang_getfrombrowser ($allowed, 'na', null, false)); }else{ $lang = $details['Country']; } diff --git a/lib/module/content_create.inc.php b/lib/module/content_create.inc.php index 818fcd8..5801bc6 100644 --- a/lib/module/content_create.inc.php +++ b/lib/module/content_create.inc.php @@ -1,6 +1,6 @@ « Zurück «'; +$back=''; if(!$GLOBALS['adlerweb']['session']->session_isloggedin()) { $GLOBALS['adlerweb']['tpl']->assign('titel', 'Keine Berechtigung'); @@ -30,7 +30,7 @@ $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Die angegebene Datei ist kein Bild oder in einem unbekannten Format. ('.$mime.')'.$back); }elseif(!@move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) { - $GLOBALS['adlerweb']['tpl']->assign('titel', 'Fehler bei der Erfassung'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Error in the capture'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Es ist ein unbekannter Fehler bei der Erfassung aufgetreten. Bitte kontaktieren sie den Betreiber.'.$back); }else{ @@ -90,7 +90,7 @@ } } } -}elseif(isset($_REQUEST['a']) && $_REQUEST['a'] == 'Erfassen' && isset($_REQUEST['SHA256']) && isset($_REQUEST['ItemID'])) { +}elseif(isset($_REQUEST['a']) && $_REQUEST['a'] == 'To capture' && isset($_REQUEST['SHA256']) && isset($_REQUEST['ItemID'])) { $source_path = "data/tmp/"; $source_path .= $_REQUEST['SHA256']; $target_path = "data/org/"; @@ -182,7 +182,7 @@ $GLOBALS['adlerweb']['tpl']->assign('titel', 'Archivgut erfolgreich erfasst!'); $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Das Archivgut wurde erfolgreich in die Datenbank übernommen.'.$back2); $GLOBALS['adlerweb']['tpl']->assign('errico', 'information'); - infomail("Neues Archivgut AdAR", $_REQUEST['Caption']); + infomail("New Archive AdAR", $_REQUEST['Caption']); } } } diff --git a/lib/module/content_detail.inc.php b/lib/module/content_detail.inc.php index 38effd6..81dce31 100644 --- a/lib/module/content_detail.inc.php +++ b/lib/module/content_detail.inc.php @@ -1,14 +1,14 @@ session_isloggedin()) { - $GLOBALS['adlerweb']['tpl']->assign('titel', 'Keine Berechtigung'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Sie haben nicht die nötigen Rechte um diese Seite aufzurufen.'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You do not have the required rights to access this page.'); }else{ if(!isset($_GET['id']) || !preg_match('/^[A-Z]{2}_[0-9]{4}$/', $_GET['id'])) { - $GLOBALS['adlerweb']['tpl']->assign('titel', 'Keine Einträge'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No entries'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errico', 'exclamation'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'In unserem Archiv befinden sich keine Einträge, welche ihren Suchkriterien entsprechen.'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There are no entries in our archive that match your search criteria.'); }else{ $id=$_GET['id']; $sqlq="SELECT @@ -29,15 +29,15 @@ $sqlq.=" LIMIT 1;"; $detail=$GLOBALS['adlerweb']['sql']->querystmt_single($sqlq, 's', $id); if(!$detail) { - $GLOBALS['adlerweb']['tpl']->assign('titel', 'Keine Einträge'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errico', 'exclamation'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'In unserem Archiv befinden sich keine Einträge, welche ihren Suchkriterien entsprechen.'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There are no entries in our archive that match your search criteria.'); }elseif(!file_exists('data/cache/'.$id.'.png') && !file_exists('data/cache/'.$id.'-0.png')) { - $GLOBALS['adlerweb']['tpl']->assign('titel', 'Datenfehler'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Data Error'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errico', 'exclamation'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Der Datensatz ist korrupt'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'The record is corrupt'); }else{ if(isset($_REQUEST['action']) && $_REQUEST['action'] == 'addtag' && $GLOBALS['adlerweb']['session']->session_isloggedin()) { if(!isset($_REQUEST['tag'])) { @@ -48,7 +48,7 @@ http_response_code(400); die(); } - infomail("Neuer Tag Bild ".$detail['ItemID'], $_REQUEST['tag']); + infomail("New day picture ".$detail['ItemID'], $_REQUEST['tag']); http_response_code(200); echo '[]'; die(); @@ -57,7 +57,7 @@ http_response_code(400); die(); } - infomail("Tag geloescht Bild ".$detail['ItemID'], $_REQUEST['tag']); + infomail("Tag deleted image ".$detail['ItemID'], $_REQUEST['tag']); http_response_code(200); echo '[]'; die(); diff --git a/lib/module/content_list.inc.php b/lib/module/content_list.inc.php index 1250a0d..82a6c71 100644 --- a/lib/module/content_list.inc.php +++ b/lib/module/content_list.inc.php @@ -5,7 +5,8 @@ $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Sie haben nicht die nötigen Rechte um diese Seite aufzurufen.'); }else{ - $titel = 'Listenansicht'; + + $titel = 'List View'; //list view $GLOBALS['adlerweb']['tpl']->assign('titel', $titel); $GLOBALS['adlerweb']['tpl']->assign('modul', 'content_list_boot'); diff --git a/lib/module/error.inc.php b/lib/module/error.inc.php index 1e42e36..32dac11 100644 --- a/lib/module/error.inc.php +++ b/lib/module/error.inc.php @@ -1,6 +1,6 @@ assign('titel', 'Systemfehler'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'System Error'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Modul nicht gefunden'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Module not found'); ?> diff --git a/lib/module/paper_create.inc.php b/lib/module/paper_create.inc.php new file mode 100644 index 0000000..2db6faa --- /dev/null +++ b/lib/module/paper_create.inc.php @@ -0,0 +1,119 @@ +« For navigation use «'; + +if(!$GLOBALS['adlerweb']['session']->session_isloggedin()) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You do not have the required rights to upload new papers.'.$back); +}elseif(isset($_REQUEST['a']) + && $_REQUEST['a'] == 'To capture' + && isset($_REQUEST['id']) + + && isset($_REQUEST['Dateupload']) + && isset($_REQUEST['DateModerated']) + && isset($_REQUEST['lecturerID']) + && isset($_REQUEST['ModeratorID']) + && isset($_REQUEST['StudentID']) + && isset($_REQUEST['CoordinatorID']) + && isset($_REQUEST['clusterID']) + && isset($_REQUEST['publishStatus']) +) { + if($_REQUEST['id'] == '0' + && !$GLOBALS['adlerweb']['sql']->querystmt("INSERT INTO papers VALUES ('', ?, ?, ?, ?, ?, ? )", str_repeat('s', 8), array( + $_REQUEST['Dateupload'], + $_REQUEST['DateModerated'], + $_REQUEST['lecturerID'], + $_REQUEST['ModeratorID'], + $_REQUEST['StudentID'], + $_REQUEST['CoordinatorID'], + $_REQUEST['clusterID'], + $_REQUEST['publishStatus'], + + )) + ) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Can not capture'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There was a database error # 103.'.$back); + }elseif($_REQUEST['id'] != '0' && !$GLOBALS['adlerweb']['sql']->querystmt("UPDATE papers SET + + `Dateupload` = ?, + `DateModerated` = ?, + `lecturerID` = ?, + `ModeratorID` = ?, + `StudentID` = ?, + `CoordinatorID` = ?, + `clusterID` = ?, + `publishStatus` = ?, + WHERE UserID = ?", + str_repeat('s', 8).'i', + array( + $_REQUEST['Dateupload'], + $_REQUEST['DateModerated'], + $_REQUEST['lecturerID'], + $_REQUEST['ModeratorID'], + $_REQUEST['StudentID'], + $_REQUEST['CoordinatorID'], + $_REQUEST['clusterID'], + $_REQUEST['publishStatus'], + + $_REQUEST['id'] + ) + )) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Refresh not possible'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There was a database error # 103.'.$back); + }else{ + + $back2=''; + + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'User successfully recorded!'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'The user has been successfully transferred to the database. '.$back2); + $GLOBALS['adlerweb']['tpl']->assign('errico', 'information'); + infomail("New user AdAr", print_r($_REQUEST, true)); + } +}else{ + $clist = $GLOBALS['adlerweb']['sql']->query("SELECT Alpha2, Name FROM Countries;"); + $countries = array(); + $allowed = array(); + while($item = $clist->fetch_assoc()) { + $countries[]=$item; + $allowed[]=strtolower($item['Alpha2']); + } + + $dummy = array( + + 'Dateupload' => '', + 'DateModerated' => '', + 'lecturerID' => '', + 'ModeratorID' => '', + 'StudentID' => '', + 'CoordinatorID' => '', + 'clusterID' => '', + 'publishStatus' => '', + 'PaperID' => 0 + + ); + + $details = $dummy; + if(isset($_REQUEST['id'])) { + + $details = $GLOBALS['adlerweb']['sql']->querystmt_single("SELECT * FROM papers WHERE `paperID` = ?;", 'i', $_REQUEST['id']); + + } + + if(!isset($details['Country']) || $details['Country'] == '') { + $lang = strtoupper(lang_getfrombrowser ($allowed, 'na', null, false)); + }else{ + $lang = $details['Country']; + } + + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Paper Information'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'paper_create_form'); + $GLOBALS['adlerweb']['tpl']->assign('menue', 'paper_create'); + $GLOBALS['adlerweb']['tpl']->assign('countries', $countries); + $GLOBALS['adlerweb']['tpl']->assign('details', $details); + $GLOBALS['adlerweb']['tpl']->assign('lang', $lang); +} +?> diff --git a/lib/module/paper_list.inc.php b/lib/module/paper_list.inc.php new file mode 100644 index 0000000..8100fbf --- /dev/null +++ b/lib/module/paper_list.inc.php @@ -0,0 +1,23 @@ +session_isloggedin()) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You do not have the required rights to access this page.'); +}else{ + $titel = 'Paper List'; //list view + + + $GLOBALS['adlerweb']['tpl']->assign('titel', $titel); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'paper_list'); + $GLOBALS['adlerweb']['tpl']->assign('menue', 'paper_list'); + +} + + function getUsers() { + //if(!preg_match("|^(.+), ([^,]*)$|", $name, $match)) return false; + $detail=$GLOBALS['adlerweb']['sql']->query("SELECT UserID, Name, Nickname, EMail, Level, UIdent FROM users"); + if(!$detail) return false; + return $detail; +} +?> diff --git a/lib/module/session_login.inc.php b/lib/module/session_login.inc.php index 347ea1d..f324b3e 100644 --- a/lib/module/session_login.inc.php +++ b/lib/module/session_login.inc.php @@ -1,26 +1,27 @@ assign('titel', 'Anmelden'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Log In'); $GLOBALS['adlerweb']['tpl']->assign('menue', 'session_login'); - $back=''; - $back2=''; + + $back=''; + $back2=''; if($GLOBALS['adlerweb']['session']->session_isloggedin()) { - $GLOBALS['adlerweb']['tpl']->assign('titel', 'Anmeldefehler'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'login error'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Sie sind bereits als '.htmlentities($_SESSION['adlerweb']['session']['user']).' angemeldet.'.$back); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You are already registered as '.htmlentities($_SESSION['adlerweb']['session']['user']).'. '.$back); }elseif(isset($_SESSION['adlerweb']['session']['retrytime']) && $_SESSION['adlerweb']['session']['retrytime'] > time()) { $left=ceil(($_SESSION['adlerweb']['session']['retrytime']-time())/60); - $GLOBALS['adlerweb']['tpl']->assign('titel', 'Anmeldefehler'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'login error'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Sie haben zu oft fehlerhafte Zugangsdaten eingegeben! Bitte versuchen sie es in '.$left.' Minute(n) erneut!'.$back); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You have entered incorrect access data too often! Please try it in'.$left.' Minute(n) again!'.$back); }elseif(isset($_POST['user']) && isset($_POST['pass']) && $_POST['user'] != '' && $_POST['pass'] != '') { if($GLOBALS['adlerweb']['session']->session_login($_POST['user'], $_POST['pass'])) { $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Sie wurden erfolgreich angemeldet!'.$back2); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You have been successfully registered!'.$back2); $GLOBALS['adlerweb']['tpl']->assign('errico', 'information'); }else{ $GLOBALS['adlerweb']['tpl']->assign('modul', 'session_login_form'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Die Anmeldedaten waren nicht korrekt!'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'The credentials were incorrect!'); } }else{ $GLOBALS['adlerweb']['tpl']->assign('modul', 'session_login_form'); diff --git a/lib/module/session_logout.inc.php b/lib/module/session_logout.inc.php index cf08cf1..eeb425d 100644 --- a/lib/module/session_logout.inc.php +++ b/lib/module/session_logout.inc.php @@ -2,7 +2,9 @@ $GLOBALS['adlerweb']['session']->session_logout(); $GLOBALS['adlerweb']['tpl']->assign('titel', 'Logout erfolgreich'); $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); - $GLOBALS['adlerweb']['tpl']->assign('errstr', 'Sie wurden erfolgreich abgemeldet'); + + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You are successfully logout'); + $GLOBALS['adlerweb']['tpl']->assign('errico', 'information'); $GLOBALS['adlerweb']['tpl']->assign('menue', 'session_logout'); ?> diff --git a/lib/module/student_create.inc.php b/lib/module/student_create.inc.php new file mode 100644 index 0000000..fd3bef3 --- /dev/null +++ b/lib/module/student_create.inc.php @@ -0,0 +1,95 @@ +« For navigation use «'; + +if(!$GLOBALS['adlerweb']['session']->session_isloggedin()) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You do not have the required rights to enter new student.'.$back); +}elseif(isset($_REQUEST['a']) + && $_REQUEST['a'] == 'To capture' + && isset($_REQUEST['id']) + && isset($_REQUEST['studentNumber']) + && isset($_REQUEST['firstName']) + && isset($_REQUEST['surname']) + && isset($_REQUEST['gender']) + && isset($_REQUEST['course']) +) { + if($_REQUEST['id'] == '0' + && !$GLOBALS['adlerweb']['sql']->querystmt("INSERT INTO student VALUES ('', ?, ?, ?, ?, ? )", str_repeat('s', 5), array( + $_REQUEST['studentNumber'], + $_REQUEST['firstName'], + $_REQUEST['surname'], + $_REQUEST['gender'], + $_REQUEST['course'], + )) + ) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Can not capture'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There was a database error # 103.'.$back); + }elseif($_REQUEST['id'] != '0' && !$GLOBALS['adlerweb']['sql']->querystmt("UPDATE student SET + `studentNumber` = ?, + `firstName` = ?, + `surname` = ?, + `gender` = ?, + `course` = ?, + WHERE studentID = ?", + str_repeat('s', 5).'i', + array( + $_REQUEST['studentNumber'], + $_REQUEST['firstName'], + $_REQUEST['surname'], + $_REQUEST['gender'], + $_REQUEST['course'], + $_REQUEST['id'] + ) + )) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Refresh not possible'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There was a database error # 103.'.$back); + }else{ + $back2=''; + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'student successfully recorded!'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'The student has been successfully transferred to the database. '.$back2); + $GLOBALS['adlerweb']['tpl']->assign('errico', 'information'); + infomail("New student AdAr", print_r($_REQUEST, true)); + } +}else{ + $clist = $GLOBALS['adlerweb']['sql']->query("SELECT Alpha2, Name FROM Countries;"); + $countries = array(); + $allowed = array(); + while($item = $clist->fetch_assoc()) { + $countries[]=$item; + $allowed[]=strtolower($item['Alpha2']); + } + + $dummy = array( + 'studentNumber' => '', + 'firstName' => '', + 'surname' => '', + 'gender' => '', + 'course' => '', + 'studentID' => 0 + ); + + $details = $dummy; + if(isset($_REQUEST['id'])) { + echo "andrew "; + $details = $GLOBALS['adlerweb']['sql']->querystmt_single("SELECT * FROM student WHERE `studentID` = ?;", 'i', $_REQUEST['id']); + } + + if(!isset($details['Country']) || $details['Country'] == '') { + $lang = strtoupper(lang_getfrombrowser ($allowed, 'na', null, false)); + }else{ + $lang = $details['Country']; + } + + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Student Information'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'student_create_form'); + $GLOBALS['adlerweb']['tpl']->assign('menue', 'student_create'); + $GLOBALS['adlerweb']['tpl']->assign('countries', $countries); + $GLOBALS['adlerweb']['tpl']->assign('details', $details); + $GLOBALS['adlerweb']['tpl']->assign('lang', $lang); +} +?> diff --git a/lib/module/student_list.inc.php b/lib/module/student_list.inc.php new file mode 100644 index 0000000..5647b68 --- /dev/null +++ b/lib/module/student_list.inc.php @@ -0,0 +1,16 @@ +session_isloggedin()) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You do not have the required rights to access this page.'); +}else{ + $titel = 'Students List'; //list view + + $GLOBALS['adlerweb']['tpl']->assign('titel', $titel); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'student_list'); + $GLOBALS['adlerweb']['tpl']->assign('menue', 'student_list'); + + +} +?> diff --git a/lib/module/user_create.inc.php b/lib/module/user_create.inc.php new file mode 100644 index 0000000..7dcf077 --- /dev/null +++ b/lib/module/user_create.inc.php @@ -0,0 +1,104 @@ +« For navigation use «'; + +if(!$GLOBALS['adlerweb']['session']->session_isloggedin()) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You do not have the required rights to enter new Users.'.$back); +}elseif(isset($_REQUEST['a']) + && $_REQUEST['a'] == 'To capture' + && isset($_REQUEST['id']) + && isset($_REQUEST['Name']) + && isset($_REQUEST['Surname']) + && isset($_REQUEST['Username']) + && isset($_REQUEST['Password']) + && isset($_REQUEST['EMail']) + && isset($_REQUEST['UIdent']) + && isset($_REQUEST['Level']) +) { + if($_REQUEST['id'] == '0' + && !$GLOBALS['adlerweb']['sql']->querystmt("INSERT INTO Users VALUES ('', ?, ?, ?, ?, ?, ? )", str_repeat('s', 7), array( + $_REQUEST['Name'], + $_REQUEST['Surname'], + $_REQUEST['Username'], + $GLOBALS['adlerweb']['session']->session_getNewPasswordHash($_REQUEST['Password']), + $_REQUEST['EMail'], + $_REQUEST['UIdent'], + $_REQUEST['Level'], + )) + ) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Can not capture'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There was a database error # 103.'.$back); + }elseif($_REQUEST['id'] != '0' && !$GLOBALS['adlerweb']['sql']->querystmt("UPDATE Users SET + `Name` = ?, + `Surname` = ?, + `Username` = ?, + `Password` = ?, + `EMail` = ?, + `UIdent` = ?, + `Level` = ?, + WHERE UserID = ?", + str_repeat('s', 6).'i'.'i', + array( + $_REQUEST['Name'], + $_REQUEST['Surname'], + $_REQUEST['Username'], + $GLOBALS['adlerweb']['session']->session_getNewPasswordHash($_REQUEST['Password']), + $_REQUEST['EMail'], + $_REQUEST['UIdent'], + $_REQUEST['Level'], + $_REQUEST['id'] + ) + )) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'Refresh not possible'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'There was a database error # 103.'.$back); + }else{ + $back2=''; + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('titel', 'User successfully recorded!'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'The user has been successfully transferred to the database. '.$back2); + $GLOBALS['adlerweb']['tpl']->assign('errico', 'information'); + infomail("New user AdAr", print_r($_REQUEST, true)); + } +}else{ + $clist = $GLOBALS['adlerweb']['sql']->query("SELECT Alpha2, Name FROM Countries;"); + $countries = array(); + $allowed = array(); + while($item = $clist->fetch_assoc()) { + $countries[]=$item; + $allowed[]=strtolower($item['Alpha2']); + } + + $dummy = array( + 'Name' => '', + 'Surname' => '', + 'Username' => '', + 'Password' => '', + 'EMail' => '', + 'UIdent' => '', + 'Level' => '', + 'UserID' => 0 + ); + + $details = $dummy; + if(isset($_REQUEST['id'])) { + $details = $GLOBALS['adlerweb']['sql']->querystmt_single("SELECT * FROM Users WHERE `UserID` = ?;", 'i', $_REQUEST['id']); + } + + if(!isset($details['Country']) || $details['Country'] == '') { + $lang = strtoupper(lang_getfrombrowser ($allowed, 'na', null, false)); + }else{ + $lang = $details['Country']; + } + + $GLOBALS['adlerweb']['tpl']->assign('titel', 'User Information'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'user_create_form'); + $GLOBALS['adlerweb']['tpl']->assign('menue', 'user_create'); + $GLOBALS['adlerweb']['tpl']->assign('countries', $countries); + $GLOBALS['adlerweb']['tpl']->assign('details', $details); + $GLOBALS['adlerweb']['tpl']->assign('lang', $lang); +} +?> diff --git a/lib/module/user_list.inc.php b/lib/module/user_list.inc.php new file mode 100644 index 0000000..0aec3f7 --- /dev/null +++ b/lib/module/user_list.inc.php @@ -0,0 +1,22 @@ +session_isloggedin()) { + $GLOBALS['adlerweb']['tpl']->assign('titel', 'No authorization'); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'error'); + $GLOBALS['adlerweb']['tpl']->assign('errstr', 'You do not have the required rights to access this page.'); +}else{ + $titel = 'User List'; //list view + + $GLOBALS['adlerweb']['tpl']->assign('titel', $titel); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'user_list'); + $GLOBALS['adlerweb']['tpl']->assign('menue', 'user_list'); + +} + + function getUsers() { + //if(!preg_match("|^(.+), ([^,]*)$|", $name, $match)) return false; + $detail=$GLOBALS['adlerweb']['sql']->query("SELECT UserID, Name, Nickname, EMail, Level, UIdent FROM users"); + if(!$detail) return false; + return $detail; +} +?> diff --git a/lib/module/view_honours.inc.php b/lib/module/view_honours.inc.php new file mode 100644 index 0000000..f064844 --- /dev/null +++ b/lib/module/view_honours.inc.php @@ -0,0 +1,8 @@ +assign('titel', $titel); + $GLOBALS['adlerweb']['tpl']->assign('modul', 'view_honours_projects'); + $GLOBALS['adlerweb']['tpl']->assign('menue', 'view_honours'); + +?> \ No newline at end of file diff --git a/tec b/tec new file mode 100644 index 0000000..e69de29 diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/tools/scan2pdf b/tools/scan2pdf index 3282da0..8654a11 100755 --- a/tools/scan2pdf +++ b/tools/scan2pdf @@ -1,7 +1,7 @@ #!/bin/bash ##################################### -# Scanscript for Dokument Archiving +# Scanscript for Document Archiving # # Autor: adlerweb + kreativmonkey # Version: 0.5 @@ -16,20 +16,20 @@ SOURCE="ADF Duplex" SCANMODE="lineart" #SCANMODE="color" #SCANMODE="gray" -KERNE=4 #Anzahl der zu verwendenden Kerne +KERNE=4 #Number of cores to use blankpagesize=20k #Info -#Scannt DIN A4 (310x210mm) -#Max 99 Seiten -#Erstellt ein durchsuchbares PDF +#Scans DIN A4 (310x210mm) +#Max 99 pages +#Creates a searchable PDF #Todo -# -> Aufgabenqueue - nächster Scan während OCR noch läuft +# -> Task queue - next scan while OCR is still running -#Notizen: -# -> Unpaper deaktiviert, schluckt ggf. i-Punkte und Tabellenlinien +#Notes: +# -> Unpaper disabled, swallows i-points and table lines if necessary TMPDIR=/tmp/scan #unpaper=/usr/bin/unpaper @@ -44,10 +44,10 @@ parallel=/usr/bin/parallel TESSDATA_PREFIX="/usr/share/" -#"Debug"-Modus (alle Befehle anzeigen) +#"Debug"-Modus (show all commands) set -x -#### PRÜFEN OB ALLE PROGRAMME VORHANDEN SIND #### +#### CHECK WHETHER ALL PROGRAMS ARE PRESENT #### if [ ! -f "$scanimage" ] ;then echo scanimage not found - Package sane \(-frontend\) exit 1 @@ -92,13 +92,13 @@ fi mkdir -p ${TMPDIR} rm -Rvi ${TMPDIR}/* -#Dateiname für Ausgabe +#Filename for output OUTPUT=./scan-`date +%Y%m%d%H%M%S`.pdf #Scan starten ${scanimage} -d "${SCANNER}" --mode ${SCANMODE} --resolution "${RESOLUTION}" --duplex=yes --feeder-mode=continuous --paper-size=A4 --format=tiff -p --brightness "${BRIGHTNESS}" --batch=/tmp/scan/scan-%d.tiff -x 210 -y 310 -#PNM in TIFF umwandeln und komprimieren +#Convert PNM to TIFF and compress function convert_pnm () { $convert $1 -compress LZW $1.tiff rm $1 @@ -108,10 +108,10 @@ for file in ${TMPDIR}/scan*; do convert_pnm $file done -#Dateien größer als $blankpagesize finden (=ohne leere Seiten) +#Find files larger than $ blankpagesize (= without empty pages) files=`find ${TMPDIR} -iname "scan*tiff" -size +$blankpagesize | sort` -#OCR starten und pro Seite ein PDF erstellen +#Start OCR and create a PDF per page parallel -j ${KERNE} \ $tesseract -l deu {} {.} pdf \ ::: ${files} @@ -119,7 +119,7 @@ $tesseract -l deu {} {.} pdf \ #remove unused files rm ${TMPDIR}/*.tiff -#Unpaper entfernt hier Punkte bei iäöü & co :/ +#Unpaper removes points from iäöü & co :/ #rename 's/(\d)\0$1' unpaper-rename 's/(\d)\0$1' unpaper-[1-9].pnm.tiff.pdf #for i in unpaper-[1-9].pnm.tiff.pdf ;do # echo $i diff --git a/tpl/src/contact_create_form.tpl b/tpl/src/contact_create_form.tpl index 5c89158..8e24bf9 100644 --- a/tpl/src/contact_create_form.tpl +++ b/tpl/src/contact_create_form.tpl @@ -3,14 +3,15 @@ Name - - - + +
+
+
@@ -19,11 +20,13 @@
- Adresse + Address - - - + + - - - + + + @@ -34,7 +34,7 @@ processing: true, serverSide: true, ajax:{ - url :"api.php", // json datasource + url :"api.php?source=content", // json datasource type: "post", // method , by default get /*error: function(){ // error handling $(".itemlist-error").html(""); diff --git a/tpl/src/create_form.tpl b/tpl/src/create_form.tpl index 530c2cc..edf3f2d 100644 --- a/tpl/src/create_form.tpl +++ b/tpl/src/create_form.tpl @@ -1,33 +1,47 @@
- Objektbeschreibung + Description
+
+
+
- + @@ -48,7 +51,7 @@
- +
@@ -56,5 +59,5 @@ - + diff --git a/tpl/src/content_detail.tpl b/tpl/src/content_detail.tpl index e6e0e06..83026d4 100644 --- a/tpl/src/content_detail.tpl +++ b/tpl/src/content_detail.tpl @@ -4,7 +4,7 @@ [Zoom] [Download] - Vorschau + Preview
@@ -12,7 +12,7 @@ Preview of archived item {else} Preview of archived item - + {/if}
@@ -49,35 +49,35 @@ {/if}
- Objektbeschreibung + Description
- - + + - +
ItemID:{$ItemID}
Titel:{$Caption}
Seiten:{if $pages}{$pages}{else}1{/if}
Title:{$Caption}
Pages:{if $pages}{$pages}{else}1{/if}
Format:{$Format}
Inhaltsdatum:{$Date}
Content Date:{$Date}
Intigritätstest:{$SourceSHA256}
- Kontext + Context
- - - - + + + +
Absender:{$S_FamilyName}, {$S_GivenName}
Empfänger:{$R_FamilyName}, {$R_GivenName}
Erfasst durch:{$ScanUser}
Erfasst am:{$ScanDate}
Sender:{$S_FamilyName}, {$S_GivenName}
Receiver:{$R_FamilyName}, {$R_GivenName}
Captured by:{$ScanUser}
Recorded on the:{$ScanDate}
- Beschreibung + Description
{$Description}
diff --git a/tpl/src/content_list_boot.tpl b/tpl/src/content_list_boot.tpl index 70922e3..305c8a6 100644 --- a/tpl/src/content_list_boot.tpl +++ b/tpl/src/content_list_boot.tpl @@ -4,9 +4,9 @@
ID Name TypDatumAbsenderEmpfängerDateSenderReceiver
- - - - - + + + + + + + + + + + + + + +
{$ScanUserShort}_
{$ScanUserShort}_
+ +

- Kontext + Context - - - - + + + +
+
+

- +

- +
- + diff --git a/tpl/src/footer.tpl b/tpl/src/footer.tpl index 3198c8c..2ac07ca 100644 --- a/tpl/src/footer.tpl +++ b/tpl/src/footer.tpl @@ -1,3 +1,3 @@ diff --git a/tpl/src/head.tpl b/tpl/src/head.tpl index 6f18835..c341e1e 100644 --- a/tpl/src/head.tpl +++ b/tpl/src/head.tpl @@ -11,7 +11,7 @@ - + @@ -29,4 +29,7 @@

{$ADAR_PROGNAME}

+

+ {$titel} +

diff --git a/tpl/src/head_status.tpl b/tpl/src/head_status.tpl index 09f2cde..9e4c4d6 100644 --- a/tpl/src/head_status.tpl +++ b/tpl/src/head_status.tpl @@ -1,9 +1,9 @@
{if isset($user) && $user != ''} - Angemeldet als {$user}
- Abmelden + Logged in as {$user}
+ Sign out {else} - Angemeldet als Gast
- Anmelden + Logged in as Guest
+ Log In {/if}
diff --git a/tpl/src/menu.tpl b/tpl/src/menu.tpl index 136a755..80fd9fa 100644 --- a/tpl/src/menu.tpl +++ b/tpl/src/menu.tpl @@ -1,21 +1,33 @@ diff --git a/tpl/src/paper_create_form.tpl b/tpl/src/paper_create_form.tpl new file mode 100644 index 0000000..6e44e67 --- /dev/null +++ b/tpl/src/paper_create_form.tpl @@ -0,0 +1,61 @@ +
+
+ + + UserInformation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ + + + + +
+ + + + + diff --git a/tpl/src/paper_list.tpl b/tpl/src/paper_list.tpl new file mode 100644 index 0000000..943f1f1 --- /dev/null +++ b/tpl/src/paper_list.tpl @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + +
IDNameNicknameEmail
+ + + + + + + diff --git a/tpl/src/session_login_form.tpl b/tpl/src/session_login_form.tpl index f0b8a22..122aa6f 100644 --- a/tpl/src/session_login_form.tpl +++ b/tpl/src/session_login_form.tpl @@ -1,16 +1,16 @@
- Anmeldung + Login Form
- +
- +
- + {if isset($errstr)}
error {$errstr}
{/if} diff --git a/tpl/src/student_create_form.tpl b/tpl/src/student_create_form.tpl new file mode 100644 index 0000000..6c46e94 --- /dev/null +++ b/tpl/src/student_create_form.tpl @@ -0,0 +1,46 @@ + +
+ + Student Registration form + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ + + + +
+ diff --git a/tpl/src/student_list.tpl b/tpl/src/student_list.tpl new file mode 100644 index 0000000..cef0576 --- /dev/null +++ b/tpl/src/student_list.tpl @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + +
IDStudent NumberName SurnameGenderCourse
+ + + + + + + + diff --git a/tpl/src/user_create_form.tpl b/tpl/src/user_create_form.tpl new file mode 100644 index 0000000..816e80d --- /dev/null +++ b/tpl/src/user_create_form.tpl @@ -0,0 +1,55 @@ +
+
+ + UserInformation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

+ + + + +
+ diff --git a/tpl/src/user_list.tpl b/tpl/src/user_list.tpl new file mode 100644 index 0000000..99a53fd --- /dev/null +++ b/tpl/src/user_list.tpl @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + +
IDFull NameUsernameEmailAccess
+ + + + + + + diff --git a/tpl/src/view_honours_projects.tpl b/tpl/src/view_honours_projects.tpl new file mode 100644 index 0000000..de79cb8 --- /dev/null +++ b/tpl/src/view_honours_projects.tpl @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +
TitleAuthorDateLecturerClusterDocumentsAbstractPublisher
+ + diff --git a/vendor/adlerweb/awtools/.gitignore b/vendor/adlerweb/awtools/.gitignore new file mode 100644 index 0000000..ffdf47e --- /dev/null +++ b/vendor/adlerweb/awtools/.gitignore @@ -0,0 +1,5 @@ +*.diff +*.swp +*.swo +*~ + diff --git a/vendor/adlerweb/awtools/LICENSE b/vendor/adlerweb/awtools/LICENSE new file mode 100644 index 0000000..9583cf0 --- /dev/null +++ b/vendor/adlerweb/awtools/LICENSE @@ -0,0 +1,7 @@ +Copyright (c) 2012-2017 Florian Knodt, www.adlerweb.info + +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/vendor/adlerweb/awtools/README.md b/vendor/adlerweb/awtools/README.md new file mode 100644 index 0000000..440d7cc --- /dev/null +++ b/vendor/adlerweb/awtools/README.md @@ -0,0 +1,16 @@ + +# Adlerweb's PHP Toolkit + +This library includes several modules to enhance PHP. All modules instanziate +themselves upon loading as long as it is not prohibited via configuration + +## Modules Included +### mysql.stmt.php +MySQL/MariaDB wrapper for easy usage of prepared statements +### mysql.php +Enhanced error-handling, debugging, security-stuff +**DEPRECATED** +### session.php +Session Management with MySQL user database +### smarty.php +Wrapper to instantiate Smarty (http://www.smarty.net/) diff --git a/vendor/adlerweb/awtools/composer.json b/vendor/adlerweb/awtools/composer.json new file mode 100644 index 0000000..76c2056 --- /dev/null +++ b/vendor/adlerweb/awtools/composer.json @@ -0,0 +1,19 @@ +{ + "name": "adlerweb/awtools", + "description": "Various wrappers to extend PHP functionality", + "type": "component", + "homepage": "https://github.com/adlerweb/awtools", + "license": "MIT", + "authors": [ + { + "name": "Florian Knodt", + "email": "awtools@adlerweb.info" + } + ], + "support": { + "issues": "https://github.com/adlerweb/awtools/issues" + }, + "require": { + "php": ">=5.2" + } +} diff --git a/vendor/adlerweb/awtools/mysql.php b/vendor/adlerweb/awtools/mysql.php new file mode 100644 index 0000000..c0289df --- /dev/null +++ b/vendor/adlerweb/awtools/mysql.php @@ -0,0 +1,63 @@ + + * + * @env AW_SQL_NOAUTO bool if defined auto-instantiate is turned off + * @env AW_SQL_SERV string MySQL Server IP/DNS + * @env AW_SQL_USER string MySQL Username + * @env AW_SQL_PASS string MySQL Password + * @env AW_SQL_DATB string MySQL Database + * @env AW_SQL_DEBUG bool Display failed SQL-queries + * @env AW_SQL_DEBUG_SHOW bool Display all SQL-queries + */ + +class adlerweb_sql extends mysqli { + + /** + * Constructor + * + * Connect to MySQL via MySQLi and the predefined credentials + */ + function __construct() { + if(!isset($GLOBALS['adlerweb'])) $GLOBALS['adlerweb']=array(); + + if(!defined('AW_SQL_SERV') || !defined('AW_SQL_USER') || !defined('AW_SQL_PASS') || !defined('AW_SQL_DATB')) { + trigger_error('Tried to load MySQL without proper configuration', E_USER_ERROR); + return false; + } + return parent::__construct(AW_SQL_SERV,AW_SQL_USER,AW_SQL_PASS,AW_SQL_DATB); + } + + /** + * Default SQL-Query + * + * Execute an query and handle possible errors according to defined debug-settings + * + * @var string SQL-Query + * @return mixed SQL-Query-Result + */ + function query($sql) { + $result = parent::query($sql); + if($result === false && AW_SQL_DEBUG) { + trigger_error('SQL-Query failed: '.$sql.' -> '.$this->error, E_USER_WARNING); + }elseif(AW_SQL_DEBUG_SHOW) { + trigger_error($sql, E_USER_NOTICE); + } + return $result; + } +} + +/** + * Instantiate new global AwSQL-object if not deactivated + */ +if(!defined('AW_SQL_NOAUTO')) { + $GLOBALS['adlerweb']['sql'] = new adlerweb_sql(); +} + +?> diff --git a/vendor/adlerweb/awtools/mysql.stmt.php b/vendor/adlerweb/awtools/mysql.stmt.php new file mode 100644 index 0000000..6df6b12 --- /dev/null +++ b/vendor/adlerweb/awtools/mysql.stmt.php @@ -0,0 +1,354 @@ + + * @copyright 2003-2014 Florian "adlerweb" Knodt + * @version 0.2.2 + * + * MySQL/MariaDB wrapper including extensive helper functions to simplify + * usage of prepared statements + */ + + /** + * @var mysqli_object MySQLi-connection + */ + private $sql; + + /** + * @var int Last MySQL error number + */ + public $errno = 0; + + /* + * @var bool|int false=off, >0 = on + * false = report only stripped errors + * 1 = report full SQL string on errors + * 2 = report full SQL string and attributes on errors + * 3 = report all SQL strings + * 4 = report all SQL strings and attributes + **/ + public $debug = false; + + public function __construct($serv, $user, $pass, $datb) { + $serv = "localhost"; + $user = "root"; + $pass = ""; + $datb = "adar"; + $this->sql = new mysqli($serv, $user, $pass, $datb); + $this->errno = $this->sql->connect_errno; + } + + /** + * Execute query as prepared statement + * + * @var string SQL-query - ? as placeholder for variables + * @var string string of argument types. 1 character per argument. + * i corresponding variable has type integer + * d corresponding variable has type double + * s corresponding variable has type string + * b corresponding variable is a blob and will be sent in packets + * @var string|array variable(s) + * array containing intended variables + * number of elements must match character count in argument type list + * if only one argument is used it may be supplied as string + + * @return bool|int|array returned data + * returns false if an error occours + * returns number of affected rows as integer for UPDATE/DELETE queries + * returns inserted ID as integer for INSERT queries + * returns array of matching data for SELECT queries. + * contains one associated array per result line + * + * @note Since all results are loaded into RAM this function should not be + * used for queries that are supposed to return massive datasets + * + * @see http://www.moyablog.com/2012/01/20/wrapper-php-classes-for-prepared-statements-queries/ + **/ + public function querystmt($sql, $argtypes, $args) { + if(strlen($argtypes) <1) { + $msg = '[SQL] Argument types missing'; + if($this->debug >= 1) $msg .= ' - >>'.$sql.'<<"'; + if($this->debug >= 2) $msg .= ' - >>'.print_r($argtypes, true).'<< - >>'.print_r($args, true).'<<"'; + trigger_error($msg, E_USER_ERROR); + return false; + } + if(strlen($argtypes) != count($args)) { + $msg = '[SQL] Argument count mismatch'; + if($this->debug >= 1) $msg .= ' - >>'.$sql.'<<"'; + if($this->debug >= 2) $msg .= ' - >>'.print_r($argtypes, true).'<< - >>'.print_r($args, true).'<<"'; + trigger_error($msg, E_USER_ERROR); + return false; + } + $msg=''; + if($this->debug >= 3) $msg .= '[SQL] >>'.$sql.'<<"'; + if($this->debug >= 4) $msg .= ' - >>'.print_r($argtypes, true).'<< - >>'.print_r($args, true).'<<"'; + if($msg != '') trigger_error($msg, E_USER_NOTICE); + + + $type = strtoupper(strstr(trim($sql), ' ', true)); + + + $stmt = $this->sql->stmt_init(); + if(!$stmt->prepare($sql)) { + $msg = $stmt->error; + if($this->debug >= 1) $msg .= ' - >>'.$sql.'<<"'; + if($this->debug >= 2) $msg .= ' - >>'.print_r($argtypes, true).'<< - >>'.print_r($args, true).'<<"'; + trigger_error($msg, E_USER_ERROR); + } + call_user_func_array(array($stmt, "bind_param"), $this->util_refValues(array_merge((array)$argtypes, $args))); + + if(!$stmt->execute()) { + $msg = $stmt->error; + if($this->debug >= 1) $msg .= ' - >>'.$sql.'<<"'; + if($this->debug >= 2) $msg .= ' - >>'.print_r($argtypes, true).'<< - >>'.print_r($args, true).'<<"'; + trigger_error($msg, E_USER_ERROR); + } + + + if($type == 'INSERT') return $stmt->insert_id; + if($type == 'UPDATE') return $stmt->affected_rows; + if($type == 'DELETE') return $stmt->affected_rows; + + $meta = $stmt->result_metadata(); + while ($metaArray = $meta->fetch_field()) { + $parameters[] = &$row[$metaArray->name]; + } + call_user_func_array(array($stmt, 'bind_result'), $parameters); + + $items = array(); + while ($stmt->fetch()) { + foreach($row as $key => $value) { + $copy[$key] = $value; + } + $items[] = $copy; + } + + if(count($items) == 0) return false; + + return $items; + } + + + + /** + * Execute SELECT query as prepared statement and return a single element + * + * @var string SQL-query - ? as placeholder for variables + * @var string string of argument types. 1 character per argument. + * i corresponding variable has type integer + * d corresponding variable has type double + * s corresponding variable has type string + * b corresponding variable is a blob and will be sent in packets + * @var string|array variable(s) + * array containing intended variables + * number of elements must match character count in argument type list + * if only one argument is used it may be supplied as string + * @var string return only this field (optional) + * + * @return bool|int|array returned data + * returns false if an error occours + * returns number of affected rows as integer for UPDATE/DELETE queries + * returns inserted ID as integer for INSERT queries + * returns associated array of the first result line + * returns string when a single field was requested + * + * @note Since all results are loaded into RAM this function should not be + * used for queries that are supposed to return massive datasets. Use + * LIMIT 1; whenever possible. + * + **/ + function querystmt_single($sql, $argtypes, $args, $field=false) { + $res = $this->querystmt($sql, $argtypes, $args); + + + if(!is_array($res)) return $res; + if(!$field) return $res[0]; + + if(!isset($res[0][$field])) return false; + + return $res[0][$field]; + } + + + /** + * Execute query as standard SQL query + * + * Extends original method to conform to this class' error methology + * + * @var string SQL-query + * @return bool|mysqli_result returned data + * returns false if an error occours + * returns mysqli_result on success + **/ + public function query($sql) { + $ret = $this->sql->query($sql); + if(!$ret) { + $msg = '[SQL] SQL query error'; + if($this->debug >= 1) $msg .= ' - >>'.$sql.'<<"'; + trigger_error($msg, E_USER_ERROR); + return false; + } + return $ret; + } + + + + /** + * Execute standard SELECT query and return a single element + * + * @var string SQL-query - ? as placeholder for variables + * @var string return only this field (optional) + * @return bool|array|string returned data + * returns false if an error occours + * returns associated array of the first result line on success + * returns string when a single field was requested + * + * @note Use LIMIT 1; whenever possible. + * + **/ + function query_single($sql, $field=false) { + $res = $this->query($sql); + if(!$res) return false; + + /** + * Check if a dataset exists + * + * Check if a row with the named fields exists in the database. + * + * @var string SQL-Table to check + * @var sting|array Fieldnames to check + * All keys should offer an index for performance reasons. + * if only one key is used it may be supplied as string + * @var string string of argument types. 1 character per argument. + * i corresponding variable has type integer + * d corresponding variable has type double + * s corresponding variable has type string + * b corresponding variable is a blob and will be sent in packets + * @var string|array variable(s) + * array containing intended variables + * number of elements must match character count in argument type list + * if only one argument is used it may be supplied as string + * @return bool|int returned data + * returns false if an error occours + * returns number of rows as integer if no error occours + */ + public function querystmt_exists($table, $fields, $argtypes, $args) { + if(!is_array($fields)) { + $fields = array($fields); + } + + /** + * Update or Insert a dataset + * + * Checks if a row with the named fields exists in the database. If no row + * is found the function will INSERT one as specified, otherwise a UPDATE + * is issued. SQL-statements are used here. + * + * @var string SQL-Table to check + * @var sting|array Fieldnames to insert or update + * if only one key is used it may be supplied as string + * @var string string of argument types. 1 character per argument. + * i corresponding variable has type integer + * d corresponding variable has type double + * s corresponding variable has type string + * b corresponding variable is a blob and will be sent in packets + * @var string|array variable(s) + * array containing intended variables + * number of elements must match character count in argument type list + * if only one argument is used it may be supplied as string + * @var string|array key names to determinate a duplicate (optional) + * This should match at least the tables PRIMARY KEY. All keys should + * offer an index for performance reasons. There is no code to check + * for invalid duplicates here. The keys given here must be mentioned + * in Fieldnames. If only one argument is used it may be supplied as + * string. If no argument is given all fieldnames are checked + + * + + * @return bool|int returned data + * returns false if an error occours + * returns number of affected rows (=1) as integer for UPDATEs + * returns inserted ID as integer for INSERT queries + */ + public function querystmt_update($table, $fields, $argtypes, $args, $index=false) { + if(!is_array($fields)) { + $fields = array($fields); + } + + if(!is_array($args)) { + $args = array($args); + } + + if($index === false) { + $index = $fields; + }else if(!is_array($index)) { + $index = array($index); + } foreach($index as $index_temp) { + $fi = array_search($index_temp, $fields); + if($fi === false) { + $msg=''; + if($this->debug >= 3) $msg .= '[SQL] Update-query unsuccessful - could not find key in fieldlist!'; + if($this->debug >= 4) $msg .= ' - >>'.$index_temp.'<< - >>'.print_r($fields, true).'<<"'; + if($msg != '') trigger_error($msg, E_USER_WARNING); + }else{ + $index_clean_fields[] = $index_temp; + $index_clean_argtype .= $argtypes{$fi}; + $index_clean_args[] = $args[$fi]; + } + } + + + if(count($index_clean_fields) == 0) { + $msg=''; + if($this->debug >= 3) $msg .= '[SQL] Update-query unsuccessful - not enough keys to compare!'; + if($this->debug >= 4) $msg .= ' - >>'.$index_temp.'<< - >>'.print_r($fields, true).'<<"'; + if($msg != '') trigger_error($msg, E_USER_WARNING); + return false; + } + + return $this->querystmt( + 'INSERT INTO `'.$table.'` + (`'.implode('`, `', $fieldstr).'`) + VALUES + (?'.str_repeat(', ?', (count($args)-1)).') + ;', + $argtypes, + $args + ); + }else{ + //update + + $updatestr = array(); + for($i=0; $isql->real_escape_string($index_clean_field).'` = ?'; + } + + + return $this->querystmt( + 'UPDATE `'.$table.'` + SET + '.implode(', ', $updatestr).' + WHERE + '.implode(' AND ', $field_query).' + LIMIT 1;', + $argtypes.$index_clean_argtype, + array_merge($args, $index_clean_args) + ); + } + + } + +} + + + +?> diff --git a/vendor/adlerweb/awtools/session.php b/vendor/adlerweb/awtools/session.php new file mode 100644 index 0000000..1516c93 --- /dev/null +++ b/vendor/adlerweb/awtools/session.php @@ -0,0 +1,198 @@ + + * @see AwSQL + * + * @env AW_SESSION_NOAUTO bool if defined auto-instantiate is turned off + */ + +if(!session_id()) session_start(); + +class adlerweb_session { + /** + * @category config + * @var int Number of seconds to block a user if he reached our retry-count + */ + protected $retry_timeout = 300; + + /** + * @category config + * @var int How many retries before we block an user + */ + protected $retry_allowed = 3; + + /** + * @var bool|string False or human-readable description of last error + */ + public $lasterror=''; + + /** + * Inizialize system + */ + public function __construct() { + //Check for working SQL + if(!isset($GLOBALS['adlerweb']['sql'])) { + trigger_error('No SQL-socket in [adlerweb][sql] - Please load AwSQL STMT first...', E_USER_WARNING); + } + + if(!isset($GLOBALS['adlerweb'])) $GLOBALS['adlerweb']=array(); + if(!isset($_SESSION['adlerweb'])) $_SESSION['adlerweb']=array(); + if(!isset($_SESSION['adlerweb']['session'])) $_SESSION['adlerweb']['session']=array(); + if(!isset($_SESSION['adlerweb']['session']['retrytime'])) $_SESSION['adlerweb']['session']['retrytime']=0; + if(!isset($_SESSION['adlerweb']['session']['retrycount'])) $_SESSION['adlerweb']['session']['retrycount']=0; + + $this->smarty_repopulate(); + $this->retry_housekeeping(); + } + + /** + * Try to login + * On success $_SESSION['adlerweb']['session'] is populated with user's details + * @var string $user Username + * @var string $pass Password + * @return bool + */ + public function session_login($user, $pass) { + $user=strtolower($user); + if(!$this->session_validUser($user)) { + $_SESSION['adlerweb']['session']['retrycount']++; + $this->lasterror='Incorrect username format'; + return false; + } + if(isset($_SESSION['adlerweb']['session']) && isset($_SESSION['adlerweb']['session']['retrytime']) && $_SESSION['adlerweb']['session']['retrytime'] >= time()) { + $this->lasterror='Too many incorrect tries'; + return false; + } + if(!isset($GLOBALS['adlerweb']['sql'])) { + + } + $check=$GLOBALS['adlerweb']['sql']->querystmt_single("SELECT UserID,Password,Level,UIdent,Name FROM Users WHERE Nickname=? LIMIT 1;", 's', $user); + if(!$check) { + $_SESSION['adlerweb']['session']['retrycount']++; + $this->lasterror='User not found'; + return false; + } + if(!$this->session_comparePassword( $pass, $check['Password'] )) { + $_SESSION['adlerweb']['session']['retrycount']++; + $this->lasterror='Incorrect password'; + return false; + } + $_SESSION['adlerweb']['session']['level'] = $check['Level']; + $_SESSION['adlerweb']['session']['short'] = $check['UIdent']; + $_SESSION['adlerweb']['session']['user'] = $check['Name']; + $_SESSION['adlerweb']['session']['UID'] = $check['UserID']; + return true; + } + + /** + * Check if the current user is logged in + * @return bool|int false or integer of user's permission level + */ + public function session_isloggedin() { + if(!isset($_SESSION['adlerweb']['session']['level']) || $_SESSION['adlerweb']['session']['level']<=0) return false; + return $_SESSION['adlerweb']['session']['level']; + } + + /** + * Close a session + */ + public function session_logout() { + if($this->session_isloggedin() !== false) { + session_destroy(); + session_start(); + } + } + + /** + * Modified password salt generator + * @author original by richardlord.net + * @return string (Pseudo)Random string intended as salt + */ + private function session_getPasswordSalt() { + return substr(str_pad(dechex(mt_rand()), 8, '0', STR_PAD_LEFT), -8); + } + + /** + * Modified password generator + * @author original by richardlord.net + * @var string $salt as generated by session_getPasswordSalt + * @var string unsalted Password + * @return string salted password + */ + private function session_getPasswordHash($salt, $password) { + return $salt.hash('sha256', hash('whirlpool', $salt.$password)); + } + + /** + * Get a hashed password with a fresh salt + * @var string $password + * @return string Salted password + */ + public function session_getNewPasswordHash($password) { + return $this->session_getPasswordHash($this->session_getPasswordSalt(), $password); + } + + /** + * Compare a plaintext password with its salted version + * @author original by richardlord.net + * @var string $password cleartext + * @var string $hash salted version + * @return bool + */ + private function session_comparePassword($password, $hash) { + $salt = substr($hash, 0, 8); + return $hash == $this->session_getPasswordHash($salt, $password); + } + + /** + * Limit valid usernames to a specific regex (a-z, 0-9, - and _) + * @var string $user Username + * @return bool + */ + private function session_validUser($user) { + return preg_match("/^[a-z0-9\-_]+$/", $user); + } + + /** + * Repopulate smarty's session-vars if AwSmarty is used + */ + private function smarty_repopulate() { + if(isset($GLOBALS['adlerweb']['tpl'])) { + if(isset($_SESSION['adlerweb']['session']['level']) && isset($_SESSION['adlerweb']['session']['short']) && isset($_SESSION['adlerweb']['session']['user'])) { + $GLOBALS['adlerweb']['tpl']->assign('loginlevel', $_SESSION['adlerweb']['session']['level']); + $GLOBALS['adlerweb']['tpl']->assign('user', $_SESSION['adlerweb']['session']['user']); + $GLOBALS['adlerweb']['tpl']->assign('short', $_SESSION['adlerweb']['session']['short']); //DiBAS-Compatibility + $GLOBALS['adlerweb']['tpl']->assign('UID', $_SESSION['adlerweb']['session']['UID']); + }else{ + $GLOBALS['adlerweb']['tpl']->assign('loginlevel', 0); + } + } + } + + /** + * Check for expired retry count + */ + private function retry_housekeeping() { + if($_SESSION['adlerweb']['session']['retrycount'] > $this->retry_allowed){ + $_SESSION['adlerweb']['session']['retrytime'] = time()+$this->retry_timeout; + $_SESSION['adlerweb']['session']['retrycount']=0; + }elseif($_SESSION['adlerweb']['session']['retrytime'] > 0 && $_SESSION['adlerweb']['session']['retrytime'] <= time()) { + $_SESSION['adlerweb']['session']['retrytime'] = 0; + } + } +} + +/** + * Instantiate new global AwSession-object if not deactivated + */ +if(!defined('AW_SESSION_NOAUTO')) { + $GLOBALS['adlerweb']['session'] = new adlerweb_session(); +} + +?> diff --git a/vendor/adlerweb/awtools/smarty.php b/vendor/adlerweb/awtools/smarty.php new file mode 100644 index 0000000..23b9a5f --- /dev/null +++ b/vendor/adlerweb/awtools/smarty.php @@ -0,0 +1,74 @@ + + * @see http://smarty.net + * + * @env AW_SMARTY_CACHE bool Disable and clear Smarty's cache + * @env AW_SMARTY_DEBUG bool Enable Smarty's debugging + * @env AW_SMARTY_NOAUTO bool if defined auto-instantiate is turned off + */ + +class adlerweb_smarty { + + /** + * @var obj $s - Local smarty session + */ + public $s; + + /** + * Load Smarty (if not done so already) and initialize some basic stuff + * @var string $prefix defaults to tpl - change to instanciate multiple template sessions + */ + function __construct($prefix = 'tpl', $tpldir = 'tpl/src/', $compdir = 'tpl/compile/', $config = 'tpl/config/') { + if(!class_exists('Smarty')) { + if(file_exists('smarty/Smarty.class.php')) { + require_once('smarty/Smarty.class.php'); + }elseif(file_exists('../smarty/Smarty.class.php')) { + require_once('../smarty/Smarty.class.php'); + }elseif(file_exists('lib/smarty/libs/Smarty.class.php')) { + require_once('lib/smarty/libs/Smarty.class.php'); + }else{ + if(!@include('Smarty.class.php')) { + trigger_error('Could not find Smarty', E_USER_ERROR); + return false; + } + } + } + + $this->s = new Smarty; + + if(defined('AW_SMARTY_CACHE') && AW_SMARTY_CACHE === false) $this->s->clear_all_cache(); + + if(!is_dir($tpldir)) { + trigger_error('Template directory "'.$tpldir.'" is not accessible', E_USER_ERROR); + return false; + } + + + if(!is_dir($compdir)) { + trigger_error('Compile directory "'.$compdir.'" is not accessible', E_USER_ERROR); + return false; + } + + if(!is_dir($config)) { + trigger_error('Configuration directory "'.$config.'" is not accessible', E_USER_ERROR); + return false; + } + + $this->s->template_dir = $tpldir; + $this->s->compile_dir = $compdir; + $this->s->config_dir = $config; + if(defined('AW_SMARTY_DEBUG')) $this->s->debugging = AW_SMARTY_DEBUG; + + $this->s->assign('currentYear', strftime("%Y", time())); //Used for copyright etc + $this->s->assign('menue', 'session_login'); + } +} + +?> diff --git a/vendor/adlerweb/awtools/tools/README b/vendor/adlerweb/awtools/tools/README new file mode 100644 index 0000000..83ee149 --- /dev/null +++ b/vendor/adlerweb/awtools/tools/README @@ -0,0 +1,14 @@ + +Tools related to AdAr +===================== + +genpw.php +--------- + +Generate a hashed password +Supply password as first argument or as $_REQUEST['p'] + +iso3166-to-mysql.php +-------------------- + +Load country list from iso.org and insert into mysql-table "Countries" diff --git a/vendor/adlerweb/awtools/tools/genpw.php b/vendor/adlerweb/awtools/tools/genpw.php new file mode 100644 index 0000000..3c3f1a8 --- /dev/null +++ b/vendor/adlerweb/awtools/tools/genpw.php @@ -0,0 +1,27 @@ + + */ + +error_reporting(E_ALL); + +require('../lib/awtools/session.php'); + +if(isset($argv) && isset($argv[1])) { + $pw = $argv[1]; +}elseif(isset($_REQUEST) && isset($_REQUEST['p'])) { + $pw = $_REQUEST['p']; +}else{ + $pw = 'test'; +} + +$sess = new adlerweb_session; +var_dump($sess->session_getNewPasswordHash($pw)); + + ?> diff --git a/vendor/adlerweb/awtools/tools/iso3166-to-mysql.php b/vendor/adlerweb/awtools/tools/iso3166-to-mysql.php new file mode 100644 index 0000000..d7aad14 --- /dev/null +++ b/vendor/adlerweb/awtools/tools/iso3166-to-mysql.php @@ -0,0 +1,41 @@ +query('TRUNCATE TABLE `Countries`'); + +$stmt = $GLOBALS['adlerweb']['sql']->prepare("INSERT INTO `Countries` (`Alpha2` ,`Name`) VALUES (?, ?);"); + +foreach($list as $line) { + if(preg_match('|([^;]+);(..)\s|', utf8_encode($line), $match)) { + $stmt->bind_param("ss", $match[2], $match[1]); + $stmt->execute(); + echo $match[2].' -> '.$match[1]."\n"; + } +} + +?> \ No newline at end of file diff --git a/vendor/adlerweb/calender-date-input b/vendor/adlerweb/calender-date-input new file mode 160000 index 0000000..1c458ea --- /dev/null +++ b/vendor/adlerweb/calender-date-input @@ -0,0 +1 @@ +Subproject commit 1c458ea3340a64f74e6551f80fd71ea7e8fac68a diff --git a/vendor/autoload.php b/vendor/autoload.php new file mode 100644 index 0000000..8d03034 --- /dev/null +++ b/vendor/autoload.php @@ -0,0 +1,11 @@ +>>>>>> 1109a11e1fb9fa159b102d9d84fca6fc37f90802 +return ComposerAutoloaderInit616a023f1fbd80841cc474f527843718::getLoader(); diff --git a/vendor/components/jquery/README.md b/vendor/components/jquery/README.md new file mode 100644 index 0000000..92dfef0 --- /dev/null +++ b/vendor/components/jquery/README.md @@ -0,0 +1,14 @@ +jQuery Component +================ + +Shim [repository](https://github.com/components/jquery) for the [jQuery](http://jquery.com). + +If you're looking for jquery-migrate: It got it's [own repository](https://github.com/components/jquery-migrate) since jQuery v3.0.0. + +Package Managers +---------------- + +* [Bower](http://bower.io/): `jquery` +* [Component](https://github.com/component/component): `components/jquery` +* [Composer](http://packagist.org/packages/components/jquery): `components/jquery` +* [spm](http://spmjs.io/package/jquery): `jquery` diff --git a/vendor/components/jquery/bower.json b/vendor/components/jquery/bower.json new file mode 100644 index 0000000..a038043 --- /dev/null +++ b/vendor/components/jquery/bower.json @@ -0,0 +1,16 @@ +{ + "name": "jquery", + "version": "3.2.1", + "description": "jQuery component", + "license": "MIT", + "keywords": [ + "jquery", + "component" + ], + "main": "jquery.js", + "ignore": [ + "component.json", + "package.json", + "composer.json" + ] +} diff --git a/vendor/components/jquery/component.json b/vendor/components/jquery/component.json new file mode 100644 index 0000000..0716b0a --- /dev/null +++ b/vendor/components/jquery/component.json @@ -0,0 +1,22 @@ +{ + "name": "jquery", + "repo": "components/jquery", + "version": "3.2.1", + "description": "jQuery component", + "license": "MIT", + "keywords": [ + "jquery", + "component" + ], + "main": "jquery.js", + "scripts": [ + "jquery.js", + "jquery.min.js", + "jquery.slim.js", + "jquery.slim.min.js" + ], + "files": [ + "jquery.min.map", + "jquery.slim.min.map" + ] +} diff --git a/vendor/components/jquery/composer.json b/vendor/components/jquery/composer.json new file mode 100644 index 0000000..8a779ad --- /dev/null +++ b/vendor/components/jquery/composer.json @@ -0,0 +1,34 @@ +{ + "name": "components/jquery", + "description": "jQuery JavaScript Library", + "type": "component", + "homepage": "http://jquery.com", + "license": "MIT", + "support": { + "irc": "irc://irc.freenode.org/jquery", + "issues": "https://github.com/jquery/jquery/issues", + "forum": "http://forum.jquery.com", + "wiki": "http://docs.jquery.com/", + "source": "https://github.com/jquery/jquery" + }, + "authors": [ + { + "name": "JS Foundation and other contributors", + "url": "https://github.com/jquery/jquery/blob/master/AUTHORS.txt" + } + ], + "extra": { + "component": { + "scripts": [ + "jquery.js" + ], + "files": [ + "jquery.min.js", + "jquery.min.map", + "jquery.slim.js", + "jquery.slim.min.js", + "jquery.slim.min.map" + ] + } + } +} diff --git a/vendor/components/jquery/jquery.js b/vendor/components/jquery/jquery.js new file mode 100644 index 0000000..d2d8ca4 --- /dev/null +++ b/vendor/components/jquery/jquery.js @@ -0,0 +1,10253 @@ +/*! + * jQuery JavaScript Library v3.2.1 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2017-03-20T18:59Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var document = window.document; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + + + + function DOMEval( code, doc ) { + doc = doc || document; + + var script = doc.createElement( "script" ); + + script.text = code; + doc.head.appendChild( script ).parentNode.removeChild( script ); + } +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.2.1", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android <=4.0 only + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + + if ( copyIsArray ) { + copyIsArray = false; + clone = src && Array.isArray( src ) ? src : []; + + } else { + clone = src && jQuery.isPlainObject( src ) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isFunction: function( obj ) { + return jQuery.type( obj ) === "function"; + }, + + isWindow: function( obj ) { + return obj != null && obj === obj.window; + }, + + isNumeric: function( obj ) { + + // As of jQuery 3.0, isNumeric is limited to + // strings and numbers (primitives or objects) + // that can be coerced to finite numbers (gh-2662) + var type = jQuery.type( obj ); + return ( type === "number" || type === "string" ) && + + // parseFloat NaNs numeric-cast false positives ("") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + !isNaN( obj - parseFloat( obj ) ); + }, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + + /* eslint-disable no-unused-vars */ + // See https://github.com/eslint/eslint/issues/6125 + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + globalEval: function( code ) { + DOMEval( code ); + }, + + // Convert dashed to camelCase; used by the css and data modules + // Support: IE <=9 - 11, Edge 12 - 13 + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // Support: Android <=4.0 only + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var tmp, args, proxy; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: Date.now, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.3 + * https://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2016-08-08 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + disabledAncestor = addCombinator( + function( elem ) { + return elem.disabled === true && ("form" in elem || "label" in elem); + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { + + // ID selector + if ( (m = match[1]) ) { + + // Document context + if ( nodeType === 9 ) { + if ( (elem = context.getElementById( m )) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && (elem = newContext.getElementById( m )) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( (m = match[3]) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !compilerCache[ selector + " " ] && + (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + + if ( nodeType !== 1 ) { + newContext = context; + newSelector = selector; + + // qSA looks outside Element context, which is not what we want + // Thanks to Andrew Dupont for this workaround technique + // Support: IE <=8 + // Exclude object elements + } else if ( context.nodeName.toLowerCase() !== "object" ) { + + // Capture the context ID, setting it first if necessary + if ( (nid = context.getAttribute( "id" )) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", (nid = expando) ); + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[i] = "#" + nid + " " + toSelector( groups[i] ); + } + newSelector = groups.join( "," ); + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement("fieldset"); + + try { + return !!fn( el ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + disabledAncestor( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9-11, Edge + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + if ( preferredDoc !== document && + (subWindow = document.defaultView) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function( el ) { + el.className = "i"; + return !el.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( el ) { + el.appendChild( document.createComment("") ); + return !el.getElementsByTagName("*").length; + }); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + }); + + // ID filter and find + if ( support.getById ) { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( (elem = elems[i++]) ) { + node = elem.getAttributeNode("id"); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( el ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll("[msallowcapture^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push("~="); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push(".#.+[+~]"); + } + }); + + assert(function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement("input"); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll(":enabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll(":disabled").length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( el ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === document ? -1 : + b === document ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + !compilerCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch (e) {} + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return (sel + "").replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + // Use previously-cached element index if available + if ( useCache ) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( (oldCache = uniqueCache[ key ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context === document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + if ( !context && elem.ownerDocument !== document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context || document, xml) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( el ) { + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( el ) { + return el.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +}; +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Simple selector that can be filtered directly, removing non-Elements + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + // Complex selector, compare the two sets, removing non-Elements + qualifier = jQuery.filter( qualifier, elements ); + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not && elem.nodeType === 1; + } ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( nodeName( elem, "iframe" ) ) { + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( jQuery.isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && jQuery.isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && jQuery.isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = jQuery.isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( jQuery.isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + jQuery.isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + jQuery.isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + jQuery.isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the master Deferred + master = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + master.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( master.state() === "pending" || + jQuery.isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); + } + + return master.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ jQuery.camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ jQuery.camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ jQuery.camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( jQuery.camelCase ); + } else { + key = jQuery.camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = jQuery.camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + jQuery.contains( elem.ownerDocument, elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + +var swap = function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, + scale = 1, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + do { + + // If previous iteration zeroed out, double until we get *something*. + // Use string for doubling so we don't accidentally see scale as unchanged below + scale = scale || ".5"; + + // Adjust and apply + initialInUnit = initialInUnit / scale; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Update scale, tolerating zero or NaN from tween.cur() + // Break the loop if scale is unchanged or perfect, or if we've just had enough. + } while ( + scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations + ); + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); + +var rscriptType = ( /^$|\/(?:java|ecma)script/i ); + + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE <=9 only + option: [ 1, "" ], + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +// Support: IE <=9 only +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, contains, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); +var documentElement = document.documentElement; + + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 only +// See #13393 for more info +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = {}; + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + // Make a writable jQuery.Event from the native event object + var event = jQuery.event.fix( nativeEvent ); + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or 2) have namespace(s) + // a subset or equal to those in the bound event (both can have no namespace). + if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: jQuery.isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + this.focus(); + return false; + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function( event ) { + var button = event.button; + + // Add which for key events + if ( event.which == null && rkeyEvent.test( event.type ) ) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { + if ( button & 1 ) { + return 1; + } + + if ( button & 2 ) { + return 3; + } + + if ( button & 4 ) { + return 2; + } + + return 0; + } + + return event.which; + } +}, jQuery.event.addProp ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + /* eslint-disable max-len */ + + // See https://github.com/eslint/eslint/issues/3229 + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, + + /* eslint-enable */ + + // Support: IE <=10 - 11, Edge 12 - 13 + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( ">tbody", elem )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + + if ( match ) { + elem.type = match[ 1 ]; + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.access( src ); + pdataCur = dataPriv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( isFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html.replace( rxhtmlTag, "<$1>" ); + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = jQuery.contains( elem.ownerDocument, elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rmargin = ( /^margin/ ); + +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + div.style.cssText = + "box-sizing:border-box;" + + "position:relative;display:block;" + + "margin:auto;border:1px;padding:1px;" + + "top:1%;width:50%"; + div.innerHTML = ""; + documentElement.appendChild( container ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = divStyle.marginLeft === "2px"; + boxSizingReliableVal = divStyle.width === "4px"; + + // Support: Android 4.0 - 4.3 only + // Some styles come back with percentage values, even though they shouldn't + div.style.marginRight = "50%"; + pixelMarginRightVal = divStyle.marginRight === "4px"; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + var pixelPositionVal, boxSizingReliableVal, pixelMarginRightVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + container.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;" + + "padding:0;margin-top:1px;position:absolute"; + container.appendChild( div ); + + jQuery.extend( support, { + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelMarginRight: function() { + computeStyleTests(); + return pixelMarginRightVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }, + + cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style; + +// Return a css property mapped to a potentially vendor prefixed property +function vendorPropName( name ) { + + // Shortcut for names that are not vendor prefixed + if ( name in emptyStyle ) { + return name; + } + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a property mapped along what jQuery.cssProps suggests or to +// a vendor prefixed property. +function finalPropName( name ) { + var ret = jQuery.cssProps[ name ]; + if ( !ret ) { + ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name; + } + return ret; +} + +function setPositiveNumber( elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { + var i, + val = 0; + + // If we already have the right measurement, avoid augmentation + if ( extra === ( isBorderBox ? "border" : "content" ) ) { + i = 4; + + // Otherwise initialize for horizontal or vertical properties + } else { + i = name === "width" ? 1 : 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); + } + + if ( isBorderBox ) { + + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // At this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } else { + + // At this point, extra isn't content, so add padding + val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // At this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with computed style + var valueIsBorderBox, + styles = getStyles( elem ), + val = curCSS( elem, name, styles ), + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test( val ) ) { + return val; + } + + // Check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && + ( support.boxSizingReliable() || val === elem.style[ name ] ); + + // Fall back to offsetWidth/Height when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + if ( val === "auto" ) { + val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ]; + } + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + + // Use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + "float": "cssFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + if ( type === "number" ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = jQuery.camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( i, name ) { + jQuery.cssHooks[ name ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, name, extra ); + } ) : + getWidthOrHeight( elem, name, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = extra && getStyles( elem ), + subtract = extra && augmentWidthOrHeight( + elem, + name, + extra, + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + styles + ); + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ name ] = value; + value = jQuery.css( elem, name ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( !rmargin.test( prefix ) ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && + ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || + jQuery.cssHooks[ tween.prop ] ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = jQuery.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 13 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = jQuery.camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( jQuery.isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + jQuery.proxy( result.stop, result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( jQuery.isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( jQuery.isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + jQuery.isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( jQuery.isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue && type !== false ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = jQuery.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( jQuery.isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( typeof value === "string" && value ) { + classes = value.match( rnothtmlwhite ) || []; + + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( jQuery.isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + if ( typeof value === "string" && value ) { + classes = value.match( rnothtmlwhite ) || []; + + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value; + + if ( typeof stateVal === "boolean" && type === "string" ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( jQuery.isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( type === "string" ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = value.match( rnothtmlwhite ) || []; + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, isFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + elem[ type ](); + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + + "change select submit keydown keypress keyup contextmenu" ).split( " " ), + function( i, name ) { + + // Handle event binding + jQuery.fn[ name ] = function( data, fn ) { + return arguments.length > 0 ? + this.on( name, null, data, fn ) : + this.trigger( name ); + }; +} ); + +jQuery.fn.extend( { + hover: function( fnOver, fnOut ) { + return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); + } +} ); + + + + +support.focusin = "onfocusin" in window; + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = jQuery.now(); + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) { + xml = undefined; + } + + if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && jQuery.type( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = jQuery.isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ) + .filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ) + .map( function( i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( jQuery.isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; + } + } + match = responseHeaders[ key.toLowerCase() ]; + } + return match == null ? null : match; + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 13 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available, append data to url + if ( s.data ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( jQuery.isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + + +jQuery._evalUrl = function( url ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + "throws": true + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( jQuery.isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( isFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain requests + if ( s.crossDomain ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + + + +
+
+

DataTables example Column rendering

+
+

Each column has an optional rendering control called columns.render which can be used to process the content of each cell before the data is used. columns.render 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
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/advanced_init/complex_header.html b/vendor/datatables/datatables/examples/advanced_init/complex_header.html new file mode 100644 index 0000000..a88a762 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/complex_header.html @@ -0,0 +1,913 @@ + + + + + + + DataTables example - Complex headers with column visibility + + + + + + + + + + + +
+
+

DataTables example Complex headers with column visibility

+
+

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 rowspan 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.visible option and column().visible() 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
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
NamePositionSalaryOfficeExtn.E-mail
+
    +
  • 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( { + "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/vendor/datatables/datatables/examples/advanced_init/defaults.html b/vendor/datatables/datatables/examples/advanced_init/defaults.html new file mode 100644 index 0000000..1056ae8 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/defaults.html @@ -0,0 +1,906 @@ + + + + + + + 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 + dom 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
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
NamePositionOfficeAgeStart dateSalary
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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

$.extend( true, $.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/vendor/datatables/datatables/examples/advanced_init/dom_multiple_elements.html b/vendor/datatables/datatables/examples/advanced_init/dom_multiple_elements.html new file mode 100644 index 0000000..47c4817 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/dom_multiple_elements.html @@ -0,0 +1,914 @@ + + + + + + + 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 dom initialisation parameter to move DataTables features around the table to where you want them.

+

In addition to this, you can also use dom 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 the four key built-in features are duplicated above and below the table.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/advanced_init/dom_toolbar.html b/vendor/datatables/datatables/examples/advanced_init/dom_toolbar.html new file mode 100644 index 0000000..bafff19 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/dom_toolbar.html @@ -0,0 +1,916 @@ + + + + + + + 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 '-string toolbar' is created using dom, and jQuery then used to insert HTML into that + element to create the toolbar. You could put whatever HTML you want into the toolbar!

+

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 dom 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).

+

There are a number of extensions for DataTables that make use of this ability. For example, Buttons is a feature plug-in for DataTables that adds buttons into a toolbar for a table (copy to clipboard, save to + Excel / PDF, and more).

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/advanced_init/dt_events.html b/vendor/datatables/datatables/examples/advanced_init/dt_events.html new file mode 100644 index 0000000..9172910 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/dt_events.html @@ -0,0 +1,920 @@ + + + + + + + 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() 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 order, search and page events by adding a notification that the event fired to an + element on the page to show that they have indeed fired.

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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 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/vendor/datatables/datatables/examples/advanced_init/events_live.html b/vendor/datatables/datatables/examples/advanced_init/events_live.html new file mode 100644 index 0000000..56e05a2 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/events_live.html @@ -0,0 +1,905 @@ + + + + + + + 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. This example + also uses the DataTables row().data() method to + retrieve information about the selected row - the row's data so we can show it in the alert message in this case.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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 table = $('#example').DataTable(); + + $('#example tbody').on('click', 'tr', function () { + var data = table.row( this ).data(); + alert( 'You clicked on '+data[0]+'\'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/vendor/datatables/datatables/examples/advanced_init/footer_callback.html b/vendor/datatables/datatables/examples/advanced_init/footer_callback.html new file mode 100644 index 0000000..90d9737 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/footer_callback.html @@ -0,0 +1,903 @@ + + + + + + + DataTables example - Footer callback + + + + + + + + + + + +
+
+

DataTables example Footer callback

+
+

Through the use of the header and footer callback manipulation functions provided by DataTables (headerCallback and footerCallback), 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() API method and column().footer() for writing the value into the + footer.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
Total:
+
    +
  • 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( { + "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 + total = api + .column( 4 ) + .data() + .reduce( function (a, b) { + return intVal(a) + intVal(b); + }, 0 ); + + // Total over this page + pageTotal = api + .column( 4, { page: 'current'} ) + .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/vendor/datatables/datatables/examples/advanced_init/html5-data-attributes.html b/vendor/datatables/datatables/examples/advanced_init/html5-data-attributes.html new file mode 100644 index 0000000..6246672 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/html5-data-attributes.html @@ -0,0 +1,903 @@ + + + + + + + DataTables example - HTML5 data-* attributes - cell data + + + + + + + + + + + +
+
+

DataTables example HTML5 data-* attributes - cell data

+
+

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, + the column will correctly order numerically as the data-sort / data-order attribute is set on the column with plain numeric data.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/advanced_init/html5-data-options.html b/vendor/datatables/datatables/examples/advanced_init/html5-data-options.html new file mode 100644 index 0000000..64757e2 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/html5-data-options.html @@ -0,0 +1,902 @@ + + + + + + + DataTables example - HTML5 data-* attributes - table options + + + + + + + + + + + +
+
+

DataTables example HTML5 data-* attributes - table options

+
+

As of DataTables 1.10.5 it is now possible to define initialisation options using HTML5 data-* + attributes. The attribute names are read by DataTables and used, potentially in combination with, the standard Javascript initialisation options (with the + data-* attributes taking priority).

+

Please note that the attribute values must contain valid JSON data or a Javascript primitive, as required by jQuery's $().data() method. This means that double quotes should be used inside the attribute if needed + for a string (see the data-order in this example).

+

Additionally, jQuery will convert a dashed string into the camel-case notation used by DataTables for its options. For example data-page-length is + used to represent pageLength.

+

The table below shows the use of pageLength and order on the main table. Column options can also be defined on the table column cells, as shown by the use of the + columns.orderable option on + the fifth column 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/vendor/datatables/datatables/examples/advanced_init/index.html b/vendor/datatables/datatables/examples/advanced_init/index.html new file mode 100644 index 0000000..c73704e --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/index.html @@ -0,0 +1,97 @@ + + + + + + + + + + + + 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/vendor/datatables/datatables/examples/advanced_init/language_file.html b/vendor/datatables/datatables/examples/advanced_init/language_file.html new file mode 100644 index 0000000..f8aeed5 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/language_file.html @@ -0,0 +1,902 @@ + + + + + + + DataTables example - Language file + + + + + + + + + + + +
+
+

DataTables example Language file

+
+

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

+

The following example shows DataTables reading a German language file which is hosted on the DataTables CDN

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "language": { + "url": "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json" + } + } ); +} ); +

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/vendor/datatables/datatables/examples/advanced_init/length_menu.html b/vendor/datatables/datatables/examples/advanced_init/length_menu.html new file mode 100644 index 0000000..8f01d48 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/length_menu.html @@ -0,0 +1,902 @@ + + + + + + + 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 lengthMenu 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
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/advanced_init/object_dom_read.html b/vendor/datatables/datatables/examples/advanced_init/object_dom_read.html new file mode 100644 index 0000000..d1abf07 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/object_dom_read.html @@ -0,0 +1,926 @@ + + + + + + + DataTables example - Read HTML to data objects + + + + + + + + + + + +
+
+

DataTables example Read HTML to data objects

+
+

When DataTables reads the table content from an HTML table (rather than an Ajax or Javascript data source), by default it will read the information in the table + into an array that DataTables stores internally. Each array element represents a column.

+

It can be very useful to have DataTables read the information into an object rather than an array, an option that can be triggered using the columns.data initialisation option to + define how you want the data to be stored. Typically columns.data is used with Ajax sourced data to tell DataTables where to read data + from, but as can be seen here it also tells DataTables where to write the data to.

+

This ability to store data into an object can be very useful when working with the DataTables API after the table has been initialised.

+

In the example shown here, the data read from each row in the table is read into a Javascript object with the structure:

+
{
+	"name": "...",
+	"position": "...",
+	"office": "...",
+	"age": "...",
+	"start_date": "...",
+	"salary": "..."
+}
+
+

Please note that this feature requires DataTables 1.10.3 or newer.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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({ + "columns": [ + { "data": "name" }, + { "data": "position" }, + { "data": "office" }, + { "data": "age" }, + { "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/vendor/datatables/datatables/examples/advanced_init/row_callback.html b/vendor/datatables/datatables/examples/advanced_init/row_callback.html new file mode 100644 index 0000000..c907c1c --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/row_callback.html @@ -0,0 +1,915 @@ + + + + + + + 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 + createdRow 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 $150,000. + Note that columns.createdCell could also be used to create exactly the same effect.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "createdRow": function ( row, data, index ) { + if ( data[5].replace(/[\$,]/g, '') * 1 > 150000 ) { + $('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/vendor/datatables/datatables/examples/advanced_init/row_grouping.html b/vendor/datatables/datatables/examples/advanced_init/row_grouping.html new file mode 100644 index 0000000..e09bd4a --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/row_grouping.html @@ -0,0 +1,974 @@ + + + + + + + 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 drawCallback + 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.

+

RowGroup extension

+

Important note: DataTables now has a RowGroup extension that provides a formal API for the abilities in + this demo and extends upon them in a number of significant and useful ways. This example is retained as a useful demonstration of how the drawCallback option can be used, but for + new sites that make use of row grouping, it is suggested that you use the new RowGroup extension.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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 groupColumn = 2; + var table = $('#example').DataTable({ + "columnDefs": [ + { "visible": false, "targets": groupColumn } + ], + "order": [[ groupColumn, 'asc' ]], + "displayLength": 25, + "drawCallback": function ( settings ) { + var api = this.api(); + var rows = api.rows( {page:'current'} ).nodes(); + var last=null; + + api.column(groupColumn, {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] === groupColumn && currentOrder[1] === 'asc' ) { + table.order( [ groupColumn, 'desc' ] ).draw(); + } + else { + table.order( [ groupColumn, '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/vendor/datatables/datatables/examples/advanced_init/sort_direction_control.html b/vendor/datatables/datatables/examples/advanced_init/sort_direction_control.html new file mode 100644 index 0000000..82d38d9 --- /dev/null +++ b/vendor/datatables/datatables/examples/advanced_init/sort_direction_control.html @@ -0,0 +1,922 @@ + + + + + + + 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.orderSequence 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 used and therefore applied across all columns.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/ajax/custom_data_flat.html b/vendor/datatables/datatables/examples/ajax/custom_data_flat.html new file mode 100644 index 0000000..03fb4fa --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/custom_data_flat.html @@ -0,0 +1,469 @@ + + + + + + + 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 ajax initiation option.

+

The ajax.dataSrc 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.dataSrc 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
+
    +
  • 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( { + "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/vendor/datatables/datatables/examples/ajax/custom_data_property.html b/vendor/datatables/datatables/examples/ajax/custom_data_property.html new file mode 100644 index 0000000..03948fb --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/custom_data_property.html @@ -0,0 +1,454 @@ + + + + + + + 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 changed by using the dataSrc option of the ajax initiation option.

+

The ajax.dataSrc 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.dataSrc being used as a string to get the data from a different source property, in this case demo, but it could be any value, including a nested property using standard dotted Javascript object notation.

+

For more details on loading a DataTable with Ajax data, please refer to the Ajax section of the manual.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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( { + "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/vendor/datatables/datatables/examples/ajax/data/arrays.txt b/vendor/datatables/datatables/examples/ajax/data/arrays.txt new file mode 100644 index 0000000..4dadf14 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/arrays.txt @@ -0,0 +1,460 @@ +{ + "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/vendor/datatables/datatables/examples/ajax/data/arrays_custom_prop.txt b/vendor/datatables/datatables/examples/ajax/data/arrays_custom_prop.txt new file mode 100644 index 0000000..06e8265 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/arrays_custom_prop.txt @@ -0,0 +1,460 @@ +{ + "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/vendor/datatables/datatables/examples/ajax/data/arrays_subobjects.txt b/vendor/datatables/datatables/examples/ajax/data/arrays_subobjects.txt new file mode 100644 index 0000000..a455181 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/arrays_subobjects.txt @@ -0,0 +1,688 @@ +{ + "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/vendor/datatables/datatables/examples/ajax/data/objects.txt b/vendor/datatables/datatables/examples/ajax/data/objects.txt new file mode 100644 index 0000000..e110f9c --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/objects.txt @@ -0,0 +1,517 @@ +{ + "data": [ + { + "id": "1", + "name": "Tiger Nixon", + "position": "System Architect", + "salary": "$320,800", + "start_date": "2011\/04\/25", + "office": "Edinburgh", + "extn": "5421" + }, + { + "id": "2", + "name": "Garrett Winters", + "position": "Accountant", + "salary": "$170,750", + "start_date": "2011\/07\/25", + "office": "Tokyo", + "extn": "8422" + }, + { + "id": "3", + "name": "Ashton Cox", + "position": "Junior Technical Author", + "salary": "$86,000", + "start_date": "2009\/01\/12", + "office": "San Francisco", + "extn": "1562" + }, + { + "id": "4", + "name": "Cedric Kelly", + "position": "Senior Javascript Developer", + "salary": "$433,060", + "start_date": "2012\/03\/29", + "office": "Edinburgh", + "extn": "6224" + }, + { + "id": "5", + "name": "Airi Satou", + "position": "Accountant", + "salary": "$162,700", + "start_date": "2008\/11\/28", + "office": "Tokyo", + "extn": "5407" + }, + { + "id": "6", + "name": "Brielle Williamson", + "position": "Integration Specialist", + "salary": "$372,000", + "start_date": "2012\/12\/02", + "office": "New York", + "extn": "4804" + }, + { + "id": "7", + "name": "Herrod Chandler", + "position": "Sales Assistant", + "salary": "$137,500", + "start_date": "2012\/08\/06", + "office": "San Francisco", + "extn": "9608" + }, + { + "id": "8", + "name": "Rhona Davidson", + "position": "Integration Specialist", + "salary": "$327,900", + "start_date": "2010\/10\/14", + "office": "Tokyo", + "extn": "6200" + }, + { + "id": "9", + "name": "Colleen Hurst", + "position": "Javascript Developer", + "salary": "$205,500", + "start_date": "2009\/09\/15", + "office": "San Francisco", + "extn": "2360" + }, + { + "id": "10", + "name": "Sonya Frost", + "position": "Software Engineer", + "salary": "$103,600", + "start_date": "2008\/12\/13", + "office": "Edinburgh", + "extn": "1667" + }, + { + "id": "11", + "name": "Jena Gaines", + "position": "Office Manager", + "salary": "$90,560", + "start_date": "2008\/12\/19", + "office": "London", + "extn": "3814" + }, + { + "id": "12", + "name": "Quinn Flynn", + "position": "Support Lead", + "salary": "$342,000", + "start_date": "2013\/03\/03", + "office": "Edinburgh", + "extn": "9497" + }, + { + "id": "13", + "name": "Charde Marshall", + "position": "Regional Director", + "salary": "$470,600", + "start_date": "2008\/10\/16", + "office": "San Francisco", + "extn": "6741" + }, + { + "id": "14", + "name": "Haley Kennedy", + "position": "Senior Marketing Designer", + "salary": "$313,500", + "start_date": "2012\/12\/18", + "office": "London", + "extn": "3597" + }, + { + "id": "15", + "name": "Tatyana Fitzpatrick", + "position": "Regional Director", + "salary": "$385,750", + "start_date": "2010\/03\/17", + "office": "London", + "extn": "1965" + }, + { + "id": "16", + "name": "Michael Silva", + "position": "Marketing Designer", + "salary": "$198,500", + "start_date": "2012\/11\/27", + "office": "London", + "extn": "1581" + }, + { + "id": "17", + "name": "Paul Byrd", + "position": "Chief Financial Officer (CFO)", + "salary": "$725,000", + "start_date": "2010\/06\/09", + "office": "New York", + "extn": "3059" + }, + { + "id": "18", + "name": "Gloria Little", + "position": "Systems Administrator", + "salary": "$237,500", + "start_date": "2009\/04\/10", + "office": "New York", + "extn": "1721" + }, + { + "id": "19", + "name": "Bradley Greer", + "position": "Software Engineer", + "salary": "$132,000", + "start_date": "2012\/10\/13", + "office": "London", + "extn": "2558" + }, + { + "id": "20", + "name": "Dai Rios", + "position": "Personnel Lead", + "salary": "$217,500", + "start_date": "2012\/09\/26", + "office": "Edinburgh", + "extn": "2290" + }, + { + "id": "21", + "name": "Jenette Caldwell", + "position": "Development Lead", + "salary": "$345,000", + "start_date": "2011\/09\/03", + "office": "New York", + "extn": "1937" + }, + { + "id": "22", + "name": "Yuri Berry", + "position": "Chief Marketing Officer (CMO)", + "salary": "$675,000", + "start_date": "2009\/06\/25", + "office": "New York", + "extn": "6154" + }, + { + "id": "23", + "name": "Caesar Vance", + "position": "Pre-Sales Support", + "salary": "$106,450", + "start_date": "2011\/12\/12", + "office": "New York", + "extn": "8330" + }, + { + "id": "24", + "name": "Doris Wilder", + "position": "Sales Assistant", + "salary": "$85,600", + "start_date": "2010\/09\/20", + "office": "Sidney", + "extn": "3023" + }, + { + "id": "25", + "name": "Angelica Ramos", + "position": "Chief Executive Officer (CEO)", + "salary": "$1,200,000", + "start_date": "2009\/10\/09", + "office": "London", + "extn": "5797" + }, + { + "id": "26", + "name": "Gavin Joyce", + "position": "Developer", + "salary": "$92,575", + "start_date": "2010\/12\/22", + "office": "Edinburgh", + "extn": "8822" + }, + { + "id": "27", + "name": "Jennifer Chang", + "position": "Regional Director", + "salary": "$357,650", + "start_date": "2010\/11\/14", + "office": "Singapore", + "extn": "9239" + }, + { + "id": "28", + "name": "Brenden Wagner", + "position": "Software Engineer", + "salary": "$206,850", + "start_date": "2011\/06\/07", + "office": "San Francisco", + "extn": "1314" + }, + { + "id": "29", + "name": "Fiona Green", + "position": "Chief Operating Officer (COO)", + "salary": "$850,000", + "start_date": "2010\/03\/11", + "office": "San Francisco", + "extn": "2947" + }, + { + "id": "30", + "name": "Shou Itou", + "position": "Regional Marketing", + "salary": "$163,000", + "start_date": "2011\/08\/14", + "office": "Tokyo", + "extn": "8899" + }, + { + "id": "31", + "name": "Michelle House", + "position": "Integration Specialist", + "salary": "$95,400", + "start_date": "2011\/06\/02", + "office": "Sidney", + "extn": "2769" + }, + { + "id": "32", + "name": "Suki Burks", + "position": "Developer", + "salary": "$114,500", + "start_date": "2009\/10\/22", + "office": "London", + "extn": "6832" + }, + { + "id": "33", + "name": "Prescott Bartlett", + "position": "Technical Author", + "salary": "$145,000", + "start_date": "2011\/05\/07", + "office": "London", + "extn": "3606" + }, + { + "id": "34", + "name": "Gavin Cortez", + "position": "Team Leader", + "salary": "$235,500", + "start_date": "2008\/10\/26", + "office": "San Francisco", + "extn": "2860" + }, + { + "id": "35", + "name": "Martena Mccray", + "position": "Post-Sales support", + "salary": "$324,050", + "start_date": "2011\/03\/09", + "office": "Edinburgh", + "extn": "8240" + }, + { + "id": "36", + "name": "Unity Butler", + "position": "Marketing Designer", + "salary": "$85,675", + "start_date": "2009\/12\/09", + "office": "San Francisco", + "extn": "5384" + }, + { + "id": "37", + "name": "Howard Hatfield", + "position": "Office Manager", + "salary": "$164,500", + "start_date": "2008\/12\/16", + "office": "San Francisco", + "extn": "7031" + }, + { + "id": "38", + "name": "Hope Fuentes", + "position": "Secretary", + "salary": "$109,850", + "start_date": "2010\/02\/12", + "office": "San Francisco", + "extn": "6318" + }, + { + "id": "39", + "name": "Vivian Harrell", + "position": "Financial Controller", + "salary": "$452,500", + "start_date": "2009\/02\/14", + "office": "San Francisco", + "extn": "9422" + }, + { + "id": "40", + "name": "Timothy Mooney", + "position": "Office Manager", + "salary": "$136,200", + "start_date": "2008\/12\/11", + "office": "London", + "extn": "7580" + }, + { + "id": "41", + "name": "Jackson Bradshaw", + "position": "Director", + "salary": "$645,750", + "start_date": "2008\/09\/26", + "office": "New York", + "extn": "1042" + }, + { + "id": "42", + "name": "Olivia Liang", + "position": "Support Engineer", + "salary": "$234,500", + "start_date": "2011\/02\/03", + "office": "Singapore", + "extn": "2120" + }, + { + "id": "43", + "name": "Bruno Nash", + "position": "Software Engineer", + "salary": "$163,500", + "start_date": "2011\/05\/03", + "office": "London", + "extn": "6222" + }, + { + "id": "44", + "name": "Sakura Yamamoto", + "position": "Support Engineer", + "salary": "$139,575", + "start_date": "2009\/08\/19", + "office": "Tokyo", + "extn": "9383" + }, + { + "id": "45", + "name": "Thor Walton", + "position": "Developer", + "salary": "$98,540", + "start_date": "2013\/08\/11", + "office": "New York", + "extn": "8327" + }, + { + "id": "46", + "name": "Finn Camacho", + "position": "Support Engineer", + "salary": "$87,500", + "start_date": "2009\/07\/07", + "office": "San Francisco", + "extn": "2927" + }, + { + "id": "47", + "name": "Serge Baldwin", + "position": "Data Coordinator", + "salary": "$138,575", + "start_date": "2012\/04\/09", + "office": "Singapore", + "extn": "8352" + }, + { + "id": "48", + "name": "Zenaida Frank", + "position": "Software Engineer", + "salary": "$125,250", + "start_date": "2010\/01\/04", + "office": "New York", + "extn": "7439" + }, + { + "id": "49", + "name": "Zorita Serrano", + "position": "Software Engineer", + "salary": "$115,000", + "start_date": "2012\/06\/01", + "office": "San Francisco", + "extn": "4389" + }, + { + "id": "50", + "name": "Jennifer Acosta", + "position": "Junior Javascript Developer", + "salary": "$75,650", + "start_date": "2013\/02\/01", + "office": "Edinburgh", + "extn": "3431" + }, + { + "id": "51", + "name": "Cara Stevens", + "position": "Sales Assistant", + "salary": "$145,600", + "start_date": "2011\/12\/06", + "office": "New York", + "extn": "3990" + }, + { + "id": "52", + "name": "Hermione Butler", + "position": "Regional Director", + "salary": "$356,250", + "start_date": "2011\/03\/21", + "office": "London", + "extn": "1016" + }, + { + "id": "53", + "name": "Lael Greer", + "position": "Systems Administrator", + "salary": "$103,500", + "start_date": "2009\/02\/27", + "office": "London", + "extn": "6733" + }, + { + "id": "54", + "name": "Jonas Alexander", + "position": "Developer", + "salary": "$86,500", + "start_date": "2010\/07\/14", + "office": "San Francisco", + "extn": "8196" + }, + { + "id": "55", + "name": "Shad Decker", + "position": "Regional Director", + "salary": "$183,000", + "start_date": "2008\/11\/13", + "office": "Edinburgh", + "extn": "6373" + }, + { + "id": "56", + "name": "Michael Bruce", + "position": "Javascript Developer", + "salary": "$183,000", + "start_date": "2011\/06\/27", + "office": "Singapore", + "extn": "5384" + }, + { + "id": "57", + "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/vendor/datatables/datatables/examples/ajax/data/objects_deep.txt b/vendor/datatables/datatables/examples/ajax/data/objects_deep.txt new file mode 100644 index 0000000..a69f18d --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/objects_deep.txt @@ -0,0 +1,688 @@ +{ + "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/vendor/datatables/datatables/examples/ajax/data/objects_root_array.txt b/vendor/datatables/datatables/examples/ajax/data/objects_root_array.txt new file mode 100644 index 0000000..8ee4eb4 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/objects_root_array.txt @@ -0,0 +1,515 @@ +[ + { + "id": "1", + "name": "Tiger Nixon", + "position": "System Architect", + "salary": "$320,800", + "start_date": "2011\/04\/25", + "office": "Edinburgh", + "extn": "5421" + }, + { + "id": "2", + "name": "Garrett Winters", + "position": "Accountant", + "salary": "$170,750", + "start_date": "2011\/07\/25", + "office": "Tokyo", + "extn": "8422" + }, + { + "id": "3", + "name": "Ashton Cox", + "position": "Junior Technical Author", + "salary": "$86,000", + "start_date": "2009\/01\/12", + "office": "San Francisco", + "extn": "1562" + }, + { + "id": "4", + "name": "Cedric Kelly", + "position": "Senior Javascript Developer", + "salary": "$433,060", + "start_date": "2012\/03\/29", + "office": "Edinburgh", + "extn": "6224" + }, + { + "id": "5", + "name": "Airi Satou", + "position": "Accountant", + "salary": "$162,700", + "start_date": "2008\/11\/28", + "office": "Tokyo", + "extn": "5407" + }, + { + "id": "6", + "name": "Brielle Williamson", + "position": "Integration Specialist", + "salary": "$372,000", + "start_date": "2012\/12\/02", + "office": "New York", + "extn": "4804" + }, + { + "id": "7", + "name": "Herrod Chandler", + "position": "Sales Assistant", + "salary": "$137,500", + "start_date": "2012\/08\/06", + "office": "San Francisco", + "extn": "9608" + }, + { + "id": "8", + "name": "Rhona Davidson", + "position": "Integration Specialist", + "salary": "$327,900", + "start_date": "2010\/10\/14", + "office": "Tokyo", + "extn": "6200" + }, + { + "id": "9", + "name": "Colleen Hurst", + "position": "Javascript Developer", + "salary": "$205,500", + "start_date": "2009\/09\/15", + "office": "San Francisco", + "extn": "2360" + }, + { + "id": "10", + "name": "Sonya Frost", + "position": "Software Engineer", + "salary": "$103,600", + "start_date": "2008\/12\/13", + "office": "Edinburgh", + "extn": "1667" + }, + { + "id": "11", + "name": "Jena Gaines", + "position": "Office Manager", + "salary": "$90,560", + "start_date": "2008\/12\/19", + "office": "London", + "extn": "3814" + }, + { + "id": "12", + "name": "Quinn Flynn", + "position": "Support Lead", + "salary": "$342,000", + "start_date": "2013\/03\/03", + "office": "Edinburgh", + "extn": "9497" + }, + { + "id": "13", + "name": "Charde Marshall", + "position": "Regional Director", + "salary": "$470,600", + "start_date": "2008\/10\/16", + "office": "San Francisco", + "extn": "6741" + }, + { + "id": "14", + "name": "Haley Kennedy", + "position": "Senior Marketing Designer", + "salary": "$313,500", + "start_date": "2012\/12\/18", + "office": "London", + "extn": "3597" + }, + { + "id": "15", + "name": "Tatyana Fitzpatrick", + "position": "Regional Director", + "salary": "$385,750", + "start_date": "2010\/03\/17", + "office": "London", + "extn": "1965" + }, + { + "id": "16", + "name": "Michael Silva", + "position": "Marketing Designer", + "salary": "$198,500", + "start_date": "2012\/11\/27", + "office": "London", + "extn": "1581" + }, + { + "id": "17", + "name": "Paul Byrd", + "position": "Chief Financial Officer (CFO)", + "salary": "$725,000", + "start_date": "2010\/06\/09", + "office": "New York", + "extn": "3059" + }, + { + "id": "18", + "name": "Gloria Little", + "position": "Systems Administrator", + "salary": "$237,500", + "start_date": "2009\/04\/10", + "office": "New York", + "extn": "1721" + }, + { + "id": "19", + "name": "Bradley Greer", + "position": "Software Engineer", + "salary": "$132,000", + "start_date": "2012\/10\/13", + "office": "London", + "extn": "2558" + }, + { + "id": "20", + "name": "Dai Rios", + "position": "Personnel Lead", + "salary": "$217,500", + "start_date": "2012\/09\/26", + "office": "Edinburgh", + "extn": "2290" + }, + { + "id": "21", + "name": "Jenette Caldwell", + "position": "Development Lead", + "salary": "$345,000", + "start_date": "2011\/09\/03", + "office": "New York", + "extn": "1937" + }, + { + "id": "22", + "name": "Yuri Berry", + "position": "Chief Marketing Officer (CMO)", + "salary": "$675,000", + "start_date": "2009\/06\/25", + "office": "New York", + "extn": "6154" + }, + { + "id": "23", + "name": "Caesar Vance", + "position": "Pre-Sales Support", + "salary": "$106,450", + "start_date": "2011\/12\/12", + "office": "New York", + "extn": "8330" + }, + { + "id": "24", + "name": "Doris Wilder", + "position": "Sales Assistant", + "salary": "$85,600", + "start_date": "2010\/09\/20", + "office": "Sidney", + "extn": "3023" + }, + { + "id": "25", + "name": "Angelica Ramos", + "position": "Chief Executive Officer (CEO)", + "salary": "$1,200,000", + "start_date": "2009\/10\/09", + "office": "London", + "extn": "5797" + }, + { + "id": "26", + "name": "Gavin Joyce", + "position": "Developer", + "salary": "$92,575", + "start_date": "2010\/12\/22", + "office": "Edinburgh", + "extn": "8822" + }, + { + "id": "27", + "name": "Jennifer Chang", + "position": "Regional Director", + "salary": "$357,650", + "start_date": "2010\/11\/14", + "office": "Singapore", + "extn": "9239" + }, + { + "id": "28", + "name": "Brenden Wagner", + "position": "Software Engineer", + "salary": "$206,850", + "start_date": "2011\/06\/07", + "office": "San Francisco", + "extn": "1314" + }, + { + "id": "29", + "name": "Fiona Green", + "position": "Chief Operating Officer (COO)", + "salary": "$850,000", + "start_date": "2010\/03\/11", + "office": "San Francisco", + "extn": "2947" + }, + { + "id": "30", + "name": "Shou Itou", + "position": "Regional Marketing", + "salary": "$163,000", + "start_date": "2011\/08\/14", + "office": "Tokyo", + "extn": "8899" + }, + { + "id": "31", + "name": "Michelle House", + "position": "Integration Specialist", + "salary": "$95,400", + "start_date": "2011\/06\/02", + "office": "Sidney", + "extn": "2769" + }, + { + "id": "32", + "name": "Suki Burks", + "position": "Developer", + "salary": "$114,500", + "start_date": "2009\/10\/22", + "office": "London", + "extn": "6832" + }, + { + "id": "33", + "name": "Prescott Bartlett", + "position": "Technical Author", + "salary": "$145,000", + "start_date": "2011\/05\/07", + "office": "London", + "extn": "3606" + }, + { + "id": "34", + "name": "Gavin Cortez", + "position": "Team Leader", + "salary": "$235,500", + "start_date": "2008\/10\/26", + "office": "San Francisco", + "extn": "2860" + }, + { + "id": "35", + "name": "Martena Mccray", + "position": "Post-Sales support", + "salary": "$324,050", + "start_date": "2011\/03\/09", + "office": "Edinburgh", + "extn": "8240" + }, + { + "id": "36", + "name": "Unity Butler", + "position": "Marketing Designer", + "salary": "$85,675", + "start_date": "2009\/12\/09", + "office": "San Francisco", + "extn": "5384" + }, + { + "id": "37", + "name": "Howard Hatfield", + "position": "Office Manager", + "salary": "$164,500", + "start_date": "2008\/12\/16", + "office": "San Francisco", + "extn": "7031" + }, + { + "id": "38", + "name": "Hope Fuentes", + "position": "Secretary", + "salary": "$109,850", + "start_date": "2010\/02\/12", + "office": "San Francisco", + "extn": "6318" + }, + { + "id": "39", + "name": "Vivian Harrell", + "position": "Financial Controller", + "salary": "$452,500", + "start_date": "2009\/02\/14", + "office": "San Francisco", + "extn": "9422" + }, + { + "id": "40", + "name": "Timothy Mooney", + "position": "Office Manager", + "salary": "$136,200", + "start_date": "2008\/12\/11", + "office": "London", + "extn": "7580" + }, + { + "id": "41", + "name": "Jackson Bradshaw", + "position": "Director", + "salary": "$645,750", + "start_date": "2008\/09\/26", + "office": "New York", + "extn": "1042" + }, + { + "id": "42", + "name": "Olivia Liang", + "position": "Support Engineer", + "salary": "$234,500", + "start_date": "2011\/02\/03", + "office": "Singapore", + "extn": "2120" + }, + { + "id": "43", + "name": "Bruno Nash", + "position": "Software Engineer", + "salary": "$163,500", + "start_date": "2011\/05\/03", + "office": "London", + "extn": "6222" + }, + { + "id": "44", + "name": "Sakura Yamamoto", + "position": "Support Engineer", + "salary": "$139,575", + "start_date": "2009\/08\/19", + "office": "Tokyo", + "extn": "9383" + }, + { + "id": "45", + "name": "Thor Walton", + "position": "Developer", + "salary": "$98,540", + "start_date": "2013\/08\/11", + "office": "New York", + "extn": "8327" + }, + { + "id": "46", + "name": "Finn Camacho", + "position": "Support Engineer", + "salary": "$87,500", + "start_date": "2009\/07\/07", + "office": "San Francisco", + "extn": "2927" + }, + { + "id": "47", + "name": "Serge Baldwin", + "position": "Data Coordinator", + "salary": "$138,575", + "start_date": "2012\/04\/09", + "office": "Singapore", + "extn": "8352" + }, + { + "id": "48", + "name": "Zenaida Frank", + "position": "Software Engineer", + "salary": "$125,250", + "start_date": "2010\/01\/04", + "office": "New York", + "extn": "7439" + }, + { + "id": "49", + "name": "Zorita Serrano", + "position": "Software Engineer", + "salary": "$115,000", + "start_date": "2012\/06\/01", + "office": "San Francisco", + "extn": "4389" + }, + { + "id": "50", + "name": "Jennifer Acosta", + "position": "Junior Javascript Developer", + "salary": "$75,650", + "start_date": "2013\/02\/01", + "office": "Edinburgh", + "extn": "3431" + }, + { + "id": "51", + "name": "Cara Stevens", + "position": "Sales Assistant", + "salary": "$145,600", + "start_date": "2011\/12\/06", + "office": "New York", + "extn": "3990" + }, + { + "id": "52", + "name": "Hermione Butler", + "position": "Regional Director", + "salary": "$356,250", + "start_date": "2011\/03\/21", + "office": "London", + "extn": "1016" + }, + { + "id": "53", + "name": "Lael Greer", + "position": "Systems Administrator", + "salary": "$103,500", + "start_date": "2009\/02\/27", + "office": "London", + "extn": "6733" + }, + { + "id": "54", + "name": "Jonas Alexander", + "position": "Developer", + "salary": "$86,500", + "start_date": "2010\/07\/14", + "office": "San Francisco", + "extn": "8196" + }, + { + "id": "55", + "name": "Shad Decker", + "position": "Regional Director", + "salary": "$183,000", + "start_date": "2008\/11\/13", + "office": "Edinburgh", + "extn": "6373" + }, + { + "id": "56", + "name": "Michael Bruce", + "position": "Javascript Developer", + "salary": "$183,000", + "start_date": "2011\/06\/27", + "office": "Singapore", + "extn": "5384" + }, + { + "id": "57", + "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/vendor/datatables/datatables/examples/ajax/data/objects_subarrays.txt b/vendor/datatables/datatables/examples/ajax/data/objects_subarrays.txt new file mode 100644 index 0000000..fd4b0ff --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/objects_subarrays.txt @@ -0,0 +1,745 @@ +{ + "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/vendor/datatables/datatables/examples/ajax/data/orthogonal.txt b/vendor/datatables/datatables/examples/ajax/data/orthogonal.txt new file mode 100644 index 0000000..16b5a64 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/data/orthogonal.txt @@ -0,0 +1,631 @@ +{ + "data": [ + { + "name": "Tiger Nixon", + "position": "System Architect", + "salary": "$320,800", + "start_date": { + "display": "Mon 25th Apr 11", + "timestamp": "1303689600" + }, + "office": "Edinburgh", + "extn": "5421" + }, + { + "name": "Garrett Winters", + "position": "Accountant", + "salary": "$170,750", + "start_date": { + "display": "Mon 25th Jul 11", + "timestamp": "1311552000" + }, + "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": "1332979200" + }, + "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": "1344211200" + }, + "office": "San Francisco", + "extn": "9608" + }, + { + "name": "Rhona Davidson", + "position": "Integration Specialist", + "salary": "$327,900", + "start_date": { + "display": "Thu 14th Oct 10", + "timestamp": "1287014400" + }, + "office": "Tokyo", + "extn": "6200" + }, + { + "name": "Colleen Hurst", + "position": "Javascript Developer", + "salary": "$205,500", + "start_date": { + "display": "Tue 15th Sep 09", + "timestamp": "1252972800" + }, + "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": "1224115200" + }, + "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": "1276041600" + }, + "office": "New York", + "extn": "3059" + }, + { + "name": "Gloria Little", + "position": "Systems Administrator", + "salary": "$237,500", + "start_date": { + "display": "Fri 10th Apr 09", + "timestamp": "1239321600" + }, + "office": "New York", + "extn": "1721" + }, + { + "name": "Bradley Greer", + "position": "Software Engineer", + "salary": "$132,000", + "start_date": { + "display": "Sat 13th Oct 12", + "timestamp": "1350086400" + }, + "office": "London", + "extn": "2558" + }, + { + "name": "Dai Rios", + "position": "Personnel Lead", + "salary": "$217,500", + "start_date": { + "display": "Wed 26th Sep 12", + "timestamp": "1348617600" + }, + "office": "Edinburgh", + "extn": "2290" + }, + { + "name": "Jenette Caldwell", + "position": "Development Lead", + "salary": "$345,000", + "start_date": { + "display": "Sat 3rd Sep 11", + "timestamp": "1315008000" + }, + "office": "New York", + "extn": "1937" + }, + { + "name": "Yuri Berry", + "position": "Chief Marketing Officer (CMO)", + "salary": "$675,000", + "start_date": { + "display": "Thu 25th Jun 09", + "timestamp": "1245888000" + }, + "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": "1284940800" + }, + "office": "Sidney", + "extn": "3023" + }, + { + "name": "Angelica Ramos", + "position": "Chief Executive Officer (CEO)", + "salary": "$1,200,000", + "start_date": { + "display": "Fri 9th Oct 09", + "timestamp": "1255046400" + }, + "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": "1307404800" + }, + "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": "1313280000" + }, + "office": "Tokyo", + "extn": "8899" + }, + { + "name": "Michelle House", + "position": "Integration Specialist", + "salary": "$95,400", + "start_date": { + "display": "Thu 2nd Jun 11", + "timestamp": "1306972800" + }, + "office": "Sidney", + "extn": "2769" + }, + { + "name": "Suki Burks", + "position": "Developer", + "salary": "$114,500", + "start_date": { + "display": "Thu 22nd Oct 09", + "timestamp": "1256169600" + }, + "office": "London", + "extn": "6832" + }, + { + "name": "Prescott Bartlett", + "position": "Technical Author", + "salary": "$145,000", + "start_date": { + "display": "Sat 7th May 11", + "timestamp": "1304726400" + }, + "office": "London", + "extn": "3606" + }, + { + "name": "Gavin Cortez", + "position": "Team Leader", + "salary": "$235,500", + "start_date": { + "display": "Sun 26th Oct 08", + "timestamp": "1224979200" + }, + "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": "1222387200" + }, + "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": "1304380800" + }, + "office": "London", + "extn": "6222" + }, + { + "name": "Sakura Yamamoto", + "position": "Support Engineer", + "salary": "$139,575", + "start_date": { + "display": "Wed 19th Aug 09", + "timestamp": "1250640000" + }, + "office": "Tokyo", + "extn": "9383" + }, + { + "name": "Thor Walton", + "position": "Developer", + "salary": "$98,540", + "start_date": { + "display": "Sun 11th Aug 13", + "timestamp": "1376179200" + }, + "office": "New York", + "extn": "8327" + }, + { + "name": "Finn Camacho", + "position": "Support Engineer", + "salary": "$87,500", + "start_date": { + "display": "Tue 7th Jul 09", + "timestamp": "1246924800" + }, + "office": "San Francisco", + "extn": "2927" + }, + { + "name": "Serge Baldwin", + "position": "Data Coordinator", + "salary": "$138,575", + "start_date": { + "display": "Mon 9th Apr 12", + "timestamp": "1333929600" + }, + "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": "1338508800" + }, + "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": "1279065600" + }, + "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": "1309132800" + }, + "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/vendor/datatables/datatables/examples/ajax/deep.html b/vendor/datatables/datatables/examples/ajax/deep.html new file mode 100644 index 0000000..3778f04 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/deep.html @@ -0,0 +1,473 @@ + + + + + + + DataTables example - Nested object data (objects) + + + + + + + + + + + +
+
+

DataTables example Nested object data (objects)

+
+

DataTables has the ability to use data from almost any JSON data source through the use of the columns.data 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.data 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
+
    +
  • 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, + "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/vendor/datatables/datatables/examples/ajax/defer_render.html b/vendor/datatables/datatables/examples/ajax/defer_render.html new file mode 100644 index 0000000..68c16f2 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/defer_render.html @@ -0,0 +1,444 @@ + + + + + + + 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 deferRender 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
+
    +
  • 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( { + "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/vendor/datatables/datatables/examples/ajax/index.html b/vendor/datatables/datatables/examples/ajax/index.html new file mode 100644 index 0000000..bf9755e --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/index.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + 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 + ajax 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/vendor/datatables/datatables/examples/ajax/null_data_source.html b/vendor/datatables/datatables/examples/ajax/null_data_source.html new file mode 100644 index 0000000..d804cf9 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/null_data_source.html @@ -0,0 +1,472 @@ + + + + + + + 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.defaultContent 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() 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.data option for the column has been set to null to indicate that the column has no information + contained in the data source object.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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 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/vendor/datatables/datatables/examples/ajax/objects.html b/vendor/datatables/datatables/examples/ajax/objects.html new file mode 100644 index 0000000..a10c669 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/objects.html @@ -0,0 +1,467 @@ + + + + + + + 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.data 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"
+}
+
+

For more details on loading a DataTable with Ajax data, please refer to the Ajax section of the manual.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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( { + "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/vendor/datatables/datatables/examples/ajax/objects_subarrays.html b/vendor/datatables/datatables/examples/ajax/objects_subarrays.html new file mode 100644 index 0000000..4fc4830 --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/objects_subarrays.html @@ -0,0 +1,481 @@ + + + + + + + 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.data option, which is + particularly useful for working with JSON feeds in an already defined format.

+

The columns.data 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.data can process the data to combine and display the data in simple forms (more complex forms can be defined + by using columns.data as a + function).

+

This example shows two different aspects of using columns.data 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
+
    +
  • 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( { + "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/vendor/datatables/datatables/examples/ajax/orthogonal-data.html b/vendor/datatables/datatables/examples/ajax/orthogonal-data.html new file mode 100644 index 0000000..3f0eb1a --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/orthogonal-data.html @@ -0,0 +1,475 @@ + + + + + + + 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.data 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
+
    +
  • 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( { + 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/vendor/datatables/datatables/examples/ajax/simple.html b/vendor/datatables/datatables/examples/ajax/simple.html new file mode 100644 index 0000000..2d04ffd --- /dev/null +++ b/vendor/datatables/datatables/examples/ajax/simple.html @@ -0,0 +1,454 @@ + + + + + + + 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 ajax option to the address of the + JSON data source.

+

The ajax option also allows for more + advanced configuration such as altering how the Ajax request is made. See the ajax 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 may use the columns.data 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"
+]
+
+

For more details on loading a DataTable with Ajax data, please refer to the Ajax section of the manual.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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( { + "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/vendor/datatables/datatables/examples/api/add_row.html b/vendor/datatables/datatables/examples/api/add_row.html new file mode 100644 index 0000000..ecf096d --- /dev/null +++ b/vendor/datatables/datatables/examples/api/add_row.html @@ -0,0 +1,474 @@ + + + + + + + DataTables example - Add rows + + + + + + + + + + + +
+
+

DataTables example Add rows

+
+

New rows can be added to a DataTable using the row.add() API method. Simply call the API function with the data for the new row (be it an array or object). Multiple rows can + be added using the rows.add() method (note the + plural). Data can likewise be updated with the row().data() and row().remove() methods.

+

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

+

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

+

The Editor extension adds full table editing controls to a DataTable, including creating, editing and deleting + rows.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3Column 4Column 5
Column 1Column 2Column 3Column 4Column 5
+
    +
  • 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 t = $('#example').DataTable(); + var counter = 1; + + $('#addRow').on( 'click', function () { + t.row.add( [ + counter +'.1', + counter +'.2', + counter +'.3', + counter +'.4', + counter +'.5' + ] ).draw( false ); + + 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/vendor/datatables/datatables/examples/api/api_in_init.html b/vendor/datatables/datatables/examples/api/api_in_init.html new file mode 100644 index 0000000..0569d01 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/api_in_init.html @@ -0,0 +1,914 @@ + + + + + + + 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 initComplete, rowCallback 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 $() + 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
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/api/counter_columns.html b/vendor/datatables/datatables/examples/api/counter_columns.html new file mode 100644 index 0000000..a8089d3 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/counter_columns.html @@ -0,0 +1,924 @@ + + + + + + + DataTables example - Index column + + + + + + + + + + + +
+
+

DataTables example Index column

+
+

Highly-interactive tables often require a 'counter' column that contains the position for each row in the table. 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 order and search events emitted by the table. When these events are + detected the column().nodes() 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() method to get the nodes in the current order and with the currently applied filter.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeSalary
+
    +
  • 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 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/vendor/datatables/datatables/examples/api/form.html b/vendor/datatables/datatables/examples/api/form.html new file mode 100644 index 0000000..2332a60 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/form.html @@ -0,0 +1,1712 @@ + + + + + + + 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 $() method can be used to get nodes from the + document regardless of paging, ordering etc. This example shows $() 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.

+

If you are interested in a complete CRUD editing suit for DataTables have a look at the Editor extension which provides + simple setup and complete integration with DataTables.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NameAgePositionOffice
+
    +
  • 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 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/vendor/datatables/datatables/examples/api/highlight.html b/vendor/datatables/datatables/examples/api/highlight.html new file mode 100644 index 0000000..5f0f910 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/highlight.html @@ -0,0 +1,920 @@ + + + + + + + DataTables example - Highlighting rows and columns + + + + + + + + + + + +
+
+

DataTables example Highlighting rows and columns

+
+

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

+

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

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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 table = $('#example').DataTable(); + + $('#example tbody') + .on( 'mouseenter', 'td', function () { + var colIdx = table.cell(this).index().column; + + $( table.cells().nodes() ).removeClass( 'highlight' ); + $( table.column( colIdx ).nodes() ).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 { + 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/vendor/datatables/datatables/examples/api/index.html b/vendor/datatables/datatables/examples/api/index.html new file mode 100644 index 0000000..76e33c8 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/index.html @@ -0,0 +1,85 @@ + + + + + + + + + + + + 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/vendor/datatables/datatables/examples/api/multi_filter.html b/vendor/datatables/datatables/examples/api/multi_filter.html new file mode 100644 index 0000000..323b46b --- /dev/null +++ b/vendor/datatables/datatables/examples/api/multi_filter.html @@ -0,0 +1,950 @@ + + + + + + + DataTables example - Individual column searching (text inputs) + + + + + + + + + + + +
+
+

DataTables example Individual column searching (text inputs)

+
+

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

+

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

+

The column searches are cumulative, so you can apply multiple individual column searches, 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() 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() method takes into account any hidden columns when selecting the column to act upon.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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() { + // Setup - add a text input to each footer cell + $('#example tfoot th').each( function () { + var title = $(this).text(); + $(this).html( '<input type="text" placeholder="Search '+title+'" />' ); + } ); + + // DataTable + var table = $('#example').DataTable(); + + // Apply the search + table.columns().every( function () { + var that = this; + + $( 'input', this.footer() ).on( 'keyup change', function () { + if ( that.search() !== this.value ) { + that + .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/vendor/datatables/datatables/examples/api/multi_filter_select.html b/vendor/datatables/datatables/examples/api/multi_filter_select.html new file mode 100644 index 0000000..d1ccec0 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/multi_filter_select.html @@ -0,0 +1,951 @@ + + + + + + + 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() method to get the data for each column + in turn. The helper methods unique() and sort() 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() method.

+

Note that the column().search() 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(), column().search() and $.fn.dataTable.util.escapeRegex() which are used for searching globally, by column and escaping regular expressions + respectively.

+

Also note this example demonstrates the use of initComplete, a callback function triggered when the table has fully loaded. Use of this callback isn't required in + this example since the data is available in the table on load, but in the case of Ajax loaded data, initComplete is useful to execute code + after the data has been loaded.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + initComplete: function () { + this.api().columns().every( function () { + var column = this; + var select = $('<select><option value=""></option></select>') + .appendTo( $(column.footer()).empty() ) + .on( 'change', function () { + var val = $.fn.dataTable.util.escapeRegex( + $(this).val() + ); + + column + .search( val ? '^'+val+'$' : '', true, false ) + .draw(); + } ); + + column.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/vendor/datatables/datatables/examples/api/regex.html b/vendor/datatables/datatables/examples/api/regex.html new file mode 100644 index 0000000..0dc3345 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/regex.html @@ -0,0 +1,1002 @@ + + + + + + + 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()) and for each individual column (column().search()).

+

Note also that you must call the draw() 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
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
NamePositionOfficeAgeStart dateSalary
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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/vendor/datatables/datatables/examples/api/row_details.html b/vendor/datatables/datatables/examples/api/row_details.html new file mode 100644 index 0000000..98e1433 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/row_details.html @@ -0,0 +1,553 @@ + + + + + + + DataTables example - Child rows (show extra / detailed information) + + + + + + + + + + + +
+
+

DataTables example Child rows (show extra / detailed information)

+
+

The DataTables API has a number of methods 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().child + methods to first check if a row is already displayed, and if so hide it (row().child.hide()), otherwise show it (row().child.show()). The content of the child row in this example is defined by the format() function, but you + would replace that with whatever content you wanted to show, possibly including, for example, an Ajax call to + the server to obtain any extra information.

+
+
+ + + + + + + + + + + + + + + + + + + +
NamePositionOfficeSalary
NamePositionOfficeSalary
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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": [ + { + "className": '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/vendor/datatables/datatables/examples/api/select_row.html b/vendor/datatables/datatables/examples/api/select_row.html new file mode 100644 index 0000000..9263f62 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/select_row.html @@ -0,0 +1,913 @@ + + + + + + + DataTables example - Row selection (multiple rows) + + + + + + + + + + + +
+
+

DataTables example Row selection (multiple rows)

+
+

It can be useful to provide the user with the option to select rows in a DataTable. This can be done by using a click event to add / remove a class on the table + rows. The rows().data() 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 and easier to use row selection option, the Select extension provides + an API that is fully integrated with DataTables for selecting rows and acting upon that secletion.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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 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/vendor/datatables/datatables/examples/api/select_single_row.html b/vendor/datatables/datatables/examples/api/select_single_row.html new file mode 100644 index 0000000..6b80800 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/select_single_row.html @@ -0,0 +1,927 @@ + + + + + + + DataTables example - Row selection and deletion (single row) + + + + + + + + + + + +
+
+

DataTables example Row selection and deletion (single row)

+
+

This example modifies the multiple row selection example by only allowing the selection of a single row. This is done by checking to see if the row already has + a selected class, and if so removing it, but if not then the class is removed from all other rows in the table and then applied to the row being selected.

+

Also shown is the row().remove() method which + deletes a row from a table, and the draw() 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 and easier to use row selection option, the Select extension provides + an API that is fully integrated with DataTables for selecting rows and acting upon that selection.

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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 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/vendor/datatables/datatables/examples/api/show_hide.html b/vendor/datatables/datatables/examples/api/show_hide.html new file mode 100644 index 0000000..81c2226 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/show_hide.html @@ -0,0 +1,929 @@ + + + + + + + DataTables example - Show / hide columns dynamically + + + + + + + + + + + +
+
+

DataTables example Show / hide columns dynamically

+
+

This example shows how you can make use of the column().visible() 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 it's not required for the API function to work.

+

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

+

If you are looking for a more complete column visibility interaction controls, the Buttons extension for + DataTables provides a comprehensive module for column visibility control.

+
+
+
+ Toggle column: Name - Position - Office - Age - Start date - Salary +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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 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/vendor/datatables/datatables/examples/api/tabs_and_scrolling.html b/vendor/datatables/datatables/examples/api/tabs_and_scrolling.html new file mode 100644 index 0000000..f73b070 --- /dev/null +++ b/vendor/datatables/datatables/examples/api/tabs_and_scrolling.html @@ -0,0 +1,496 @@ + + + + + + + DataTables example - Scrolling and Bootstrap tabs + + + + + + + + + + + + + + +
+
+

DataTables example Scrolling and Bootstrap tabs

+
+

This example shows how DataTables with scrolling can be used together with Bootstrap 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() method when the table is made visible (i.e. it has dimensions).

+

This example shows how the Bootstrap shown.bs.tab event can be used to trigger this method call. The visible tables on the page are selected using + the static $.fn.dataTable.tables() + method and running the columns.adjust() method + on them.

+
+
+
+ +
+
+ + + + + + + + + + + +
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() { + $('a[data-toggle="tab"]').on( 'shown.bs.tab', function (e) { + $.fn.dataTable.tables( {visible: true, api: true} ).columns.adjust(); + } ); + + $('table.table').DataTable( { + ajax: '../ajax/data/arrays.txt', + scrollY: 200, + scrollCollapse: true, + paging: false + } ); + + // Apply a search to the second table for the demo + $('#myTable2').DataTable().search( 'New York' ).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/vendor/datatables/datatables/examples/basic_init/alt_pagination.html b/vendor/datatables/datatables/examples/basic_init/alt_pagination.html new file mode 100644 index 0000000..3ef4022 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/alt_pagination.html @@ -0,0 +1,910 @@ + + + + + + + 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 pagingType option.

+

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

+
    +
  • numbers - Page number buttons only
  • +
  • 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
  • +
  • first_last_numbers - 'First' and 'Last' buttons, plus page numbers
  • +
+

The language strings of 'First', 'Previous' etc can be optionally changed through the internationalisation options of DataTables; language.paginate.first, + language.paginate.previous 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
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/comma-decimal.html b/vendor/datatables/datatables/examples/basic_init/comma-decimal.html new file mode 100644 index 0000000..a7dcb93 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/comma-decimal.html @@ -0,0 +1,909 @@ + + + + + + + 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.decimal + 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.decimal 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
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/complex_header.html b/vendor/datatables/datatables/examples/basic_init/complex_header.html new file mode 100644 index 0000000..103ae72 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/complex_header.html @@ -0,0 +1,897 @@ + + + + + + + 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 orderCellsTop 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
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
NamePositionSalaryOfficeExtn.E-mail
+
    +
  • 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/vendor/datatables/datatables/examples/basic_init/dom.html b/vendor/datatables/datatables/examples/basic_init/dom.html new file mode 100644 index 0000000..81c06c0 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/dom.html @@ -0,0 +1,944 @@ + + + + + + + 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 dom initialisation parameter which can be set to + indicate where you wish 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 dom 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 dom + 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
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/filter_only.html b/vendor/datatables/datatables/examples/basic_init/filter_only.html new file mode 100644 index 0000000..40ee3d5 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/filter_only.html @@ -0,0 +1,898 @@ + + + + + + + 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. The full list of + available options is available in the DataTables reference.

+

In the following example only the search feature is left enabled (which it is by default).

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/flexible_width.html b/vendor/datatables/datatables/examples/basic_init/flexible_width.html new file mode 100644 index 0000000..281f7d6 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/flexible_width.html @@ -0,0 +1,899 @@ + + + + + + + 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 or inline width style (style="width:100%"), it will be used as the width for the table (overruling any CSS + styles).

+

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

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/basic_init/hidden_columns.html b/vendor/datatables/datatables/examples/basic_init/hidden_columns.html new file mode 100644 index 0000000..ded1c0d --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/hidden_columns.html @@ -0,0 +1,920 @@ + + + + + + + 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 (consider also using the Responsive extension for this). This is done through the columns.visible 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 not searchable, the latter is.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/index.html b/vendor/datatables/datatables/examples/basic_init/index.html new file mode 100644 index 0000000..7635ce6 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/index.html @@ -0,0 +1,97 @@ + + + + + + + + + + + + DataTables examples - Basic initialisation + + +
+
+

DataTables example Basic initialisation

+
+

DataTables is a simple-to-use jQuery plug-in with a huge range of customisable options. 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/vendor/datatables/datatables/examples/basic_init/language.html b/vendor/datatables/datatables/examples/basic_init/language.html new file mode 100644 index 0000000..158a670 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/language.html @@ -0,0 +1,906 @@ + + + + + + + DataTables example - Language options + + + + + + + + + + + +
+
+

DataTables example Language options

+
+

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

+

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

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/multi_col_sort.html b/vendor/datatables/datatables/examples/basic_init/multi_col_sort.html new file mode 100644 index 0000000..283c988 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/multi_col_sort.html @@ -0,0 +1,858 @@ + + + + + + + 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.orderData option. +
  • +
  • Using the columns.orderData option to specify a multiple column order by default (for example [ 0, 1 ]). +
  • +
  • Through the order() API method. +
  • +
+

Note that, the ability for the user to shift click to order multiple columns can be disabled through the orderMulti 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
+
    +
  • 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( { + 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/vendor/datatables/datatables/examples/basic_init/multiple_tables.html b/vendor/datatables/datatables/examples/basic_init/multiple_tables.html new file mode 100644 index 0000000..2dfcc0a --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/multiple_tables.html @@ -0,0 +1,611 @@ + + + + + + + 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
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
NamePositionOfficeAgeSalary
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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/vendor/datatables/datatables/examples/basic_init/scroll_x.html b/vendor/datatables/datatables/examples/basic_init/scroll_x.html new file mode 100644 index 0000000..c45e22b --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/scroll_x.html @@ -0,0 +1,1069 @@ + + + + + + + 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 scrollX 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
+
    +
  • 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( { + "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:

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/vendor/datatables/datatables/examples/basic_init/scroll_xy.html b/vendor/datatables/datatables/examples/basic_init/scroll_xy.html new file mode 100644 index 0000000..2b6890b --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/scroll_xy.html @@ -0,0 +1,1067 @@ + + + + + + + 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
+
    +
  • 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( { + "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:

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/vendor/datatables/datatables/examples/basic_init/scroll_y.html b/vendor/datatables/datatables/examples/basic_init/scroll_y.html new file mode 100644 index 0000000..3d64c76 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/scroll_y.html @@ -0,0 +1,905 @@ + + + + + + + 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 scrollY 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 scrollCollapse 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 scrollY.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/scroll_y_dynamic.html b/vendor/datatables/datatables/examples/basic_init/scroll_y_dynamic.html new file mode 100644 index 0000000..6c3009b --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/scroll_y_dynamic.html @@ -0,0 +1,901 @@ + + + + + + + DataTables example - Scroll - vertical, dynamic height + + + + + + + + + + + +
+
+

DataTables example Scroll - vertical, dynamic height

+
+

This example shows a vertically scrolling DataTable that makes use of the CSS3 vh unit in order to dynamically resize the viewport based on the + browser window height. The vh unit is effectively a + percentage of the browser window height. So the 50vh used in this example is 50% of the window height. The viewport size will update dynamically as + the window is resized.

+

A relatively modern browser is required for vh units to operate correctly. IE9+ supports the + vh unit and all other evergreen browsers.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + scrollY: '50vh', + 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/vendor/datatables/datatables/examples/basic_init/state_save.html b/vendor/datatables/datatables/examples/basic_init/state_save.html new file mode 100644 index 0000000..29c8bf3 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/state_save.html @@ -0,0 +1,904 @@ + + + + + + + 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 stateSave 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 stateSaveCallback and stateLoadCallback options.

+

The duration for which the saved state is valid and can be used to restore the table state can be set using the stateDuration 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 stateSave option.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + 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/vendor/datatables/datatables/examples/basic_init/table_sorting.html b/vendor/datatables/datatables/examples/basic_init/table_sorting.html new file mode 100644 index 0000000..9fe9da6 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/table_sorting.html @@ -0,0 +1,899 @@ + + + + + + + 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 order initialisation parameter, you can set the + table to display the data in exactly the order that you want.

+

The order 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. order is a 2D array to allow multi-column ordering to be defined.

+

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

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + "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/vendor/datatables/datatables/examples/basic_init/zero_configuration.html b/vendor/datatables/datatables/examples/basic_init/zero_configuration.html new file mode 100644 index 0000000..535b8e0 --- /dev/null +++ b/vendor/datatables/datatables/examples/basic_init/zero_configuration.html @@ -0,0 +1,892 @@ + + + + + + + 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: + $().DataTable();.

+

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

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/data_sources/ajax.html b/vendor/datatables/datatables/examples/data_sources/ajax.html new file mode 100644 index 0000000..d33d8b6 --- /dev/null +++ b/vendor/datatables/datatables/examples/data_sources/ajax.html @@ -0,0 +1,443 @@ + + + + + + + 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 ajax option to the address of the + JSON data source.

+

The ajax option also allows for more + advanced configuration such as altering how the Ajax request is made. See the ajax 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.data option ).

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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( { + "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/vendor/datatables/datatables/examples/data_sources/dom.html b/vendor/datatables/datatables/examples/data_sources/dom.html new file mode 100644 index 0000000..5737488 --- /dev/null +++ b/vendor/datatables/datatables/examples/data_sources/dom.html @@ -0,0 +1,893 @@ + + + + + + + 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 initialisation examples.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/data_sources/index.html b/vendor/datatables/datatables/examples/data_sources/index.html new file mode 100644 index 0000000..5d4d25b --- /dev/null +++ b/vendor/datatables/datatables/examples/data_sources/index.html @@ -0,0 +1,65 @@ + + + + + + + + + + + + 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 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/vendor/datatables/datatables/examples/data_sources/js_array.html b/vendor/datatables/datatables/examples/data_sources/js_array.html new file mode 100644 index 0000000..88a4717 --- /dev/null +++ b/vendor/datatables/datatables/examples/data_sources/js_array.html @@ -0,0 +1,516 @@ + + + + + + + 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 data 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.data option).

+

A table must be available on the page for DataTables to use. This examples shows an empty table element being initialising as a DataTable with a set of data from a Javascript array. The columns in the table are dynamically created + based on the columns.title + configuration option.

+
+
+
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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

var dataSet = [ + [ "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" ] +]; + +$(document).ready(function() { + $('#example').DataTable( { + data: dataSet, + columns: [ + { title: "Name" }, + { title: "Position" }, + { title: "Office" }, + { title: "Extn." }, + { title: "Start date" }, + { title: "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/vendor/datatables/datatables/examples/data_sources/server_side.html b/vendor/datatables/datatables/examples/data_sources/server_side.html new file mode 100644 index 0000000..642e1d9 --- /dev/null +++ b/vendor/datatables/datatables/examples/data_sources/server_side.html @@ -0,0 +1,446 @@ + + + + + + + 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 serverSide option to true and providing an Ajax data source through the ajax 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.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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": "../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/vendor/datatables/datatables/examples/index.html b/vendor/datatables/datatables/examples/index.html new file mode 100644 index 0000000..45ff4d9 --- /dev/null +++ b/vendor/datatables/datatables/examples/index.html @@ -0,0 +1,349 @@ + + + + + + + + + + + + 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/vendor/datatables/datatables/examples/plug-ins/api.html b/vendor/datatables/datatables/examples/plug-ins/api.html new file mode 100644 index 0000000..734eff8 --- /dev/null +++ b/vendor/datatables/datatables/examples/plug-ins/api.html @@ -0,0 +1,940 @@ + + + + + + + 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() 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
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
NamePositionOfficeAgeStart dateSalary
+
    +
  • 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/vendor/datatables/datatables/examples/plug-ins/dom_sort.html b/vendor/datatables/datatables/examples/plug-ins/dom_sort.html new file mode 100644 index 0000000..2e9ff23 --- /dev/null +++ b/vendor/datatables/datatables/examples/plug-ins/dom_sort.html @@ -0,0 +1,1773 @@ + + + + + + + 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 its + 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 column 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 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 enters data into a form by using an event handler calling order() or draw() methods.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NameAgePositionOffice
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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", type: 'string' }, + { "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/vendor/datatables/datatables/examples/plug-ins/index.html b/vendor/datatables/datatables/examples/plug-ins/index.html new file mode 100644 index 0000000..2f0c787 --- /dev/null +++ b/vendor/datatables/datatables/examples/plug-ins/index.html @@ -0,0 +1,63 @@ + + + + + + + + + + + + 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/vendor/datatables/datatables/examples/plug-ins/range_filtering.html b/vendor/datatables/datatables/examples/plug-ins/range_filtering.html new file mode 100644 index 0000000..a4ffb13 --- /dev/null +++ b/vendor/datatables/datatables/examples/plug-ins/range_filtering.html @@ -0,0 +1,950 @@ + + + + + + + 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 searches (in between two + numbers) and date range searches. DataTables provides 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
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
NamePositionOfficeAgeStart dateSalary
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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/vendor/datatables/datatables/examples/plug-ins/sorting_auto.html b/vendor/datatables/datatables/examples/plug-ins/sorting_auto.html new file mode 100644 index 0000000..af01c01 --- /dev/null +++ b/vendor/datatables/datatables/examples/plug-ins/sorting_auto.html @@ -0,0 +1,931 @@ + + + + + + + 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 can 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 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
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
NamePositionOfficeAgeStart dateSalary
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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/vendor/datatables/datatables/examples/plug-ins/sorting_manual.html b/vendor/datatables/datatables/examples/plug-ins/sorting_manual.html new file mode 100644 index 0000000..e76b7ff --- /dev/null +++ b/vendor/datatables/datatables/examples/plug-ins/sorting_manual.html @@ -0,0 +1,926 @@ + + + + + + + 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 can have DataTables order data in any manner you wish.

+

This is done by using the columns.type parameter, in combination with a ordering plug-in. The ordering plug-in can 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
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
NamePositionOfficeAgeStart dateSalary
+
    +
  • Javascript
  • +
  • HTML
  • +
  • CSS
  • +
  • Ajax
  • +
  • Server-side script
  • +
+
+
+

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/vendor/datatables/datatables/examples/resources/demo.css b/vendor/datatables/datatables/examples/resources/demo.css new file mode 100644 index 0000000..2d04fca --- /dev/null +++ b/vendor/datatables/datatables/examples/resources/demo.css @@ -0,0 +1,376 @@ + +@import url(https://fonts.googleapis.com/css?family=Raleway:100); + +body { + font: 90%/1.45em "Helvetica Neue", HelveticaNeue, Arial, Helvetica, sans-serif; + margin: 0; + padding: 0; + color: #333; + background-color: #fff; +} + +body.dt-example-bootstrap { + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; + font-size: 14px; + line-height: 1.42857143; +} + +div.container { + max-width: 980px; + margin: 0 auto; +} + +h1 { + font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', 'Raleway', '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; +} + +p > 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:after { + display: inline-block; + border-left: 1px solid rgba( 0, 0, 0, 0.2 ); + margin-left: 4px; + padding-left: 4px; + opacity: 0.5; +} + +a code { + text-decoration: underline; +} + +code.option { + color: #D14; /* red */ + background-color: #fcf6f8; + border: 1px solid #f7d6df; + white-space: nowrap; +} +code.option:after { content: 'Option'; } + +code.path { + color: #095c05; /* dark green */ + background-color: #eef7ed; + border: 1px solid #8ccb89; + white-space: nowrap; +} +code.path:after { content: 'Path'; } + +code.tag { + color: #c29f00; /* yellow */ + background-color: #fff9d7; + border: 1px solid #ffe700; + white-space: nowrap; +} +code.tag:after { content: 'Tag'; } + +code.api { + color: #0c199c; /* dark blue */ + background-color: #f4f5fc; + border: 1px solid #c6cbe9; + white-space: nowrap; +} +code.api:after { content: 'API'; } + +code.type { + color: #d119cf; /* pink */ + background-color: #faebfa; + border: 1px solid #f3aef2; + white-space: nowrap; +} +code.type:after { content: 'Type'; } + +code.event { + color: #2a839e; /* deep aqua */ + background-color: #f5fafb; + border: 1px solid #a8ddec; + white-space: nowrap; +} +code.event:after { content: 'Event'; } + +code.string { + color: #c05f1d; /* brown */ + background-color: #f5eee9; + border: 1px solid #dfc4b2; + white-space: nowrap; +} +code.string:after { content: 'String'; } + +code.field { + color: #ad1ee8; /* purple */ + background-color: #f9f1fc; + border: 1px solid #ebc9f7; + white-space: nowrap; +} +code.field:after { content: 'Field'; } + +code.button { + color: #464e50; /* grey */ + background-color: #f2f7f9; + border: 1px solid #b8c3c5; + white-space: nowrap; +} +code.button:after { content: 'Button'; } + +code.multiline { + display: inline-block; + width: 95%; +} + +div.syntaxhighlighter code:after { + display: none; +} + + +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; + margin-top: -1px; +} + +div.tabs>div { + padding: 15px; + border: 1px solid #ccc; + display: none; + border-radius: 5px; + box-shadow: 2px 2px 2px #bbb; +} + +div.tabs>div h1 { + border-bottom: none; + margin-top: 1em; +} + +div.tabs > div > p:first-child { + margin-top: 0; +} + +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/vendor/datatables/datatables/examples/resources/demo.js b/vendor/datatables/datatables/examples/resources/demo.js new file mode 100644 index 0000000..1c88da0 --- /dev/null +++ b/vendor/datatables/datatables/examples/resources/demo.js @@ -0,0 +1,136 @@ + +/*global SyntaxHighlighter*/ +SyntaxHighlighter.config.tagName = 'code'; + +if ( window.$ ) { + $(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(); + var demoHtml = $.trim( $('div.demo-html').html() ); + + if ( demoHtml ) { + demoHtml = demoHtml+'\n\n'; + } + + $('div.tabs div.table').append( + '\t\t\t'+ + escapeHtml( demoHtml + 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 ) { + if ( e.namespace !== 'dt' ) { + return; + } + + var api = new $.fn.dataTable.Api( settings ); + + var show = function ( str ) { + ajaxTab.css( 'display', 'block' ); + $('div.tabs div.ajax code').remove(); + $('div.tabs div.ajax div.syntaxhighlighter').remove(); + + // Old IE :-| + try { + str = JSON.stringify( str, null, 2 ); + } catch ( e ) {} + + $('div.tabs div.ajax').append( + $('').text( str ) + ); + + // This can be really slow for large builds + setTimeout( function () { + SyntaxHighlighter.highlight( {}, $('div.tabs div.ajax code')[0] ); + }, 500 ); + }; + + // 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 ( e.namespace !== 'dt' ) { + return; + } + + if ( settings.oFeatures.bServerSide ) { + if ( typeof settings.ajax === 'function' ) { + 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/vendor/datatables/datatables/examples/resources/details_close.png b/vendor/datatables/datatables/examples/resources/details_close.png new file mode 100644 index 0000000..9c7d698 Binary files /dev/null and b/vendor/datatables/datatables/examples/resources/details_close.png differ diff --git a/vendor/datatables/datatables/examples/resources/details_open.png b/vendor/datatables/datatables/examples/resources/details_open.png new file mode 100644 index 0000000..c0edf44 Binary files /dev/null and b/vendor/datatables/datatables/examples/resources/details_open.png differ diff --git a/vendor/datatables/datatables/examples/resources/examples.php b/vendor/datatables/datatables/examples/resources/examples.php new file mode 100644 index 0000000..25b888f --- /dev/null +++ b/vendor/datatables/datatables/examples/resources/examples.php @@ -0,0 +1,14 @@ + 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 ajax.data option 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.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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": { + "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/vendor/datatables/datatables/examples/server_side/defer_loading.html b/vendor/datatables/datatables/examples/server_side/defer_loading.html new file mode 100644 index 0000000..de1defe --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/defer_loading.html @@ -0,0 +1,529 @@ + + + + + + + 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 deferLoading 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 deferLoading to tell DataTables that this + data is available and that it should wait for user interaction (ordering, paging etc) before making an Ajax call.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
First nameLast namePositionOfficeStart dateSalary
AiriSatouAccountantTokyo28th Nov 08$162,700
AngelicaRamosChief Executive Officer (CEO)London9th Oct 09$1,200,000
AshtonCoxJunior Technical AuthorSan Francisco12th Jan 09$86,000
BradleyGreerSoftware EngineerLondon13th Oct 12$132,000
BrendenWagnerSoftware EngineerSan Francisco7th Jun 11$206,850
BrielleWilliamsonIntegration SpecialistNew York2nd Dec 12$372,000
BrunoNashSoftware EngineerLondon3rd May 11$163,500
CaesarVancePre-Sales SupportNew York12th Dec 11$106,450
CaraStevensSales AssistantNew York6th Dec 11$145,600
CedricKellySenior Javascript DeveloperEdinburgh29th Mar 12$433,060
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", + "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/vendor/datatables/datatables/examples/server_side/ids.html b/vendor/datatables/datatables/examples/server_side/ids.html new file mode 100644 index 0000000..4e43ed6 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/ids.html @@ -0,0 +1,460 @@ + + + + + + + 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 (this property name can + be configured using the rowId option), + DataTables will automatically add it for you (note that this will work for Ajax and Javascript loaded data as well as for server-side processing).

+

In addition to DT_RowId there are other properties which perform similar actions - please refer to the server-side processing section of the manual for full details.

+

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.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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/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/vendor/datatables/datatables/examples/server_side/index.html b/vendor/datatables/datatables/examples/server_side/index.html new file mode 100644 index 0000000..db88219 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/index.html @@ -0,0 +1,82 @@ + + + + + + + + + + + + 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 actions that DataTables performs (such as paging, searching and ordering) 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 to get the required data.

+

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

+

The examples in this section show server-side processing in use and how it can be customised to suit your needs.

+
+
+
+
+ +
+ + \ No newline at end of file diff --git a/vendor/datatables/datatables/examples/server_side/jsonp.html b/vendor/datatables/datatables/examples/server_side/jsonp.html new file mode 100644 index 0000000..59dc93b --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/jsonp.html @@ -0,0 +1,453 @@ + + + + + + + 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 ajax initialisation option.

+

When given as an object, the ajax + 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 ajax + option).

+

The example below shows ajax being + used with the dataType option set to retrieve JSONP data for server-side processing in DataTables.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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": { + "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/vendor/datatables/datatables/examples/server_side/object_data.html b/vendor/datatables/datatables/examples/server_side/object_data.html new file mode 100644 index 0000000..9a2b795 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/object_data.html @@ -0,0 +1,459 @@ + + + + + + + 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.data property given for each + column.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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/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/vendor/datatables/datatables/examples/server_side/pipeline.html b/vendor/datatables/datatables/examples/server_side/pipeline.html new file mode 100644 index 0000000..eb53672 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/pipeline.html @@ -0,0 +1,694 @@ + + + + + + + DataTables example - Pipelining data to reduce Ajax calls for paging + + + + + + + + + + + +
+
+

DataTables example Pipelining data to reduce Ajax calls for paging

+
+

Server-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 ajax 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.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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:

// +// 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 ( typeof conf.data === 'function' ) { + // 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 ); + } + if ( requestLength >= -1 ) { + 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/vendor/datatables/datatables/examples/server_side/post.html b/vendor/datatables/datatables/examples/server_side/post.html new file mode 100644 index 0000000..cc7fc7e --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/post.html @@ -0,0 +1,469 @@ + + + + + + + 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 ajax initialisation option.

+

When given as an object, the ajax + 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 ajax + option).

+

The example below shows ajax being + used with the type option set to POST to make a POST request.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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": { + "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/vendor/datatables/datatables/examples/server_side/row_details.html b/vendor/datatables/datatables/examples/server_side/row_details.html new file mode 100644 index 0000000..4286141 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/row_details.html @@ -0,0 +1,569 @@ + + + + + + + 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.data and columns.defaultContent, 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().child + 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 + format() 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.details-control', 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.details-control').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/vendor/datatables/datatables/examples/server_side/scripts/firebird.sql b/vendor/datatables/datatables/examples/server_side/scripts/firebird.sql new file mode 100644 index 0000000..b352b40 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/firebird.sql @@ -0,0 +1,73 @@ + -- + -- DataTables Ajax and server-side processing database (Oracle) + -- + CREATE TABLE "datatables_demo" ( + "id" integer generated by default as identity primary key, + "first_name" varchar(250) default '' not null, + "last_name" varchar(250) default '' not null, + "position" varchar(250) default '' not null, + "email" varchar(250) default '' not null, + "office" varchar(250) default '' not null, + "start_date" timestamp default NULL, + "age" int, + "salary" int, + "seq" int, + "extn" varchar(8) default '' not null + ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Tiger', 'Nixon', 61, 'System Architect', 320800, '25.Apr.2011', 5421, 't.nixon@datatables.net', 'Edinburgh', 2 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Garrett', 'Winters', 63, 'Accountant', 170750, '25.Jul.2011', 8422, 'g.winters@datatables.net', 'Tokyo', 22 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '12.Jan.2009', 1562, 'a.cox@datatables.net', 'San Francisco', 6 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '29.Mar.2012', 6224, 'c.kelly@datatables.net', 'Edinburgh', 41 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Airi', 'Satou', 33, 'Accountant', 162700, '28.Nov.2008', 5407, 'a.satou@datatables.net', 'Tokyo', 55 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '02.Dec.2012', 4804, 'b.williamson@datatables.net', 'New York', 21 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '06.Aug.2012', 9608, 'h.chandler@datatables.net', 'San Francisco', 46 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '14.Oct.2010', 6200, 'r.davidson@datatables.net', 'Tokyo', 50 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '15.Sep.2009', 2360, 'c.hurst@datatables.net', 'San Francisco', 26 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '13.Dec.2008', 1667, 's.frost@datatables.net', 'Edinburgh', 18 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Jena', 'Gaines', 30, 'Office Manager', 90560, '19.Dec.2008', 3814, 'j.gaines@datatables.net', 'London', 13 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '03.Mar.2013', 9497, 'q.flynn@datatables.net', 'Edinburgh', 23 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Charde', 'Marshall', 36, 'Regional Director', 470600, '16.Oct.2008', 6741, 'c.marshall@datatables.net', 'San Francisco', 14 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '18.Dec.2012', 3597, 'h.kennedy@datatables.net', 'London', 12 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '17.Mar.2010', 1965, 't.fitzpatrick@datatables.net', 'London', 54 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '27.Nov.2012', 1581, 'm.silva@datatables.net', 'London', 37 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '09.Jun.2010', 3059, 'p.byrd@datatables.net', 'New York', 32 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '10.Apr.2009', 1721, 'g.little@datatables.net', 'New York', 35 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '13.Oct.2012', 2558, 'b.greer@datatables.net', 'London', 48 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '26.Sep.2012', 2290, 'd.rios@datatables.net', 'Edinburgh', 45 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '03.Sep.2011', 1937, 'j.caldwell@datatables.net', 'New York', 17 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '25.Jun.2009', 6154, 'y.berry@datatables.net', 'New York', 57 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '12.Dec.2011', 8330, 'c.vance@datatables.net', 'New York', 29 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '20.Sep.2010', 3023, 'd.wilder@datatables.net', 'Sidney', 56 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '09.Oct.2009', 5797, 'a.ramos@datatables.net', 'London', 36 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Gavin', 'Joyce', 42, 'Developer', 92575, '22.Dec.2010', 8822, 'g.joyce@datatables.net', 'Edinburgh', 5 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '14.Nov.2010', 9239, 'j.chang@datatables.net', 'Singapore', 51 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '07.Jun.2011', 1314, 'b.wagner@datatables.net', 'San Francisco', 20 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '11.Mar.2010', 2947, 'f.green@datatables.net', 'San Francisco', 7 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '14.Aug.2011', 8899, 's.itou@datatables.net', 'Tokyo', 1 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Michelle', 'House', 37, 'Integration Specialist', 95400, '02.Jun.2011', 2769, 'm.house@datatables.net', 'Sidney', 39 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Suki', 'Burks', 53, 'Developer', 114500, '22.Oct.2009', 6832, 's.burks@datatables.net', 'London', 40 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '07.May.2011', 3606, 'p.bartlett@datatables.net', 'London', 47 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '26.Oct.2008', 2860, 'g.cortez@datatables.net', 'San Francisco', 52 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '09.Mar.2011', 8240, 'm.mccray@datatables.net', 'Edinburgh', 8 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '09.Dec.2009', 5384, 'u.butler@datatables.net', 'San Francisco', 24 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '16.Dec.2008', 7031, 'h.hatfield@datatables.net', 'San Francisco', 38 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Hope', 'Fuentes', 41, 'Secretary', 109850, '12.Feb.2010', 6318, 'h.fuentes@datatables.net', 'San Francisco', 53 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '14.Feb.2009', 9422, 'v.harrell@datatables.net', 'San Francisco', 30 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '11.Dec.2008', 7580, 't.mooney@datatables.net', 'London', 28 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Jackson', 'Bradshaw', 65, 'Director', 645750, '26.Sep.2008', 1042, 'j.bradshaw@datatables.net', 'New York', 34 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '03.Feb.2011', 2120, 'o.liang@datatables.net', 'Singapore', 4 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '03.May.2011', 6222, 'b.nash@datatables.net', 'London', 3 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '19.Aug.2009', 9383, 's.yamamoto@datatables.net', 'Tokyo', 31 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Thor', 'Walton', 61, 'Developer', 98540, '11.Aug.2013', 8327, 't.walton@datatables.net', 'New York', 11 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '07.Jul.2009', 2927, 'f.camacho@datatables.net', 'San Francisco', 10 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '09.Apr.2012', 8352, 's.baldwin@datatables.net', 'Singapore', 44 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '04.Jan.2010', 7439, 'z.frank@datatables.net', 'New York', 42 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '01.Jun.2012', 4389, 'z.serrano@datatables.net', 'San Francisco', 27 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '01.Feb.2013', 3431, 'j.acosta@datatables.net', 'Edinburgh', 49 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '06.Dec.2011', 3990, 'c.stevens@datatables.net', 'New York', 15 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Hermione', 'Butler', 47, 'Regional Director', 356250, '21.Mar.2011', 1016, 'h.butler@datatables.net', 'London', 9 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '27.Feb.2009', 6733, 'l.greer@datatables.net', 'London', 25 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Jonas', 'Alexander', 30, 'Developer', 86500, '14.Jul.2010', 8196, 'j.alexander@datatables.net', 'San Francisco', 33 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Shad', 'Decker', 51, 'Regional Director', 183000, '13.Nov.2008', 6373, 's.decker@datatables.net', 'Edinburgh', 43 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '27.Jun.2011', 5384, 'm.bruce@datatables.net', 'Singapore', 16 ); +INSERT INTO "datatables_demo" ( "first_name", "last_name", "age", "position", "salary", "start_date", "extn", "email", "office", "seq" ) VALUES ( 'Donna', 'Snider', 27, 'Customer Support', 112000, '25.Jan.2011', 4226, 'd.snider@datatables.net', 'New York', 19 ); diff --git a/vendor/datatables/datatables/examples/server_side/scripts/ids-arrays.php b/vendor/datatables/datatables/examples/server_side/scripts/ids-arrays.php new file mode 100644 index 0000000..f8e69c8 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/ids-arrays.php @@ -0,0 +1,81 @@ + '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/vendor/datatables/datatables/examples/server_side/scripts/ids-objects.php b/vendor/datatables/datatables/examples/server_side/scripts/ids-objects.php new file mode 100644 index 0000000..c3d339f --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/ids-objects.php @@ -0,0 +1,80 @@ + '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/vendor/datatables/datatables/examples/server_side/scripts/jsonp.php b/vendor/datatables/datatables/examples/server_side/scripts/jsonp.php new file mode 100644 index 0000000..4aac77d --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/jsonp.php @@ -0,0 +1,76 @@ + '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' ); + +// Validate the JSONP to make use it is an okay Javascript function to execute +$jsonp = preg_match('/^[$A-Z_][0-9A-Z_$]*$/i', $_GET['callback']) ? + $_GET['callback'] : + false; + +if ( $jsonp ) { + echo $jsonp.'('.json_encode( + SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns ) + ).');'; +} + diff --git a/vendor/datatables/datatables/examples/server_side/scripts/mysql.sql b/vendor/datatables/datatables/examples/server_side/scripts/mysql.sql new file mode 100644 index 0000000..aba789c --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/mysql.sql @@ -0,0 +1,82 @@ +-- +-- 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` datetime default NULL, + `age` int(8), + `salary` int(8), + `seq` int(8), + `extn` varchar(8) NOT NULL default '', + PRIMARY KEY (`id`), + INDEX (`seq`) +); + +INSERT INTO `datatables_demo` + ( id, first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) + VALUES + ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh', 2 ), + ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo', 22 ), + ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco', 6 ), + ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh', 41 ), + ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo', 55 ), + ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York', 21 ), + ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco', 46 ), + ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo', 50 ), + ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco', 26 ), + ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh', 18 ), + ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London', 13 ), + ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh', 23 ), + ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco', 14 ), + ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London', 12 ), + ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London', 54 ), + ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London', 37 ), + ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York', 32 ), + ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York', 35 ), + ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London', 48 ), + ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh', 45 ), + ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York', 17 ), + ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York', 57 ), + ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York', 29 ), + ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney', 56 ), + ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London', 36 ), + ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh', 5 ), + ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore', 51 ), + ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco', 20 ), + ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco', 7 ), + ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo', 1 ), + ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney', 39 ), + ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London', 40 ), + ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London', 47 ), + ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco', 52 ), + ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh', 8 ), + ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco', 24 ), + ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco', 38 ), + ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco', 53 ), + ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco', 30 ), + ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London', 28 ), + ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York', 34 ), + ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore', 4 ), + ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London', 3 ), + ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo', 31 ), + ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York', 11 ), + ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco', 10 ), + ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore', 44 ), + ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York', 42 ), + ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco', 27 ), + ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh', 49 ), + ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York', 15 ), + ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London', 9 ), + ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London', 25 ), + ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco', 33 ), + ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh', 43 ), + ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore', 16 ), + ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York', 19 ); \ No newline at end of file diff --git a/vendor/datatables/datatables/examples/server_side/scripts/objects.php b/vendor/datatables/datatables/examples/server_side/scripts/objects.php new file mode 100644 index 0000000..a10c866 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/objects.php @@ -0,0 +1,57 @@ + '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/vendor/datatables/datatables/examples/server_side/scripts/oracle.sql b/vendor/datatables/datatables/examples/server_side/scripts/oracle.sql new file mode 100644 index 0000000..7c3d44d --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/oracle.sql @@ -0,0 +1,91 @@ +-- +-- DataTables Ajax and server-side processing database (Oracle) +-- +BEGIN + EditorDelObject('datatables_demo', 'TABLE'); + EditorDelObject('datatables_demo_seq', 'SEQUENCE'); +END; + +CREATE TABLE datatables_demo ( + id INT PRIMARY KEY NOT NULL, + first_name NVARCHAR2(250), + last_name NVARCHAR2(250), + position NVARCHAR2(250), + email NVARCHAR2(250), + office NVARCHAR2(250), + start_date DATE, + age INT, + salary INT, + seq INT, + extn NVARCHAR2(8) +); + +CREATE SEQUENCE datatables_demo_seq; + +CREATE OR REPLACE TRIGGER datatables_demo_on_insert + BEFORE INSERT ON datatables_demo + FOR EACH ROW + BEGIN + SELECT datatables_demo_seq.nextval + INTO :new.id + FROM dual; + END; +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Tiger', 'Nixon', 61, 'System Architect', 320800, '25-Apr-2011', 5421, 't.nixon@datatables.net', 'Edinburgh', 2 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Garrett', 'Winters', 63, 'Accountant', 170750, '25-Jul-2011', 8422, 'g.winters@datatables.net', 'Tokyo', 22 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '12-Jan-2009', 1562, 'a.cox@datatables.net', 'San Francisco', 6 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '29-Mar-2012', 6224, 'c.kelly@datatables.net', 'Edinburgh', 41 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Airi', 'Satou', 33, 'Accountant', 162700, '28-Nov-2008', 5407, 'a.satou@datatables.net', 'Tokyo', 55 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '02-Dec-2012', 4804, 'b.williamson@datatables.net', 'New York', 21 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '06-Aug-2012', 9608, 'h.chandler@datatables.net', 'San Francisco', 46 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '14-Oct-2010', 6200, 'r.davidson@datatables.net', 'Tokyo', 50 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '15-Sep-2009', 2360, 'c.hurst@datatables.net', 'San Francisco', 26 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '13-Dec-2008', 1667, 's.frost@datatables.net', 'Edinburgh', 18 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Jena', 'Gaines', 30, 'Office Manager', 90560, '19-Dec-2008', 3814, 'j.gaines@datatables.net', 'London', 13 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '03-Mar-2013', 9497, 'q.flynn@datatables.net', 'Edinburgh', 23 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Charde', 'Marshall', 36, 'Regional Director', 470600, '16-Oct-2008', 6741, 'c.marshall@datatables.net', 'San Francisco', 14 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '18-Dec-2012', 3597, 'h.kennedy@datatables.net', 'London', 12 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '17-Mar-2010', 1965, 't.fitzpatrick@datatables.net', 'London', 54 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '27-Nov-2012', 1581, 'm.silva@datatables.net', 'London', 37 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '09-Jun-2010', 3059, 'p.byrd@datatables.net', 'New York', 32 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '10-Apr-2009', 1721, 'g.little@datatables.net', 'New York', 35 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '13-Oct-2012', 2558, 'b.greer@datatables.net', 'London', 48 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '26-Sep-2012', 2290, 'd.rios@datatables.net', 'Edinburgh', 45 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '03-Sep-2011', 1937, 'j.caldwell@datatables.net', 'New York', 17 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '25-Jun-2009', 6154, 'y.berry@datatables.net', 'New York', 57 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '12-Dec-2011', 8330, 'c.vance@datatables.net', 'New York', 29 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '20-Sep-2010', 3023, 'd.wilder@datatables.net', 'Sidney', 56 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '09-Oct-2009', 5797, 'a.ramos@datatables.net', 'London', 36 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Gavin', 'Joyce', 42, 'Developer', 92575, '22-Dec-2010', 8822, 'g.joyce@datatables.net', 'Edinburgh', 5 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '14-Nov-2010', 9239, 'j.chang@datatables.net', 'Singapore', 51 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '07-Jun-2011', 1314, 'b.wagner@datatables.net', 'San Francisco', 20 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '11-Mar-2010', 2947, 'f.green@datatables.net', 'San Francisco', 7 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '14-Aug-2011', 8899, 's.itou@datatables.net', 'Tokyo', 1 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Michelle', 'House', 37, 'Integration Specialist', 95400, '02-Jun-2011', 2769, 'm.house@datatables.net', 'Sidney', 39 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Suki', 'Burks', 53, 'Developer', 114500, '22-Oct-2009', 6832, 's.burks@datatables.net', 'London', 40 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '07-May-2011', 3606, 'p.bartlett@datatables.net', 'London', 47 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '26-Oct-2008', 2860, 'g.cortez@datatables.net', 'San Francisco', 52 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '09-Mar-2011', 8240, 'm.mccray@datatables.net', 'Edinburgh', 8 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '09-Dec-2009', 5384, 'u.butler@datatables.net', 'San Francisco', 24 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '16-Dec-2008', 7031, 'h.hatfield@datatables.net', 'San Francisco', 38 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Hope', 'Fuentes', 41, 'Secretary', 109850, '12-Feb-2010', 6318, 'h.fuentes@datatables.net', 'San Francisco', 53 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '14-Feb-2009', 9422, 'v.harrell@datatables.net', 'San Francisco', 30 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '11-Dec-2008', 7580, 't.mooney@datatables.net', 'London', 28 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Jackson', 'Bradshaw', 65, 'Director', 645750, '26-Sep-2008', 1042, 'j.bradshaw@datatables.net', 'New York', 34 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '03-Feb-2011', 2120, 'o.liang@datatables.net', 'Singapore', 4 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '03-May-2011', 6222, 'b.nash@datatables.net', 'London', 3 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '19-Aug-2009', 9383, 's.yamamoto@datatables.net', 'Tokyo', 31 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Thor', 'Walton', 61, 'Developer', 98540, '11-Aug-2013', 8327, 't.walton@datatables.net', 'New York', 11 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '07-Jul-2009', 2927, 'f.camacho@datatables.net', 'San Francisco', 10 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '09-Apr-2012', 8352, 's.baldwin@datatables.net', 'Singapore', 44 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '04-Jan-2010', 7439, 'z.frank@datatables.net', 'New York', 42 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '01-Jun-2012', 4389, 'z.serrano@datatables.net', 'San Francisco', 27 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '01-Feb-2013', 3431, 'j.acosta@datatables.net', 'Edinburgh', 49 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '06-Dec-2011', 3990, 'c.stevens@datatables.net', 'New York', 15 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Hermione', 'Butler', 47, 'Regional Director', 356250, '21-Mar-2011', 1016, 'h.butler@datatables.net', 'London', 9 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '27-Feb-2009', 6733, 'l.greer@datatables.net', 'London', 25 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Jonas', 'Alexander', 30, 'Developer', 86500, '14-Jul-2010', 8196, 'j.alexander@datatables.net', 'San Francisco', 33 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Shad', 'Decker', 51, 'Regional Director', 183000, '13-Nov-2008', 6373, 's.decker@datatables.net', 'Edinburgh', 43 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '27-Jun-2011', 5384, 'm.bruce@datatables.net', 'Singapore', 16 ); +INSERT INTO datatables_demo ( first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) VALUES ( 'Donna', 'Snider', 27, 'Customer Support', 112000, '25-Jan-2011', 4226, 'd.snider@datatables.net', 'New York', 19 ); + +COMMIT; diff --git a/vendor/datatables/datatables/examples/server_side/scripts/post.php b/vendor/datatables/datatables/examples/server_side/scripts/post.php new file mode 100644 index 0000000..41901d7 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/post.php @@ -0,0 +1,71 @@ + '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/vendor/datatables/datatables/examples/server_side/scripts/postgres.sql b/vendor/datatables/datatables/examples/server_side/scripts/postgres.sql new file mode 100644 index 0000000..d3c1cb3 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/postgres.sql @@ -0,0 +1,82 @@ +-- +-- 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 NULL, + age integer, + salary integer, + seq integer, + extn text NOT NULL default '', + PRIMARY KEY (id) +); + +INSERT INTO datatables_demo + ( id, first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) + VALUES + ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh', 2 ), + ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo', 22 ), + ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco', 6 ), + ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh', 41 ), + ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo', 55 ), + ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York', 21 ), + ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco', 46 ), + ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo', 50 ), + ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco', 26 ), + ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh', 18 ), + ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London', 13 ), + ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh', 23 ), + ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco', 14 ), + ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London', 12 ), + ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London', 54 ), + ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London', 37 ), + ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York', 32 ), + ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York', 35 ), + ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London', 48 ), + ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh', 45 ), + ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York', 17 ), + ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York', 57 ), + ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York', 29 ), + ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney', 56 ), + ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London', 36 ), + ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh', 5 ), + ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore', 51 ), + ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco', 20 ), + ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco', 7 ), + ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo', 1 ), + ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney', 39 ), + ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London', 40 ), + ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London', 47 ), + ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco', 52 ), + ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh', 8 ), + ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco', 24 ), + ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco', 38 ), + ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco', 53 ), + ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco', 30 ), + ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London', 28 ), + ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York', 34 ), + ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore', 4 ), + ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London', 3 ), + ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo', 31 ), + ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York', 11 ), + ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco', 10 ), + ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore', 44 ), + ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York', 42 ), + ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco', 27 ), + ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh', 49 ), + ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York', 15 ), + ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London', 9 ), + ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London', 25 ), + ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco', 33 ), + ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh', 43 ), + ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore', 16 ), + ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York', 19 ); + +ALTER SEQUENCE datatables_demo_id_seq RESTART WITH 58; \ No newline at end of file diff --git a/vendor/datatables/datatables/examples/server_side/scripts/server_processing.php b/vendor/datatables/datatables/examples/server_side/scripts/server_processing.php new file mode 100644 index 0000000..7717d6e --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/server_processing.php @@ -0,0 +1,72 @@ + '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/vendor/datatables/datatables/examples/server_side/scripts/sqlite.sql b/vendor/datatables/datatables/examples/server_side/scripts/sqlite.sql new file mode 100644 index 0000000..7992e53 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/sqlite.sql @@ -0,0 +1,79 @@ +-- +-- 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 NULL, + age integer, + salary integer, + seq integer, + extn text NOT NULL default '' +); + +INSERT INTO datatables_demo + ( id, first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) + VALUES + ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh', 2 ), + ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo', 22 ), + ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco', 6 ), + ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh', 41 ), + ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo', 55 ), + ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York', 21 ), + ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco', 46 ), + ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo', 50 ), + ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco', 26 ), + ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh', 18 ), + ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London', 13 ), + ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh', 23 ), + ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco', 14 ), + ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London', 12 ), + ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London', 54 ), + ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London', 37 ), + ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York', 32 ), + ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York', 35 ), + ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London', 48 ), + ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh', 45 ), + ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York', 17 ), + ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York', 57 ), + ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York', 29 ), + ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney', 56 ), + ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London', 36 ), + ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh', 5 ), + ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore', 51 ), + ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco', 20 ), + ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco', 7 ), + ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo', 1 ), + ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney', 39 ), + ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London', 40 ), + ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London', 47 ), + ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco', 52 ), + ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh', 8 ), + ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco', 24 ), + ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco', 38 ), + ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco', 53 ), + ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco', 30 ), + ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London', 28 ), + ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York', 34 ), + ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore', 4 ), + ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London', 3 ), + ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo', 31 ), + ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York', 11 ), + ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco', 10 ), + ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore', 44 ), + ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York', 42 ), + ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco', 27 ), + ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh', 49 ), + ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York', 15 ), + ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London', 9 ), + ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London', 25 ), + ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco', 33 ), + ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh', 43 ), + ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore', 16 ), + ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York', 19 ); \ No newline at end of file diff --git a/vendor/datatables/datatables/examples/server_side/scripts/sqlserver.sql b/vendor/datatables/datatables/examples/server_side/scripts/sqlserver.sql new file mode 100644 index 0000000..a06409e --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/sqlserver.sql @@ -0,0 +1,85 @@ +-- +-- DataTables Ajax and server-side processing database (SQL Server) +-- +IF OBJECT_ID('datatables_demo', 'U') IS NOT NULL + DROP TABLE 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 NULL, + age int, + salary int, + seq int, + extn varchar(8) NOT NULL default '', + PRIMARY KEY (id) +); + +SET IDENTITY_INSERT datatables_demo ON; + +INSERT INTO datatables_demo + ( id, first_name, last_name, age, position, salary, start_date, extn, email, office, seq ) + VALUES + ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh', 2 ), + ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo', 22 ), + ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco', 6 ), + ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh', 41 ), + ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo', 55 ), + ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York', 21 ), + ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco', 46 ), + ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo', 50 ), + ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco', 26 ), + ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh', 18 ), + ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London', 13 ), + ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh', 23 ), + ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco', 14 ), + ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London', 12 ), + ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London', 54 ), + ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London', 37 ), + ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York', 32 ), + ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York', 35 ), + ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London', 48 ), + ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh', 45 ), + ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York', 17 ), + ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York', 57 ), + ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York', 29 ), + ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney', 56 ), + ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London', 36 ), + ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh', 5 ), + ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore', 51 ), + ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco', 20 ), + ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco', 7 ), + ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo', 1 ), + ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney', 39 ), + ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London', 40 ), + ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London', 47 ), + ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco', 52 ), + ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh', 8 ), + ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco', 24 ), + ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco', 38 ), + ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco', 53 ), + ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco', 30 ), + ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London', 28 ), + ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York', 34 ), + ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore', 4 ), + ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London', 3 ), + ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo', 31 ), + ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York', 11 ), + ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco', 10 ), + ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore', 44 ), + ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York', 42 ), + ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco', 27 ), + ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh', 49 ), + ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York', 15 ), + ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London', 9 ), + ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London', 25 ), + ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco', 33 ), + ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh', 43 ), + ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore', 16 ), + ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York', 19 ); + +SET IDENTITY_INSERT datatables_demo OFF; \ No newline at end of file diff --git a/vendor/datatables/datatables/examples/server_side/scripts/ssp.class.php b/vendor/datatables/datatables/examples/server_side/scripts/ssp.class.php new file mode 100644 index 0000000..e7f762e --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/scripts/ssp.class.php @@ -0,0 +1,531 @@ + isset ( $request['draw'] ) ? + intval( $request['draw'] ) : + 0, + "recordsTotal" => intval( $recordsTotal ), + "recordsFiltered" => intval( $recordsFiltered ), + "data" => self::data_output( $columns, $data ) + ); + } + + + /** + * The difference between this method and the `simple` one, is that you can + * apply additional `where` conditions to the SQL queries. These can be in + * one of two forms: + * + * * 'Result condition' - This is applied to the result set, but not the + * overall paging information query - i.e. it will not effect the number + * of records that a user sees they can have access to. This should be + * used when you want apply a filtering condition that the user has sent. + * * 'All condition' - This is applied to all queries that are made and + * reduces the number of records that the user can access. This should be + * used in conditions where you don't want the user to ever have access to + * particular records (for example, restricting by a login id). + * + * @param array $request Data sent to server by DataTables + * @param array|PDO $conn PDO connection resource or connection parameters array + * @param string $table SQL table to query + * @param string $primaryKey Primary key of the table + * @param array $columns Column information array + * @param string $whereResult WHERE condition to apply to the result set + * @param string $whereAll WHERE condition to apply to all queries + * @return array Server-side processing response array + */ + static function complex ( $request, $conn, $table, $primaryKey, $columns, $whereResult=null, $whereAll=null ) + { + $bindings = array(); + $db = self::db( $conn ); + $localWhereResult = array(); + $localWhereAll = array(); + $whereAllSql = ''; + + // Build the SQL query string from the request + $limit = self::limit( $request, $columns ); + $order = self::order( $request, $columns ); + $where = self::filter( $request, $columns, $bindings ); + + $whereResult = self::_flatten( $whereResult ); + $whereAll = self::_flatten( $whereAll ); + + if ( $whereResult ) { + $where = $where ? + $where .' AND '.$whereResult : + 'WHERE '.$whereResult; + } + + if ( $whereAll ) { + $where = $where ? + $where .' AND '.$whereAll : + 'WHERE '.$whereAll; + + $whereAllSql = 'WHERE '.$whereAll; + } + + // Main query to actually get the data + $data = self::sql_exec( $db, $bindings, + "SELECT `".implode("`, `", self::pluck($columns, 'db'))."` + FROM `$table` + $where + $order + $limit" + ); + + // Data set length after filtering + $resFilterLength = self::sql_exec( $db, $bindings, + "SELECT COUNT(`{$primaryKey}`) + FROM `$table` + $where" + ); + $recordsFiltered = $resFilterLength[0][0]; + + // Total data set length + $resTotalLength = self::sql_exec( $db, $bindings, + "SELECT COUNT(`{$primaryKey}`) + FROM `$table` ". + $whereAllSql + ); + $recordsTotal = $resTotalLength[0][0]; + + /* + * Output + */ + return array( + "draw" => isset ( $request['draw'] ) ? + intval( $request['draw'] ) : + 0, + "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( PDO::FETCH_BOTH ); + } + + + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * 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; + } + + + /** + * Return a string from an array or a string + * + * @param array|string $a Array to join + * @param string $join Glue for the concatenation + * @return string Joined string + */ + static function _flatten ( $a, $join = ' AND ' ) + { + if ( ! $a ) { + return ''; + } + else if ( $a && is_array($a) ) { + return implode( $join, $a ); + } + return $a; + } +} + diff --git a/vendor/datatables/datatables/examples/server_side/select_rows.html b/vendor/datatables/datatables/examples/server_side/select_rows.html new file mode 100644 index 0000000..273889b --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/select_rows.html @@ -0,0 +1,486 @@ + + + + + + + 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.

+

If you are looking for a more complete and easier to use row selection option, the Select extension provides + an API that is fully integrated with DataTables for selecting rows and acting upon that selection.

+
+
+ + + + + + + + + + + + + + + + + + + + + +
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() { + var selected = []; + + $("#example").DataTable({ + "processing": true, + "serverSide": true, + "ajax": "scripts/ids-arrays.php", + "rowCallback": function( row, data ) { + 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/vendor/datatables/datatables/examples/server_side/simple.html b/vendor/datatables/datatables/examples/server_side/simple.html new file mode 100644 index 0000000..e86d944 --- /dev/null +++ b/vendor/datatables/datatables/examples/server_side/simple.html @@ -0,0 +1,445 @@ + + + + + + + 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 actions that DataTables performs (such as paging, searching and ordering) 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 to get the required data.

+

Server-side processing is enabled by setting the serverSide option to true and providing an Ajax data source through the ajax 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/vendor/datatables/datatables/examples/styling/bootstrap.html b/vendor/datatables/datatables/examples/styling/bootstrap.html new file mode 100644 index 0000000..7f4baab --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/bootstrap.html @@ -0,0 +1,902 @@ + + + + + + + DataTables example - Bootstrap 3 + + + + + + + + + + + + + +
+
+

DataTables example Bootstrap 3

+
+

DataTables can integrate seamlessly with Bootstrap 3 using Bootstrap's table styling options to present an interface with a uniform design, based on Bootstrap, for your 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 sets the defaults needed for DataTables to be initialised as + normal, as shown in this example.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/bootstrap4.html b/vendor/datatables/datatables/examples/styling/bootstrap4.html new file mode 100644 index 0000000..3beee0a --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/bootstrap4.html @@ -0,0 +1,898 @@ + + + + + + + DataTables example - Bootstrap 4 + + + + + + + + + + + + + +
+
+

DataTables example Bootstrap 4

+
+

As with Bootstrap 3, DataTables can also be integrated seamlessly with Bootstrap 4. This integration is done simply by including the DataTables Bootstrap 4 + files (CSS and JS) which sets the defaults needed for DataTables to be initialised as normal, as shown in this example.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/cell-border.html b/vendor/datatables/datatables/examples/styling/cell-border.html new file mode 100644 index 0000000..833b88a --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/cell-border.html @@ -0,0 +1,888 @@ + + + + + + + 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
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/compact.html b/vendor/datatables/datatables/examples/styling/compact.html new file mode 100644 index 0000000..56c42ef --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/compact.html @@ -0,0 +1,888 @@ + + + + + + + DataTables example - Base style - compact + + + + + + + + + + + +
+
+

DataTables example Base style - compact

+
+

The compact class reduces the amount of white-space in the default styling, increasing the information density on screen, as shown below.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/display.html b/vendor/datatables/datatables/examples/styling/display.html new file mode 100644 index 0000000..43ff1f4 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/display.html @@ -0,0 +1,900 @@ + + + + + + + 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
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/foundation.html b/vendor/datatables/datatables/examples/styling/foundation.html new file mode 100644 index 0000000..b6123fb --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/foundation.html @@ -0,0 +1,902 @@ + + + + + + + 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 sets the defaults needed for DataTables to be initialised as + normal, as shown in this example.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/hover.html b/vendor/datatables/datatables/examples/styling/hover.html new file mode 100644 index 0000000..4664978 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/hover.html @@ -0,0 +1,889 @@ + + + + + + + DataTables example - Base style - hover + + + + + + + + + + + +
+
+

DataTables example Base style - hover

+
+

This example shows DataTables with just the hover class specified. This class instructs DataTables' styling to highlight a row when the mouse is + hovered over it.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/index.html b/vendor/datatables/datatables/examples/styling/index.html new file mode 100644 index 0000000..cd455c7 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/index.html @@ -0,0 +1,94 @@ + + + + + + + + + + + + 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/vendor/datatables/datatables/examples/styling/jqueryUI.html b/vendor/datatables/datatables/examples/styling/jqueryUI.html new file mode 100644 index 0000000..3aaae0d --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/jqueryUI.html @@ -0,0 +1,900 @@ + + + + + + + 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.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/material.html b/vendor/datatables/datatables/examples/styling/material.html new file mode 100644 index 0000000..4fa79d1 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/material.html @@ -0,0 +1,915 @@ + + + + + + + DataTables example - Material Design (Tech. preview) + + + + + + + + + + + + + +
+
+

DataTables example Material Design (Tech. preview)

+
+

This example shows DataTables styled for Google's Material Design. The Material Design Lite libraries are used to provide the styling implementation for Material.

+

This is a technical preview example and the Material Design integration for DataTables is not yet complete. This tech preview is provided to gauge the interest + in a Material integration for DataTables and also to estimate the work that would be involved in fully supporting the styling library. As such, the Material design + implementation for DataTables can currently only be installed from source and is not available in package managers or the DataTables downloader.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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( { + columnDefs: [ + { + targets: [ 0, 1, 2 ], + className: 'mdl-data-table__cell--non-numeric' + } + ] + } ); +} ); +

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/vendor/datatables/datatables/examples/styling/no-classes.html b/vendor/datatables/datatables/examples/styling/no-classes.html new file mode 100644 index 0000000..d6fb0dd --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/no-classes.html @@ -0,0 +1,888 @@ + + + + + + + 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
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/order-column.html b/vendor/datatables/datatables/examples/styling/order-column.html new file mode 100644 index 0000000..01e9d67 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/order-column.html @@ -0,0 +1,889 @@ + + + + + + + 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
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/row-border.html b/vendor/datatables/datatables/examples/styling/row-border.html new file mode 100644 index 0000000..b56a2a1 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/row-border.html @@ -0,0 +1,888 @@ + + + + + + + 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
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/semanticui.html b/vendor/datatables/datatables/examples/styling/semanticui.html new file mode 100644 index 0000000..5728310 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/semanticui.html @@ -0,0 +1,903 @@ + + + + + + + DataTables example - Semantic UI + + + + + + + + + + + + + + +
+
+

DataTables example Semantic UI

+
+

This example shows DataTables integrated with Semantic UI. Semantic UI is a comprehensive framework that uses CSS class + names like words to create natural language styling library.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/stripe.html b/vendor/datatables/datatables/examples/styling/stripe.html new file mode 100644 index 0000000..f032db0 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/stripe.html @@ -0,0 +1,888 @@ + + + + + + + DataTables example - Base style - stripe + + + + + + + + + + + +
+
+

DataTables example Base style - stripe

+
+

This example shows DataTables with just the stripe class specified.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/examples/styling/uikit.html b/vendor/datatables/datatables/examples/styling/uikit.html new file mode 100644 index 0000000..f2eb131 --- /dev/null +++ b/vendor/datatables/datatables/examples/styling/uikit.html @@ -0,0 +1,899 @@ + + + + + + + DataTables example - UIKit 3 (Tech. preview) + + + + + + + + + + + + + +
+
+

DataTables example UIKit 3 (Tech. preview)

+
+

This example shows DataTables integrated with UIKit 3.

+

The DataTables integration with UIKit is still in development and not all elements might work correctly yet. Only once all of DataTables extensions fully + support UIKit will the integration be complete and available via the DataTables download builder.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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
NamePositionOfficeAgeStart 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(); +} ); +

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/vendor/datatables/datatables/license.txt b/vendor/datatables/datatables/license.txt new file mode 100644 index 0000000..e22fb65 --- /dev/null +++ b/vendor/datatables/datatables/license.txt @@ -0,0 +1,20 @@ +Copyright (c) 2008-2015 SpryMedia Limited +http://datatables.net + +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/vendor/datatables/datatables/media/css/dataTables.bootstrap.css b/vendor/datatables/datatables/media/css/dataTables.bootstrap.css new file mode 100644 index 0000000..6a9e753 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.bootstrap.css @@ -0,0 +1,187 @@ +table.dataTable { + clear: both; + margin-top: 6px !important; + margin-bottom: 6px !important; + max-width: none !important; + border-collapse: separate !important; +} +table.dataTable td, +table.dataTable th { + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +table.dataTable td.dataTables_empty, +table.dataTable th.dataTables_empty { + text-align: center; +} +table.dataTable.nowrap th, +table.dataTable.nowrap td { + white-space: nowrap; +} + +div.dataTables_wrapper div.dataTables_length label { + font-weight: normal; + text-align: left; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_length select { + width: 75px; + display: inline-block; +} +div.dataTables_wrapper div.dataTables_filter { + text-align: right; +} +div.dataTables_wrapper div.dataTables_filter label { + font-weight: normal; + white-space: nowrap; + text-align: left; +} +div.dataTables_wrapper div.dataTables_filter input { + margin-left: 0.5em; + display: inline-block; + width: auto; +} +div.dataTables_wrapper div.dataTables_info { + padding-top: 8px; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_paginate { + margin: 0; + white-space: nowrap; + text-align: right; +} +div.dataTables_wrapper div.dataTables_paginate ul.pagination { + margin: 2px 0; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_processing { + position: absolute; + top: 50%; + left: 50%; + width: 200px; + margin-left: -100px; + margin-top: -26px; + text-align: center; + padding: 1em 0; +} + +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, +table.dataTable thead > tr > td.sorting_asc, +table.dataTable thead > tr > td.sorting_desc, +table.dataTable thead > tr > td.sorting { + padding-right: 30px; +} +table.dataTable thead > tr > th:active, +table.dataTable thead > tr > td:active { + outline: none; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + cursor: pointer; + position: relative; +} +table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:after { + position: absolute; + bottom: 8px; + right: 8px; + display: block; + font-family: 'Glyphicons Halflings'; + opacity: 0.5; +} +table.dataTable thead .sorting:after { + opacity: 0.2; + content: "\e150"; + /* sort */ +} +table.dataTable thead .sorting_asc:after { + content: "\e155"; + /* sort-by-attributes */ +} +table.dataTable thead .sorting_desc:after { + content: "\e156"; + /* sort-by-attributes-alt */ +} +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:after { + color: #eee; +} + +div.dataTables_scrollHead table.dataTable { + margin-bottom: 0 !important; +} + +div.dataTables_scrollBody > table { + border-top: none; + margin-top: 0 !important; + margin-bottom: 0 !important; +} +div.dataTables_scrollBody > table > thead .sorting:after, +div.dataTables_scrollBody > table > thead .sorting_asc:after, +div.dataTables_scrollBody > table > thead .sorting_desc:after { + display: none; +} +div.dataTables_scrollBody > table > tbody > tr:first-child > th, +div.dataTables_scrollBody > table > tbody > tr:first-child > td { + border-top: none; +} + +div.dataTables_scrollFoot > .dataTables_scrollFootInner { + box-sizing: content-box; +} +div.dataTables_scrollFoot > .dataTables_scrollFootInner > table { + margin-top: 0 !important; + border-top: none; +} + +@media screen and (max-width: 767px) { + div.dataTables_wrapper div.dataTables_length, + div.dataTables_wrapper div.dataTables_filter, + div.dataTables_wrapper div.dataTables_info, + div.dataTables_wrapper div.dataTables_paginate { + text-align: center; + } +} +table.dataTable.table-condensed > thead > tr > th { + padding-right: 20px; +} +table.dataTable.table-condensed .sorting:after, +table.dataTable.table-condensed .sorting_asc:after, +table.dataTable.table-condensed .sorting_desc:after { + top: 6px; + right: 6px; +} + +table.table-bordered.dataTable th, +table.table-bordered.dataTable td { + border-left-width: 0; +} +table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, +table.table-bordered.dataTable td:last-child, +table.table-bordered.dataTable td:last-child { + border-right-width: 0; +} +table.table-bordered.dataTable tbody th, +table.table-bordered.dataTable tbody td { + border-bottom-width: 0; +} + +div.dataTables_scrollHead table.table-bordered { + border-bottom-width: 0; +} + +div.table-responsive > div.dataTables_wrapper > div.row { + margin: 0; +} +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child { + padding-left: 0; +} +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child { + padding-right: 0; +} diff --git a/vendor/datatables/datatables/media/css/dataTables.bootstrap.min.css b/vendor/datatables/datatables/media/css/dataTables.bootstrap.min.css new file mode 100644 index 0000000..af6ecfe --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.bootstrap.min.css @@ -0,0 +1 @@ +table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:8px;right:8px;display:block;font-family:'Glyphicons Halflings';opacity:0.5}table.dataTable thead .sorting:after{opacity:0.2;content:"\e150"}table.dataTable thead .sorting_asc:after{content:"\e155"}table.dataTable thead .sorting_desc:after{content:"\e156"}table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{color:#eee}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody>table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody>table>thead .sorting:after,div.dataTables_scrollBody>table>thead .sorting_asc:after,div.dataTables_scrollBody>table>thead .sorting_desc:after{display:none}div.dataTables_scrollBody>table>tbody>tr:first-child>th,div.dataTables_scrollBody>table>tbody>tr:first-child>td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-condensed>thead>tr>th{padding-right:20px}table.dataTable.table-condensed .sorting:after,table.dataTable.table-condensed .sorting_asc:after,table.dataTable.table-condensed .sorting_desc:after{top:6px;right:6px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0} diff --git a/vendor/datatables/datatables/media/css/dataTables.bootstrap4.css b/vendor/datatables/datatables/media/css/dataTables.bootstrap4.css new file mode 100644 index 0000000..84ec203 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.bootstrap4.css @@ -0,0 +1,206 @@ +table.dataTable { + clear: both; + margin-top: 6px !important; + margin-bottom: 6px !important; + max-width: none !important; + border-collapse: separate !important; + border-spacing: 0; +} +table.dataTable td, +table.dataTable th { + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +table.dataTable td.dataTables_empty, +table.dataTable th.dataTables_empty { + text-align: center; +} +table.dataTable.nowrap th, +table.dataTable.nowrap td { + white-space: nowrap; +} + +div.dataTables_wrapper div.dataTables_length label { + font-weight: normal; + text-align: left; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_length select { + width: auto; + display: inline-block; +} +div.dataTables_wrapper div.dataTables_filter { + text-align: right; +} +div.dataTables_wrapper div.dataTables_filter label { + font-weight: normal; + white-space: nowrap; + text-align: left; +} +div.dataTables_wrapper div.dataTables_filter input { + margin-left: 0.5em; + display: inline-block; + width: auto; +} +div.dataTables_wrapper div.dataTables_info { + padding-top: 0.85em; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_paginate { + margin: 0; + white-space: nowrap; + text-align: right; +} +div.dataTables_wrapper div.dataTables_paginate ul.pagination { + margin: 2px 0; + white-space: nowrap; + justify-content: flex-end; +} +div.dataTables_wrapper div.dataTables_processing { + position: absolute; + top: 50%; + left: 50%; + width: 200px; + margin-left: -100px; + margin-top: -26px; + text-align: center; + padding: 1em 0; +} + +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, +table.dataTable thead > tr > td.sorting_asc, +table.dataTable thead > tr > td.sorting_desc, +table.dataTable thead > tr > td.sorting { + padding-right: 30px; +} +table.dataTable thead > tr > th:active, +table.dataTable thead > tr > td:active { + outline: none; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + cursor: pointer; + position: relative; +} +table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + position: absolute; + bottom: 0.9em; + display: block; + opacity: 0.3; +} +table.dataTable thead .sorting:before, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:before { + right: 1em; + content: "\2191"; +} +table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:after { + right: 0.5em; + content: "\2193"; +} +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:after { + opacity: 1; +} +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + opacity: 0; +} + +div.dataTables_scrollHead table.dataTable { + margin-bottom: 0 !important; +} + +div.dataTables_scrollBody table { + border-top: none; + margin-top: 0 !important; + margin-bottom: 0 !important; +} +div.dataTables_scrollBody table thead .sorting:before, +div.dataTables_scrollBody table thead .sorting_asc:before, +div.dataTables_scrollBody table thead .sorting_desc:before, +div.dataTables_scrollBody table thead .sorting:after, +div.dataTables_scrollBody table thead .sorting_asc:after, +div.dataTables_scrollBody table thead .sorting_desc:after { + display: none; +} +div.dataTables_scrollBody table tbody tr:first-child th, +div.dataTables_scrollBody table tbody tr:first-child td { + border-top: none; +} + +div.dataTables_scrollFoot > .dataTables_scrollFootInner { + box-sizing: content-box; +} +div.dataTables_scrollFoot > .dataTables_scrollFootInner > table { + margin-top: 0 !important; + border-top: none; +} + +@media screen and (max-width: 767px) { + div.dataTables_wrapper div.dataTables_length, + div.dataTables_wrapper div.dataTables_filter, + div.dataTables_wrapper div.dataTables_info, + div.dataTables_wrapper div.dataTables_paginate { + text-align: center; + } +} +table.dataTable.table-sm > thead > tr > th { + padding-right: 20px; +} +table.dataTable.table-sm .sorting:before, +table.dataTable.table-sm .sorting_asc:before, +table.dataTable.table-sm .sorting_desc:before { + top: 5px; + right: 0.85em; +} +table.dataTable.table-sm .sorting:after, +table.dataTable.table-sm .sorting_asc:after, +table.dataTable.table-sm .sorting_desc:after { + top: 5px; +} + +table.table-bordered.dataTable th, +table.table-bordered.dataTable td { + border-left-width: 0; +} +table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, +table.table-bordered.dataTable td:last-child, +table.table-bordered.dataTable td:last-child { + border-right-width: 0; +} +table.table-bordered.dataTable tbody th, +table.table-bordered.dataTable tbody td { + border-bottom-width: 0; +} + +div.dataTables_scrollHead table.table-bordered { + border-bottom-width: 0; +} + +div.table-responsive > div.dataTables_wrapper > div.row { + margin: 0; +} +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child { + padding-left: 0; +} +div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child { + padding-right: 0; +} diff --git a/vendor/datatables/datatables/media/css/dataTables.bootstrap4.min.css b/vendor/datatables/datatables/media/css/dataTables.bootstrap4.min.css new file mode 100644 index 0000000..f1930be --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.bootstrap4.min.css @@ -0,0 +1 @@ +table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important;border-spacing:0}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:0.85em;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap;justify-content:flex-end}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:0.9em;display:block;opacity:0.3}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{right:0.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:before,div.dataTables_scrollBody table thead .sorting_asc:before,div.dataTables_scrollBody table thead .sorting_desc:before,div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-sm>thead>tr>th{padding-right:20px}table.dataTable.table-sm .sorting:before,table.dataTable.table-sm .sorting_asc:before,table.dataTable.table-sm .sorting_desc:before{top:5px;right:0.85em}table.dataTable.table-sm .sorting:after,table.dataTable.table-sm .sorting_asc:after,table.dataTable.table-sm .sorting_desc:after{top:5px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0} diff --git a/vendor/datatables/datatables/media/css/dataTables.foundation.css b/vendor/datatables/datatables/media/css/dataTables.foundation.css new file mode 100644 index 0000000..79848c9 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.foundation.css @@ -0,0 +1,118 @@ +table.dataTable { + clear: both; + margin: 0.5em 0 !important; + max-width: none !important; + width: 100%; +} +table.dataTable td, +table.dataTable th { + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +table.dataTable td.dataTables_empty, +table.dataTable th.dataTables_empty { + text-align: center; +} +table.dataTable.nowrap th, table.dataTable.nowrap td { + white-space: nowrap; +} + +div.dataTables_wrapper { + position: relative; +} +div.dataTables_wrapper div.dataTables_length label { + float: left; + text-align: left; + margin-bottom: 0; +} +div.dataTables_wrapper div.dataTables_length select { + width: 75px; + margin-bottom: 0; +} +div.dataTables_wrapper div.dataTables_filter label { + float: right; + margin-bottom: 0; +} +div.dataTables_wrapper div.dataTables_filter input { + display: inline-block !important; + width: auto !important; + margin-bottom: 0; + margin-left: 0.5em; +} +div.dataTables_wrapper div.dataTables_info { + padding-top: 2px; +} +div.dataTables_wrapper div.dataTables_paginate { + float: right; + margin: 0; +} +div.dataTables_wrapper div.dataTables_processing { + position: absolute; + top: 50%; + left: 50%; + width: 200px; + margin-left: -100px; + margin-top: -26px; + text-align: center; + padding: 1rem 0; +} + +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, +table.dataTable thead > tr > td.sorting_asc, +table.dataTable thead > tr > td.sorting_desc, +table.dataTable thead > tr > td.sorting { + padding-right: 1.5rem; +} +table.dataTable thead > tr > th:active, +table.dataTable thead > tr > td:active { + outline: none; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + cursor: pointer; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + background-repeat: no-repeat; + background-position: center right; +} +table.dataTable thead .sorting { + background-image: url("../images/sort_both.png"); +} +table.dataTable thead .sorting_asc { + background-image: url("../images/sort_asc.png"); +} +table.dataTable thead .sorting_desc { + background-image: url("../images/sort_desc.png"); +} +table.dataTable thead .sorting_asc_disabled { + background-image: url("../images/sort_asc_disabled.png"); +} +table.dataTable thead .sorting_desc_disabled { + background-image: url("../images/sort_desc_disabled.png"); +} + +div.dataTables_scrollHead table { + margin-bottom: 0 !important; +} + +div.dataTables_scrollBody table { + border-top: none; + margin-top: 0 !important; + margin-bottom: 0 !important; +} +div.dataTables_scrollBody table tbody tr:first-child th, +div.dataTables_scrollBody table tbody tr:first-child td { + border-top: none; +} + +div.dataTables_scrollFoot table { + margin-top: 0 !important; + border-top: none; +} diff --git a/vendor/datatables/datatables/media/css/dataTables.foundation.min.css b/vendor/datatables/datatables/media/css/dataTables.foundation.min.css new file mode 100644 index 0000000..73af41e --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.foundation.min.css @@ -0,0 +1 @@ +table.dataTable{clear:both;margin:0.5em 0 !important;max-width:none !important;width:100%}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper{position:relative}div.dataTables_wrapper div.dataTables_length label{float:left;text-align:left;margin-bottom:0}div.dataTables_wrapper div.dataTables_length select{width:75px;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter label{float:right;margin-bottom:0}div.dataTables_wrapper div.dataTables_filter input{display:inline-block !important;width:auto !important;margin-bottom:0;margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:2px}div.dataTables_wrapper div.dataTables_paginate{float:right;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1rem 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:1.5rem}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("../images/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("../images/sort_asc.png")}table.dataTable thead .sorting_desc{background-image:url("../images/sort_desc.png")}table.dataTable thead .sorting_asc_disabled{background-image:url("../images/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("../images/sort_desc_disabled.png")}div.dataTables_scrollHead table{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none} diff --git a/vendor/datatables/datatables/media/css/dataTables.jqueryui.css b/vendor/datatables/datatables/media/css/dataTables.jqueryui.css new file mode 100644 index 0000000..5070b04 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.jqueryui.css @@ -0,0 +1,481 @@ +/* + * 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 tfoot th { + font-weight: bold; +} +table.dataTable thead th, +table.dataTable thead td { + padding: 10px 18px; +} +table.dataTable thead th:active, +table.dataTable thead td:active { + outline: none; +} +table.dataTable tfoot th, +table.dataTable tfoot td { + padding: 10px 18px 6px 18px; +} +table.dataTable tbody tr { + background-color: #ffffff; +} +table.dataTable tbody tr.selected { + background-color: #B0BED9; +} +table.dataTable tbody th, +table.dataTable tbody td { + padding: 8px 10px; +} +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 #ddd; +} +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 #ddd; + border-right: 1px solid #ddd; +} +table.dataTable.cell-border tbody tr th:first-child, +table.dataTable.cell-border tbody tr td:first-child { + border-left: 1px solid #ddd; +} +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: #acbad4; +} +table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover { + background-color: #f6f6f6; +} +table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr:hover.selected { + background-color: #aab7d1; +} +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: #fafafa; +} +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: #acbad5; +} +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: #a6b4cd; +} +table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 { + background-color: #a8b5cf; +} +table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 { + background-color: #a9b7d1; +} +table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 { + background-color: #fafafa; +} +table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 { + background-color: #fcfcfc; +} +table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 { + background-color: #fefefe; +} +table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 { + background-color: #acbad5; +} +table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 { + background-color: #aebcd6; +} +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.order-column.hover tbody tr:hover > .sorting_1 { + background-color: #eaeaea; +} +table.dataTable.display tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 { + background-color: #ececec; +} +table.dataTable.display tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 { + background-color: #efefef; +} +table.dataTable.display tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 { + background-color: #a2aec7; +} +table.dataTable.display tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 { + background-color: #a3b0c9; +} +table.dataTable.display tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 { + background-color: #a5b2cb; +} +table.dataTable.no-footer { + border-bottom: 1px solid #111; +} +table.dataTable.nowrap th, table.dataTable.nowrap td { + white-space: nowrap; +} +table.dataTable.compact thead th, +table.dataTable.compact thead td { + padding: 4px 17px 4px 4px; +} +table.dataTable.compact tfoot th, +table.dataTable.compact tfoot td { + padding: 4px; +} +table.dataTable.compact tbody th, +table.dataTable.compact tbody td { + padding: 4px; +} +table.dataTable th.dt-left, +table.dataTable td.dt-left { + text-align: left; +} +table.dataTable th.dt-center, +table.dataTable td.dt-center, +table.dataTable td.dataTables_empty { + text-align: center; +} +table.dataTable th.dt-right, +table.dataTable td.dt-right { + text-align: right; +} +table.dataTable th.dt-justify, +table.dataTable td.dt-justify { + text-align: justify; +} +table.dataTable th.dt-nowrap, +table.dataTable td.dt-nowrap { + white-space: nowrap; +} +table.dataTable thead th.dt-head-left, +table.dataTable thead td.dt-head-left, +table.dataTable tfoot th.dt-head-left, +table.dataTable tfoot td.dt-head-left { + text-align: left; +} +table.dataTable thead th.dt-head-center, +table.dataTable thead td.dt-head-center, +table.dataTable tfoot th.dt-head-center, +table.dataTable tfoot td.dt-head-center { + text-align: center; +} +table.dataTable thead th.dt-head-right, +table.dataTable thead td.dt-head-right, +table.dataTable tfoot th.dt-head-right, +table.dataTable tfoot td.dt-head-right { + text-align: right; +} +table.dataTable thead th.dt-head-justify, +table.dataTable thead td.dt-head-justify, +table.dataTable tfoot th.dt-head-justify, +table.dataTable tfoot td.dt-head-justify { + text-align: justify; +} +table.dataTable thead th.dt-head-nowrap, +table.dataTable thead td.dt-head-nowrap, +table.dataTable tfoot th.dt-head-nowrap, +table.dataTable tfoot td.dt-head-nowrap { + white-space: nowrap; +} +table.dataTable tbody th.dt-body-left, +table.dataTable tbody td.dt-body-left { + text-align: left; +} +table.dataTable tbody th.dt-body-center, +table.dataTable tbody td.dt-body-center { + text-align: center; +} +table.dataTable tbody th.dt-body-right, +table.dataTable tbody td.dt-body-right { + text-align: right; +} +table.dataTable tbody th.dt-body-justify, +table.dataTable tbody td.dt-body-justify { + text-align: justify; +} +table.dataTable tbody th.dt-body-nowrap, +table.dataTable tbody td.dt-body-nowrap { + white-space: nowrap; +} + +table.dataTable, +table.dataTable th, +table.dataTable td { + 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.755em; +} +.dataTables_wrapper .dataTables_paginate { + float: right; + text-align: right; + padding-top: 0.25em; +} +.dataTables_wrapper .dataTables_paginate .paginate_button { + box-sizing: border-box; + display: inline-block; + min-width: 1.5em; + padding: 0.5em 1em; + margin-left: 2px; + text-align: center; + text-decoration: none !important; + cursor: pointer; + *cursor: hand; + color: #333 !important; + border: 1px solid transparent; + border-radius: 2px; +} +.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { + color: #333 !important; + border: 1px solid #979797; + background-color: white; + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc)); + /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%); + /* Chrome10+,Safari5.1+ */ + background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%); + /* FF3.6+ */ + background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%); + /* IE10+ */ + background: -o-linear-gradient(top, white 0%, #dcdcdc 100%); + /* Opera 11.10+ */ + background: linear-gradient(to bottom, white 0%, #dcdcdc 100%); + /* W3C */ +} +.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active { + cursor: default; + color: #666 !important; + border: 1px solid transparent; + background: transparent; + box-shadow: none; +} +.dataTables_wrapper .dataTables_paginate .paginate_button:hover { + color: white !important; + border: 1px solid #111; + background-color: #585858; + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111)); + /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #585858 0%, #111 100%); + /* Chrome10+,Safari5.1+ */ + background: -moz-linear-gradient(top, #585858 0%, #111 100%); + /* FF3.6+ */ + background: -ms-linear-gradient(top, #585858 0%, #111 100%); + /* IE10+ */ + background: -o-linear-gradient(top, #585858 0%, #111 100%); + /* Opera 11.10+ */ + background: linear-gradient(to bottom, #585858 0%, #111 100%); + /* W3C */ +} +.dataTables_wrapper .dataTables_paginate .paginate_button:active { + outline: none; + background-color: #2b2b2b; + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c)); + /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* Chrome10+,Safari5.1+ */ + background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* FF3.6+ */ + background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* IE10+ */ + background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* Opera 11.10+ */ + background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%); + /* W3C */ + box-shadow: inset 0 0 3px #111; +} +.dataTables_wrapper .dataTables_paginate .ellipsis { + padding: 0 1em; +} +.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))); + 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%); + 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%); + 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%); + 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%); + 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%); +} +.dataTables_wrapper .dataTables_length, +.dataTables_wrapper .dataTables_filter, +.dataTables_wrapper .dataTables_info, +.dataTables_wrapper .dataTables_processing, +.dataTables_wrapper .dataTables_paginate { + color: #333; +} +.dataTables_wrapper .dataTables_scroll { + clear: both; +} +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody { + *margin-top: -1px; + -webkit-overflow-scrolling: touch; +} +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td { + vertical-align: middle; +} +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing, +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing, +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing { + height: 0; + overflow: hidden; + margin: 0 !important; + padding: 0 !important; +} +.dataTables_wrapper.no-footer .dataTables_scrollBody { + border-bottom: 1px solid #111; +} +.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable, +.dataTables_wrapper.no-footer div.dataTables_scrollBody > table { + border-bottom: none; +} +.dataTables_wrapper:after { + visibility: hidden; + display: block; + content: ""; + clear: both; + height: 0; +} + +@media screen and (max-width: 767px) { + .dataTables_wrapper .dataTables_info, + .dataTables_wrapper .dataTables_paginate { + float: none; + text-align: center; + } + .dataTables_wrapper .dataTables_paginate { + margin-top: 0.5em; + } +} +@media screen and (max-width: 640px) { + .dataTables_wrapper .dataTables_length, + .dataTables_wrapper .dataTables_filter { + float: none; + text-align: center; + } + .dataTables_wrapper .dataTables_filter { + margin-top: 0.5em; + } +} +table.dataTable thead th div.DataTables_sort_wrapper { + position: relative; +} +table.dataTable thead th div.DataTables_sort_wrapper span { + position: absolute; + top: 50%; + margin-top: -8px; + right: -18px; +} +table.dataTable thead th.ui-state-default, +table.dataTable tfoot th.ui-state-default { + border-left-width: 0; +} +table.dataTable thead th.ui-state-default:first-child, +table.dataTable tfoot th.ui-state-default:first-child { + border-left-width: 1px; +} + +/* + * Control feature layout + */ +.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; + 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 .ui-widget-header { + font-weight: normal; +} +.dataTables_wrapper .ui-toolbar { + padding: 8px; +} +.dataTables_wrapper.no-footer .dataTables_scrollBody { + border-bottom: none; +} +.dataTables_wrapper .dataTables_length, +.dataTables_wrapper .dataTables_filter, +.dataTables_wrapper .dataTables_info, +.dataTables_wrapper .dataTables_processing, +.dataTables_wrapper .dataTables_paginate { + color: inherit; +} diff --git a/vendor/datatables/datatables/media/css/dataTables.jqueryui.min.css b/vendor/datatables/datatables/media/css/dataTables.jqueryui.min.css new file mode 100644 index 0000000..4e99c26 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.jqueryui.min.css @@ -0,0 +1 @@ +table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px}table.dataTable tbody tr{background-color:#ffffff}table.dataTable tbody tr.selected{background-color:#B0BED9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}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 #ddd}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 #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}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:#acbad4}table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6}table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1}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:#fafafa}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:#acbad5}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:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}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.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{box-sizing:content-box}.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.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.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)));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%);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%);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%);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%);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%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,.dataTables_wrapper.no-footer div.dataTables_scrollBody>table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:0.5em}}table.dataTable thead th div.DataTables_sort_wrapper{position:relative}table.dataTable thead th div.DataTables_sort_wrapper span{position:absolute;top:50%;margin-top:-8px;right:-18px}table.dataTable thead th.ui-state-default,table.dataTable tfoot th.ui-state-default{border-left-width:0}table.dataTable thead th.ui-state-default:first-child,table.dataTable tfoot th.ui-state-default:first-child{border-left-width:1px}.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;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 .ui-widget-header{font-weight:normal}.dataTables_wrapper .ui-toolbar{padding:8px}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:none}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:inherit} diff --git a/vendor/datatables/datatables/media/css/dataTables.material.css b/vendor/datatables/datatables/media/css/dataTables.material.css new file mode 100644 index 0000000..c00f2e9 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.material.css @@ -0,0 +1,87 @@ +div.dataTables_wrapper div.dataTables_filter { + text-align: right; +} +div.dataTables_wrapper div.dataTables_filter input { + margin-left: 0.5em; +} +div.dataTables_wrapper div.dataTables_info { + padding-top: 10px; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_processing { + position: absolute; + top: 50%; + left: 50%; + width: 200px; + margin-left: -100px; + text-align: center; +} +div.dataTables_wrapper div.dataTables_paginate { + text-align: right; +} +div.dataTables_wrapper div.mdl-grid.dt-table { + padding-top: 0; + padding-bottom: 0; +} +div.dataTables_wrapper div.mdl-grid.dt-table > div.mdl-cell { + margin-top: 0; + margin-bottom: 0; +} + +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, +table.dataTable thead > tr > td.sorting_asc, +table.dataTable thead > tr > td.sorting_desc, +table.dataTable thead > tr > td.sorting { + padding-right: 30px; +} +table.dataTable thead > tr > th:active, +table.dataTable thead > tr > td:active { + outline: none; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + cursor: pointer; + position: relative; +} +table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + position: absolute; + bottom: 11px; + display: block; + opacity: 0.3; + font-size: 1.3em; +} +table.dataTable thead .sorting:before, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:before { + right: 1em; + content: "\2191"; +} +table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:after { + right: 0.5em; + content: "\2193"; +} +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:after { + opacity: 1; +} +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + opacity: 0; +} diff --git a/vendor/datatables/datatables/media/css/dataTables.material.min.css b/vendor/datatables/datatables/media/css/dataTables.material.min.css new file mode 100644 index 0000000..5935ac4 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.material.min.css @@ -0,0 +1 @@ +div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:10px;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;text-align:center}div.dataTables_wrapper div.dataTables_paginate{text-align:right}div.dataTables_wrapper div.mdl-grid.dt-table{padding-top:0;padding-bottom:0}div.dataTables_wrapper div.mdl-grid.dt-table>div.mdl-cell{margin-top:0;margin-bottom:0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:11px;display:block;opacity:0.3;font-size:1.3em}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{right:0.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0} diff --git a/vendor/datatables/datatables/media/css/dataTables.semanticui.css b/vendor/datatables/datatables/media/css/dataTables.semanticui.css new file mode 100644 index 0000000..077db2a --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.semanticui.css @@ -0,0 +1,102 @@ +/* + * Styling for DataTables with Semantic UI + */ +table.dataTable.table { + margin: 0; +} +table.dataTable.table thead th, +table.dataTable.table thead td { + position: relative; +} +table.dataTable.table thead th.sorting, table.dataTable.table thead th.sorting_asc, table.dataTable.table thead th.sorting_desc, +table.dataTable.table thead td.sorting, +table.dataTable.table thead td.sorting_asc, +table.dataTable.table thead td.sorting_desc { + padding-right: 20px; +} +table.dataTable.table thead th.sorting:after, table.dataTable.table thead th.sorting_asc:after, table.dataTable.table thead th.sorting_desc:after, +table.dataTable.table thead td.sorting:after, +table.dataTable.table thead td.sorting_asc:after, +table.dataTable.table thead td.sorting_desc:after { + position: absolute; + top: 12px; + right: 8px; + display: block; + font-family: Icons; +} +table.dataTable.table thead th.sorting:after, +table.dataTable.table thead td.sorting:after { + content: "\f0dc"; + color: #ddd; + font-size: 0.8em; +} +table.dataTable.table thead th.sorting_asc:after, +table.dataTable.table thead td.sorting_asc:after { + content: "\f0de"; +} +table.dataTable.table thead th.sorting_desc:after, +table.dataTable.table thead td.sorting_desc:after { + content: "\f0dd"; +} +table.dataTable.table td, +table.dataTable.table th { + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +table.dataTable.table td.dataTables_empty, +table.dataTable.table th.dataTables_empty { + text-align: center; +} +table.dataTable.table.nowrap th, +table.dataTable.table.nowrap td { + white-space: nowrap; +} + +div.dataTables_wrapper div.dataTables_length select { + vertical-align: middle; + min-height: 2.7142em; +} +div.dataTables_wrapper div.dataTables_length .ui.selection.dropdown { + min-width: 0; +} +div.dataTables_wrapper div.dataTables_filter span.input { + margin-left: 0.5em; +} +div.dataTables_wrapper div.dataTables_info { + padding-top: 13px; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_processing { + position: absolute; + top: 50%; + left: 50%; + width: 200px; + margin-left: -100px; + text-align: center; +} +div.dataTables_wrapper div.row.dt-table { + padding: 0; +} +div.dataTables_wrapper div.dataTables_scrollHead table.dataTable { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + border-bottom: none; +} +div.dataTables_wrapper div.dataTables_scrollBody thead .sorting:after, +div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_asc:after, +div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_desc:after { + display: none; +} +div.dataTables_wrapper div.dataTables_scrollBody table.dataTable { + border-radius: 0; + border-top: none; + border-bottom-width: 0; +} +div.dataTables_wrapper div.dataTables_scrollBody table.dataTable.no-footer { + border-bottom-width: 1px; +} +div.dataTables_wrapper div.dataTables_scrollFoot table.dataTable { + border-top-right-radius: 0; + border-top-left-radius: 0; + border-top: none; +} diff --git a/vendor/datatables/datatables/media/css/dataTables.semanticui.min.css b/vendor/datatables/datatables/media/css/dataTables.semanticui.min.css new file mode 100644 index 0000000..fcffe0c --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.semanticui.min.css @@ -0,0 +1 @@ +table.dataTable.table{margin:0}table.dataTable.table thead th,table.dataTable.table thead td{position:relative}table.dataTable.table thead th.sorting,table.dataTable.table thead th.sorting_asc,table.dataTable.table thead th.sorting_desc,table.dataTable.table thead td.sorting,table.dataTable.table thead td.sorting_asc,table.dataTable.table thead td.sorting_desc{padding-right:20px}table.dataTable.table thead th.sorting:after,table.dataTable.table thead th.sorting_asc:after,table.dataTable.table thead th.sorting_desc:after,table.dataTable.table thead td.sorting:after,table.dataTable.table thead td.sorting_asc:after,table.dataTable.table thead td.sorting_desc:after{position:absolute;top:12px;right:8px;display:block;font-family:Icons}table.dataTable.table thead th.sorting:after,table.dataTable.table thead td.sorting:after{content:"\f0dc";color:#ddd;font-size:0.8em}table.dataTable.table thead th.sorting_asc:after,table.dataTable.table thead td.sorting_asc:after{content:"\f0de"}table.dataTable.table thead th.sorting_desc:after,table.dataTable.table thead td.sorting_desc:after{content:"\f0dd"}table.dataTable.table td,table.dataTable.table th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable.table td.dataTables_empty,table.dataTable.table th.dataTables_empty{text-align:center}table.dataTable.table.nowrap th,table.dataTable.table.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{vertical-align:middle;min-height:2.7142em}div.dataTables_wrapper div.dataTables_length .ui.selection.dropdown{min-width:0}div.dataTables_wrapper div.dataTables_filter span.input{margin-left:0.5em}div.dataTables_wrapper div.dataTables_info{padding-top:13px;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;text-align:center}div.dataTables_wrapper div.row.dt-table{padding:0}div.dataTables_wrapper div.dataTables_scrollHead table.dataTable{border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom:none}div.dataTables_wrapper div.dataTables_scrollBody thead .sorting:after,div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_asc:after,div.dataTables_wrapper div.dataTables_scrollBody thead .sorting_desc:after{display:none}div.dataTables_wrapper div.dataTables_scrollBody table.dataTable{border-radius:0;border-top:none;border-bottom-width:0}div.dataTables_wrapper div.dataTables_scrollBody table.dataTable.no-footer{border-bottom-width:1px}div.dataTables_wrapper div.dataTables_scrollFoot table.dataTable{border-top-right-radius:0;border-top-left-radius:0;border-top:none} diff --git a/vendor/datatables/datatables/media/css/dataTables.uikit.css b/vendor/datatables/datatables/media/css/dataTables.uikit.css new file mode 100644 index 0000000..cc2aa4d --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.uikit.css @@ -0,0 +1,164 @@ +table.dataTable { + clear: both; +} +table.dataTable td, +table.dataTable th { + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +table.dataTable td.dataTables_empty, +table.dataTable th.dataTables_empty { + text-align: center; +} +table.dataTable.nowrap th, +table.dataTable.nowrap td { + white-space: nowrap; +} + +div.dataTables_wrapper div.row.uk-grid.dt-merge-grid { + margin-top: 5px; +} +div.dataTables_wrapper div.dataTables_length label { + font-weight: normal; + text-align: left; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_length select { + width: 75px; + display: inline-block; +} +div.dataTables_wrapper div.dataTables_filter { + text-align: right; +} +div.dataTables_wrapper div.dataTables_filter label { + font-weight: normal; + white-space: nowrap; + text-align: left; +} +div.dataTables_wrapper div.dataTables_filter input { + margin-left: 0.5em; + display: inline-block; + width: auto; +} +div.dataTables_wrapper div.dataTables_info { + padding-top: 8px; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_paginate { + margin: 0; + white-space: nowrap; + text-align: right; +} +div.dataTables_wrapper div.dataTables_paginate ul.pagination { + margin: 2px 0; + white-space: nowrap; +} +div.dataTables_wrapper div.dataTables_processing { + position: absolute; + top: 50%; + left: 50%; + width: 200px; + margin-left: -100px; + margin-top: -26px; + text-align: center; + padding: 1em 0; +} + +table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, +table.dataTable thead > tr > td.sorting_asc, +table.dataTable thead > tr > td.sorting_desc, +table.dataTable thead > tr > td.sorting { + padding-right: 30px; +} +table.dataTable thead > tr > th:active, +table.dataTable thead > tr > td:active { + outline: none; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + cursor: pointer; + position: relative; +} +table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + position: absolute; + bottom: 1.2em; + display: block; + opacity: 0.3; +} +table.dataTable thead .sorting:before, +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:before, +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:before { + right: 1em; + content: "\2191"; +} +table.dataTable thead .sorting:after, +table.dataTable thead .sorting_asc:after, +table.dataTable thead .sorting_desc:after, +table.dataTable thead .sorting_asc_disabled:after, +table.dataTable thead .sorting_desc_disabled:after { + right: 0.5em; + content: "\2193"; +} +table.dataTable thead .sorting_asc:before, +table.dataTable thead .sorting_desc:after { + opacity: 1; +} +table.dataTable thead .sorting_asc_disabled:before, +table.dataTable thead .sorting_desc_disabled:after { + opacity: 0; +} + +div.dataTables_scrollHead table.dataTable { + margin-bottom: 0 !important; +} + +div.dataTables_scrollBody table { + border-top: none; + margin-top: 0 !important; + margin-bottom: 0 !important; +} +div.dataTables_scrollBody table thead .sorting:after, +div.dataTables_scrollBody table thead .sorting_asc:after, +div.dataTables_scrollBody table thead .sorting_desc:after { + display: none; +} +div.dataTables_scrollBody table tbody tr:first-child th, +div.dataTables_scrollBody table tbody tr:first-child td { + border-top: none; +} + +div.dataTables_scrollFoot table { + margin-top: 0 !important; + border-top: none; +} + +@media screen and (max-width: 767px) { + div.dataTables_wrapper div.dataTables_length, + div.dataTables_wrapper div.dataTables_filter, + div.dataTables_wrapper div.dataTables_info, + div.dataTables_wrapper div.dataTables_paginate { + text-align: center; + } +} +table.dataTable.uk-table-condensed > thead > tr > th { + padding-right: 20px; +} +table.dataTable.uk-table-condensed .sorting:after, +table.dataTable.uk-table-condensed .sorting_asc:after, +table.dataTable.uk-table-condensed .sorting_desc:after { + top: 6px; + right: 6px; +} diff --git a/vendor/datatables/datatables/media/css/dataTables.uikit.min.css b/vendor/datatables/datatables/media/css/dataTables.uikit.min.css new file mode 100644 index 0000000..7a033c8 --- /dev/null +++ b/vendor/datatables/datatables/media/css/dataTables.uikit.min.css @@ -0,0 +1 @@ +table.dataTable{clear:both}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.row.uk-grid.dt-merge-grid{margin-top:5px}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:75px;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:8px;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:1.2em;display:block;opacity:0.3}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{right:0.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.uk-table-condensed>thead>tr>th{padding-right:20px}table.dataTable.uk-table-condensed .sorting:after,table.dataTable.uk-table-condensed .sorting_asc:after,table.dataTable.uk-table-condensed .sorting_desc:after{top:6px;right:6px} diff --git a/vendor/datatables/datatables/media/css/jquery.dataTables.css b/vendor/datatables/datatables/media/css/jquery.dataTables.css new file mode 100644 index 0000000..760eccb --- /dev/null +++ b/vendor/datatables/datatables/media/css/jquery.dataTables.css @@ -0,0 +1,448 @@ +/* + * 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 tfoot th { + font-weight: bold; +} +table.dataTable thead th, +table.dataTable thead td { + padding: 10px 18px; + border-bottom: 1px solid #111; +} +table.dataTable thead th:active, +table.dataTable thead td:active { + outline: none; +} +table.dataTable tfoot th, +table.dataTable tfoot td { + padding: 10px 18px 6px 18px; + border-top: 1px solid #111; +} +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + cursor: pointer; + *cursor: hand; + background-repeat: no-repeat; + background-position: center right; +} +table.dataTable thead .sorting { + background-image: url("../images/sort_both.png"); +} +table.dataTable thead .sorting_asc { + background-image: url("../images/sort_asc.png"); +} +table.dataTable thead .sorting_desc { + background-image: url("../images/sort_desc.png"); +} +table.dataTable thead .sorting_asc_disabled { + background-image: url("../images/sort_asc_disabled.png"); +} +table.dataTable thead .sorting_desc_disabled { + background-image: url("../images/sort_desc_disabled.png"); +} +table.dataTable tbody tr { + background-color: #ffffff; +} +table.dataTable tbody tr.selected { + background-color: #B0BED9; +} +table.dataTable tbody th, +table.dataTable tbody td { + padding: 8px 10px; +} +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 #ddd; +} +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 #ddd; + border-right: 1px solid #ddd; +} +table.dataTable.cell-border tbody tr th:first-child, +table.dataTable.cell-border tbody tr td:first-child { + border-left: 1px solid #ddd; +} +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: #acbad4; +} +table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover { + background-color: #f6f6f6; +} +table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr:hover.selected { + background-color: #aab7d1; +} +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: #fafafa; +} +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: #acbad5; +} +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: #a6b4cd; +} +table.dataTable.display tbody tr.odd.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_2 { + background-color: #a8b5cf; +} +table.dataTable.display tbody tr.odd.selected > .sorting_3, table.dataTable.order-column.stripe tbody tr.odd.selected > .sorting_3 { + background-color: #a9b7d1; +} +table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.even > .sorting_1 { + background-color: #fafafa; +} +table.dataTable.display tbody tr.even > .sorting_2, table.dataTable.order-column.stripe tbody tr.even > .sorting_2 { + background-color: #fcfcfc; +} +table.dataTable.display tbody tr.even > .sorting_3, table.dataTable.order-column.stripe tbody tr.even > .sorting_3 { + background-color: #fefefe; +} +table.dataTable.display tbody tr.even.selected > .sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_1 { + background-color: #acbad5; +} +table.dataTable.display tbody tr.even.selected > .sorting_2, table.dataTable.order-column.stripe tbody tr.even.selected > .sorting_2 { + background-color: #aebcd6; +} +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.order-column.hover tbody tr:hover > .sorting_1 { + background-color: #eaeaea; +} +table.dataTable.display tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 { + background-color: #ececec; +} +table.dataTable.display tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 { + background-color: #efefef; +} +table.dataTable.display tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 { + background-color: #a2aec7; +} +table.dataTable.display tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 { + background-color: #a3b0c9; +} +table.dataTable.display tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 { + background-color: #a5b2cb; +} +table.dataTable.no-footer { + border-bottom: 1px solid #111; +} +table.dataTable.nowrap th, table.dataTable.nowrap td { + white-space: nowrap; +} +table.dataTable.compact thead th, +table.dataTable.compact thead td { + padding: 4px 17px 4px 4px; +} +table.dataTable.compact tfoot th, +table.dataTable.compact tfoot td { + padding: 4px; +} +table.dataTable.compact tbody th, +table.dataTable.compact tbody td { + padding: 4px; +} +table.dataTable th.dt-left, +table.dataTable td.dt-left { + text-align: left; +} +table.dataTable th.dt-center, +table.dataTable td.dt-center, +table.dataTable td.dataTables_empty { + text-align: center; +} +table.dataTable th.dt-right, +table.dataTable td.dt-right { + text-align: right; +} +table.dataTable th.dt-justify, +table.dataTable td.dt-justify { + text-align: justify; +} +table.dataTable th.dt-nowrap, +table.dataTable td.dt-nowrap { + white-space: nowrap; +} +table.dataTable thead th.dt-head-left, +table.dataTable thead td.dt-head-left, +table.dataTable tfoot th.dt-head-left, +table.dataTable tfoot td.dt-head-left { + text-align: left; +} +table.dataTable thead th.dt-head-center, +table.dataTable thead td.dt-head-center, +table.dataTable tfoot th.dt-head-center, +table.dataTable tfoot td.dt-head-center { + text-align: center; +} +table.dataTable thead th.dt-head-right, +table.dataTable thead td.dt-head-right, +table.dataTable tfoot th.dt-head-right, +table.dataTable tfoot td.dt-head-right { + text-align: right; +} +table.dataTable thead th.dt-head-justify, +table.dataTable thead td.dt-head-justify, +table.dataTable tfoot th.dt-head-justify, +table.dataTable tfoot td.dt-head-justify { + text-align: justify; +} +table.dataTable thead th.dt-head-nowrap, +table.dataTable thead td.dt-head-nowrap, +table.dataTable tfoot th.dt-head-nowrap, +table.dataTable tfoot td.dt-head-nowrap { + white-space: nowrap; +} +table.dataTable tbody th.dt-body-left, +table.dataTable tbody td.dt-body-left { + text-align: left; +} +table.dataTable tbody th.dt-body-center, +table.dataTable tbody td.dt-body-center { + text-align: center; +} +table.dataTable tbody th.dt-body-right, +table.dataTable tbody td.dt-body-right { + text-align: right; +} +table.dataTable tbody th.dt-body-justify, +table.dataTable tbody td.dt-body-justify { + text-align: justify; +} +table.dataTable tbody th.dt-body-nowrap, +table.dataTable tbody td.dt-body-nowrap { + white-space: nowrap; +} + +table.dataTable, +table.dataTable th, +table.dataTable td { + 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.755em; +} +.dataTables_wrapper .dataTables_paginate { + float: right; + text-align: right; + padding-top: 0.25em; +} +.dataTables_wrapper .dataTables_paginate .paginate_button { + box-sizing: border-box; + display: inline-block; + min-width: 1.5em; + padding: 0.5em 1em; + margin-left: 2px; + text-align: center; + text-decoration: none !important; + cursor: pointer; + *cursor: hand; + color: #333 !important; + border: 1px solid transparent; + border-radius: 2px; +} +.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { + color: #333 !important; + border: 1px solid #979797; + background-color: white; + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc)); + /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%); + /* Chrome10+,Safari5.1+ */ + background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%); + /* FF3.6+ */ + background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%); + /* IE10+ */ + background: -o-linear-gradient(top, white 0%, #dcdcdc 100%); + /* Opera 11.10+ */ + background: linear-gradient(to bottom, white 0%, #dcdcdc 100%); + /* W3C */ +} +.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active { + cursor: default; + color: #666 !important; + border: 1px solid transparent; + background: transparent; + box-shadow: none; +} +.dataTables_wrapper .dataTables_paginate .paginate_button:hover { + color: white !important; + border: 1px solid #111; + background-color: #585858; + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111)); + /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #585858 0%, #111 100%); + /* Chrome10+,Safari5.1+ */ + background: -moz-linear-gradient(top, #585858 0%, #111 100%); + /* FF3.6+ */ + background: -ms-linear-gradient(top, #585858 0%, #111 100%); + /* IE10+ */ + background: -o-linear-gradient(top, #585858 0%, #111 100%); + /* Opera 11.10+ */ + background: linear-gradient(to bottom, #585858 0%, #111 100%); + /* W3C */ +} +.dataTables_wrapper .dataTables_paginate .paginate_button:active { + outline: none; + background-color: #2b2b2b; + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c)); + /* Chrome,Safari4+ */ + background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* Chrome10+,Safari5.1+ */ + background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* FF3.6+ */ + background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* IE10+ */ + background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%); + /* Opera 11.10+ */ + background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%); + /* W3C */ + box-shadow: inset 0 0 3px #111; +} +.dataTables_wrapper .dataTables_paginate .ellipsis { + padding: 0 1em; +} +.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))); + 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%); + 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%); + 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%); + 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%); + 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%); +} +.dataTables_wrapper .dataTables_length, +.dataTables_wrapper .dataTables_filter, +.dataTables_wrapper .dataTables_info, +.dataTables_wrapper .dataTables_processing, +.dataTables_wrapper .dataTables_paginate { + color: #333; +} +.dataTables_wrapper .dataTables_scroll { + clear: both; +} +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody { + *margin-top: -1px; + -webkit-overflow-scrolling: touch; +} +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td { + vertical-align: middle; +} +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing, +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing, +.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing { + height: 0; + overflow: hidden; + margin: 0 !important; + padding: 0 !important; +} +.dataTables_wrapper.no-footer .dataTables_scrollBody { + border-bottom: 1px solid #111; +} +.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable, +.dataTables_wrapper.no-footer div.dataTables_scrollBody > table { + border-bottom: none; +} +.dataTables_wrapper:after { + visibility: hidden; + display: block; + content: ""; + clear: both; + height: 0; +} + +@media screen and (max-width: 767px) { + .dataTables_wrapper .dataTables_info, + .dataTables_wrapper .dataTables_paginate { + float: none; + text-align: center; + } + .dataTables_wrapper .dataTables_paginate { + margin-top: 0.5em; + } +} +@media screen and (max-width: 640px) { + .dataTables_wrapper .dataTables_length, + .dataTables_wrapper .dataTables_filter { + float: none; + text-align: center; + } + .dataTables_wrapper .dataTables_filter { + margin-top: 0.5em; + } +} diff --git a/vendor/datatables/datatables/media/css/jquery.dataTables.min.css b/vendor/datatables/datatables/media/css/jquery.dataTables.min.css new file mode 100644 index 0000000..6565b40 --- /dev/null +++ b/vendor/datatables/datatables/media/css/jquery.dataTables.min.css @@ -0,0 +1 @@ +table.dataTable{width:100%;margin:0 auto;clear:both;border-collapse:separate;border-spacing:0}table.dataTable thead th,table.dataTable tfoot th{font-weight:bold}table.dataTable thead th,table.dataTable thead td{padding:10px 18px;border-bottom:1px solid #111}table.dataTable thead th:active,table.dataTable thead td:active{outline:none}table.dataTable tfoot th,table.dataTable tfoot td{padding:10px 18px 6px 18px;border-top:1px solid #111}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;*cursor:hand;background-repeat:no-repeat;background-position:center right}table.dataTable thead .sorting{background-image:url("../images/sort_both.png")}table.dataTable thead .sorting_asc{background-image:url("../images/sort_asc.png")}table.dataTable thead .sorting_desc{background-image:url("../images/sort_desc.png")}table.dataTable thead .sorting_asc_disabled{background-image:url("../images/sort_asc_disabled.png")}table.dataTable thead .sorting_desc_disabled{background-image:url("../images/sort_desc_disabled.png")}table.dataTable tbody tr{background-color:#ffffff}table.dataTable tbody tr.selected{background-color:#B0BED9}table.dataTable tbody th,table.dataTable tbody td{padding:8px 10px}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 #ddd}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 #ddd;border-right:1px solid #ddd}table.dataTable.cell-border tbody tr th:first-child,table.dataTable.cell-border tbody tr td:first-child{border-left:1px solid #ddd}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:#acbad4}table.dataTable.hover tbody tr:hover,table.dataTable.display tbody tr:hover{background-color:#f6f6f6}table.dataTable.hover tbody tr:hover.selected,table.dataTable.display tbody tr:hover.selected{background-color:#aab7d1}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:#fafafa}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:#acbad5}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:#a6b4cd}table.dataTable.display tbody tr.odd.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2{background-color:#a8b5cf}table.dataTable.display tbody tr.odd.selected>.sorting_3,table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3{background-color:#a9b7d1}table.dataTable.display tbody tr.even>.sorting_1,table.dataTable.order-column.stripe tbody tr.even>.sorting_1{background-color:#fafafa}table.dataTable.display tbody tr.even>.sorting_2,table.dataTable.order-column.stripe tbody tr.even>.sorting_2{background-color:#fcfcfc}table.dataTable.display tbody tr.even>.sorting_3,table.dataTable.order-column.stripe tbody tr.even>.sorting_3{background-color:#fefefe}table.dataTable.display tbody tr.even.selected>.sorting_1,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1{background-color:#acbad5}table.dataTable.display tbody tr.even.selected>.sorting_2,table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2{background-color:#aebcd6}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.order-column.hover tbody tr:hover>.sorting_1{background-color:#eaeaea}table.dataTable.display tbody tr:hover>.sorting_2,table.dataTable.order-column.hover tbody tr:hover>.sorting_2{background-color:#ececec}table.dataTable.display tbody tr:hover>.sorting_3,table.dataTable.order-column.hover tbody tr:hover>.sorting_3{background-color:#efefef}table.dataTable.display tbody tr:hover.selected>.sorting_1,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1{background-color:#a2aec7}table.dataTable.display tbody tr:hover.selected>.sorting_2,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2{background-color:#a3b0c9}table.dataTable.display tbody tr:hover.selected>.sorting_3,table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3{background-color:#a5b2cb}table.dataTable.no-footer{border-bottom:1px solid #111}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.compact thead th,table.dataTable.compact thead td{padding:4px 17px 4px 4px}table.dataTable.compact tfoot th,table.dataTable.compact tfoot td{padding:4px}table.dataTable.compact tbody th,table.dataTable.compact tbody td{padding:4px}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable,table.dataTable th,table.dataTable td{box-sizing:content-box}.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.755em}.dataTables_wrapper .dataTables_paginate{float:right;text-align:right;padding-top:0.25em}.dataTables_wrapper .dataTables_paginate .paginate_button{box-sizing:border-box;display:inline-block;min-width:1.5em;padding:0.5em 1em;margin-left:2px;text-align:center;text-decoration:none !important;cursor:pointer;*cursor:hand;color:#333 !important;border:1px solid transparent;border-radius:2px}.dataTables_wrapper .dataTables_paginate .paginate_button.current,.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{color:#333 !important;border:1px solid #979797;background-color:white;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));background:-webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:-o-linear-gradient(top, #fff 0%, #dcdcdc 100%);background:linear-gradient(to bottom, #fff 0%, #dcdcdc 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{cursor:default;color:#666 !important;border:1px solid transparent;background:transparent;box-shadow:none}.dataTables_wrapper .dataTables_paginate .paginate_button:hover{color:white !important;border:1px solid #111;background-color:#585858;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));background:-webkit-linear-gradient(top, #585858 0%, #111 100%);background:-moz-linear-gradient(top, #585858 0%, #111 100%);background:-ms-linear-gradient(top, #585858 0%, #111 100%);background:-o-linear-gradient(top, #585858 0%, #111 100%);background:linear-gradient(to bottom, #585858 0%, #111 100%)}.dataTables_wrapper .dataTables_paginate .paginate_button:active{outline:none;background-color:#2b2b2b;background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));background:-webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:-o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);background:linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);box-shadow:inset 0 0 3px #111}.dataTables_wrapper .dataTables_paginate .ellipsis{padding:0 1em}.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)));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%);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%);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%);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%);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%)}.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter,.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_processing,.dataTables_wrapper .dataTables_paginate{color:#333}.dataTables_wrapper .dataTables_scroll{clear:both}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td{vertical-align:middle}.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing{height:0;overflow:hidden;margin:0 !important;padding:0 !important}.dataTables_wrapper.no-footer .dataTables_scrollBody{border-bottom:1px solid #111}.dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,.dataTables_wrapper.no-footer div.dataTables_scrollBody>table{border-bottom:none}.dataTables_wrapper:after{visibility:hidden;display:block;content:"";clear:both;height:0}@media screen and (max-width: 767px){.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{float:none;text-align:center}.dataTables_wrapper .dataTables_paginate{margin-top:0.5em}}@media screen and (max-width: 640px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{float:none;text-align:center}.dataTables_wrapper .dataTables_filter{margin-top:0.5em}} diff --git a/vendor/datatables/datatables/media/css/jquery.dataTables_themeroller.css b/vendor/datatables/datatables/media/css/jquery.dataTables_themeroller.css new file mode 100644 index 0000000..1426a44 --- /dev/null +++ b/vendor/datatables/datatables/media/css/jquery.dataTables_themeroller.css @@ -0,0 +1,416 @@ +/* + * 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: #ffffff; +} +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 #ddd; +} +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 #ddd; + border-right: 1px solid #ddd; +} +table.dataTable.cell-border tbody tr th:first-child, +table.dataTable.cell-border tbody tr td:first-child { + border-left: 1px solid #ddd; +} +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.nowrap th, table.dataTable.nowrap td { + white-space: nowrap; +} +table.dataTable.compact thead th, +table.dataTable.compact thead td { + padding: 5px 9px; +} +table.dataTable.compact tfoot th, +table.dataTable.compact tfoot td { + padding: 5px 9px 3px 9px; +} +table.dataTable.compact tbody th, +table.dataTable.compact tbody td { + padding: 4px 5px; +} +table.dataTable th.dt-left, +table.dataTable td.dt-left { + text-align: left; +} +table.dataTable th.dt-center, +table.dataTable td.dt-center, +table.dataTable td.dataTables_empty { + text-align: center; +} +table.dataTable th.dt-right, +table.dataTable td.dt-right { + text-align: right; +} +table.dataTable th.dt-justify, +table.dataTable td.dt-justify { + text-align: justify; +} +table.dataTable th.dt-nowrap, +table.dataTable td.dt-nowrap { + white-space: nowrap; +} +table.dataTable thead th.dt-head-left, +table.dataTable thead td.dt-head-left, +table.dataTable tfoot th.dt-head-left, +table.dataTable tfoot td.dt-head-left { + text-align: left; +} +table.dataTable thead th.dt-head-center, +table.dataTable thead td.dt-head-center, +table.dataTable tfoot th.dt-head-center, +table.dataTable tfoot td.dt-head-center { + text-align: center; +} +table.dataTable thead th.dt-head-right, +table.dataTable thead td.dt-head-right, +table.dataTable tfoot th.dt-head-right, +table.dataTable tfoot td.dt-head-right { + text-align: right; +} +table.dataTable thead th.dt-head-justify, +table.dataTable thead td.dt-head-justify, +table.dataTable tfoot th.dt-head-justify, +table.dataTable tfoot td.dt-head-justify { + text-align: justify; +} +table.dataTable thead th.dt-head-nowrap, +table.dataTable thead td.dt-head-nowrap, +table.dataTable tfoot th.dt-head-nowrap, +table.dataTable tfoot td.dt-head-nowrap { + white-space: nowrap; +} +table.dataTable tbody th.dt-body-left, +table.dataTable tbody td.dt-body-left { + text-align: left; +} +table.dataTable tbody th.dt-body-center, +table.dataTable tbody td.dt-body-center { + text-align: center; +} +table.dataTable tbody th.dt-body-right, +table.dataTable tbody td.dt-body-right { + text-align: right; +} +table.dataTable tbody th.dt-body-justify, +table.dataTable tbody td.dt-body-justify { + text-align: justify; +} +table.dataTable tbody th.dt-body-nowrap, +table.dataTable tbody td.dt-body-nowrap { + white-space: nowrap; +} + +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: #333 !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: #333; +} +.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; +} + +@media screen and (max-width: 767px) { + .dataTables_wrapper .dataTables_length, + .dataTables_wrapper .dataTables_filter, + .dataTables_wrapper .dataTables_info, + .dataTables_wrapper .dataTables_paginate { + float: none; + text-align: center; + } + .dataTables_wrapper .dataTables_filter, + .dataTables_wrapper .dataTables_paginate { + margin-top: 0.5em; + } +} diff --git a/vendor/datatables/datatables/media/images/Sorting icons.psd b/vendor/datatables/datatables/media/images/Sorting icons.psd new file mode 100644 index 0000000..53b2e06 Binary files /dev/null and b/vendor/datatables/datatables/media/images/Sorting icons.psd differ diff --git a/vendor/datatables/datatables/media/images/favicon.ico b/vendor/datatables/datatables/media/images/favicon.ico new file mode 100644 index 0000000..6eeaa2a Binary files /dev/null and b/vendor/datatables/datatables/media/images/favicon.ico differ diff --git a/vendor/datatables/datatables/media/images/sort_asc.png b/vendor/datatables/datatables/media/images/sort_asc.png new file mode 100644 index 0000000..e1ba61a Binary files /dev/null and b/vendor/datatables/datatables/media/images/sort_asc.png differ diff --git a/vendor/datatables/datatables/media/images/sort_asc_disabled.png b/vendor/datatables/datatables/media/images/sort_asc_disabled.png new file mode 100644 index 0000000..fb11dfe Binary files /dev/null and b/vendor/datatables/datatables/media/images/sort_asc_disabled.png differ diff --git a/vendor/datatables/datatables/media/images/sort_both.png b/vendor/datatables/datatables/media/images/sort_both.png new file mode 100644 index 0000000..af5bc7c Binary files /dev/null and b/vendor/datatables/datatables/media/images/sort_both.png differ diff --git a/vendor/datatables/datatables/media/images/sort_desc.png b/vendor/datatables/datatables/media/images/sort_desc.png new file mode 100644 index 0000000..0e156de Binary files /dev/null and b/vendor/datatables/datatables/media/images/sort_desc.png differ diff --git a/vendor/datatables/datatables/media/images/sort_desc_disabled.png b/vendor/datatables/datatables/media/images/sort_desc_disabled.png new file mode 100644 index 0000000..c9fdd8a Binary files /dev/null and b/vendor/datatables/datatables/media/images/sort_desc_disabled.png differ diff --git a/vendor/datatables/datatables/media/js/dataTables.bootstrap.js b/vendor/datatables/datatables/media/js/dataTables.bootstrap.js new file mode 100644 index 0000000..f69acdc --- /dev/null +++ b/vendor/datatables/datatables/media/js/dataTables.bootstrap.js @@ -0,0 +1,182 @@ +/*! DataTables Bootstrap 3 integration + * ©2011-2015 SpryMedia Ltd - datatables.net/license + */ + +/** + * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and + * DataTables 1.10 or newer. + * + * This file sets the defaults and adds options to DataTables to style its + * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap + * for further information. + */ +(function( factory ){ + if ( typeof define === 'function' && define.amd ) { + // AMD + define( ['jquery', 'datatables.net'], function ( $ ) { + return factory( $, window, document ); + } ); + } + else if ( typeof exports === 'object' ) { + // CommonJS + module.exports = function (root, $) { + if ( ! root ) { + root = window; + } + + if ( ! $ || ! $.fn.dataTable ) { + // Require DataTables, which attaches to jQuery, including + // jQuery if needed and have a $ property so we can access the + // jQuery object that is used + $ = require('datatables.net')(root, $).$; + } + + return factory( $, root, root.document ); + }; + } + else { + // Browser + factory( jQuery, window, document ); + } +}(function( $, window, document, undefined ) { +'use strict'; +var DataTable = $.fn.dataTable; + + +/* Set the defaults for DataTables initialisation */ +$.extend( true, DataTable.defaults, { + dom: + "<'row'<'col-sm-6'l><'col-sm-6'f>>" + + "<'row'<'col-sm-12'tr>>" + + "<'row'<'col-sm-5'i><'col-sm-7'p>>", + renderer: 'bootstrap' +} ); + + +/* Default class modification */ +$.extend( DataTable.ext.classes, { + sWrapper: "dataTables_wrapper form-inline dt-bootstrap", + sFilterInput: "form-control input-sm", + sLengthSelect: "form-control input-sm", + sProcessing: "dataTables_processing panel panel-default" +} ); + + +/* Bootstrap paging button renderer */ +DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) { + var api = new DataTable.Api( settings ); + var classes = settings.oClasses; + var lang = settings.oLanguage.oPaginate; + var aria = settings.oLanguage.oAria.paginate || {}; + var btnDisplay, btnClass, counter=0; + + var attach = function( container, buttons ) { + var i, ien, node, button; + var clickHandler = function ( e ) { + e.preventDefault(); + if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) { + api.page( e.data.action ).draw( 'page' ); + } + }; + + for ( i=0, ien=buttons.length ; i 0 ? + '' : ' disabled'); + break; + + case 'previous': + btnDisplay = lang.sPrevious; + btnClass = button + (page > 0 ? + '' : ' disabled'); + break; + + case 'next': + btnDisplay = lang.sNext; + btnClass = button + (page < pages-1 ? + '' : ' disabled'); + break; + + case 'last': + btnDisplay = lang.sLast; + btnClass = button + (page < pages-1 ? + '' : ' disabled'); + break; + + default: + btnDisplay = button + 1; + btnClass = page === button ? + 'active' : ''; + break; + } + + if ( btnDisplay ) { + node = $('
  • ', { + 'class': classes.sPageButton+' '+btnClass, + 'id': idx === 0 && typeof button === 'string' ? + settings.sTableId +'_'+ button : + null + } ) + .append( $('', { + 'href': '#', + 'aria-controls': settings.sTableId, + 'aria-label': aria[ button ], + 'data-dt-idx': counter, + 'tabindex': settings.iTabIndex + } ) + .html( btnDisplay ) + ) + .appendTo( container ); + + settings.oApi._fnBindAction( + node, {action: button}, clickHandler + ); + + counter++; + } + } + } + }; + + // IE9 throws an 'unknown error' if document.activeElement is used + // inside an iframe or frame. + var activeEl; + + try { + // Because this approach is destroying and recreating the paging + // elements, focus is lost on the select button which is bad for + // accessibility. So we want to restore focus once the draw has + // completed + activeEl = $(host).find(document.activeElement).data('dt-idx'); + } + catch (e) {} + + attach( + $(host).empty().html('