first commit

This commit is contained in:
2025-08-07 13:15:31 +01:00
commit d903893b4c
21854 changed files with 4461308 additions and 0 deletions

BIN
lib/FreeSans.ttf Normal file

Binary file not shown.

152
lib/bundles/base.js Normal file
View File

@ -0,0 +1,152 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Font-Awesome
require('@fortawesome/fontawesome-free/css/all.css');
// jQuery
// '$' and 'jQuery' objects have to be declared in global scope
window.$ = window.jQuery = require('jquery');
require('jquery-migrate');
window.$.migrateMute = true;
window.$.migrateTrace = false;
// jQuery UI
// Requirement order has been inspired by jquery-ui-dist build.
require('jquery-ui/ui/version');
require('jquery-ui/ui/ie');
require('jquery-ui/ui/plugin');
require('jquery-ui/ui/safe-active-element');
require('jquery-ui/ui/safe-blur');
require('jquery-ui/ui/widget');
require('jquery-ui/ui/position');
require('jquery-ui/ui/data');
require('jquery-ui/ui/disable-selection');
require('jquery-ui/ui/effect');
require('jquery-ui/ui/effects/effect-blind');
require('jquery-ui/ui/effects/effect-bounce');
require('jquery-ui/ui/effects/effect-clip');
require('jquery-ui/ui/effects/effect-drop');
require('jquery-ui/ui/effects/effect-explode');
require('jquery-ui/ui/effects/effect-fade');
require('jquery-ui/ui/effects/effect-fold');
require('jquery-ui/ui/effects/effect-highlight');
require('jquery-ui/ui/effects/effect-puff');
require('jquery-ui/ui/effects/effect-pulsate');
require('jquery-ui/ui/effects/effect-scale');
require('jquery-ui/ui/effects/effect-shake');
require('jquery-ui/ui/effects/effect-size');
require('jquery-ui/ui/effects/effect-slide');
require('jquery-ui/ui/effects/effect-transfer');
require('jquery-ui/ui/focusable');
require('jquery-ui/ui/form');
require('jquery-ui/ui/jquery-1-7');
require('jquery-ui/ui/keycode');
require('jquery-ui/ui/labels');
require('jquery-ui/ui/scroll-parent');
require('jquery-ui/ui/tabbable');
require('jquery-ui/ui/unique-id');
require('jquery-ui/ui/widgets/accordion');
require('jquery-ui/ui/widgets/menu');
require('jquery-ui/ui/widgets/autocomplete');
require('jquery-ui/ui/widgets/controlgroup');
require('jquery-ui/ui/widgets/checkboxradio');
require('jquery-ui/ui/widgets/button');
require('jquery-ui/ui/widgets/mouse');
require('jquery-ui/ui/widgets/draggable');
require('jquery-ui/ui/widgets/resizable');
require('jquery-ui/ui/widgets/dialog');
require('jquery-ui/ui/widgets/droppable');
require('jquery-ui/ui/widgets/progressbar');
require('jquery-ui/ui/widgets/selectable');
require('jquery-ui/ui/widgets/selectmenu');
require('jquery-ui/ui/widgets/slider');
require('jquery-ui/ui/widgets/sortable');
require('jquery-ui/ui/widgets/spinner');
require('jquery-ui/ui/widgets/tabs');
require('jquery-ui/ui/widgets/tooltip');
require('jquery-ui/themes/base/all.css');
// jQuery(UI) plugins
require('jquery.autogrow-textarea');
require('fittext.js');
// qTip2
require('qtip2');
require('qtip2/dist/jquery.qtip.css');
// Select2
// use full for compat; see https://select2.org/upgrading/migrating-from-35
require('select2/dist/js/select2.full');
require('select2/dist/css/select2.css');
//Loadash
//'_' object has to be declared in global scope
window._ = require('lodash');
// gettext.js
// add translation function into global scope
// signature is almost the same as for PHP functions, but accept extra arguments for string variables
window.i18n = require('gettext.js/lib/gettext').default({domain: 'glpi'});
window.__ = function (msgid, domain /* , extra */) {
domain = typeof(domain) !== 'undefined' ? domain : 'glpi';
var text = i18n.dcnpgettext.apply(
i18n,
[domain, undefined, msgid, undefined, undefined].concat(Array.prototype.slice.call(arguments, 2))
);
return _.escape(text);
};
window._n = function (msgid, msgid_plural, n, domain /* , extra */) {
domain = typeof(domain) !== 'undefined' ? domain : 'glpi';
var text = i18n.dcnpgettext.apply(
i18n,
[domain, undefined, msgid, msgid_plural, n].concat(Array.prototype.slice.call(arguments, 4))
);
return _.escape(text);
};
window._x = function (msgctxt, msgid, domain /* , extra */) {
domain = typeof(domain) !== 'undefined' ? domain : 'glpi';
var text = i18n.dcnpgettext.apply(
i18n,
[domain, msgctxt, msgid, undefined, undefined].concat(Array.prototype.slice.call(arguments, 3))
);
return _.escape(text);
};
window._nx = function (msgctxt, msgid, msgid_plural, n, domain /* , extra */) {
domain = typeof(domain) !== 'undefined' ? domain : 'glpi';
var text = i18n.dcnpgettext.apply(
i18n,
[domain, msgctxt, msgid, msgid_plural, n].concat(Array.prototype.slice.call(arguments, 5))
);
return _.escape(text);
};

1
lib/bundles/base.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("@fortawesome/fontawesome-free/css/all.css");window.$=window.jQuery=require("jquery");require("jquery-migrate");window.$.migrateMute=true;window.$.migrateTrace=false;require("jquery-ui/ui/version");require("jquery-ui/ui/ie");require("jquery-ui/ui/plugin");require("jquery-ui/ui/safe-active-element");require("jquery-ui/ui/safe-blur");require("jquery-ui/ui/widget");require("jquery-ui/ui/position");require("jquery-ui/ui/data");require("jquery-ui/ui/disable-selection");require("jquery-ui/ui/effect");require("jquery-ui/ui/effects/effect-blind");require("jquery-ui/ui/effects/effect-bounce");require("jquery-ui/ui/effects/effect-clip");require("jquery-ui/ui/effects/effect-drop");require("jquery-ui/ui/effects/effect-explode");require("jquery-ui/ui/effects/effect-fade");require("jquery-ui/ui/effects/effect-fold");require("jquery-ui/ui/effects/effect-highlight");require("jquery-ui/ui/effects/effect-puff");require("jquery-ui/ui/effects/effect-pulsate");require("jquery-ui/ui/effects/effect-scale");require("jquery-ui/ui/effects/effect-shake");require("jquery-ui/ui/effects/effect-size");require("jquery-ui/ui/effects/effect-slide");require("jquery-ui/ui/effects/effect-transfer");require("jquery-ui/ui/focusable");require("jquery-ui/ui/form");require("jquery-ui/ui/jquery-1-7");require("jquery-ui/ui/keycode");require("jquery-ui/ui/labels");require("jquery-ui/ui/scroll-parent");require("jquery-ui/ui/tabbable");require("jquery-ui/ui/unique-id");require("jquery-ui/ui/widgets/accordion");require("jquery-ui/ui/widgets/menu");require("jquery-ui/ui/widgets/autocomplete");require("jquery-ui/ui/widgets/controlgroup");require("jquery-ui/ui/widgets/checkboxradio");require("jquery-ui/ui/widgets/button");require("jquery-ui/ui/widgets/mouse");require("jquery-ui/ui/widgets/draggable");require("jquery-ui/ui/widgets/resizable");require("jquery-ui/ui/widgets/dialog");require("jquery-ui/ui/widgets/droppable");require("jquery-ui/ui/widgets/progressbar");require("jquery-ui/ui/widgets/selectable");require("jquery-ui/ui/widgets/selectmenu");require("jquery-ui/ui/widgets/slider");require("jquery-ui/ui/widgets/sortable");require("jquery-ui/ui/widgets/spinner");require("jquery-ui/ui/widgets/tabs");require("jquery-ui/ui/widgets/tooltip");require("jquery-ui/themes/base/all.css");require("jquery.autogrow-textarea");require("fittext.js");require("qtip2");require("qtip2/dist/jquery.qtip.css");require("select2/dist/js/select2.full");require("select2/dist/css/select2.css");window._=require("lodash");window.i18n=require("gettext.js/lib/gettext").default({domain:"glpi"});window.__=function(e,i){i=typeof i!=="undefined"?i:"glpi";var u=i18n.dcnpgettext.apply(i18n,[i,undefined,e,undefined,undefined].concat(Array.prototype.slice.call(arguments,2)));return _.escape(u)};window._n=function(e,i,u,r){r=typeof r!=="undefined"?r:"glpi";var t=i18n.dcnpgettext.apply(i18n,[r,undefined,e,i,u].concat(Array.prototype.slice.call(arguments,4)));return _.escape(t)};window._x=function(e,i,u){u=typeof u!=="undefined"?u:"glpi";var r=i18n.dcnpgettext.apply(i18n,[u,e,i,undefined,undefined].concat(Array.prototype.slice.call(arguments,3)));return _.escape(r)};window._nx=function(e,i,u,r,t){t=typeof t!=="undefined"?t:"glpi";var q=i18n.dcnpgettext.apply(i18n,[t,e,i,u,r].concat(Array.prototype.slice.call(arguments,5)));return _.escape(q)};

41
lib/bundles/chartist.js Normal file
View File

@ -0,0 +1,41 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Chartist base lib
// 'Chartist' object has to be declared in global scope
window.Chartist = require('chartist');
require('chartist/dist/chartist.css');
// Chartist plugins
require('chartist-plugin-legend');
require('chartist-plugin-tooltips-updated');
require('chartist-plugin-pointlabels');
require('chartist-plugin-tooltips-updated/dist/chartist-plugin-tooltip.css');

1
lib/bundles/chartist.min.js vendored Normal file
View File

@ -0,0 +1 @@
window.Chartist=require("chartist");require("chartist/dist/chartist.css");require("chartist-plugin-legend");require("chartist-plugin-tooltips-updated");require("chartist-plugin-pointlabels");require("chartist-plugin-tooltips-updated/dist/chartist-plugin-tooltip.css");

48
lib/bundles/codemirror.js Normal file
View File

@ -0,0 +1,48 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Codemirror base lib
require('codemirror');
require('codemirror/lib/codemirror.css');
// Codemirror addons
require('codemirror/addon/fold/foldcode.js');
require('codemirror/addon/fold/brace-fold.js');
require('codemirror/addon/fold/comment-fold.js');
require('codemirror/addon/fold/foldgutter.js');
require('codemirror/addon/hint/show-hint.js');
require('codemirror/addon/hint/css-hint.js');
require('codemirror/addon/fold/foldgutter.css');
require('codemirror/addon/hint/show-hint.css');
// Codemirror language modes
require('codemirror/mode/css/css.js');

1
lib/bundles/codemirror.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("codemirror");require("codemirror/lib/codemirror.css");require("codemirror/addon/fold/foldcode.js");require("codemirror/addon/fold/brace-fold.js");require("codemirror/addon/fold/comment-fold.js");require("codemirror/addon/fold/foldgutter.js");require("codemirror/addon/hint/show-hint.js");require("codemirror/addon/hint/css-hint.js");require("codemirror/addon/fold/foldgutter.css");require("codemirror/addon/hint/show-hint.css");require("codemirror/mode/css/css.js");

38
lib/bundles/cytoscape.js Normal file
View File

@ -0,0 +1,38 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Cytoscape.js lib
window.cytoscape = require('cytoscape');
require('cytoscape-context-menus');
require('cytoscape-context-menus/cytoscape-context-menus.css');
require('cytoscape-grid-guide');
require('cytoscape-dagre');
require('cytoscape-canvas');

1
lib/bundles/cytoscape.min.js vendored Normal file
View File

@ -0,0 +1 @@
window.cytoscape=require("cytoscape");require("cytoscape-context-menus");require("cytoscape-context-menus/cytoscape-context-menus.css");require("cytoscape-grid-guide");require("cytoscape-dagre");require("cytoscape-canvas");

32
lib/bundles/file-type.js Normal file
View File

@ -0,0 +1,32 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
window.fileType = require('file-type/browser');

1
lib/bundles/file-type.min.js vendored Normal file
View File

@ -0,0 +1 @@
window.fileType=require("file-type/browser");

33
lib/bundles/flatpickr.js Normal file
View File

@ -0,0 +1,33 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
const flatpickr = require("flatpickr");
require('flatpickr/dist/flatpickr.css');

1
lib/bundles/flatpickr.min.js vendored Normal file
View File

@ -0,0 +1 @@
const flatpickr=require("flatpickr");require("flatpickr/dist/flatpickr.css");

View File

@ -0,0 +1,47 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// RRule dependency
// lib is exported as a module, so it must be imported as a module
import { } from 'rrule'
// Fullcalendar library
require('@fullcalendar/core');
require('@fullcalendar/daygrid');
require('@fullcalendar/interaction');
require('@fullcalendar/list');
require('@fullcalendar/timegrid');
require('@fullcalendar/rrule');
require('@fullcalendar/core/main.css');
require('@fullcalendar/daygrid/main.css');
require('@fullcalendar/list/main.css');
require('@fullcalendar/timegrid/main.css');

1
lib/bundles/fullcalendar.min.js vendored Normal file
View File

@ -0,0 +1 @@
import{}from"rrule";require("@fullcalendar/core");require("@fullcalendar/daygrid");require("@fullcalendar/interaction");require("@fullcalendar/list");require("@fullcalendar/timegrid");require("@fullcalendar/rrule");require("@fullcalendar/core/main.css");require("@fullcalendar/daygrid/main.css");require("@fullcalendar/list/main.css");require("@fullcalendar/timegrid/main.css");

37
lib/bundles/fuzzy.js Normal file
View File

@ -0,0 +1,37 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Fuzzy base lib
// 'fuzzy' object has to be declared in global scope
window.fuzzy = require('fuzzy');
// Required to open search menu with "CTRL+ALT+G"
require('../jqueryplugins/jquery.hotkeys');

1
lib/bundles/fuzzy.min.js vendored Normal file
View File

