diff --git a/server/src/main/resources/static/dynamicConfigs.html b/server/src/main/resources/static/dynamicConfigs.html index 68ded614407..30e3c90e8b8 100644 --- a/server/src/main/resources/static/dynamicConfigs.html +++ b/server/src/main/resources/static/dynamicConfigs.html @@ -29,40 +29,6 @@ - + \ No newline at end of file diff --git a/server/src/main/resources/static/js/SlickGrid-master/.gitignore b/server/src/main/resources/static/js/SlickGrid-master/.gitignore new file mode 100755 index 00000000000..d2f89b66646 --- /dev/null +++ b/server/src/main/resources/static/js/SlickGrid-master/.gitignore @@ -0,0 +1,3 @@ +.gitk* +.idea/* +.DS_Store diff --git a/server/src/main/resources/static/js/SlickGrid-master/MIT-LICENSE.txt b/server/src/main/resources/static/js/SlickGrid-master/MIT-LICENSE.txt new file mode 100755 index 00000000000..60f65425c0d --- /dev/null +++ b/server/src/main/resources/static/js/SlickGrid-master/MIT-LICENSE.txt @@ -0,0 +1,20 @@ +Copyright (c) 2010 Michael Leibman, http://github.com/mleibman/slickgrid + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/server/src/main/resources/static/js/SlickGrid-master/README.md b/server/src/main/resources/static/js/SlickGrid-master/README.md new file mode 100755 index 00000000000..7994a271934 --- /dev/null +++ b/server/src/main/resources/static/js/SlickGrid-master/README.md @@ -0,0 +1,22 @@ +# Welcome to SlickGrid + +Find documentation and examples in [the wiki](https://github.com/mleibman/SlickGrid/wiki). + +## SlickGrid is an advanced JavaScript grid/spreadsheet component + +Some highlights: + +* Adaptive virtual scrolling (handle hundreds of thousands of rows with extreme responsiveness) +* Extremely fast rendering speed +* Supports jQuery UI Themes +* Background post-rendering for richer cells +* Configurable & customizable +* Full keyboard navigation +* Column resize/reorder/show/hide +* Column autosizing & force-fit +* Pluggable cell formatters & editors +* Support for editing and creating new rows. +* Grouping, filtering, custom aggregators, and more! +* Advanced detached & multi-field editors with undo/redo support. +* “GlobalEditorLock” to manage concurrent edits in cases where multiple Views on a page can edit the same data. +* Support for [millions of rows](http://stackoverflow.com/a/2569488/1269037) diff --git a/server/src/main/resources/static/js/SlickGrid-master/controls/slick.columnpicker.css b/server/src/main/resources/static/js/SlickGrid-master/controls/slick.columnpicker.css new file mode 100755 index 00000000000..bcbb37584c2 --- /dev/null +++ b/server/src/main/resources/static/js/SlickGrid-master/controls/slick.columnpicker.css @@ -0,0 +1,31 @@ +.slick-columnpicker { + border: 1px solid #718BB7; + background: #f0f0f0; + padding: 6px; + -moz-box-shadow: 2px 2px 2px silver; + -webkit-box-shadow: 2px 2px 2px silver; + box-shadow: 2px 2px 2px silver; + min-width: 100px; + cursor: default; +} + +.slick-columnpicker li { + list-style: none; + margin: 0; + padding: 0; + background: none; +} + +.slick-columnpicker input { + margin: 4px; +} + +.slick-columnpicker li a { + display: block; + padding: 4px; + font-weight: bold; +} + +.slick-columnpicker li a:hover { + background: white; +} diff --git a/server/src/main/resources/static/js/SlickGrid-master/controls/slick.columnpicker.js b/server/src/main/resources/static/js/SlickGrid-master/controls/slick.columnpicker.js new file mode 100755 index 00000000000..be0dc066d30 --- /dev/null +++ b/server/src/main/resources/static/js/SlickGrid-master/controls/slick.columnpicker.js @@ -0,0 +1,145 @@ +(function ($) { + function SlickColumnPicker(columns, grid, options) { + var $menu; + var columnCheckboxes; + + var defaults = { + fadeSpeed:250 + }; + + function init() { + grid.onHeaderContextMenu.subscribe(handleHeaderContextMenu); + grid.onColumnsReordered.subscribe(updateColumnOrder); + options = $.extend({}, defaults, options); + + $menu = $("