patternfly-sass 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bowerrc +1 -1
- data/.gitignore +2 -4
- data/.travis.yml +6 -3
- data/README.md +187 -26
- data/Rakefile +21 -17
- data/assets/stylesheets/patternfly/_variables.scss +206 -206
- data/bower.json +11 -12
- data/lib/patternfly-sass/version.rb +2 -2
- data/patternfly-sass.gemspec +1 -1
- data/{tests → spec}/capture.js +0 -0
- data/spec/compare_spec.rb +15 -5
- data/{tests/patternfly → spec/html}/accordions.html +0 -0
- data/{tests/patternfly → spec/html}/alerts.html +0 -0
- data/{tests/patternfly → spec/html}/badges.html +0 -0
- data/{tests/patternfly → spec/html}/basic.html +0 -0
- data/{tests/patternfly → spec/html}/blank-slate.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-combobox.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-select.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-treeview-2.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-treeview.html +0 -0
- data/{tests/patternfly → spec/html}/breadcrumbs.html +0 -0
- data/{tests/patternfly → spec/html}/buttons.html +0 -0
- data/{tests/patternfly → spec/html}/code.html +0 -0
- data/{tests/patternfly → spec/html}/dashboard.html +0 -0
- data/{tests/patternfly → spec/html}/datatables-columns.html +0 -0
- data/{tests/patternfly → spec/html}/datatables.html +0 -0
- data/{tests/patternfly → spec/html}/dist/css/patternfly.css +0 -0
- data/{tests/patternfly → spec/html}/dist/css/patternfly.min.css +0 -0
- data/{tests/patternfly → spec/html}/dist/css/styles.css +0 -0
- data/{tests/patternfly → spec/html}/dist/css/styles.min.css +0 -0
- data/{tests/patternfly → spec/html}/dropdowns.html +0 -0
- data/{tests/patternfly → spec/html}/form.html +0 -0
- data/{tests/patternfly → spec/html}/forms.html +0 -0
- data/{tests/patternfly → spec/html}/icons.html +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-1.png +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-2.png +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-3.png +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-4.png +0 -0
- data/{tests/patternfly → spec/html}/index.html +0 -0
- data/{tests/patternfly → spec/html}/infotip.html +0 -0
- data/{tests/patternfly → spec/html}/labels.html +0 -0
- data/{tests/patternfly → spec/html}/list-group.html +0 -0
- data/{tests/patternfly → spec/html}/login.html +0 -0
- data/{tests/index.html → spec/html/main.html} +0 -0
- data/{tests/patternfly → spec/html}/modals.html +0 -0
- data/{tests/patternfly → spec/html}/navbar.html +0 -0
- data/{tests/patternfly → spec/html}/pagination.html +0 -0
- data/{tests/patternfly → spec/html}/panels.html +0 -0
- data/{tests/patternfly → spec/html}/popovers.html +0 -0
- data/{tests/patternfly → spec/html}/progress-bars.html +0 -0
- data/{tests/patternfly → spec/html}/search.html +0 -0
- data/{tests/patternfly → spec/html}/spinner.html +0 -0
- data/{tests/patternfly → spec/html}/tab.html +0 -0
- data/{tests/patternfly → spec/html}/tables.html +0 -0
- data/{tests/patternfly → spec/html}/tabs.html +0 -0
- data/{tests/patternfly → spec/html}/tests.css +0 -0
- data/{tests/patternfly → spec/html}/tooltip.html +0 -0
- data/{tests/patternfly → spec/html}/typography-2.css +0 -0
- data/{tests/patternfly → spec/html}/typography-2.html +0 -0
- data/{tests/patternfly → spec/html}/typography.html +0 -0
- data/tasks/converter.rb +6 -9
- metadata +103 -626
- data/package.json +0 -28
- data/tests/components/bootstrap-combobox/.bower.json +0 -14
- data/tests/components/bootstrap-combobox/.gitignore +0 -1
- data/tests/components/bootstrap-combobox/README.md +0 -59
- data/tests/components/bootstrap-combobox/css/bootstrap-combobox.css +0 -42
- data/tests/components/bootstrap-combobox/js/bootstrap-combobox.js +0 -438
- data/tests/components/bootstrap-combobox/js/tests/index.html +0 -29
- data/tests/components/bootstrap-combobox/js/tests/unit/bootstrap-combobox.js +0 -323
- data/tests/components/bootstrap-combobox/js/tests/vendor/jquery.js +0 -9597
- data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.css +0 -244
- data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.js +0 -2152
- data/tests/components/bootstrap-combobox/less/combobox.less +0 -55
- data/tests/components/bootstrap-select/.bower.json +0 -38
- data/tests/components/bootstrap-select/CONTRIBUTING.md +0 -87
- data/tests/components/bootstrap-select/README.md +0 -61
- data/tests/components/bootstrap-select/bootstrap-select.css +0 -309
- data/tests/components/bootstrap-select/bootstrap-select.jquery.json +0 -29
- data/tests/components/bootstrap-select/bootstrap-select.js +0 -972
- data/tests/components/bootstrap-select/bootstrap-select.min.css +0 -7
- data/tests/components/bootstrap-select/bootstrap-select.min.js +0 -8
- data/tests/components/bootstrap-select/bower.json +0 -29
- data/tests/components/bootstrap-select/composer.json +0 -17
- data/tests/components/bootstrap-select/i18n/defaults-cs-CZ.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-cz-CZ.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-de_DE.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-de_DE.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-es-CL.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-es-CL.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-eu.js +0 -30
- data/tests/components/bootstrap-select/i18n/defaults-eu.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-it_IT.js +0 -32
- data/tests/components/bootstrap-select/i18n/defaults-it_IT.min.js +0 -1
- data/tests/components/bootstrap-select/i18n/defaults-nl_NL.js +0 -32
- data/tests/components/bootstrap-select/i18n/defaults-nl_NL.min.js +0 -7
- data/tests/components/bootstrap-select/i18n/defaults-pl_PL.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-pl_PL.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-pt_BR.js +0 -33
- data/tests/components/bootstrap-select/i18n/defaults-pt_BR.min.js +0 -7
- data/tests/components/bootstrap-select/i18n/defaults-ru-RU.js +0 -31
- data/tests/components/bootstrap-select/i18n/defaults-ru_RU.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-zh_CN.js +0 -30
- data/tests/components/bootstrap-select/i18n/defaults-zh_CN.min.js +0 -6
- data/tests/components/bootstrap-select/package.json +0 -31
- data/tests/components/bootstrap-select/test.html +0 -62
- data/tests/components/bootstrap-treeview/.bower.json +0 -38
- data/tests/components/bootstrap-treeview/Gruntfile.js +0 -62
- data/tests/components/bootstrap-treeview/LICENSE +0 -202
- data/tests/components/bootstrap-treeview/README.md +0 -289
- data/tests/components/bootstrap-treeview/app.js +0 -29
- data/tests/components/bootstrap-treeview/bower.json +0 -29
- data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.css +0 -1
- data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.js +0 -1
- data/tests/components/bootstrap-treeview/package.json +0 -18
- data/tests/components/bootstrap-treeview/public/css/bootstrap-treeview.css +0 -37
- data/tests/components/bootstrap-treeview/public/example-dom.html +0 -59
- data/tests/components/bootstrap-treeview/public/index.html +0 -333
- data/tests/components/bootstrap-treeview/public/js/bootstrap-treeview.js +0 -455
- data/tests/components/bootstrap-treeview/screenshot/default.PNG +0 -0
- data/tests/components/bootstrap-treeview/src/css/bootstrap-treeview.css +0 -37
- data/tests/components/bootstrap-treeview/src/js/bootstrap-treeview.js +0 -455
- data/tests/components/datatables-colreorder/.bower.json +0 -22
- data/tests/components/datatables-colreorder/License.txt +0 -20
- data/tests/components/datatables-colreorder/Readme.md +0 -39
- data/tests/components/datatables-colreorder/bower.json +0 -12
- data/tests/components/datatables-colreorder/css/dataTables.colReorder.css +0 -14
- data/tests/components/datatables-colreorder/examples/alt_insert.xml +0 -30
- data/tests/components/datatables-colreorder/examples/col_filter.xml +0 -38
- data/tests/components/datatables-colreorder/examples/colvis.xml +0 -26
- data/tests/components/datatables-colreorder/examples/fixedcolumns.xml +0 -43
- data/tests/components/datatables-colreorder/examples/fixedheader.xml +0 -27
- data/tests/components/datatables-colreorder/examples/index.xml +0 -19
- data/tests/components/datatables-colreorder/examples/jqueryui.xml +0 -27
- data/tests/components/datatables-colreorder/examples/new_init.xml +0 -23
- data/tests/components/datatables-colreorder/examples/predefined.xml +0 -30
- data/tests/components/datatables-colreorder/examples/realtime.xml +0 -30
- data/tests/components/datatables-colreorder/examples/reset.xml +0 -41
- data/tests/components/datatables-colreorder/examples/scrolling.xml +0 -27
- data/tests/components/datatables-colreorder/examples/server_side.xml +0 -38
- data/tests/components/datatables-colreorder/examples/simple.xml +0 -25
- data/tests/components/datatables-colreorder/examples/state_save.xml +0 -26
- data/tests/components/datatables-colreorder/images/.DS_Store +0 -0
- data/tests/components/datatables-colreorder/images/insert.png +0 -0
- data/tests/components/datatables-colreorder/js/dataTables.colReorder.js +0 -1372
- data/tests/components/datatables-colreorder/make.sh +0 -31
- data/tests/components/datatables-colvis/.bower.json +0 -22
- data/tests/components/datatables-colvis/License.txt +0 -20
- data/tests/components/datatables-colvis/README.md +0 -38
- data/tests/components/datatables-colvis/bower.json +0 -12
- data/tests/components/datatables-colvis/css/dataTables.colVis.css +0 -185
- data/tests/components/datatables-colvis/css/dataTables.colvis.jqueryui.css +0 -41
- data/tests/components/datatables-colvis/examples/.DS_Store +0 -0
- data/tests/components/datatables-colvis/examples/button_order.xml +0 -26
- data/tests/components/datatables-colvis/examples/exclude_columns.xml +0 -28
- data/tests/components/datatables-colvis/examples/group_columns.xml +0 -40
- data/tests/components/datatables-colvis/examples/index.xml +0 -18
- data/tests/components/datatables-colvis/examples/jqueryui.xml +0 -28
- data/tests/components/datatables-colvis/examples/mouseover.xml +0 -28
- data/tests/components/datatables-colvis/examples/new_init.xml +0 -26
- data/tests/components/datatables-colvis/examples/restore.xml +0 -33
- data/tests/components/datatables-colvis/examples/simple.xml +0 -25
- data/tests/components/datatables-colvis/examples/text.xml +0 -29
- data/tests/components/datatables-colvis/examples/title_callback.xml +0 -30
- data/tests/components/datatables-colvis/examples/two_tables.xml +0 -24
- data/tests/components/datatables-colvis/examples/two_tables_identical.xml +0 -35
- data/tests/components/datatables-colvis/js/dataTables.colVis.js +0 -1123
- data/tests/components/datatables-colvis/make.sh +0 -28
- data/tests/components/datatables/.bower.json +0 -42
- data/tests/components/datatables/Contributing.md +0 -18
- data/tests/components/datatables/Readme.md +0 -53
- data/tests/components/datatables/bower.json +0 -32
- data/tests/components/datatables/license.txt +0 -20
- data/tests/components/datatables/media/css/jquery.dataTables.css +0 -455
- data/tests/components/datatables/media/css/jquery.dataTables.min.css +0 -1
- data/tests/components/datatables/media/css/jquery.dataTables_themeroller.css +0 -416
- data/tests/components/datatables/media/images/Sorting icons.psd +0 -0
- data/tests/components/datatables/media/images/favicon.ico +0 -0
- data/tests/components/datatables/media/images/sort_asc.png +0 -0
- data/tests/components/datatables/media/images/sort_asc_disabled.png +0 -0
- data/tests/components/datatables/media/images/sort_both.png +0 -0
- data/tests/components/datatables/media/images/sort_desc.png +0 -0
- data/tests/components/datatables/media/images/sort_desc_disabled.png +0 -0
- data/tests/components/datatables/media/js/jquery.dataTables.js +0 -14951
- data/tests/components/datatables/media/js/jquery.dataTables.min.js +0 -160
- data/tests/components/datatables/media/js/jquery.js +0 -5
- data/tests/components/google-code-prettify/.bower.json +0 -26
- data/tests/components/google-code-prettify/CHANGES.html +0 -172
- data/tests/components/google-code-prettify/COPYING +0 -191
- data/tests/components/google-code-prettify/README-zh-Hans.html +0 -143
- data/tests/components/google-code-prettify/README.html +0 -233
- data/tests/components/google-code-prettify/README.md +0 -54
- data/tests/components/google-code-prettify/bin/prettify.min.css +0 -1
- data/tests/components/google-code-prettify/bin/prettify.min.js +0 -30
- data/tests/components/google-code-prettify/bin/run_prettify.min.js +0 -34
- data/tests/components/google-code-prettify/bower.json +0 -16
- data/tests/components/google-code-prettify/examples/quine.html +0 -55
- data/tests/components/google-code-prettify/src/lang-apollo.js +0 -51
- data/tests/components/google-code-prettify/src/lang-basic.js +0 -32
- data/tests/components/google-code-prettify/src/lang-clj.js +0 -64
- data/tests/components/google-code-prettify/src/lang-css.js +0 -159
- data/tests/components/google-code-prettify/src/lang-dart.js +0 -88
- data/tests/components/google-code-prettify/src/lang-erlang.js +0 -92
- data/tests/components/google-code-prettify/src/lang-go.js +0 -58
- data/tests/components/google-code-prettify/src/lang-hs.js +0 -101
- data/tests/components/google-code-prettify/src/lang-lisp.js +0 -94
- data/tests/components/google-code-prettify/src/lang-llvm.js +0 -61
- data/tests/components/google-code-prettify/src/lang-lua.js +0 -59
- data/tests/components/google-code-prettify/src/lang-matlab.js +0 -180
- data/tests/components/google-code-prettify/src/lang-ml.js +0 -56
- data/tests/components/google-code-prettify/src/lang-mumps.js +0 -139
- data/tests/components/google-code-prettify/src/lang-n.js +0 -65
- data/tests/components/google-code-prettify/src/lang-pascal.js +0 -32
- data/tests/components/google-code-prettify/src/lang-proto.js +0 -35
- data/tests/components/google-code-prettify/src/lang-r.js +0 -57
- data/tests/components/google-code-prettify/src/lang-rd.js +0 -47
- data/tests/components/google-code-prettify/src/lang-scala.js +0 -54
- data/tests/components/google-code-prettify/src/lang-sql.js +0 -58
- data/tests/components/google-code-prettify/src/lang-tcl.js +0 -62
- data/tests/components/google-code-prettify/src/lang-tex.js +0 -46
- data/tests/components/google-code-prettify/src/lang-vb.js +0 -66
- data/tests/components/google-code-prettify/src/lang-vhdl.js +0 -34
- data/tests/components/google-code-prettify/src/lang-wiki.js +0 -53
- data/tests/components/google-code-prettify/src/lang-xq.js +0 -67
- data/tests/components/google-code-prettify/src/lang-yaml.js +0 -27
- data/tests/components/google-code-prettify/src/prettify.css +0 -52
- data/tests/components/google-code-prettify/src/prettify.js +0 -1655
- data/tests/components/google-code-prettify/src/run_prettify.js +0 -1905
- data/tests/components/google-code-prettify/styles/demo.html +0 -61
- data/tests/components/google-code-prettify/styles/desert.css +0 -34
- data/tests/components/google-code-prettify/styles/doxy.css +0 -64
- data/tests/components/google-code-prettify/styles/index.html +0 -89
- data/tests/components/google-code-prettify/styles/sons-of-obsidian.css +0 -118
- data/tests/components/google-code-prettify/styles/sunburst.css +0 -51
- data/tests/components/jquery/.bower.json +0 -38
- data/tests/components/jquery/MIT-LICENSE.txt +0 -21
- data/tests/components/jquery/bower.json +0 -28
- data/tests/components/jquery/dist/jquery.js +0 -9210
- data/tests/components/jquery/dist/jquery.min.js +0 -5
- data/tests/components/jquery/dist/jquery.min.map +0 -1
- data/tests/components/jquery/src/ajax.js +0 -786
- data/tests/components/jquery/src/ajax/jsonp.js +0 -89
- data/tests/components/jquery/src/ajax/load.js +0 -75
- data/tests/components/jquery/src/ajax/parseJSON.js +0 -13
- data/tests/components/jquery/src/ajax/parseXML.js +0 -28
- data/tests/components/jquery/src/ajax/script.js +0 -64
- data/tests/components/jquery/src/ajax/var/nonce.js +0 -5
- data/tests/components/jquery/src/ajax/var/rquery.js +0 -3
- data/tests/components/jquery/src/ajax/xhr.js +0 -136
- data/tests/components/jquery/src/attributes.js +0 -11
- data/tests/components/jquery/src/attributes/attr.js +0 -141
- data/tests/components/jquery/src/attributes/classes.js +0 -158
- data/tests/components/jquery/src/attributes/prop.js +0 -94
- data/tests/components/jquery/src/attributes/support.js +0 -35
- data/tests/components/jquery/src/attributes/val.js +0 -161
- data/tests/components/jquery/src/callbacks.js +0 -205
- data/tests/components/jquery/src/core.js +0 -502
- data/tests/components/jquery/src/core/access.js +0 -60
- data/tests/components/jquery/src/core/init.js +0 -123
- data/tests/components/jquery/src/core/parseHTML.js +0 -39
- data/tests/components/jquery/src/core/ready.js +0 -97
- data/tests/components/jquery/src/core/var/rsingleTag.js +0 -4
- data/tests/components/jquery/src/css.js +0 -450
- data/tests/components/jquery/src/css/addGetHookIf.js +0 -22
- data/tests/components/jquery/src/css/curCSS.js +0 -57
- data/tests/components/jquery/src/css/defaultDisplay.js +0 -70
- data/tests/components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/tests/components/jquery/src/css/support.js +0 -96
- data/tests/components/jquery/src/css/swap.js +0 -28
- data/tests/components/jquery/src/css/var/cssExpand.js +0 -3
- data/tests/components/jquery/src/css/var/getStyles.js +0 -12
- data/tests/components/jquery/src/css/var/isHidden.js +0 -13
- data/tests/components/jquery/src/css/var/rmargin.js +0 -3
- data/tests/components/jquery/src/css/var/rnumnonpx.js +0 -5
- data/tests/components/jquery/src/data.js +0 -178
- data/tests/components/jquery/src/data/Data.js +0 -181
- data/tests/components/jquery/src/data/accepts.js +0 -20
- data/tests/components/jquery/src/data/var/data_priv.js +0 -5
- data/tests/components/jquery/src/data/var/data_user.js +0 -5
- data/tests/components/jquery/src/deferred.js +0 -149
- data/tests/components/jquery/src/deprecated.js +0 -13
- data/tests/components/jquery/src/dimensions.js +0 -50
- data/tests/components/jquery/src/effects.js +0 -648
- data/tests/components/jquery/src/effects/Tween.js +0 -114
- data/tests/components/jquery/src/effects/animatedSelector.js +0 -13
- data/tests/components/jquery/src/event.js +0 -868
- data/tests/components/jquery/src/event/ajax.js +0 -13
- data/tests/components/jquery/src/event/alias.js +0 -39
- data/tests/components/jquery/src/event/support.js +0 -9
- data/tests/components/jquery/src/exports/amd.js +0 -24
- data/tests/components/jquery/src/exports/global.js +0 -32
- data/tests/components/jquery/src/intro.js +0 -44
- data/tests/components/jquery/src/jquery.js +0 -37
- data/tests/components/jquery/src/manipulation.js +0 -580
- data/tests/components/jquery/src/manipulation/_evalUrl.js +0 -18
- data/tests/components/jquery/src/manipulation/support.js +0 -32
- data/tests/components/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/tests/components/jquery/src/offset.js +0 -207
- data/tests/components/jquery/src/outro.js +0 -1
- data/tests/components/jquery/src/queue.js +0 -142
- data/tests/components/jquery/src/queue/delay.js +0 -22
- data/tests/components/jquery/src/selector-native.js +0 -172
- data/tests/components/jquery/src/selector-sizzle.js +0 -14
- data/tests/components/jquery/src/selector.js +0 -1
- data/tests/components/jquery/src/serialize.js +0 -111
- data/tests/components/jquery/src/sizzle/dist/sizzle.js +0 -2067
- data/tests/components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/tests/components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/tests/components/jquery/src/traversing.js +0 -199
- data/tests/components/jquery/src/traversing/findFilter.js +0 -100
- data/tests/components/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/tests/components/jquery/src/var/arr.js +0 -3
- data/tests/components/jquery/src/var/class2type.js +0 -4
- data/tests/components/jquery/src/var/concat.js +0 -5
- data/tests/components/jquery/src/var/hasOwn.js +0 -5
- data/tests/components/jquery/src/var/indexOf.js +0 -5
- data/tests/components/jquery/src/var/pnum.js +0 -3
- data/tests/components/jquery/src/var/push.js +0 -5
- data/tests/components/jquery/src/var/rnotwhite.js +0 -3
- data/tests/components/jquery/src/var/slice.js +0 -5
- data/tests/components/jquery/src/var/strundefined.js +0 -3
- data/tests/components/jquery/src/var/support.js +0 -4
- data/tests/components/jquery/src/var/toString.js +0 -5
- data/tests/components/jquery/src/wrap.js +0 -79
@@ -1,31 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
|
3
|
-
OUT_DIR=$1
|
4
|
-
DEBUG=$2
|
5
|
-
|
6
|
-
# Change into script's own dir
|
7
|
-
cd $(dirname $0)
|
8
|
-
|
9
|
-
DT_SRC=$(dirname $(dirname $(pwd)))
|
10
|
-
DT_BUILT="${DT_SRC}/built/DataTables"
|
11
|
-
. $DT_SRC/build/include.sh
|
12
|
-
|
13
|
-
# Copy CSS
|
14
|
-
rsync -r css $OUT_DIR
|
15
|
-
css_compress $OUT_DIR/css/dataTables.colReorder.css
|
16
|
-
|
17
|
-
# Copy images
|
18
|
-
rsync -r images $OUT_DIR
|
19
|
-
|
20
|
-
# Copy JS
|
21
|
-
rsync -r js $OUT_DIR
|
22
|
-
js_compress $OUT_DIR/js/dataTables.colReorder.js
|
23
|
-
|
24
|
-
# Copy and build examples
|
25
|
-
rsync -r examples $OUT_DIR
|
26
|
-
examples_process $OUT_DIR
|
27
|
-
|
28
|
-
# Readme and license
|
29
|
-
cp Readme.md $OUT_DIR
|
30
|
-
cp License.txt $OUT_DIR
|
31
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "datatables-colvis",
|
3
|
-
"version": "1.1.2",
|
4
|
-
"main": [
|
5
|
-
"js/dataTables.colVis.js",
|
6
|
-
"css/dataTables.colVis.css"
|
7
|
-
],
|
8
|
-
"dependencies": {
|
9
|
-
"jquery": ">=1.7.0",
|
10
|
-
"datatables": ">=1.7.0"
|
11
|
-
},
|
12
|
-
"homepage": "https://github.com/DataTables/ColVis",
|
13
|
-
"_release": "1.1.2",
|
14
|
-
"_resolution": {
|
15
|
-
"type": "version",
|
16
|
-
"tag": "1.1.2",
|
17
|
-
"commit": "2c88d7dc85ff255ad36db427bc7d359daa36f2dc"
|
18
|
-
},
|
19
|
-
"_source": "git://github.com/DataTables/ColVis.git",
|
20
|
-
"_target": "~1.1.1",
|
21
|
-
"_originalSource": "datatables-colvis"
|
22
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright (c) 2010-2015 SpryMedia Limited
|
2
|
-
http://datatables.net
|
3
|
-
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be included in
|
12
|
-
all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20
|
-
THE SOFTWARE.
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# ColVis
|
2
|
-
|
3
|
-
ColVis adds a button to the toolbars around DataTables which gives the end user of the table the ability to dynamically change the visibility of the columns in the table:
|
4
|
-
|
5
|
-
* Dynamically show and hide columns in a table
|
6
|
-
* Very easy integration with DataTables
|
7
|
-
* Ability to exclude columns from being either hidden or shown
|
8
|
-
* Save saving integration with DataTables
|
9
|
-
|
10
|
-
|
11
|
-
# Installation
|
12
|
-
|
13
|
-
To use ColVis, first download DataTables ( http://datatables.net/download ) and place the unzipped ColVis package into a `extensions` directory in the DataTables package. This will allow the pages in the examples to operate correctly. To see the examples running, open the `examples` directory in your web-browser.
|
14
|
-
|
15
|
-
|
16
|
-
# Basic usage
|
17
|
-
|
18
|
-
ColVis is initialised using the `C` option that it adds to DataTables' `dom` option. For example:
|
19
|
-
|
20
|
-
```js
|
21
|
-
$(document).ready( function () {
|
22
|
-
$('#example').dataTable( {
|
23
|
-
"dom": 'C<"clear">lfrtip'
|
24
|
-
} );
|
25
|
-
} );
|
26
|
-
```
|
27
|
-
|
28
|
-
|
29
|
-
# Documentation / support
|
30
|
-
|
31
|
-
* Documentation: http://datatables.net/extensions/colvis/
|
32
|
-
* DataTables support forums: http://datatables.net/forums
|
33
|
-
|
34
|
-
|
35
|
-
# GitHub
|
36
|
-
|
37
|
-
If you fancy getting involved with the development of ColVis and help make it better, please refer to its GitHub repo: https://github.com/DataTables/ColVis
|
38
|
-
|
@@ -1,185 +0,0 @@
|
|
1
|
-
|
2
|
-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
3
|
-
* ColVis styles
|
4
|
-
*/
|
5
|
-
div.ColVis {
|
6
|
-
float: right;
|
7
|
-
margin-bottom: 1em;
|
8
|
-
}
|
9
|
-
|
10
|
-
button.ColVis_Button,
|
11
|
-
ul.ColVis_collection li {
|
12
|
-
position: relative;
|
13
|
-
float: left;
|
14
|
-
margin-right: 3px;
|
15
|
-
padding: 5px 8px;
|
16
|
-
border: 1px solid #999;
|
17
|
-
cursor: pointer;
|
18
|
-
*cursor: hand;
|
19
|
-
font-size: 0.88em;
|
20
|
-
color: black !important;
|
21
|
-
white-space: nowrap;
|
22
|
-
|
23
|
-
-webkit-border-radius: 2px;
|
24
|
-
-moz-border-radius: 2px;
|
25
|
-
-ms-border-radius: 2px;
|
26
|
-
-o-border-radius: 2px;
|
27
|
-
border-radius: 2px;
|
28
|
-
|
29
|
-
-webkit-box-shadow: 1px 1px 3px #ccc;
|
30
|
-
-moz-box-shadow: 1px 1px 3px #ccc;
|
31
|
-
-ms-box-shadow: 1px 1px 3px #ccc;
|
32
|
-
-o-box-shadow: 1px 1px 3px #ccc;
|
33
|
-
box-shadow: 1px 1px 3px #ccc;
|
34
|
-
|
35
|
-
/* Generated by http://www.colorzilla.com/gradient-editor/ */
|
36
|
-
background: #ffffff; /* Old browsers */
|
37
|
-
background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
|
38
|
-
background: -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
|
39
|
-
background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
|
40
|
-
background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
|
41
|
-
background: linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
|
42
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
|
43
|
-
}
|
44
|
-
|
45
|
-
.ColVis_Button:hover,
|
46
|
-
ul.ColVis_collection li:hover {
|
47
|
-
border: 1px solid #666;
|
48
|
-
text-decoration: none !important;
|
49
|
-
|
50
|
-
-webkit-box-shadow: 1px 1px 3px #999;
|
51
|
-
-moz-box-shadow: 1px 1px 3px #999;
|
52
|
-
-ms-box-shadow: 1px 1px 3px #999;
|
53
|
-
-o-box-shadow: 1px 1px 3px #999;
|
54
|
-
box-shadow: 1px 1px 3px #999;
|
55
|
-
|
56
|
-
background: #f3f3f3; /* Old browsers */
|
57
|
-
background: -webkit-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
|
58
|
-
background: -moz-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* FF3.6+ */
|
59
|
-
background: -ms-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* IE10+ */
|
60
|
-
background: -o-linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Opera 11.10+ */
|
61
|
-
background: linear-gradient(top, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* W3C */
|
62
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */
|
63
|
-
}
|
64
|
-
|
65
|
-
button.ColVis_Button {
|
66
|
-
height: 30px;
|
67
|
-
padding: 3px 8px;
|
68
|
-
}
|
69
|
-
|
70
|
-
button.ColVis_Button::-moz-focus-inner {
|
71
|
-
border: none !important;
|
72
|
-
padding: 0;
|
73
|
-
}
|
74
|
-
|
75
|
-
button.ColVis_Button:active {
|
76
|
-
outline: none;
|
77
|
-
}
|
78
|
-
|
79
|
-
|
80
|
-
div.ColVis_collectionBackground {
|
81
|
-
position: fixed;
|
82
|
-
top: 0;
|
83
|
-
left: 0;
|
84
|
-
height: 100%;
|
85
|
-
width: 100%;
|
86
|
-
background-color: black;
|
87
|
-
z-index: 1100;
|
88
|
-
}
|
89
|
-
|
90
|
-
ul.ColVis_collection {
|
91
|
-
list-style: none;
|
92
|
-
width: 150px;
|
93
|
-
padding: 8px 8px 4px 8px;
|
94
|
-
margin: 0;
|
95
|
-
border: 1px solid #ccc;
|
96
|
-
border: 1px solid rgba( 0, 0, 0, 0.4 );
|
97
|
-
background-color: #f3f3f3;
|
98
|
-
background-color: rgba( 255, 255, 255, 0.3 );
|
99
|
-
overflow: hidden;
|
100
|
-
z-index: 2002;
|
101
|
-
|
102
|
-
-webkit-border-radius: 5px;
|
103
|
-
-moz-border-radius: 5px;
|
104
|
-
-ms-border-radius: 5px;
|
105
|
-
-o-border-radius: 5px;
|
106
|
-
border-radius: 5px;
|
107
|
-
|
108
|
-
-webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
109
|
-
-moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
110
|
-
-ms-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
111
|
-
-o-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
112
|
-
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
113
|
-
}
|
114
|
-
|
115
|
-
ul.ColVis_collection li {
|
116
|
-
position: relative;
|
117
|
-
height: auto;
|
118
|
-
left: 0;
|
119
|
-
right: 0;
|
120
|
-
padding: 0.5em;
|
121
|
-
|
122
|
-
display: block;
|
123
|
-
float: none;
|
124
|
-
margin-bottom: 4px;
|
125
|
-
|
126
|
-
-webkit-box-shadow: 1px 1px 3px #999;
|
127
|
-
-moz-box-shadow: 1px 1px 3px #999;
|
128
|
-
-ms-box-shadow: 1px 1px 3px #999;
|
129
|
-
-o-box-shadow: 1px 1px 3px #999;
|
130
|
-
box-shadow: 1px 1px 3px #999;
|
131
|
-
}
|
132
|
-
|
133
|
-
ul.ColVis_collection li {
|
134
|
-
text-align: left;
|
135
|
-
}
|
136
|
-
|
137
|
-
ul.ColVis_collection li.ColVis_Button:hover {
|
138
|
-
border: 1px solid #999;
|
139
|
-
background-color: #f0f0f0;
|
140
|
-
}
|
141
|
-
|
142
|
-
ul.ColVis_collection li span {
|
143
|
-
display: inline-block;
|
144
|
-
padding-left: 0.5em;
|
145
|
-
cursor: pointer;
|
146
|
-
}
|
147
|
-
|
148
|
-
|
149
|
-
ul.ColVis_collection li.ColVis_Special {
|
150
|
-
border-color: #555;
|
151
|
-
background: rgb(237,237,237); /* Old browsers */
|
152
|
-
background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* Chrome10+,Safari5.1+ */
|
153
|
-
background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(214,214,214,1) 77%, rgba(232,232,232,1) 100%); /* FF3.6+ */
|
154
|
-
background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* IE10+ */
|
155
|
-
background: -o-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* Opera 11.10+ */
|
156
|
-
background: linear-gradient(to bottom, rgba(237,237,237,1) 0%,rgba(214,214,214,1) 77%,rgba(232,232,232,1) 100%); /* W3C */
|
157
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#e8e8e8',GradientType=0 ); /* IE6-9 */
|
158
|
-
}
|
159
|
-
|
160
|
-
ul.ColVis_collection li.ColVis_Special:hover {
|
161
|
-
background: #e2e2e2; /* Old browsers */
|
162
|
-
background: -webkit-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* Chrome10+,Safari5.1+ */
|
163
|
-
background: -moz-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* FF3.6+ */
|
164
|
-
background: -ms-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* IE10+ */
|
165
|
-
background: -o-linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* Opera 11.10+ */
|
166
|
-
background: linear-gradient(top, #d0d0d0 0%,#d5d5d5 89%,#e2e2e2 100%); /* W3C */
|
167
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-9 */
|
168
|
-
}
|
169
|
-
|
170
|
-
|
171
|
-
span.ColVis_radio {
|
172
|
-
display: inline-block;
|
173
|
-
width: 20px;
|
174
|
-
}
|
175
|
-
|
176
|
-
div.ColVis_catcher {
|
177
|
-
position: absolute;
|
178
|
-
z-index: 1101;
|
179
|
-
}
|
180
|
-
|
181
|
-
.disabled {
|
182
|
-
color: #999;
|
183
|
-
}
|
184
|
-
|
185
|
-
|
@@ -1,41 +0,0 @@
|
|
1
|
-
|
2
|
-
button.ColVis_Button,
|
3
|
-
ul.ColVis_collection li {
|
4
|
-
padding: 0.5em;
|
5
|
-
}
|
6
|
-
|
7
|
-
ul.ColVis_collection {
|
8
|
-
margin: 0;
|
9
|
-
padding: 0;
|
10
|
-
overflow: hidden;
|
11
|
-
z-index: 2002;
|
12
|
-
}
|
13
|
-
|
14
|
-
ul.ColVis_collection li {
|
15
|
-
clear: both;
|
16
|
-
display: block;
|
17
|
-
text-align: left;
|
18
|
-
margin: -1px 0 0 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
ul.ColVis_collection li span {
|
22
|
-
display: inline-block;
|
23
|
-
padding-left: 0.5em;
|
24
|
-
cursor: pointer;
|
25
|
-
}
|
26
|
-
|
27
|
-
div.ColVis_collectionBackground {
|
28
|
-
position: fixed;
|
29
|
-
top: 0;
|
30
|
-
left: 0;
|
31
|
-
height: 100%;
|
32
|
-
width: 100%;
|
33
|
-
background-color: black;
|
34
|
-
z-index: 1100;
|
35
|
-
}
|
36
|
-
|
37
|
-
|
38
|
-
div.ColVis_catcher {
|
39
|
-
position: absolute;
|
40
|
-
z-index: 1101;
|
41
|
-
}
|
Binary file
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
-
<dt-example table-type="html" order="6">
|
3
|
-
|
4
|
-
<css lib="datatables colvis" />
|
5
|
-
<js lib="jquery datatables colvis">
|
6
|
-
<![CDATA[
|
7
|
-
$(document).ready(function() {
|
8
|
-
$('#example').DataTable( {
|
9
|
-
dom: 'C<"clear">lfrtip',
|
10
|
-
colVis: {
|
11
|
-
order: 'alpha'
|
12
|
-
}
|
13
|
-
} );
|
14
|
-
} );
|
15
|
-
]]>
|
16
|
-
</js>
|
17
|
-
|
18
|
-
<title lib="ColVis">Button ordering</title>
|
19
|
-
|
20
|
-
<info><![CDATA[
|
21
|
-
|
22
|
-
The list of columns that ColVis displays has two options for the order in which they are displayed. The default mode of operation is to show the buttons in the same order as they appear in the HTML table, but the second mode of operation is to show the buttons in alphabetical order. This is done by specifying the `order` option, set to `alpha`. Alphabetical button ordering is shown in this example.
|
23
|
-
|
24
|
-
]]></info>
|
25
|
-
|
26
|
-
</dt-example>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
-
<dt-example table-type="html" order="4">
|
3
|
-
|
4
|
-
<css lib="datatables colvis" />
|
5
|
-
<js lib="jquery datatables colvis">
|
6
|
-
<![CDATA[
|
7
|
-
$(document).ready(function() {
|
8
|
-
$('#example').DataTable( {
|
9
|
-
dom: 'C<"clear">lfrtip',
|
10
|
-
colVis: {
|
11
|
-
exclude: [ 0 ]
|
12
|
-
}
|
13
|
-
} );
|
14
|
-
} );
|
15
|
-
]]>
|
16
|
-
</js>
|
17
|
-
|
18
|
-
<title lib="ColVis">Exclude columns from list</title>
|
19
|
-
|
20
|
-
<info><![CDATA[
|
21
|
-
|
22
|
-
It can at times be useful to exclude columns from being in the 'show / hide' list (for example if you have hidden information that the end user shouldn't be able to make visible. This can be done by the `exclude` ColVis configuration parameter when creating the DataTable. This is simply an array of integers, indicating which columns should be excluded. This example shows the first column being excluded.
|
23
|
-
|
24
|
-
For full information about the ColVis options, please refer to the [ColVis options documentation](//datatables.net/extensions/colvis/options).
|
25
|
-
|
26
|
-
]]></info>
|
27
|
-
|
28
|
-
</dt-example>
|
@@ -1,40 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
-
<dt-example table-type="html" order="8">
|
3
|
-
|
4
|
-
<css lib="datatables colvis" />
|
5
|
-
<js lib="jquery datatables colvis">
|
6
|
-
<![CDATA[
|
7
|
-
$(document).ready(function() {
|
8
|
-
$('#example').DataTable( {
|
9
|
-
dom: 'C<"clear">lfrtip',
|
10
|
-
colVis: {
|
11
|
-
exclude: [],
|
12
|
-
groups: [
|
13
|
-
{
|
14
|
-
title: "Engine",
|
15
|
-
columns: [ 0, 3 ]
|
16
|
-
},
|
17
|
-
{
|
18
|
-
title: "Client",
|
19
|
-
columns: [ 1, 2 ]
|
20
|
-
}
|
21
|
-
]
|
22
|
-
}
|
23
|
-
} );
|
24
|
-
} );
|
25
|
-
]]>
|
26
|
-
</js>
|
27
|
-
|
28
|
-
<title lib="ColVis">Group columns</title>
|
29
|
-
|
30
|
-
<info><![CDATA[
|
31
|
-
|
32
|
-
It can be useful at times to show and hide multiple columns together - i.e. grouping them together. Groupings are defined by the `groups` array. Create a group button by naming it (using the `title` option) and specifying by index which columns belong to it (using the `columns` option).
|
33
|
-
|
34
|
-
Note also that this ability to create groups can be used in combination `exclude` to remove individual columns from the list (should you wish them to only be used in the groups), or set `exclude = [ 'all' ]` to show only the grouping buttons (i.e. individual column control buttons will not be shown).
|
35
|
-
|
36
|
-
For full information about the ColVis options, please refer to the [ColVis options documentation](//datatables.net/extensions/colvis/options).
|
37
|
-
|
38
|
-
]]></info>
|
39
|
-
|
40
|
-
</dt-example>
|