@ -0,0 +1 @@
window.fuzzy=require("fuzzy");require("../jqueryplugins/jquery.hotkeys");

35
lib/bundles/gridstack.js Normal file
View File

@ -0,0 +1,35 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Gridstack jQuery plugin
require('gridstack');
require('gridstack/dist/gridstack.jQueryUI');
require('gridstack/dist/gridstack.css');
require('gridstack/dist/gridstack-extra.css');

1
lib/bundles/gridstack.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("gridstack");require("gridstack/dist/gridstack.jQueryUI");require("gridstack/dist/gridstack.css");require("gridstack/dist/gridstack-extra.css");

34
lib/bundles/jquery-file-upload.js vendored Normal file
View File

@ -0,0 +1,34 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// jQuery File Upload plugin
require('../../vendor/blueimp/jquery-file-upload/js/jquery.fileupload');
require('../../vendor/blueimp/jquery-file-upload/js/jquery.iframe-transport');

1
lib/bundles/jquery-file-upload.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("../../vendor/blueimp/jquery-file-upload/js/jquery.fileupload");require("../../vendor/blueimp/jquery-file-upload/js/jquery.iframe-transport");

34
lib/bundles/jquery-gantt.js vendored Normal file
View File

@ -0,0 +1,34 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Gantt jQuery plugin
require('../jqueryplugins/jquery-gantt/js/jquery.fn.gantt');
require('../jqueryplugins/jquery-gantt/css/style.css');

1
lib/bundles/jquery-gantt.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("../jqueryplugins/jquery-gantt/js/jquery.fn.gantt");require("../jqueryplugins/jquery-gantt/css/style.css");

41
lib/bundles/jquery-prettytextdiff.js vendored Normal file
View File

@ -0,0 +1,41 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// diff-match-patch dependency
// 'diff_match_patch' function and DIFF_* constants have to be declared in global scope
window.diff_match_patch = require('diff-match-patch').diff_match_patch;
window.DIFF_DELETE = require('diff-match-patch').DIFF_DELETE;
window.DIFF_INSERT = require('diff-match-patch').DIFF_INSERT;
window.DIFF_EQUAL = require('diff-match-patch').DIFF_EQUAL;
// PrettyTextDiff jQuery plugin
require('jquery-prettytextdiff');

View File

@ -0,0 +1 @@
window.diff_match_patch=require("diff-match-patch").diff_match_patch;window.DIFF_DELETE=require("diff-match-patch").DIFF_DELETE;window.DIFF_INSERT=require("diff-match-patch").DIFF_INSERT;window.DIFF_EQUAL=require("diff-match-patch").DIFF_EQUAL;require("jquery-prettytextdiff");

View File

@ -0,0 +1,34 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// RateIt jQuery plugin
require('jquery.rateit');
require('jquery.rateit/scripts/rateit.css');

1
lib/bundles/jquery.rateit.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("jquery.rateit");require("jquery.rateit/scripts/rateit.css");

33
lib/bundles/jstree.js Normal file
View File

@ -0,0 +1,33 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// JSTree jQuery plugin
require('jstree');

1
lib/bundles/jstree.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("jstree");

52
lib/bundles/leaflet.js Normal file
View File

@ -0,0 +1,52 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// spin.js dependency
// Spinner object have to be accessible in window context
window.Spinner = require('spin.js').Spinner;
// Leaflet core lib
require('leaflet');
require('leaflet/dist/leaflet.css');
require('leaflet/dist/images/marker-icon-2x.png'); // image is not present in CSS and will not be copied automatically
require('leaflet/dist/images/marker-shadow.png'); // image is not present in CSS and will not be copied automatically
// Leaflet plugins
require('leaflet-spin');
require('leaflet.markercluster');
require('leaflet.markercluster/dist/MarkerCluster.css');
require('leaflet.markercluster/dist/MarkerCluster.Default.css');
require('leaflet.awesome-markers');
require('leaflet.awesome-markers/dist/leaflet.awesome-markers.css');
require('../leaflet/plugins/leaflet-control-osm-geocoder/Control.OSMGeocoder');
require('../leaflet/plugins/leaflet-control-osm-geocoder/Control.OSMGeocoder.css');
require('leaflet-fullscreen');
require('leaflet-fullscreen/dist/leaflet.fullscreen.css');

1
lib/bundles/leaflet.min.js vendored Normal file
View File

@ -0,0 +1 @@
window.Spinner=require("spin.js").Spinner;require("leaflet");require("leaflet/dist/leaflet.css");require("leaflet/dist/images/marker-icon-2x.png");require("leaflet/dist/images/marker-shadow.png");require("leaflet-spin");require("leaflet.markercluster");require("leaflet.markercluster/dist/MarkerCluster.css");require("leaflet.markercluster/dist/MarkerCluster.Default.css");require("leaflet.awesome-markers");require("leaflet.awesome-markers/dist/leaflet.awesome-markers.css");require("../leaflet/plugins/leaflet-control-osm-geocoder/Control.OSMGeocoder");require("../leaflet/plugins/leaflet-control-osm-geocoder/Control.OSMGeocoder.css");require("leaflet-fullscreen");require("leaflet-fullscreen/dist/leaflet.fullscreen.css");

37
lib/bundles/photoswipe.js Normal file
View File

@ -0,0 +1,37 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Photoswipe lib
require('photoswipe');
require('photoswipe/dist/photoswipe-ui-default');
require('photoswipe/dist/photoswipe.css');
require('photoswipe/dist/default-skin/default-skin.css');

1
lib/bundles/photoswipe.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("photoswipe");require("photoswipe/dist/photoswipe-ui-default");require("photoswipe/dist/photoswipe.css");require("photoswipe/dist/default-skin/default-skin.css");

39
lib/bundles/prismjs.js Normal file
View File

@ -0,0 +1,39 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// Prismjs used components
require('prismjs/components/prism-core');
require('prismjs/components/prism-apacheconf');
require('prismjs/components/prism-bash');
require('prismjs/components/prism-clike');
require('prismjs/components/prism-json');
require('prismjs/components/prism-nginx');
require('prismjs/themes/prism-coy.css');

1
lib/bundles/prismjs.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("prismjs/components/prism-core");require("prismjs/components/prism-apacheconf");require("prismjs/components/prism-bash");require("prismjs/components/prism-clike");require("prismjs/components/prism-json");require("prismjs/components/prism-nginx");require("prismjs/themes/prism-coy.css");

View File

@ -0,0 +1,35 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// "Mousewheel" and "Scrollable Tabs" jQuery plugins
require('jquery-mousewheel');
require('../jqueryplugins/jquery-ui-scrollable-tabs/js/jquery.scrollabletab');
require('../jqueryplugins/jquery-ui-scrollable-tabs/css/jquery.scrollabletab.css');

1
lib/bundles/scrollable-tabs.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("jquery-mousewheel");require("../jqueryplugins/jquery-ui-scrollable-tabs/js/jquery.scrollabletab");require("../jqueryplugins/jquery-ui-scrollable-tabs/css/jquery.scrollabletab.css");

32
lib/bundles/sortable.js Normal file
View File

@ -0,0 +1,32 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
window.sortable = require("html5sortable/dist/html5sortable.amd.js");

1
lib/bundles/sortable.min.js vendored Normal file
View File

@ -0,0 +1 @@
window.sortable=require("html5sortable/dist/html5sortable.amd.js");

54
lib/bundles/tinymce.js Normal file
View File

@ -0,0 +1,54 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// 'tinymce' and 'tinyMCE' objects have to be declared in global scope
window.tinymce = window.tinyMCE = require('tinymce/tinymce');
// Base theme
require('tinymce/themes/modern/theme');
// Used plugins
require('tinymce/plugins/table');
require('tinymce/plugins/directionality');
require('tinymce/plugins/searchreplace');
require('tinymce/plugins/tabfocus');
require('tinymce/plugins/autoresize');
require('tinymce/plugins/link');
require('tinymce/plugins/image');
require('tinymce/plugins/paste');
require('tinymce/plugins/code');
require('tinymce/plugins/fullscreen');
require('tinymce/plugins/textcolor');
require('tinymce/plugins/colorpicker');
require('tinymce/plugins/lists');
// Custom plugins
require('../tiny_mce/custom_plugins/stickytoolbar/plugin')

1
lib/bundles/tinymce.min.js vendored Normal file
View File

@ -0,0 +1 @@
window.tinymce=window.tinyMCE=require("tinymce/tinymce");require("tinymce/themes/modern/theme");require("tinymce/plugins/table");require("tinymce/plugins/directionality");require("tinymce/plugins/searchreplace");require("tinymce/plugins/tabfocus");require("tinymce/plugins/autoresize");require("tinymce/plugins/link");require("tinymce/plugins/image");require("tinymce/plugins/paste");require("tinymce/plugins/code");require("tinymce/plugins/fullscreen");require("tinymce/plugins/textcolor");require("tinymce/plugins/colorpicker");require("tinymce/plugins/lists");require("../tiny_mce/custom_plugins/stickytoolbar/plugin");

33
lib/bundles/unorm.js Normal file
View File

@ -0,0 +1,33 @@
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/
// String.normalize polyfill
require('unorm');

1
lib/bundles/unorm.min.js vendored Normal file
View File

@ -0,0 +1 @@
require("unorm");

31
lib/index.php Normal file
View File

@ -0,0 +1,31 @@
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET Development Team.
*
* ---------------------------------------------------------------------
*
* LICENSE
*
* This file is part of GLPI.
*
* GLPI is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GLPI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GLPI. If not, see <http://www.gnu.org/licenses/>.
* ---------------------------------------------------------------------
*/

View File

@ -0,0 +1,17 @@
Welcome Contributor
=
Thank you very much for your time examining and potentially modifying the source code. I truly believe it is what makes this community so great. This plugin wouldn't have gained the notoriety it has had I not opened up the original source and been quite unhappy with it.
Requirements & Best Practices
-
Just a few guidelines before submitting issues and pull requests:
- Ensure the code passes [JSHint](http://jshint.com) completely
- Always strive to write code that meets [best practices](http://taitems.github.com/Front-End-Development-Guidelines/)
- If you're attempting to solve a very unique bug, a test case is preferred
- Please target all pull requests to the [master](/../../tree/master) branch
And thanks once again!

View File

@ -0,0 +1,23 @@
[Demo and Documentation](http://taitems.github.com/jQuery.Gantt/)
==============
jQuery Gantt Chart is a simple chart that implements gantt functionality as
a jQuery component.
It's able to:
- Read json data
- Paging results
- Display different colours for each task
- Display short description as hints
- Mark holidays
Plugin was tested and should work on:
- Firefox 4+
- Chrome 13+
- Safari 5+
- Opera 9+
- IE 8+
Distributed under an MIT license.

View File

@ -0,0 +1,431 @@
.gantt, .gantt2 {
width: 100%;
margin: 20px auto;
border: 14px solid #ddd;
position: relative;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.gantt:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.fn-gantt {
width: 100%;
}
.fn-gantt .fn-content {
overflow: hidden;
position: relative;
width: 100%;
}
/* === LEFT PANEL === */
.fn-gantt .leftPanel {
float: left;
width: 225px;
overflow: hidden;
border-right: 1px solid #DDD;
position: relative;
z-index: 20;
}
.fn-gantt .row {
float: left;
height: 24px;
line-height: 24px;
margin-left: -1px;
}
.fn-gantt .row.header {
margin-left: 0;
}
.fn-gantt .leftPanel .fn-label {
display: inline-block;
margin: 0 0 0 5px;
color: #484A4D;
width: 110px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.fn-gantt .leftPanel .row0 {
border-top: 1px solid #DDD;
}
.fn-gantt .leftPanel .name, .fn-gantt .leftPanel .desc {
float: left;
height: 23px;
margin: 0;
border-bottom: 1px solid #DDD;
background-color: #f6f6f6;
}
.fn-gantt .leftPanel .name {
width: 110px;
font-weight: bold;
}
.fn-gantt .leftPanel .desc {
width: 115px;
}
.fn-gantt .leftPanel .fn-wide, .fn-gantt .leftPanel .fn-wide .fn-label {
width: 225px;
}
.fn-gantt .spacer {
margin: -2px 0 1px 0;
border-bottom: none;
background-color: #f6f6f6;
}
/* === RIGHT PANEL === */
.fn-gantt .rightPanel {
overflow: hidden;
}
.fn-gantt .dataPanel {
margin-left: 0px;
border-right: 1px solid #DDD;
background-image: url(../img/grid.png);
background-repeat: repeat;
background-position: 24px 24px;
position: relative;
}
.fn-gantt .day, .fn-gantt .date {
overflow: visible;
width: 24px;
line-height: 24px;
text-align: center;
border-left: 1px solid #DDD;
border-bottom: 1px solid #DDD;
margin: -1px 0 0 -1px;
font-size: 11px;
color: #484a4d;
text-shadow: 0 1px 0 rgba(255,255,255,0.75);
text-align: center;
}
.fn-gantt .holiday {
background-color: #ffd263;
height: 23px;
margin: 0 0 -1px -1px;
}
.fn-gantt .today {
background-color: #fff8da;
height: 23px;
margin: 0 0 -1px -1px;
font-weight: bold;
text-align: center;
}
.fn-gantt .sa, .fn-gantt .sn, .fn-gantt .wd {
height: 23px;
margin: 0 0 0 -1px;
text-align: center;
}
.fn-gantt .sa, .fn-gantt .sn {
color: #939496;
background-color: #f5f5f5;
text-align: center;
}
.fn-gantt .wd {
background-color: #f6f6f6;
text-align: center;
}
.fn-gantt .rightPanel .month, .fn-gantt .rightPanel .year {
float: left;
overflow: hidden;
border-left: 1px solid #DDD;
border-bottom: 1px solid #DDD;
height: 23px;
margin: 0 0 0 -1px;
background-color: #f6f6f6;
font-weight: bold;
font-size: 11px;
color: #484a4d;
text-shadow: 0 1px 0 rgba(255,255,255,0.75);
text-align: center;
}
.fn-gantt-hint {
border: 5px solid #edc332;
background-color: #fff5d4;
padding: 10px;
position: absolute;
display: none;
z-index: 11;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.fn-gantt .bar {
background-color: #D0E4FD;
height: 18px;
margin: 0px 3px 3px 0px;
position: absolute;
z-index: 10;
text-align: center;
-webkit-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
-moz-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.fn-gantt .bar .fn-label {
line-height: 18px;
font-weight: bold;
white-space: nowrap;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
text-shadow: 0 1px 0 rgba(255,255,255,0.4);
color: #414B57 !important;
text-align: center;
font-size: 11px;
}
.fn-gantt .ganttRed {
background-color: #F9C4E1;
}
.fn-gantt .ganttRed .fn-label {
color: #78436D !important;
}
.fn-gantt .ganttGreen {
background-color: #D8EDA3;
}
.fn-gantt .ganttGreen .fn-label {
color: #778461 !important;
}
.fn-gantt .ganttOrange {
background-color: #FCD29A;
}
.fn-gantt .ganttOrange .fn-label {
color: #714715 !important;
}
/* === BOTTOM NAVIGATION === */
.fn-gantt .bottom {
clear: both;
background-color: #f6f6f6;
width: 100%;
}
.fn-gantt .navigate {
border-top: 1px solid #DDD;
padding: 10px 0 10px 225px;
}
.fn-gantt .navigate .nav-slider {
height: 20px;
display: inline-block;
}
.fn-gantt .navigate .nav-slider-left, .fn-gantt .navigate .nav-slider-right {
text-align: center;
height: 20px;
display: inline-block;
}
.fn-gantt .navigate .nav-slider-left {
float: left;
}
.fn-gantt .navigate .nav-slider-right {
float: right;
}
.fn-gantt .navigate .nav-slider-content {
text-align: left;
width: 160px;
height: 20px;
display: inline-block;
margin: 0 10px;
}
.fn-gantt .navigate .nav-slider-bar, .fn-gantt .navigate .nav-slider-button {
position: absolute;
display: block;
}
.fn-gantt .navigate .nav-slider-bar {
width: 155px;
height: 6px;
background-color: #838688;
margin: 8px 0 0 0;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.fn-gantt .navigate .nav-slider-button {
width: 17px;
height: 60px;
background: url(../img/slider_handle.png) center center no-repeat;
left: 0px;
top: 0px;
margin: -26px 0 0 0;
cursor: pointer;
}
.fn-gantt .navigate .page-number {
display: inline-block;
font-size: 10px;
height: 20px;
}
.fn-gantt .navigate .page-number span {
color: #666666;
margin: 0 6px;
height: 20px;
line-height: 20px;
display: inline-block;
}
.fn-gantt .navigate a:link, .fn-gantt .navigate a:visited, .fn-gantt .navigate a:active {
text-decoration: none;
}
.fn-gantt .nav-link {
margin: 0 3px 0 0;
display: inline-block;
width: 20px;
height: 20px;
font-size: 0px;
background: #595959 url(../img/icon_sprite.png) !important;
border: 1px solid #454546;
cursor: pointer;
vertical-align: top;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.fn-gantt .nav-link:active {
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
}
.fn-gantt .navigate .nav-page-back {
background-position: 1px 0 !important;
margin: 0;
}
.fn-gantt .navigate .nav-page-next {
background-position: 1px -16px !important;
margin-right: 15px;
}
.fn-gantt .navigate .nav-slider .nav-page-next {
margin-right: 5px;
}
.fn-gantt .navigate .nav-begin {
background-position: 1px -112px !important;
}
.fn-gantt .navigate .nav-prev-week {
background-position: 1px -128px !important;
}
.fn-gantt .navigate .nav-prev-day {
background-position: 1px -48px !important;
}
.fn-gantt .navigate .nav-next-day {
background-position: 1px -64px !important;
}
.fn-gantt .navigate .nav-next-week {
background-position: 1px -160px !important;
}
.fn-gantt .navigate .nav-end {
background-position: 1px -144px !important;
}
.fn-gantt .navigate .nav-zoomOut {
background-position: 1px -96px !important;
}
.fn-gantt .navigate .nav-zoomIn {
background-position: 1px -80px !important;
margin-left: 15px;
}
.fn-gantt .navigate .nav-now {
background-position: 1px -32px !important;
}
.fn-gantt .navigate .nav-slider .nav-now {
margin-right: 5px;
}
.fn-gantt-loader {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf000000', endColorstr='#bf000000',GradientType=0 );
background: rgba(0,0,0,0.75);
cursor: wait;
z-index: 30;
}
.fn-gantt-loader-spinner span {
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
height: 1em;
line-height: 1em;
color: #fff;
font-size: 1em;
font-weight: bold;
}
.row:after {
clear: both;
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

View File

@ -0,0 +1,16 @@
[{ "name": " Planning ","desc": "Inception","values": [{"from": "/Date(1320192000000)/", "to": "/Date(1321401600000)/", "desc": "Id: 1<br/>Name: Planning <br/>Date: 2011-11-02 to 2011-11-16", "label": " Planni...", "customClass": "ganttRed"}]},
{ "name": " Gathering requirements ","desc": "Inception","values": [{"from": "/Date(1321401600000)/", "to": "/Date(1322870400000)/", "desc": "Id: 2<br/>Name: Gathering requirements <br/>Date: 2011-11-16 to 2011-12-03", "label": " Gather...", "customClass": "ganttGreen"}]},
{ "name": " Determine scope ","desc": "Inception","values": [{"from": "/Date(1322611200000)/", "to": "/Date(1323302400000)/", "desc": "Id: 3<br/>Name: Determine scope <br/>Date: 2011-11-30 to 2011-12-08", "label": " Determ...", "customClass": "ganttOrange"}]},
{ "name": " Analysis and design ","desc": "Iteration 1","values": [{"from": "/Date(1323302400000)/", "to": "/Date(1324684800000)/", "desc": "Id: 4<br/>Name: Analysis and design <br/>Date: 2011-12-08 to 2011-12-24", "label": " Analys..."}]},
{ "name": " Implementation ","desc": "Iteration 1","values": [{"from": "/Date(1324857600000)/", "to": "/Date(1326758400000)/", "desc": "Id: 5<br/>Name: Implementation <br/>Date: 2011-12-26 to 2012-01-17", "label": " Implem...", "customClass": "ganttRed"}]},
{ "name": " Deliver prototype ","desc": "Iteration 1","values": [{"from": "/Date(1326758400000)/", "to": "/Date(1326844800000)/", "desc": "Id: 6<br/>Name: Deliver prototype <br/>Date: 2012-01-17 to 2012-01-18", "label": " Delive...", "customClass": "ganttGreen"}]},
{ "name": " Testing ","desc": "Iteration 1","values": [{"from": "/Date(1326844800000)/", "to": "/Date(1328659200000)/", "desc": "Id: 7<br/>Name: Testing <br/>Date: 2012-01-18 to 2012-02-08", "label": " Testin...", "customClass": "ganttOrange"}]},
{ "name": " Review and evaluation ","desc": "Iteration 1","values": [{"from": "/Date(1328659200000)/", "to": "/Date(1328832000000)/", "desc": "Id: 8<br/>Name: Review and evaluation <br/>Date: 2012-02-08 to 2012-02-10", "label": " Review..."}]},
{ "name": " Analysis and enhancement of design ","desc": "Iteration 2","values": [{"from": "/Date(1328832000000)/", "to": "/Date(1329868800000)/", "desc": "Id: 9<br/>Name: Analysis and enhancement of design <br/>Date: 2012-02-10 to 2012-02-22", "label": " Analys...", "customClass": "ganttRed"}]},
{ "name": " Implementation (enhancement of prototype)","desc": "Iteration 2","values": [{"from": "/Date(1329868800000)/", "to": "/Date(1331337600000)/", "desc": "Id: 10<br/>Name: Implementation (enhancement of prototype)<br/>Date: 2012-02-22 to 2012-03-10", "label": " Implem...", "customClass": "ganttGreen"}]},
{ "name": " Deliver prototype ","desc": "Iteration 2","values": [{"from": "/Date(1331510400000)/", "to": "/Date(1331596800000)/", "desc": "Id: 11<br/>Name: Deliver prototype <br/>Date: 2012-03-12 to 2012-03-13", "label": " Delive...", "customClass": "ganttOrange"}]},
{ "name": " Testing ","desc": "Iteration 2","values": [{"from": "/Date(1331596800000)/", "to": "/Date(1332547200000)/", "desc": "Id: 12<br/>Name: Testing <br/>Date: 2012-03-13 to 2012-03-24", "label": " Testin...", "customClass": "ganttRed"}]},
{ "name": " Review and evaluation ","desc": "Iteration 2","values": [{"from": "/Date(1332720000000)/", "to": "/Date(1332892800000)/", "desc": "Id: 13<br/>Name: Review and evaluation <br/>Date: 2012-03-26 to 2012-03-28", "label": " Review...", "customClass": "ganttGreen"}]},
{ "name": " Finalising ","desc": "Finalization","values": [{"from": "/Date(1332892800000)/", "to": "/Date(1333065600000)/", "desc": "Id: 14<br/>Name: Finalising <br/>Date: 2012-03-28 to 2012-03-30", "label": " Finali...", "customClass": "ganttOrnage"}]},
{ "name": " Deployment ","desc": "Finalization","values": [{"from": "/Date(1333065600000)/", "to": "/Date(1333411200000)/", "desc": "Id: 15<br/>Name: Deployment <br/>Date: 2012-03-30 to 2012-04-03", "label": " Deploy..."}]},
{ "name": " Project review and evaluation ","desc": "Finalization","values": [{"from": "/Date(1333411200000)/", "to": "/Date(1333584000000)/", "desc": "Id: 16<br/>Name: Project review and evaluation <br/>Date: 2012-04-03 to 2012-04-05", "label": " Projec...", "customClass": "ganttRed"}]}]

View File

@ -0,0 +1 @@
[{name:" Planning ",desc:"Inception",values:[{from:"/Date(1320192000000)/",to:"/Date(1321401600000)/",desc:"Id: 1<br/>Name: Planning <br/>Date: 2011-11-02 to 2011-11-16",label:" Planni...",customClass:"ganttRed"}]},{name:" Gathering requirements ",desc:"Inception",values:[{from:"/Date(1321401600000)/",to:"/Date(1322870400000)/",desc:"Id: 2<br/>Name: Gathering requirements <br/>Date: 2011-11-16 to 2011-12-03",label:" Gather...",customClass:"ganttGreen"}]},{name:" Determine scope ",desc:"Inception",values:[{from:"/Date(1322611200000)/",to:"/Date(1323302400000)/",desc:"Id: 3<br/>Name: Determine scope <br/>Date: 2011-11-30 to 2011-12-08",label:" Determ...",customClass:"ganttOrange"}]},{name:" Analysis and design ",desc:"Iteration 1",values:[{from:"/Date(1323302400000)/",to:"/Date(1324684800000)/",desc:"Id: 4<br/>Name: Analysis and design <br/>Date: 2011-12-08 to 2011-12-24",label:" Analys..."}]},{name:" Implementation ",desc:"Iteration 1",values:[{from:"/Date(1324857600000)/",to:"/Date(1326758400000)/",desc:"Id: 5<br/>Name: Implementation <br/>Date: 2011-12-26 to 2012-01-17",label:" Implem...",customClass:"ganttRed"}]},{name:" Deliver prototype ",desc:"Iteration 1",values:[{from:"/Date(1326758400000)/",to:"/Date(1326844800000)/",desc:"Id: 6<br/>Name: Deliver prototype <br/>Date: 2012-01-17 to 2012-01-18",label:" Delive...",customClass:"ganttGreen"}]},{name:" Testing ",desc:"Iteration 1",values:[{from:"/Date(1326844800000)/",to:"/Date(1328659200000)/",desc:"Id: 7<br/>Name: Testing <br/>Date: 2012-01-18 to 2012-02-08",label:" Testin...",customClass:"ganttOrange"}]},{name:" Review and evaluation ",desc:"Iteration 1",values:[{from:"/Date(1328659200000)/",to:"/Date(1328832000000)/",desc:"Id: 8<br/>Name: Review and evaluation <br/>Date: 2012-02-08 to 2012-02-10",label:" Review..."}]},{name:" Analysis and enhancement of design ",desc:"Iteration 2",values:[{from:"/Date(1328832000000)/",to:"/Date(1329868800000)/",desc:"Id: 9<br/>Name: Analysis and enhancement of design <br/>Date: 2012-02-10 to 2012-02-22",label:" Analys...",customClass:"ganttRed"}]},{name:" Implementation (enhancement of prototype)",desc:"Iteration 2",values:[{from:"/Date(1329868800000)/",to:"/Date(1331337600000)/",desc:"Id: 10<br/>Name: Implementation (enhancement of prototype)<br/>Date: 2012-02-22 to 2012-03-10",label:" Implem...",customClass:"ganttGreen"}]},{name:" Deliver prototype ",desc:"Iteration 2",values:[{from:"/Date(1331510400000)/",to:"/Date(1331596800000)/",desc:"Id: 11<br/>Name: Deliver prototype <br/>Date: 2012-03-12 to 2012-03-13",label:" Delive...",customClass:"ganttOrange"}]},{name:" Testing ",desc:"Iteration 2",values:[{from:"/Date(1331596800000)/",to:"/Date(1332547200000)/",desc:"Id: 12<br/>Name: Testing <br/>Date: 2012-03-13 to 2012-03-24",label:" Testin...",customClass:"ganttRed"}]},{name:" Review and evaluation ",desc:"Iteration 2",values:[{from:"/Date(1332720000000)/",to:"/Date(1332892800000)/",desc:"Id: 13<br/>Name: Review and evaluation <br/>Date: 2012-03-26 to 2012-03-28",label:" Review...",customClass:"ganttGreen"}]},{name:" Finalising ",desc:"Finalization",values:[{from:"/Date(1332892800000)/",to:"/Date(1333065600000)/",desc:"Id: 14<br/>Name: Finalising <br/>Date: 2012-03-28 to 2012-03-30",label:" Finali...",customClass:"ganttOrnage"}]},{name:" Deployment ",desc:"Finalization",values:[{from:"/Date(1333065600000)/",to:"/Date(1333411200000)/",desc:"Id: 15<br/>Name: Deployment <br/>Date: 2012-03-30 to 2012-04-03",label:" Deploy..."}]},{name:" Project review and evaluation ",desc:"Finalization",values:[{from:"/Date(1333411200000)/",to:"/Date(1333584000000)/",desc:"Id: 16<br/>Name: Project review and evaluation <br/>Date: 2012-04-03 to 2012-04-05",label:" Projec...",customClass:"ganttRed"}]}];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,103 @@
[{ "name": "Task#1",
"desc": "",
"values": [
{"from": "/Date(1296547200000)/", "to": "/Date(1296554400000)/", "desc": "<b>Task #</b>1<br><b>Data</b>: [2011-02-01 08:00:00 - 2011-02-01 10:00:00] ", "customClass": "ganttRed", "label": "Task #1"},
{"from": "/Date(1296637200000)/", "to": "/Date(1296649800000)/", "desc": "<b>Task #</b>1<br><b>Data</b>: [2011-02-02 09:00:00 - 2011-02-02 12:30:00] ", "customClass": "ganttOrange", "label": "Task #1"}
]
},
{ "name": "Task#2",
"desc": "",
"values": [
{"from": "/Date(1296554400000)/", "to": "/Date(1296568800000)/", "desc": "<b>Task #</b>2<br><b>Data</b>: [2011-02-01 10:00:00 - 2011-02-01 14:00:00] ", "customClass": "ganttRed", "label": "Task #2"},
{"from": "/Date(1296653400000)/", "to": "/Date(1296658800000)/", "desc": "<b>Task #</b>2<br><b>Data</b>: [2011-02-02 13:30:00 - 2011-02-02 15:00:00] ", "customClass": "ganttGreen"}
]
},
{ "name": "Task#3",
"desc": "",
"values": [
{"from": "/Date(1296574200000)/", "to": "/Date(1296576000000)/", "desc": "<b>Task #</b>3<br><b>Data</b>: [2011-02-01 15:30:00 - 2011-02-01 16:00:00] "},
{"from": "/Date(1296655200000)/", "to": "/Date(1296662400000)/", "desc": "<b>Task #</b>3<br><b>Data</b>: [2011-02-02 14:00:00 - 2011-02-02 16:00:00] ", "customClass": "ganttOrange"}
]
},
{ "name": "Task#4",
"desc": "",
"values": [
{"from": "/Date(1296633600000)/", "to": "/Date(1296646200000)/", "desc": "<b>Task #</b>4<br><b>Data</b>: [2011-02-02 08:00:00 - 2011-02-02 11:30:00] ", "label": "Task #4"},
{"from": "/Date(1296720000000)/", "to": "/Date(1296730800000)/", "desc": "<b>Task #</b>4<br><b>Data</b>: [2011-02-03 08:00:00 - 2011-02-03 11:00:00] ", "customClass": "ganttGreen"}
]
},
{ "name": "Task#5",
"desc": "",
"values": [
{"from": "/Date(1296646200000)/", "to": "/Date(1296651600000)/", "desc": "<b>Task #</b>5<br><b>Data</b>: [2011-02-02 11:30:00 - 2011-02-02 13:00:00] ", "label": "Task #5"},
{"from": "/Date(1296727200000)/", "to": "/Date(1296741600000)/", "desc": "<b>Task #</b>5<br><b>Data</b>: [2011-02-03 10:00:00 - 2011-02-03 14:00:00] ", "customClass": "ganttRed", "label": "Task #5"}
]
},
{ "name": "Task#6",
"desc": "",
"values": [
{"from": "/Date(1296651600000)/", "to": "/Date(1296662400000)/", "desc": "<b>Task #</b>6<br><b>Data</b>: [2011-02-02 13:00:00 - 2011-02-02 16:00:00] ", "customClass": "ganttGreen"},
{"from": "/Date(1296716400000)/", "to": "/Date(1296725400000)/", "desc": "<b>Task #</b>6<br><b>Data</b>: [2011-02-03 07:00:00 - 2011-02-03 09:30:00] ", "customClass": "ganttOrange"}
]
},
{ "name": "Task#7",
"desc": "",
"values": [
{"from": "/Date(1296662400000)/", "to": "/Date(1296669600000)/", "desc": "<b>Task #</b>7<br><b>Data</b>: [2011-02-02 16:00:00 - 2011-02-02 18:00:00] ", "label": "Task #7"},
{"from": "/Date(1296748800000)/", "to": "/Date(1296756000000)/", "desc": "<b>Task #</b>7<br><b>Data</b>: [2011-02-03 16:00:00 - 2011-02-03 18:00:00] ", "customClass": "ganttGreen", "label": "Task #7"}
]
},
{ "name": "Task#8",
"desc": "",
"values": [
{"from": "/Date(1296720000000)/", "to": "/Date(1296734400000)/", "desc": "<b>Task #</b>8<br><b>Data</b>: [2011-02-03 08:00:00 - 2011-02-03 12:00:00] ", "customClass": "ganttRed", "label": "Task #8"}
]
},
{ "name": "Task#9",
"desc": "",
"values": [
{"from": "/Date(1296660600000)/", "to": "/Date(1296667800000)/", "desc": "<b>Task #</b>9<br><b>Data</b>: [2011-02-02 15:30:00 - 2011-02-02 17:30:00] ", "customClass": "ganttOrange"},
{"from": "/Date(1296734400000)/", "to": "/Date(1296745200000)/", "desc": "<b>Task #</b>9<br><b>Data</b>: [2011-02-03 12:00:00 - 2011-02-03 15:00:00] ", "customClass": "ganttRed"}
]
},
{ "name": "Task#10",
"desc": "",
"values": [
{"from": "/Date(1296745200000)/", "to": "/Date(1296752400000)/", "desc": "<b>Task #</b>10<br><b>Data</b>: [2011-02-03 15:00:00 - 2011-02-03 17:00:00] "}
]
},
{ "name": "Task#11",
"desc": "",
"values": [
{"from": "/Date(1296547200000)/", "to": "/Date(1296554400000)/", "desc": "<b>Task #</b>11<br><b>Data</b>: [2011-02-01 08:00:00 - 2011-02-01 10:00:00] "},
{"from": "/Date(1296660600000)/", "to": "/Date(1296669600000)/", "desc": "<b>Task #</b>11<br><b>Data</b>: [2011-02-02 15:30:00 - 2011-02-02 18:00:00] ", "customClass": "ganttOrange"}
]
},
{ "name": "Task#12",
"desc": "",
"values": [
{"from": "/Date(1296554400000)/", "to": "/Date(1296568800000)/", "desc": "<b>Task #</b>12<br><b>Data</b>: [2011-02-01 10:00:00 - 2011-02-01 14:00:00] ", "customClass": "ganttGreen"},
{"from": "/Date(1296658800000)/", "to": "/Date(1296664200000)/", "desc": "<b>Task #</b>12<br><b>Data</b>: [2011-02-02 15:00:00 - 2011-02-02 16:30:00] ", "customClass": "ganttOrange"}
]
},
{ "name": "Task#13",
"desc": "",
"values": [
{"from": "/Date(1296574200000)/", "to": "/Date(1296576000000)/", "desc": "<b>Task #</b>13<br><b>Data</b>: [2011-02-01 15:30:00 - 2011-02-01 16:00:00] "},
{"from": "/Date(1296720000000)/", "to": "/Date(1296730800000)/", "desc": "<b>Task #</b>13<br><b>Data</b>: [2011-02-03 08:00:00 - 2011-02-03 11:00:00] ", "customClass": "ganttRed"}
]
},
{ "name": "Task#14",
"desc": "",
"values": [
{"from": "/Date(1296543600000)/", "to": "/Date(1296550800000)/", "desc": "<b>Task #</b>14<br><b>Data</b>: [2011-02-01 07:00:00 - 2011-02-01 09:00:00] ", "customClass": "ganttOrange"},
{"from": "/Date(1296633600000)/", "to": "/Date(1296646200000)/", "desc": "<b>Task #</b>14<br><b>Data</b>: [2011-02-02 08:00:00 - 2011-02-02 11:30:00] ", "customClass": "ganttGreen"}
]
},
{ "name": "Task#15",
"desc": "",
"values": [
{"from": "/Date(1296556200000)/", "to": "/Date(1296565200000)/", "desc": "<b>Task #</b>15<br><b>Data</b>: [2011-02-01 10:30:00 - 2011-02-01 13:00:00] ", "label": "Task #15"},
{"from": "/Date(1296646200000)/", "to": "/Date(1296651600000)/", "desc": "<b>Task #</b>15<br><b>Data</b>: [2011-02-02 11:30:00 - 2011-02-02 13:00:00] ", "customClass": "ganttOrange", "label": "Task #15"}
]
}]

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,47 @@
/*!
* jQuery Cookie Plugin
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function ($) {
$.cookie = function (key, value, options) {
// key and at least value given, set cookie...
if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value === null || value === undefined)) {
options = $.extend({}, options);
if (value === null || value === undefined) {
options.expires = -1;
}
if (typeof options.expires === 'number') {
var days = options.expires, t = options.expires = new Date();
t.setDate(t.getDate() + days);
}
value = String(value);
return (document.cookie = [
encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value),
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
options.path ? '; path=' + options.path : '',
options.domain ? '; domain=' + options.domain : '',
options.secure ? '; secure' : ''
].join(''));
}
// key and possibly options given, get cookie...
options = value || {};
var decode = options.raw ? function (s) { return s; } : decodeURIComponent;
var pairs = document.cookie.split('; ');
for (var i = 0, pair; pair = pairs[i] && pairs[i].split('='); i++) {
if (decode(pair[0]) === key) return decode(pair[1] || ''); // IE saves cookies with empty string as "c; ", e.g. without "=" as opposed to EOMB, thus pair[1] may be undefined
}
return null;
};
})(jQuery);

View File

@ -0,0 +1,10 @@
/*!
* jQuery Cookie Plugin
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function(e){e.cookie=function(n,t,o){if(arguments.length>1&&(!/Object/.test(Object.prototype.toString.call(t))||t===null||t===undefined)){o=e.extend({},o);if(t===null||t===undefined){o.expires=-1}if(typeof o.expires==="number"){var r=o.expires,i=o.expires=new Date;i.setDate(i.getDate()+r)}t=String(t);return document.cookie=[encodeURIComponent(n),"=",o.raw?t:encodeURIComponent(t),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}o=t||{};var p=o.raw?function(e){return e}:decodeURIComponent;var u=document.cookie.split("; ");for(var a=0,c;c=u[a]&&u[a].split("=");a++){if(p(c[0])===n)return p(c[1]||"")}return null}})(jQuery);

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
Check the plugin source for details.

View File

@ -0,0 +1,117 @@
/**
* jQueryUI.ScrollableTabs - Scrolling multiple tabs.
* @copyright jQueryUI.scrollableTabs is licensed under the WTFPL (so feel free to relicense as needed).
* Date: 16/05/2011
* @author Aamir Afridi - aamirafridi(at)gmail(dot)com | http://www.aamirafridi.com
* @version 2.0
*/
.stMainWrapper > ul.ui-tabs-nav
{
position: relative;
overflow: hidden;
padding-right: 50px;
}
.stMainWrapper > ul.ui-tabs-nav li
{
position: absolute;
top: 3px; /*do not set 'left' should be done in the plugin after some calculations*/
}
.stMainWrapper > ul.ui-tabs-nav li.stHasCloseBtn a
{
padding-right: 5px;
}
.stMainWrapper > ul.ui-tabs-nav li.stFirstTab
{
margin-right: 3px;
}
.stMainWrapper > ul.ui-tabs-nav li span.stCloseBtn
{
float: left;
margin-top: 6px;
margin-right: 4px;
border: none;
cursor: pointer;
}
.stMainWrapper > ul.ui-tabs-nav.listTab
{
display: none;
padding: 0 .1em;
float: right;
width: 13em;
position: absolute;
right: 2px;
overflow: inherit;
overflow-y: auto;
height: initial !important;
max-height: calc(100% - 40px);
z-index: 2;
background: white;
border: 1px solid #D3D3D3;
top: 34px;
box-sizing: border-box;
}
.stMainWrapper > ul.ui-tabs-nav.listTab li
{
clear: left;
width: 100%;
border-right-width: 0 !important;
left: 0!important;
top: 0;
position: relative;
}
.stMainWrapper > ul.ui-tabs-nav.listTab li a
{
display:block;
}
.stMainWrapper > ul.ui-tabs-nav.listTab li.ui-tabs-active
{
padding-bottom: 0;
padding-right: .1em;
border-right-width: 1px;
}
.stNavMain
{
list-style: none;
margin: 0 !important;
padding: 0 1px 0 1px !important;
position: relative;
border: none !important;
width: 100%;
}
.stNavMain li
{
position: absolute;
width: 16px;
border-top: none !important;
border-bottom: none !important;
cursor: pointer;
margin-top: -1px;
}
.stNavMain li .ui-icon
{
margin-top: 38%;
}
.stNavMain li.stNavNextArrow,
.stNavMain li.stNavLastArrow,
.stNavMain li.stNavListOfTabs
{
border-right: none !important;
right: 3px;
}
.stNavMain li.stNavPrevArrow,
.stNavMain li.stNavFirstArrow
{
border-left: none !important;
}

View File

@ -0,0 +1,7 @@
/**
* jQueryUI.ScrollableTabs - Scrolling multiple tabs.
* @copyright jQueryUI.scrollableTabs is licensed under the WTFPL (so feel free to relicense as needed).
* Date: 16/05/2011
* @author Aamir Afridi - aamirafridi(at)gmail(dot)com | http://www.aamirafridi.com
* @version 2.0
*/.stMainWrapper > ul.ui-tabs-nav{position:relative;overflow:hidden;padding-right:50px}.stMainWrapper > ul.ui-tabs-nav li{position:absolute;top:3px}.stMainWrapper > ul.ui-tabs-nav li.stHasCloseBtn a{padding-right:5px}.stMainWrapper > ul.ui-tabs-nav li.stFirstTab{margin-right:3px}.stMainWrapper > ul.ui-tabs-nav li span.stCloseBtn{float:left;margin-top:6px;margin-right:4px;border:none;cursor:pointer}.stMainWrapper > ul.ui-tabs-nav.listTab{display:none;padding:0 .1em;float:right;width:13em;position:absolute;right:2px;overflow:inherit;overflow-y:auto;height:initial !important;max-height:calc(100% - 40px);z-index:2;background:white;border:1px solid #D3D3D3;top:34px;box-sizing:border-box}.stMainWrapper > ul.ui-tabs-nav.listTab li{clear:left;width:100%;border-right-width:0 !important;left:0 !important;top:0;position:relative}.stMainWrapper > ul.ui-tabs-nav.listTab li a{display:block}.stMainWrapper > ul.ui-tabs-nav.listTab li.ui-tabs-active{padding-bottom:0;padding-right:.1em;border-right-width:1px}.stNavMain{list-style:none;margin:0 !important;padding:0 1px 0 1px !important;position:relative;border:none !important;width:100%}.stNavMain li{position:absolute;width:16px;border-top:none !important;border-bottom:none !important;cursor:pointer;margin-top:-1px}.stNavMain li .ui-icon{margin-top:38%}.stNavMain li.stNavNextArrow,.stNavMain li.stNavLastArrow,.stNavMain li.stNavListOfTabs{border-right:none !important;right:3px}.stNavMain li.stNavPrevArrow,.stNavMain li.stNavFirstArrow{border-left:none !important}

View File

@ -0,0 +1,8 @@
var $tabs;
$(function(){
//example
$tabs = $('#example_1')
.tabs()
.scrollabletabs();
});

View File

@ -0,0 +1 @@
var $tabs;$((function(){$tabs=$("#example_1").tabs().scrollabletabs()}));

View File

@ -0,0 +1,651 @@
/**
* jQueryUI.ScrollableTabs - Scrolling multiple tabs.
* @copyright jQueryUI.scrollableTabs is licensed under the WTFPL (so feel free to relicense as needed).
* Date: 18/02/2015
* @author Aamir Afridi - aamirafridi(at)gmail(dot)com | http://www.aamirafridi.com
* @version 2.2
* Examples:
* $('#example_1').tabs({paging: true});
* $('#example_2').tabs({paging: {options} });
*/
/*
TODO:
1. Re-position tabs when user add or remove a tab. at the moment its working fine but there is something wrong when you keep removing and adding tabs.
When user close the last tab, the tabs should navigate and adjust itself to fill the empty space at the end. When it comes to last tab, user can still close it using jQuery UI tab's method
so in that case there might be a problem if user want to add a new tab.
When user adds a tab, the tab should adjust its position at the end and depending on option, should navigate to it the new tab or not.
2. I LOVE THIS FEATURE but can leave this till end. Just like chrome if user want to close a tab, soon user clicks the close button, the next tab should navigate and its close button
should come under the pointer so user can keep clicking to close the tabs. (open many tabs in chrome and try closing them without moving ur mouse pointer)
3. I tried to make sure that all the calculations should be done without any hard coding css values so make sure the plugin works even if user use larger font sizes for tabs and its content
4. Test on other browsers, including IE/6
5. Improve the performance and speed but don't care too much as we shouldn't change the markup as in previous version, i did for this plugin
6. I arrange the plugin by setting their css left position and than scroll them by animating its margin-left in negative(next/last) or positive(prev/first).
I used css left because tabs cannot be adjusted if we use float:left in one line so i used the overflow:hidden for the UL and let them positioned absolutely inside.
7. Think of more callbacks if user wants like I have just one onTabScroll (not tested yet :P )
8. Exponse _animateTo.. method as $tabs.scrollToTab(tabIndex,callback etc)
9. Test if user want to load with ajax content
10. These features are OSUM: http://stackoverflow.com/questions/2475725/jquery-ui-tabs-customization-for-many-tabs BY Tauren
11. If there is a problem with IE8 as I discovered in previous version, tabs will disappear when user add a tab. try alltabs.hide().show() should work
12. http://jsfiddle.net/BYS2U/6/ (see last lines on this file) basically should be able to do something like $('#mytabs').tabs({...,scrollable:{opts},....})
13. All feature request that are made on http://aamirafridi.com/jquery/jquery-scrollable-tabs comments
14. Any cool-easy-to-implement features you can think of
*/
(function ($) {
var settings = {
'animateTabs': false, // THIS CAN KILL IE6 WHEN THERE ARE MANY TABS :( When tabs loaded and when user close the tab and the rest adjust its position
'showNavWhenNeeded': true, //false: always show no matter if there are few tabs.
'customNavNext': null,
'customNavPrev': null,
'customNavFirst': null,
'customNavLast': null,
'closable': false, //Make tabs closable
'easing': '',
'easing': 'swing', //The easing equation
'loadLastTab': false, //When tabs loaded, scroll to the last tab - default is the first tab
'navFirstIconClass': 'ui-icon-arrowthickstop-1-w',
'navLastIconClass': 'ui-icon-arrowthickstop-1-e',
'navNextIconClass': 'ui-icon-arrowthick-1-e',
'navPrevIconClass': 'ui-icon-arrowthick-1-w',
'navListOfTabsIconClass': 'ui-icon-carat-1-s',
'onTabScroll': function () { },
'resizable': false, //Alow resizing the tabs container
'resizeHandles': 'e,s,se', //Resizable in North, East and NorthEast directions
'responsiveLayout': true, //Auto resize tabs content, add navigation if needed after window resized
'responsiveLayoutInterval': 125, //Auto resize reponse interval. For slow or rich clients, set to higher value
'scrollSpeed': 500, //The speed in which the tabs will animate/scroll
'selectTabOnAdd': true,
'selectTabAfterScroll': true,
'showFirstLastArrows': false,
'hideDefaultArrows': false ,
'nextPrevOutward': true,
'showListOfTabs': true,
'tabsSeparation': 0, // Separation of the tabs in pixels
'wrapperCssClass': ''
}
$.fn.scrollabletabs = function (options) {
return this.each(function () {
var o = $.extend({}, settings, typeof options == 'object' ? options : {}),
$tabs = $(this).addClass(o.wrapperCssClass + ' stMainWrapper'),
$ul = $tabs.find('ul.ui-tabs-nav:first'),
$lis = $ul.find('li'),
$arrowsNav = $('<ol class="stNavMain" />'),
// supports both depreceated and new classes for jquery ui tabs
$curSelectedTab = $ul.find('.ui-tabs-selected,.ui-tabs-active')
.first().addClass('stCurrentTab'), //We will use our own css class to detect a selected tab because we might want to scroll without tab being selected
$responsiveTimeout = undefined;
//Navigation
if (!o.hideDefaultArrows) {
var $navPrev = $('<li class="stNavPrevArrow ui-state-default" title="Previous"><span class="ui-icon ' + o.navPrevIconClass + '">Previous tab</span></li>'),
$navNext = $('<li class="stNavNextArrow ui-state-default" title="Next"><span class="ui-icon ' + o.navNextIconClass + '">Next tab</span></li>'),
$navFirst = o.showFirstLastArrows ? $('<li class="stNavFirstArrow ui-state-default" title="First"><span class="ui-icon ' + o.navFirstIconClass + '">First tab</span></li>') : $(),
$navLast = o.showFirstLastArrows ? $('<li class="stNavLastArrow ui-state-default" title="Last"><span class="ui-icon ' + o.navLastIconClass + '">Last tab</span></li>') : $();
$navListOfTabs = o.showListOfTabs ? $('<li class="stNavListOfTabs ui-state-default" title="List"><span class="ui-icon ' + o.navListOfTabsIconClass + '">List tabs</span></li>') : $();
//Append elements to the container
$arrowsNav.append($navPrev, $navFirst, $navLast, $navNext, $navListOfTabs);
var $navLis = $arrowsNav.find('li').hover(function () {
$(this).toggleClass('ui-state-hover');
});
}
function _init() {
//Set the height of the UL and make the LIs as absolute
$ul.height($lis.first().outerHeight())
//Add navigation buttons
$ul.after($arrowsNav.css('visibility', o.showNavWhenNeeded ? 'hidden' : 'visible'));
//Adjust arrow position
if ($navLis) {
var li_outerWidth = $arrowsNav.find('li:first').outerWidth();
$navLis.css({
'top': '-' + $ul.innerHeight() + 'px',
'height': $ul.innerHeight()
});
//Decide which navs in each pair will have to moved inside next to each other
if (o.nextPrevOutward) {
$navPrev.addClass('ui-corner-left');
$navNext.addClass('ui-corner-right');
$navFirst.css('margin-left', li_outerWidth);
$navLast.css('margin-right', li_outerWidth);
o.showFirstLastArrows ? $navListOfTabs.css('margin-right', li_outerWidth * 2) : $navListOfTabs.css('margin-right', li_outerWidth);
}
else {
$navFirst.addClass('ui-corner-left');
$navListOfTabs.addClass('ui-corner-right');
//If we have first and last arrows to show than move the arrows inward otherwise add the css classes to make their corners round.
o.showFirstLastArrows ? $navPrev.css('margin-left', li_outerWidth) : $navPrev.addClass('ui-corner-left');
o.showFirstLastArrows ? $navNext.css('margin-right', li_outerWidth) : $();
if (o.showListOfTabs) {
$navNext.css('margin-right', li_outerWidth);
if (o.showFirstLastArrows) {
$navNext.css('margin-right', li_outerWidth*2);
$navLast.css('margin-right', li_outerWidth);
}
} else {
o.showFirstLastArrows ? $navLast.addClass('ui-corner-right') : $navNext.addClass('ui-corner-right');
}
}
}
//Add close buttons if required
_addclosebutton();
//See if nav needed
_showNavsIfNeeded();
//Adjust the left position of all tabs
_adjustLeftPosition();
//Add events to the navigation buttons
_addNavEvents();
//Add list of tabs
_addListOfTabs();
//If tab is selected manually by user than also change the css class
$tabs.bind("tabsshow tabsactivate", function (event, ui) { // support for new and deprecated version
_updateCurrentTab(ui.tab ? $(ui.tab).parents('li') : ui.newTab); // support for new and deprecated version
//Scroll if needed
if (_isHiddenOn('n')) {
_animateTabTo('n', null, null, event)
}
else if (_isHiddenOn('p')) {
_animateTabTo('p', null, null, event)
}
//else do nothing, tab is visible so no need to scroll tab
})
.bind("tabsadd", function (event, ui) { // Deprecated in 1.11+
var $thisLi = $(ui.tab).parents('li');
//Update li list
$lis = $ul.find('li');
//Adjust the position of last tab
//Welcome the new tab by adding a close button
_addclosebutton($thisLi);
//Next move tab to the end
//See if nav needed
_showNavsIfNeeded();
//Adjust the left position of all tabs
_adjustLeftPosition();
//Check if select on add
if (o.selectTabOnAdd) {
$(this).tabs("option", "active", $lis.index($thisLi));
}
})
.bind("tabsremove", function (event, ui) { // Deprecated in 1.11+
//var $thisLi = $(ui.tab).parents('li');
//Update li list
$lis = $ul.find('li');
//If one tab remaining than hide the close button
if ($tabs.tabs('length') == 1) {
$ul.find('.ui-icon-circle-close').addClass('stFirstTab').hide();
}
else {
//Because if user add new tab, close button for all tabs must be shown
$ul.find('.ui-icon-circle-close').show();
//Assign 'stFirstTab' to first tab
_updateCurrentTab($lis.first()) //In case the first tab was removed
}
//To make sure to hide navigations if not needed
_showNavsIfNeeded();
//Adjust the position of tabs, i.e move the Next tabs to the left
_adjustLeftPosition();
//Check if the tab closed was the last tab than navigate the second last tab to the position of the last tab
/*if(isLastTab)
{
return;
//Adjust the position of last tab
var m = parseFloat($lis.first().css('margin-left')) + thisTabWidth;
$lis.css('margin-left',m)
}*/
});
// Responsive layout
if (o.responsiveLayout) {
$(window).bind("resize", function (event) {
// create time out with given interval, destroy on going one if multiple events fired
if ($responsiveTimeout) {
window.clearTimeout($responsiveTimeout);
}
$responsiveTimeout = window.setTimeout(function () {
//See if nav needed
_showNavsIfNeeded();
//Adjust the left position of all tabs
_adjustLeftPosition();
//Scroll if needed
if (_isHiddenOn('n', $curSelectedTab)) {
_animateTabTo('n', $curSelectedTab, null, event)
}
else if (_isHiddenOn('p', $curSelectedTab)) {
_animateTabTo('p', $curSelectedTab, null, event)
}
}, o.responsiveLayoutInterval);
});
}
}
//Check if navigation need than show otherwise hide it
function _showNavsIfNeeded() {
if (!o.showNavWhenNeeded) {
return; //do nothing
}
//Get the width of all tabs and compare it with the width of $ul (container)
if (_liWidth() > $ul.width()) {
$arrowsNav.css('visibility', 'visible').show();
}
else {
$arrowsNav.css('visibility', 'hidden').hide();
}
}
function _addListOfTabs() {
$listOfTabs = $();
if (o.showListOfTabs) {
$listOfTabs = $('<ul class="ui-tabs-nav listTab ui-widget-header ui-corner-all"></ul>');
$listOfTabs.appendTo($tabs);
$tabs.find('.ui-tabs-nav li')
.clone()
.removeClass('ui-state-active')
.find('a')
.click(function(e) {
e.preventDefault();
$tabs.tabs("option", "active", $(this).parent().index());
$listOfTabs.toggle();
})
.end()
.appendTo($listOfTabs);
}
}
function _callBackFnc(fName, event, arg1) {
if ($.isFunction(fName)) {
fName(event, arg1);
}
}
function _isHiddenOn(side, $tab) {
//If no tab is provided than take the current
$tab = $tab || $curSelectedTab;
if (side == 'n') {
var rightPos = $tab[0].offsetLeft + $tab.outerWidth(),
innerWidth = $ul.outerWidth() - _getNavPairWidth();
return (rightPos > innerWidth);
}
else//side='p'
{
var leftPos = ($tab[0].offsetLeft - _getNavPairWidth());
return (leftPos < 0)
}
}
function _pullMargin($tab) {
return '-' + (_liWidth($tab) - $ul.width() + _getNavPairWidth()) + 'px';
}
function _pushMargin($tab) {
var leftPos = ($tab[0].offsetLeft - _getNavPairWidth());
return (parseFloat($tab.css('margin-left')) - leftPos) + 'px';
}
function _animateTabTo(side, $tab, tabIndex, e) {
$tab = $tab || $curSelectedTab;
var margin = 0;
if (side == 'n') {
margin = _pullMargin($tab);
}
else if (side == 'p') {
margin = _pushMargin($tab);
}
else if (side == 'f') {
margin = 0;
tabIndex = 0;
}
else if (side == 'l') {
margin = _pullMargin($tab);
}
if (o.animateTabs) {
// with animation
// stop and finish all bind animation effects, then animate
$lis.stop(true, true).animate({ 'margin-left': margin }, o.scrollSpeed, o.easing);
} else {
// without animation
$lis.css('margin-left', margin);
}
if (o.selectTabAfterScroll && tabIndex !== null) {
$tabs.tabs("option", "active", tabIndex);
}
else {
//Update current tab
if (tabIndex > -1 && o.selectTabAfterScroll) //Means this method is called from showTab event so tab css is already updated
{
_updateCurrentTab($tab);
}
}
//Callback
e = (typeof e == 'undefined') ? null : e;
_callBackFnc(o.onTabScroll, e, $tab)
//Finally stop the event
if (e) {
e.preventDefault();
}
}
function _addCustomerSelToCollection(col, nav) {
var sel = o['customNav' + nav] || '';
//Check for custom selector
if (typeof sel == 'string' && $.trim(sel) != '') {
col = col.add(sel);
}
return col;
}
function _addNavEvents() {
//Handle next tab
$navNext = $navNext ? $navNext : $();
$navNext = _addCustomerSelToCollection($navNext, 'Next');
$navNext.click(function (e) {
_nextTab(e);
})
//Handle previous tab
$navPrev = $navPrev ? $navPrev : $();
$navPrev = _addCustomerSelToCollection($navPrev, 'Prev');
$navPrev.click(function (e) {
_previousTab(e);
});
//Handle First tab
$navFirst = $navFirst ? $navFirst : $();
$navFirst = _addCustomerSelToCollection($navFirst, 'First');
$navFirst.click(function (e) {
//check if li selected is the first tab already
if ($lis.index($curSelectedTab) == 0) {
return false;
}
_animateTabTo('f', $lis.first(), 0, e);
return false;
});
//Handle last tab
$navLast = $navLast ? $navLast : $();
$navLast = _addCustomerSelToCollection($navLast, 'Last');
$navLast.click(function (e) {
//check if there is no next tab
var $lstLi = $curSelectedTab.next('li');
if (!$lstLi.length) {
return false;
}
//Get index of prev element
var indexLastTab = $tabs.tabs('length') - 1;
_animateTabTo('l', $lis.last(), indexLastTab, e);
return false;
});
//Handle list of tabs
$navListOfTabs = $navListOfTabs ? $navListOfTabs : $();
$navListOfTabs = _addCustomerSelToCollection($navListOfTabs, 'List');
$navListOfTabs.click(function (e) {
$listOfTabs.toggle();
});
//Handle mouse wheel
if (typeof $ul.mousewheel !== 'undefined' && $ul.mousewheel(function(e) {
e.preventDefault();
margin = parseFloat($lis.css('margin-left'));
if (e.deltaY > 0 && margin < 0) { // wheel up : go left
margin += 30;
$lis.css('margin-left', margin + 'px');
}
if (e.deltaY < 0 && ($ul.width() - margin) < _liWidth()) { // wheel down : go right
margin -= 30;
$lis.css('margin-left', margin + 'px');
}
}));
// TOUCH SWIPE
var lastX;
var currentX;
var delta;
// detect touch event
$ul.bind('touchstart', function (e) {
var currentX = e.originalEvent.touches[0].clientX;
lastX = currentX;
e.preventDefault();
});
// get movement and scroll the same way
$ul.bind('touchmove', function (e) {
var currentX = e.originalEvent.touches[0].clientX;
delta = currentX - lastX;
margin = parseFloat($lis.css('margin-left')) + delta;
if (margin < 0 && ($ul.width() - margin) < _liWidth()) {
$lis.css('margin-left', margin + 'px');
}
lastX = currentX;
e.preventDefault();
});
}
function _nextTab(e) {
var $nxtLi = $();
//First check if user do not want to select tab on Next than we have to find the first hidden (out of viewport) one
if (!o.selectTabAfterScroll) {
$lis.each(function () {
if (_isHiddenOn('n', $(this))) {
$nxtLi = $(this);
return false;
}
});
}
else {
$nxtLi = $curSelectedTab.next('li');
}
//check if there is no next tab
if (!$nxtLi.length) {
return false;
}
//check if li next to selected is in view or not
var isTabHidden = _isHiddenOn('n', $nxtLi);
//get index of next element
indexNextTab = $lis.index($nxtLi);
if (isTabHidden) {
_animateTabTo('n', $nxtLi, indexNextTab, e);
}
else {
$tabs.tabs("option", "active", indexNextTab);
}
}
function _previousTab(e) {
var $prvLi = $();
//First check if user do not want to select tab on Prev than we have to find the prev hidden (out of viewport) tab so we can scroll to it
if (!o.selectTabAfterScroll) {
//Reverse the order of tabs list
$($lis.get().reverse()).each(function () {
if (_isHiddenOn('p', $(this))) {
$prvLi = $(this);
return false;
}
});
}
else {
$prvLi = $curSelectedTab.prev('li');
}
//return;
if (!$prvLi.length) {
return false;
}
//check if li previous to selected is in view or not
var isTabHidden = _isHiddenOn('p', $prvLi);
//Get index of prev element
var indexPrevTab = $lis.index($prvLi);
if (isTabHidden) {
_animateTabTo('p', $prvLi, indexPrevTab, e);
}
else {
$tabs.tabs("option", "active", indexPrevTab);
}
return false;
}
function _updateCurrentTab($li) {
//Remove current class from other tabs
$ul.find('.stCurrentTab').removeClass('stCurrentTab');
//Add class to the current tab to which it is scrolled and updated the variable
$curSelectedTab = $li.addClass('stCurrentTab');
}
function _addclosebutton($li) {
if (!o.closable) return;
//If li is provide than just add to that, otherwise add to all
var lis = $li || $lis;
lis.each(function () {
var $thisLi = $(this).addClass('stHasCloseBtn');
$(this)
.append(
$('<span/>')
.addClass('ui-state-default ui-corner-all stCloseBtn')
.hover(function () { $(this).toggleClass('ui-state-hover') })
.append(
$('<span/>')
.addClass('ui-icon ui-icon-circle-close')
.html('Close')
.attr('title', 'Close this tab')
.click(function (e) {
//Remove tab using UI method
$tabs.tabs('remove', $thisLi.prevAll('li').length); //Here $thisLi.index( $lis.index($thisLi) ) will not work as when we remove a tab, the index will change / Better way?
//If you want to add more stuff here, better add to the tabsremove event binded in _init() method above
})
)
)
//If width not assigned, the hidden tabs width cannot be calculated properly in _adjustLeftPosition
.width($thisLi.outerWidth())
});
}
function _getNavPairWidth(single) {
//Check if its visible
if ($arrowsNav.css('visibility') == 'hidden') {
return 0;
}
//If no nav than width is zero - take any of the nav say prev and multiply it with 2 IF we first/last nav are shown else with just 1 (its own width)
var w = o.hideDefaultArrows ? 0 : $navPrev.outerWidth() * (o.showFirstLastArrows ? 2 : 1);
return single ? w / 2 : w;
}
function _adjustLeftPosition($li) {
//If li is provided, find the left and width of second last (last is the new tab) tab and assign it to the new tab
if ($li) {
if ($lis.lenght == 1) return;
var $thisPrev = $li.prev('li') || $lis.first(),
newLeft = parseFloat($thisPrev.css('left'));
newLeft = isNaN(newLeft) ? 0 : newLeft;
newLeft = newLeft + $thisPrev.outerWidth(true) + o.tabsSeparation;
//Assign
$li.css({
'left': newLeft,
'margin-left': $thisPrev.css('margin-left')
});
return;
}
//Add css class n take its left value to start the total width of tabs
var pairWidth = _getNavPairWidth(),
leftPush = pairWidth == 0 ? 3 : pairWidth + 2; // TODO: check numeric constants
$lis.first().addClass('stFirstTab').css({ 'left': leftPush, 'margin-left': 0 });
var tw = leftPush;
//Take left margin if any
var leftMargin = parseFloat($lis.last().prev('li').css('margin-left'));
//Detect if all elements fits in to page (e.g. after page size changed)
if (_liWidth() <= $ul.width()) {
leftMargin = 0;
}
$lis.stop(true, true).css('margin-left', 0);
prevOuterWidth = $lis.first().outerWidth();
$ul.find('li:not(:first)').each(function () {
currentWidth = $(this).outerWidth(true);
//Apply the css
$(this).stop(true, true)[o.animateTabs ? 'animate' : 'css']({
'left': tw += prevOuterWidth + o.tabsSeparation
})
prevOuterWidth = currentWidth;
});
$lis.css('margin-left', leftMargin);
}
function _liWidth($tab) {
var w = 0, margin,
list = $tab ? $tab.prevAll('li').andSelf() : $lis;
list.each(function () {
margin = parseInt($(this).css('margin-right'), 10); //not outerWidth(true) because margin-left is changed in previous call so better take right margin which doesn't change in this plugin
w += $(this).outerWidth() + margin;
});
// remove the last margin and border
w -= margin + 2 * parseInt(list.first().css('border-left-width'), 10);
var navWidth = $arrowsNav.css('visibility') == 'visible' ? _getNavPairWidth() : 0;
return w + navWidth;
}
_init();
});
}
})(jQuery)
/*
1. This does not work properly Sean/Oliver.
It works fine when it starts the plugin but when you try any of the .tabs method like $tabs.tabs('add',index), it re-apply the plugin to the tabs everytime
2. Also, can this be moved to the plugin?
*/
/*try{
jQuery._old_tabify = jQuery.ui.tabs.prototype._tabify;
jQuery.ui.tabs.prototype._tabify = function (init)
{
$._old_tabify.apply(this,[init]);
if(this.options.scrollable)
{
this.element.scrollabletabs(this.options.scrollable);
}
}
}
catch(e)
{
alert('jQuery scrollable plugins requires jQuery UI tabs which is either\n1. Not included\n2. Included after the plugin file.\n\n'+e);
}
*/

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,204 @@
/*jslint browser: true*/
/*jslint jquery: true*/
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* https://github.com/tzuryby/jquery.hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
/*
* One small change is: now keys are passed by object { keys: '...' }
* Might be useful, when you want to pass some other data to your handler
*/
(function(jQuery) {
jQuery.hotkeys = {
version: "0.2.0",
specialKeys: {
8: "backspace",
9: "tab",
10: "return",
13: "return",
16: "shift",
17: "ctrl",
18: "alt",
19: "pause",
20: "capslock",
27: "esc",
32: "space",
33: "pageup",
34: "pagedown",
35: "end",
36: "home",
37: "left",
38: "up",
39: "right",
40: "down",
45: "insert",
46: "del",
59: ";",
61: "=",
96: "0",
97: "1",
98: "2",
99: "3",
100: "4",
101: "5",
102: "6",
103: "7",
104: "8",
105: "9",
106: "*",
107: "+",
109: "-",
110: ".",
111: "/",
112: "f1",
113: "f2",
114: "f3",
115: "f4",
116: "f5",
117: "f6",
118: "f7",
119: "f8",
120: "f9",
121: "f10",
122: "f11",
123: "f12",
144: "numlock",
145: "scroll",
173: "-",
186: ";",
187: "=",
188: ",",
189: "-",
190: ".",
191: "/",
192: "`",
219: "[",
220: "\\",
221: "]",
222: "'"
},
shiftNums: {
"`": "~",
"1": "!",
"2": "@",
"3": "#",
"4": "$",
"5": "%",
"6": "^",
"7": "&",
"8": "*",
"9": "(",
"0": ")",
"-": "_",
"=": "+",
";": ": ",
"'": "\"",
",": "<",
".": ">",
"/": "?",
"\\": "|"
},
// excludes: button, checkbox, file, hidden, image, password, radio, reset, search, submit, url
textAcceptingInputTypes: [
"text", "password", "number", "email", "url", "range", "date", "month", "week", "time", "datetime",
"datetime-local", "search", "color", "tel"],
// default input types not to bind to unless bound directly
textInputTypes: /textarea|input|select/i,
options: {
filterInputAcceptingElements: true,
filterTextInputs: true,
filterContentEditable: true
}
};
function keyHandler(handleObj) {
if (typeof handleObj.data === "string") {
handleObj.data = {
keys: handleObj.data
};
}
// Only care when a possible input has been specified
if (!handleObj.data || !handleObj.data.keys || typeof handleObj.data.keys !== "string") {
return;
}
var origHandler = handleObj.handler,
keys = handleObj.data.keys.toLowerCase().split(" ");
handleObj.handler = function(event) {
// Don't fire in text-accepting inputs that we didn't directly bind to
if (this !== event.target &&
(jQuery.hotkeys.options.filterInputAcceptingElements &&
jQuery.hotkeys.textInputTypes.test(event.target.nodeName) ||
(jQuery.hotkeys.options.filterContentEditable && jQuery(event.target).attr('contenteditable')) ||
(jQuery.hotkeys.options.filterTextInputs &&
jQuery.inArray(event.target.type, jQuery.hotkeys.textAcceptingInputTypes) > -1))) {
return;
}
var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[event.which],
character = String.fromCharCode(event.which).toLowerCase(),
modif = "",
possible = {};
jQuery.each(["alt", "ctrl", "shift"], function(index, specialKey) {
if (event[specialKey + 'Key'] && special !== specialKey) {
modif += specialKey + '+';
}
});
// metaKey is triggered off ctrlKey erronously
if (event.metaKey && !event.ctrlKey && special !== "meta") {
modif += "meta+";
}
if (event.metaKey && special !== "meta" && modif.indexOf("alt+ctrl+shift+") > -1) {
modif = modif.replace("alt+ctrl+shift+", "hyper+");
}
if (special) {
possible[modif + special] = true;
}
else {
possible[modif + character] = true;
possible[modif + jQuery.hotkeys.shiftNums[character]] = true;
// "$" can be triggered as "Shift+4" or "Shift+$" or just "$"
if (modif === "shift+") {
possible[jQuery.hotkeys.shiftNums[character]] = true;
}
}
for (var i = 0, l = keys.length; i < l; i++) {
if (possible[keys[i]]) {
return origHandler.apply(this, arguments);
}
}
};
}
jQuery.each(["keydown", "keyup", "keypress"], function() {
jQuery.event.special[this] = {
add: keyHandler
};
});
})(jQuery || this.jQuery || window.jQuery);

View File

@ -0,0 +1 @@
(function(t){t.hotkeys={version:"0.2.0",specialKeys:{8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},shiftNums:{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"},textAcceptingInputTypes:["text","password","number","email","url","range","date","month","week","time","datetime","datetime-local","search","color","tel"],textInputTypes:/textarea|input|select/i,options:{filterInputAcceptingElements:true,filterTextInputs:true,filterContentEditable:true}};function e(e){if(typeof e.data==="string"){e.data={keys:e.data}}if(!e.data||!e.data.keys||typeof e.data.keys!=="string"){return}var s=e.handler,a=e.data.keys.toLowerCase().split(" ");e.handler=function(e){if(this!==e.target&&(t.hotkeys.options.filterInputAcceptingElements&&t.hotkeys.textInputTypes.test(e.target.nodeName)||t.hotkeys.options.filterContentEditable&&t(e.target).attr("contenteditable")||t.hotkeys.options.filterTextInputs&&t.inArray(e.target.type,t.hotkeys.textAcceptingInputTypes)>-1)){return}var r=e.type!=="keypress"&&t.hotkeys.specialKeys[e.which],i=String.fromCharCode(e.which).toLowerCase(),n="",o={};t.each(["alt","ctrl","shift"],(function(t,s){if(e[s+"Key"]&&r!==s){n+=s+"+"}}));if(e.metaKey&&!e.ctrlKey&&r!=="meta"){n+="meta+"}if(e.metaKey&&r!=="meta"&&n.indexOf("alt+ctrl+shift+")>-1){n=n.replace("alt+ctrl+shift+","hyper+")}if(r){o[n+r]=true}else{o[n+i]=true;o[n+t.hotkeys.shiftNums[i]]=true;if(n==="shift+"){o[t.hotkeys.shiftNums[i]]=true}}for(var f=0,p=a.length;f<p;f++){if(o[a[f]]){return s.apply(this,arguments)}}}}t.each(["keydown","keyup","keypress"],(function(){t.event.special[this]={add:e}}))})(jQuery||this.jQuery||window.jQuery);

View File

@ -0,0 +1,232 @@
/*!
* jQuery UI Touch Punch 1.0.5 as modified by RWAP Software
* based on original touchpunch v0.2.3 which has not been updated since 2014
*
* Updates by RWAP Software to take account of various suggested changes on the original code issues
*
* Original: https://github.com/furf/jquery-ui-touch-punch
* Copyright 20112014, Dave Furfero
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Fork: https://github.com/RWAP/jquery-ui-touch-punch
*
* Depends:
* jquery.ui.widget.js
* jquery.ui.mouse.js
*/
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([ "jquery", "jquery.ui" ], factory );
} else {
// Browser globals
factory( jQuery );
}
}(function ($) {
// Detect touch support
$.support.touch = ( 'ontouchstart' in document
|| 'ontouchstart' in window
|| window.TouchEvent
|| (window.DocumentTouch && document instanceof DocumentTouch)
|| navigator.maxTouchPoints > 0
|| navigator.msMaxTouchPoints > 0
);
// Ignore browsers without touch or mouse support
if (!$.support.touch || !$.ui.mouse) {
return;
}
var mouseProto = $.ui.mouse.prototype,
_mouseInit = mouseProto._mouseInit,
_mouseDestroy = mouseProto._mouseDestroy,
touchHandled;
/**
* Get the x,y position of a touch event
* @param {Object} event A touch event
*/
function getTouchCoords (event) {
return {
x: event.originalEvent.changedTouches[0].pageX,
y: event.originalEvent.changedTouches[0].pageY
};
}
/**
* Simulate a mouse event based on a corresponding touch event
* @param {Object} event A touch event
* @param {String} simulatedType The corresponding mouse event
*/
function simulateMouseEvent (event, simulatedType) {
// Ignore multi-touch events
if (event.originalEvent.touches.length > 1) {
return;
}
event.preventDefault();
var touch = event.originalEvent.changedTouches[0],
simulatedEvent = document.createEvent('MouseEvents');
// Initialize the simulated mouse event using the touch event's coordinates
simulatedEvent.initMouseEvent(
simulatedType, // type
true, // bubbles
true, // cancelable
window, // view
1, // detail
touch.screenX, // screenX
touch.screenY, // screenY
touch.clientX, // clientX
touch.clientY, // clientY
false, // ctrlKey
false, // altKey
false, // shiftKey
false, // metaKey
0, // button
null // relatedTarget
);
// Dispatch the simulated event to the target element
event.target.dispatchEvent(simulatedEvent);
}
/**
* Handle the jQuery UI widget's touchstart events
* @param {Object} event The widget element's touchstart event
*/
mouseProto._touchStart = function (event) {
var self = this;
// Ignore the event if another widget is already being handled
if (touchHandled || !self._mouseCapture(event.originalEvent.changedTouches[0])) {
return;
}
// Set the flag to prevent other widgets from inheriting the touch event
touchHandled = true;
// Track movement to determine if interaction was a click
self._startPos = getTouchCoords(event);
// Track movement to determine if interaction was a click
self._touchMoved = false;
// Interaction time
this._startedMove = event.timeStamp;
// Simulate the mouseover event
simulateMouseEvent(event, 'mouseover');
// Simulate the mousemove event
simulateMouseEvent(event, 'mousemove');
// Simulate the mousedown event
simulateMouseEvent(event, 'mousedown');
};
/**
* Handle the jQuery UI widget's touchmove events
* @param {Object} event The document's touchmove event
*/
mouseProto._touchMove = function (event) {
// Ignore event if not handled
if (!touchHandled) {
return;
}
// Interaction was moved
this._touchMoved = true;
// Simulate the mousemove event
simulateMouseEvent(event, 'mousemove');
};
/**
* Handle the jQuery UI widget's touchend events
* @param {Object} event The document's touchend event
*/
mouseProto._touchEnd = function (event) {
// Ignore event if not handled
if (!touchHandled) {
return;
}
// Simulate the mouseup event
simulateMouseEvent(event, 'mouseup');
// Simulate the mouseout event
simulateMouseEvent(event, 'mouseout');
// If the touch interaction did not move, it should trigger a click
// Check for this in two ways - length of time of simulation and distance moved
// Allow for Apple Stylus to be used also
var timeMoving = event.timeStamp - this._startedMove;
if (!this._touchMoved || timeMoving < 500) {
// Simulate the click event
simulateMouseEvent(event, 'click');
} else {
var endPos = getTouchCoords(event);
if ((Math.abs(endPos.x - this._startPos.x) < 10) && (Math.abs(endPos.y - this._startPos.y) < 10)) {
// If the touch interaction did not move, it should trigger a click
if (!this._touchMoved || event.originalEvent.changedTouches[0].touchType === 'stylus') {
// Simulate the click event
simulateMouseEvent(event, 'click');
}
}
}
// Unset the flag to allow other widgets to inherit the touch event
touchHandled = false;
};
/**
* A duck punch of the $.ui.mouse _mouseInit method to support touch events.
* This method extends the widget with bound touch event handlers that
* translate touch events to mouse events and pass them to the widget's
* original mouse event handling methods.
*/
mouseProto._mouseInit = function () {
var self = this;
// Delegate the touch handlers to the widget's element
self.element.on({
touchstart: $.proxy(self, '_touchStart'),
touchmove: $.proxy(self, '_touchMove'),
touchend: $.proxy(self, '_touchEnd')
});
// Call the original $.ui.mouse init method
_mouseInit.call(self);
};
/**
* Remove the touch event handlers
*/
mouseProto._mouseDestroy = function () {
var self = this;
// Delegate the touch handlers to the widget's element
self.element.off({
touchstart: $.proxy(self, '_touchStart'),
touchmove: $.proxy(self, '_touchMove'),
touchend: $.proxy(self, '_touchEnd')
});
// Call the original $.ui.mouse destroy method
_mouseDestroy.call(self);
};
}));

View File

@ -0,0 +1,17 @@
/*!
* jQuery UI Touch Punch 1.0.5 as modified by RWAP Software
* based on original touchpunch v0.2.3 which has not been updated since 2014
*
* Updates by RWAP Software to take account of various suggested changes on the original code issues
*
* Original: https://github.com/furf/jquery-ui-touch-punch
* Copyright 20112014, Dave Furfero
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Fork: https://github.com/RWAP/jquery-ui-touch-punch
*
* Depends:
* jquery.ui.widget.js
* jquery.ui.mouse.js
*/
(function(t){if(typeof define==="function"&&define.amd){define(["jquery","jquery.ui"],t)}else{t(jQuery)}})((function(t){t.support.touch="ontouchstart"in document||"ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;if(!t.support.touch||!t.ui.mouse){return}var e=t.ui.mouse.prototype,o=e._mouseInit,n=e._mouseDestroy,u;function i(t){return{x:t.originalEvent.changedTouches[0].pageX,y:t.originalEvent.changedTouches[0].pageY}}function c(t,e){if(t.originalEvent.touches.length>1){return}t.preventDefault();var o=t.originalEvent.changedTouches[0],n=document.createEvent("MouseEvents");n.initMouseEvent(e,true,true,window,1,o.screenX,o.screenY,o.clientX,o.clientY,false,false,false,false,0,null);t.target.dispatchEvent(n)}e._touchStart=function(t){var e=this;if(u||!e._mouseCapture(t.originalEvent.changedTouches[0])){return}u=true;e._startPos=i(t);e._touchMoved=false;this._startedMove=t.timeStamp;c(t,"mouseover");c(t,"mousemove");c(t,"mousedown")};e._touchMove=function(t){if(!u){return}this._touchMoved=true;c(t,"mousemove")};e._touchEnd=function(t){if(!u){return}c(t,"mouseup");c(t,"mouseout");var e=t.timeStamp-this._startedMove;if(!this._touchMoved||e<500){c(t,"click")}else{var o=i(t);if(Math.abs(o.x-this._startPos.x)<10&&Math.abs(o.y-this._startPos.y)<10){if(!this._touchMoved||t.originalEvent.changedTouches[0].touchType==="stylus"){c(t,"click")}}}u=false};e._mouseInit=function(){var e=this;e.element.on({touchstart:t.proxy(e,"_touchStart"),touchmove:t.proxy(e,"_touchMove"),touchend:t.proxy(e,"_touchEnd")});o.call(e)};e._mouseDestroy=function(){var e=this;e.element.off({touchstart:t.proxy(e,"_touchStart"),touchmove:t.proxy(e,"_touchMove"),touchend:t.proxy(e,"_touchEnd")});n.call(e)}}));

View File

@ -0,0 +1,38 @@
.leaflet-control-geocoder a {
background-position: 50% 50%;
background-repeat: no-repeat;
display: block;
}
.leaflet-control-geocoder {
box-shadow: 0 1px 7px #999;
background: #f8f8f9;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
.leaflet-control-geocoder a {
background-image: url(images/geocoder.png);
width: 36px;
height: 36px;
}
.leaflet-touch .leaflet-control-geocoder a {
width: 44px;
height: 44px;
}
.leaflet-control-geocoder .leaflet-control-geocoder-form,
.leaflet-control-geocoder-expanded .leaflet-control-geocoder-toggle {
display: none;
}
.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form {
display: block;
position: relative;
}
.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form {
padding: 5px;
}

View File

@ -0,0 +1,197 @@
if (typeof console == "undefined") {
this.console = { log: function (msg) { /* do nothing since it would otherwise break IE */} };
}
L.Control.OSMGeocoder = L.Control.extend({
options: {
collapsed: true,
position: 'topright',
text: 'Locate',
placeholder: '',
bounds: null, // L.LatLngBounds
email: null, // String
callback: function (results) {
if (results.length == 0) {
console.log("ERROR: didn't find a result");
return;
}
var bbox = results[0].boundingbox,
first = new L.LatLng(bbox[0], bbox[2]),
second = new L.LatLng(bbox[1], bbox[3]),
bounds = new L.LatLngBounds([first, second]);
this._map.fitBounds(bounds);
}
},
_callbackId: 0,
initialize: function (options) {
L.Util.setOptions(this, options);
},
onAdd: function (map) {
this._map = map;
var className = 'leaflet-control-geocoder',
container = this._container = L.DomUtil.create('div', className);
L.DomEvent.disableClickPropagation(container);
var form = this._form = L.DomUtil.create('form', className + '-form');
var input = this._input = document.createElement('input');
input.type = "text";
input.placeholder = this.options.placeholder || '';
var submit = document.createElement('input');
submit.type = "submit";
submit.value = this.options.text;
form.appendChild(input);
form.appendChild(submit);
L.DomEvent.addListener(form, 'submit', this._geocode, this);
if (this.options.collapsed) {
L.DomEvent.addListener(container, 'mouseover', this._expand, this);
L.DomEvent.addListener(container, 'mouseout', this._collapse, this);
var link = this._layersLink = L.DomUtil.create('a', className + '-toggle', container);
link.href = '#';
link.title = 'Nominatim Geocoder';
L.DomEvent.addListener(link, L.Browser.touch ? 'click' : 'focus', this._expand, this);
this._map.on('movestart', this._collapse, this);
} else {
this._expand();
}
container.appendChild(form);
return container;
},
/* helper functions for cordinate extraction */
_createSearchResult : function(lat, lon) {
//creates an position description similar to the result of a Nominatim search
var diff = 0.005;
var result = [];
result[0] = {};
result[0]["boundingbox"] = [parseFloat(lat)-diff,parseFloat(lat)+diff,parseFloat(lon)-diff,parseFloat(lon)+diff];
result[0]["class"]="boundary";
result[0]["display_name"]="Position: "+lat+" "+lon;
result[0]["lat"] = lat;
result[0]["lon"] = lon;
return result;
},
_isLatLon : function (q) {
//"lon lat" => xx.xxx x.xxxxx
var re = /(-?\d+\.\d+)\s(-?\d+\.\d+)/;
var m = re.exec(q);
if (m != undefined) return m;
//lat...xx.xxx...lon...x.xxxxx
re = /lat\D*(-?\d+\.\d+)\D*lon\D*(-?\d+\.\d+)/;
m = re.exec(q);
//showRegExpResult(m);
if (m != undefined) return m;
else return null;
},
_isLatLon_decMin : function (q) {
console.log("is LatLon?: "+q);
//N 53° 13.785' E 010° 23.887'
//re = /[NS]\s*(\d+)\D*(\d+\.\d+).?\s*[EW]\s*(\d+)\D*(\d+\.\d+)\D*/;
re = /([ns])\s*(\d+)\D*(\d+\.\d+).?\s*([ew])\s*(\d+)\D*(\d+\.\d+)/i;
m = re.exec(q.toLowerCase());
//showRegExpResult(m);
if ((m != undefined)) return m;
else return null;
// +- dec min +- dec min
},
_geocode : function (event) {
L.DomEvent.preventDefault(event);
var q = this._input.value;
//try to find corrdinates
if (this._isLatLon(q) != null)
{
var m = this._isLatLon(q);
console.log("LatLon: "+m[1]+" "+m[2]);
//m = {lon, lat}
this.options.callback.call(this, this._createSearchResult(m[1],m[2]));
return;
}
else if (this._isLatLon_decMin(q) != null)
{
var m = this._isLatLon_decMin(q);
//m: [ns, lat dec, lat min, ew, lon dec, lon min]
var temp = new Array();
temp['n'] = 1;
temp['s'] = -1;
temp['e'] = 1;
temp['w'] = -1;
this.options.callback.call(this,this._createSearchResult(
temp[m[1]]*(Number(m[2]) + m[3]/60),
temp[m[4]]*(Number(m[5]) + m[6]/60)
));
return;
}
//and now Nominatim
//http://wiki.openstreetmap.org/wiki/Nominatim
console.log(this._callbackId);
window[("_l_osmgeocoder_"+this._callbackId)] = L.Util.bind(this.options.callback, this);
/* Set up params to send to Nominatim */
var params = {
// Defaults
q: this._input.value,
json_callback : ("_l_osmgeocoder_"+this._callbackId++),
format: 'json'
};
if (this.options.bounds && this.options.bounds != null) {
if( this.options.bounds instanceof L.LatLngBounds ) {
params.viewbox = this.options.bounds.toBBoxString();
params.bounded = 1;
}
else {
console.log('bounds must be of type L.LatLngBounds');
return;
}
}
if (this.options.email && this.options.email != null) {
if (typeof this.options.email == 'string') {
params.email = this.options.email;
}
else{
console.log('email must be a string');
}
}
var protocol = location.protocol;
if (protocol == "file:") protocol = "https:";
var url = protocol + "//nominatim.openstreetmap.org/search" + L.Util.getParamString(params),
script = document.createElement("script");
script.type = "text/javascript";
script.src = url;
script.id = this._callbackId;
document.getElementsByTagName("head")[0].appendChild(script);
},
_expand: function () {
L.DomUtil.addClass(this._container, 'leaflet-control-geocoder-expanded');
},
_collapse: function () {
this._container.className = this._container.className.replace(' leaflet-control-geocoder-expanded', '');
}
});

View File

@ -0,0 +1 @@
.leaflet-control-geocoder a{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-control-geocoder{box-shadow:0 1px 7px #999;background:#f8f8f9;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.leaflet-control-geocoder a{background-image:url(images/geocoder.png);width:36px;height:36px}.leaflet-touch .leaflet-control-geocoder a{width:44px;height:44px}.leaflet-control-geocoder .leaflet-control-geocoder-form,.leaflet-control-geocoder-expanded .leaflet-control-geocoder-toggle{display:none}.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form{display:block;position:relative}.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form{padding:5px}

View File

@ -0,0 +1 @@
if(typeof console=="undefined"){this.console={log:function(e){}}}L.Control.OSMGeocoder=L.Control.extend({options:{collapsed:true,position:"topright",text:"Locate",placeholder:"",bounds:null,email:null,callback:function(e){if(e.length==0){console.log("ERROR: didn't find a result");return}var t=e[0].boundingbox,o=new L.LatLng(t[0],t[2]),n=new L.LatLng(t[1],t[3]),i=new L.LatLngBounds([o,n]);this._map.fitBounds(i)}},_callbackId:0,initialize:function(e){L.Util.setOptions(this,e)},onAdd:function(e){this._map=e;var t="leaflet-control-geocoder",o=this._container=L.DomUtil.create("div",t);L.DomEvent.disableClickPropagation(o);var n=this._form=L.DomUtil.create("form",t+"-form");var i=this._input=document.createElement("input");i.type="text";i.placeholder=this.options.placeholder||"";var s=document.createElement("input");s.type="submit";s.value=this.options.text;n.appendChild(i);n.appendChild(s);L.DomEvent.addListener(n,"submit",this._geocode,this);if(this.options.collapsed){L.DomEvent.addListener(o,"mouseover",this._expand,this);L.DomEvent.addListener(o,"mouseout",this._collapse,this);var a=this._layersLink=L.DomUtil.create("a",t+"-toggle",o);a.href="#";a.title="Nominatim Geocoder";L.DomEvent.addListener(a,L.Browser.touch?"click":"focus",this._expand,this);this._map.on("movestart",this._collapse,this)}else{this._expand()}o.appendChild(n);return o},_createSearchResult:function(e,t){var o=.005;var n=[];n[0]={};n[0]["boundingbox"]=[parseFloat(e)-o,parseFloat(e)+o,parseFloat(t)-o,parseFloat(t)+o];n[0]["class"]="boundary";n[0]["display_name"]="Position: "+e+" "+t;n[0]["lat"]=e;n[0]["lon"]=t;return n},_isLatLon:function(e){var t=/(-?\d+\.\d+)\s(-?\d+\.\d+)/;var o=t.exec(e);if(o!=undefined)return o;t=/lat\D*(-?\d+\.\d+)\D*lon\D*(-?\d+\.\d+)/;o=t.exec(e);if(o!=undefined)return o;else return null},_isLatLon_decMin:function(e){console.log("is LatLon?: "+e);re=/([ns])\s*(\d+)\D*(\d+\.\d+).?\s*([ew])\s*(\d+)\D*(\d+\.\d+)/i;m=re.exec(e.toLowerCase());if(m!=undefined)return m;else return null},_geocode:function(e){L.DomEvent.preventDefault(e);var t=this._input.value;if(this._isLatLon(t)!=null){var o=this._isLatLon(t);console.log("LatLon: "+o[1]+" "+o[2]);this.options.callback.call(this,this._createSearchResult(o[1],o[2]));return}else if(this._isLatLon_decMin(t)!=null){var o=this._isLatLon_decMin(t);var n=new Array;n["n"]=1;n["s"]=-1;n["e"]=1;n["w"]=-1;this.options.callback.call(this,this._createSearchResult(n[o[1]]*(Number(o[2])+o[3]/60),n[o[4]]*(Number(o[5])+o[6]/60)));return}console.log(this._callbackId);window["_l_osmgeocoder_"+this._callbackId]=L.Util.bind(this.options.callback,this);var i={q:this._input.value,json_callback:"_l_osmgeocoder_"+this._callbackId++,format:"json"};if(this.options.bounds&&this.options.bounds!=null){if(this.options.bounds instanceof L.LatLngBounds){i.viewbox=this.options.bounds.toBBoxString();i.bounded=1}else{console.log("bounds must be of type L.LatLngBounds");return}}if(this.options.email&&this.options.email!=null){if(typeof this.options.email=="string"){i.email=this.options.email}else{console.log("email must be a string")}}var s=location.protocol;if(s=="file:")s="https:";var a=s+"//nominatim.openstreetmap.org/search"+L.Util.getParamString(i),l=document.createElement("script");l.type="text/javascript";l.src=a;l.id=this._callbackId;document.getElementsByTagName("head")[0].appendChild(l)},_expand:function(){L.DomUtil.addClass(this._container,"leaflet-control-geocoder-expanded")},_collapse:function(){this._container.className=this._container.className.replace(" leaflet-control-geocoder-expanded","")}});

View File

@ -0,0 +1,23 @@
Copyright (c) 2012 sa3m (https://github.com/sa3m)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1 @@
2023-11-11 14:53:41: empty string!!!2023-11-12 14:06:06: empty string!!!2023-11-12 14:12:04: empty string!!!2023-11-13 12:05:19: empty string!!!2023-11-13 14:16:31: empty string!!!2023-11-14 11:09:09: empty string!!!2024-05-05 17:38:25: empty string!!!2024-06-04 19:09:08: empty string!!!2024-06-04 19:09:10: empty string!!!2024-08-25 18:41:04: empty string!!!2024-08-25 18:41:08: empty string!!!2024-08-25 18:41:14: empty string!!!2025-02-08 22:25:45: empty string!!!2025-04-15 07:39:29: empty string!!!

165
lib/phpqrcode/LICENSE Normal file
View File

@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

45
lib/phpqrcode/README Normal file
View File

@ -0,0 +1,45 @@
This is PHP implementation of QR Code 2-D barcode generator. It is pure-php
LGPL-licensed implementation based on C libqrencode by Kentaro Fukuchi.
== LICENSING ==
Copyright (C) 2010 by Dominik Dzienia
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License (LICENSE file)
for more details.
You should have received a copy of the GNU Lesser General Public License along
with this library; if not, write to the Free Software Foundation, Inc., 51
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
== INSTALATION AND USAGE ==
* INSTALL file
* http://sourceforge.net/apps/mediawiki/phpqrcode/index.php?title=Main_Page
== CONTACT ==
Fell free to contact me via e-mail (deltalab at poczta dot fm) or using
folowing project pages:
* http://sourceforge.net/projects/phpqrcode/
* http://phpqrcode.sourceforge.net/
== ACKNOWLEDGMENTS ==
Based on C libqrencode library (ver. 3.1.1)
Copyright (C) 2006-2010 by Kentaro Fukuchi
http://megaui.net/fukuchi/works/qrencode/index.en.html
QR Code is registered trademarks of DENSO WAVE INCORPORATED in JAPAN and other
countries.
Reed-Solomon code encoder is written by Phil Karn, KA9Q.
Copyright (C) 2002, 2003, 2004, 2006 Phil Karn, KA9Q

2
lib/phpqrcode/VERSION Normal file
View File

@ -0,0 +1,2 @@
1.1.4
2010100721

2
lib/phpqrcode/cache/frame_1.dat vendored Normal file
View File

@ -0,0 +1,2 @@
<EFBFBD><EFBFBD>
<EFBFBD> E9<45>u<06><>`<60>"PńC<C584>T!0$

BIN
lib/phpqrcode/cache/frame_1.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

BIN
lib/phpqrcode/cache/frame_10.dat vendored Normal file

Binary file not shown.

BIN
lib/phpqrcode/cache/frame_10.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

BIN
lib/phpqrcode/cache/frame_11.dat vendored Normal file

Binary file not shown.

BIN
lib/phpqrcode/cache/frame_11.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

BIN
lib/phpqrcode/cache/frame_12.dat vendored Normal file

Binary file not shown.

BIN
lib/phpqrcode/cache/frame_12.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

BIN
lib/phpqrcode/cache/frame_13.dat vendored Normal file

Binary file not shown.

BIN
lib/phpqrcode/cache/frame_13.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

BIN
lib/phpqrcode/cache/frame_14.dat vendored Normal file

Binary file not shown.

BIN
lib/phpqrcode/cache/frame_14.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

BIN
lib/phpqrcode/cache/frame_15.dat vendored Normal file

Binary file not shown.

BIN
lib/phpqrcode/cache/frame_15.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

1
lib/phpqrcode/cache/frame_16.dat vendored Normal file
View File

@ -0,0 +1 @@
x<EFBFBD><EFBFBD><EFBFBD>A<0E> E]s<>IX<49>;<3B><01>n6<6E><36>`<60>q<EFBFBD><71><EFBFBD>W6<57><36><EFBFBD><04>`<60>%A/3!<21><><EFBFBD><EFBFBD><EFBFBD>!g<><67>̡<EFBFBD>1N) <0B>E<EFBFBD><45>|;<3B><>>6⸏<36>97$<0E><><EFBFBD><EFBFBD>c]kk<6B><6B>w<EFBFBD>1<EFBFBD><31>[<5B>m<EFBFBD>C͜c<CD9C>R<><52><EFBFBD><EFBFBD>><3E><><1A><><EFBFBD>E,<2C>hʼnp<C589>#<1C>xF<1C>yW<79><57>VWG<57><47><EFBFBD>3<EFBFBD><33>+<2B><0F><><EFBFBD>˓<EFBFBD>S<EFBFBD><53><>#<1C>G8b^c^c<><63><11>p<EFBFBD>c&3YQ"<11><1B><><EFBFBD><EFBFBD>v<EFBFBD><76><11><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>k<EFBFBD>9<EFBFBD>܇<EFBFBD>}<7D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09>Ŀ<EFBFBD>Q<><51>L<EFBFBD>/<2F><><EFBFBD><EFBFBD>

BIN
lib/phpqrcode/cache/frame_16.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

BIN
lib/phpqrcode/cache/frame_17.dat vendored Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More