From 447d66237275cd52ff4c50624920a221caa41ec7 Mon Sep 17 00:00:00 2001
From: Maksym Pomazan
Date: Mon, 3 Jul 2017 14:44:35 +0300
Subject: [PATCH 1/2] Update README.md
---
README.md | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 651b5f4..002d458 100644
--- a/README.md
+++ b/README.md
@@ -1,20 +1,21 @@
TreeGrid plugin for jQuery
-==================
+==========
See more information at http://maxazan.github.io/jquery-treegrid
-##Installation
+## Installation
-###Using npm
+
+### Using npm
```
npm install jquery-treegrid
```
-###Using bower
+### Using bower
```
bower install jquery-treegrid
```
-###From source
+### From source
-Download [source](https://github.com/maxazan/jquery-treegrid/archive/master.zip) from github.com
\ No newline at end of file
+Download [source](https://github.com/maxazan/jquery-treegrid/archive/master.zip) from github.com
From ea38d8978e080a3b88fc0001bc67419c3b918733 Mon Sep 17 00:00:00 2001
From: Maksym Pomazan
Date: Sun, 10 Jul 2022 12:19:31 +0100
Subject: [PATCH 2/2] js/css path fixes
---
docs/css/default.min.css | 1 +
styles.css => docs/css/styles.css | 0
.../css/bootstrap-responsive.css | 0
.../css/bootstrap-responsive.min.css | 0
.../bootstrap-2.3.2/css/bootstrap.css | 0
.../bootstrap-2.3.2/css/bootstrap.min.css | 0
.../img/glyphicons-halflings-white.png | Bin
.../img/glyphicons-halflings.png | Bin
.../examples}/bootstrap-2.3.2/js/bootstrap.js | 0
.../bootstrap-2.3.2/js/bootstrap.min.js | 0
.../examples}/example-basic.html | 12 +-
.../examples}/example-bootstrap-2.html | 18 +-
docs/examples/example-bootstrap-3.html | 167 +++++++++++++++
docs/examples/example-bootstrap-resize.html | 198 ++++++++++++++++++
.../examples}/example-column.html | 17 +-
.../examples}/example-events.html | 17 +-
{examples => docs/examples}/example-huge.html | 13 +-
.../examples}/example-save-state.html | 19 +-
index.html => docs/index.html | 12 +-
docs/js/highlight.min.js | 1 +
docs/js/jquery.min.js | 6 +
examples/example-bootstrap-3.html | 146 -------------
examples/example-bootstrap-resize.html | 146 -------------
test.html => tests/test.html | 14 +-
treegrid.jquery.json | 6 +-
25 files changed, 443 insertions(+), 350 deletions(-)
create mode 100644 docs/css/default.min.css
rename styles.css => docs/css/styles.css (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/css/bootstrap-responsive.css (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/css/bootstrap-responsive.min.css (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/css/bootstrap.css (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/css/bootstrap.min.css (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/img/glyphicons-halflings-white.png (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/img/glyphicons-halflings.png (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/js/bootstrap.js (100%)
rename {examples => docs/examples}/bootstrap-2.3.2/js/bootstrap.min.js (100%)
rename {examples => docs/examples}/example-basic.html (89%)
rename {examples => docs/examples}/example-bootstrap-2.html (90%)
create mode 100644 docs/examples/example-bootstrap-3.html
create mode 100644 docs/examples/example-bootstrap-resize.html
rename {examples => docs/examples}/example-column.html (90%)
rename {examples => docs/examples}/example-events.html (92%)
rename {examples => docs/examples}/example-huge.html (88%)
rename {examples => docs/examples}/example-save-state.html (91%)
rename index.html => docs/index.html (97%)
create mode 100644 docs/js/highlight.min.js
create mode 100644 docs/js/jquery.min.js
delete mode 100644 examples/example-bootstrap-3.html
delete mode 100644 examples/example-bootstrap-resize.html
rename test.html => tests/test.html (95%)
diff --git a/docs/css/default.min.css b/docs/css/default.min.css
new file mode 100644
index 0000000..a75ba5e
--- /dev/null
+++ b/docs/css/default.min.css
@@ -0,0 +1 @@
+pre code{display:block;padding:.5em;background:#f0f0f0}pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:black}pre .string,pre .title,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#800}pre .comment,pre .annotation,pre .template_comment,pre .diff .header,pre .chunk,pre .markdown .blockquote{color:#888}pre .number,pre .date,pre .regexp,pre .literal,pre .smalltalk .symbol,pre .smalltalk .char,pre .go .constant,pre .change,pre .markdown .bullet,pre .markdown .link_url{color:#080}pre .label,pre .javadoc,pre .ruby .string,pre .decorator,pre .filter .argument,pre .localvars,pre .array,pre .attr_selector,pre .important,pre .pseudo,pre .pi,pre .doctype,pre .deletion,pre .envvar,pre .shebang,pre .apache .sqbracket,pre .nginx .built_in,pre .tex .formula,pre .erlang_repl .reserved,pre .prompt,pre .markdown .link_label,pre .vhdl .attribute,pre .clojure .attribute,pre .coffeescript .property{color:#88F}pre .keyword,pre .id,pre .phpdoc,pre .title,pre .built_in,pre .aggregate,pre .css .tag,pre .javadoctag,pre .phpdoc,pre .yardoctag,pre .smalltalk .class,pre .winutils,pre .bash .variable,pre .apache .tag,pre .go .typename,pre .tex .command,pre .markdown .strong,pre .request,pre .status{font-weight:bold}pre .markdown .emphasis{font-style:italic}pre .nginx .built_in{font-weight:normal}pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .javascript,pre .xml .vbscript,pre .xml .css,pre .xml .cdata{opacity:.5}
\ No newline at end of file
diff --git a/styles.css b/docs/css/styles.css
similarity index 100%
rename from styles.css
rename to docs/css/styles.css
diff --git a/examples/bootstrap-2.3.2/css/bootstrap-responsive.css b/docs/examples/bootstrap-2.3.2/css/bootstrap-responsive.css
similarity index 100%
rename from examples/bootstrap-2.3.2/css/bootstrap-responsive.css
rename to docs/examples/bootstrap-2.3.2/css/bootstrap-responsive.css
diff --git a/examples/bootstrap-2.3.2/css/bootstrap-responsive.min.css b/docs/examples/bootstrap-2.3.2/css/bootstrap-responsive.min.css
similarity index 100%
rename from examples/bootstrap-2.3.2/css/bootstrap-responsive.min.css
rename to docs/examples/bootstrap-2.3.2/css/bootstrap-responsive.min.css
diff --git a/examples/bootstrap-2.3.2/css/bootstrap.css b/docs/examples/bootstrap-2.3.2/css/bootstrap.css
similarity index 100%
rename from examples/bootstrap-2.3.2/css/bootstrap.css
rename to docs/examples/bootstrap-2.3.2/css/bootstrap.css
diff --git a/examples/bootstrap-2.3.2/css/bootstrap.min.css b/docs/examples/bootstrap-2.3.2/css/bootstrap.min.css
similarity index 100%
rename from examples/bootstrap-2.3.2/css/bootstrap.min.css
rename to docs/examples/bootstrap-2.3.2/css/bootstrap.min.css
diff --git a/examples/bootstrap-2.3.2/img/glyphicons-halflings-white.png b/docs/examples/bootstrap-2.3.2/img/glyphicons-halflings-white.png
similarity index 100%
rename from examples/bootstrap-2.3.2/img/glyphicons-halflings-white.png
rename to docs/examples/bootstrap-2.3.2/img/glyphicons-halflings-white.png
diff --git a/examples/bootstrap-2.3.2/img/glyphicons-halflings.png b/docs/examples/bootstrap-2.3.2/img/glyphicons-halflings.png
similarity index 100%
rename from examples/bootstrap-2.3.2/img/glyphicons-halflings.png
rename to docs/examples/bootstrap-2.3.2/img/glyphicons-halflings.png
diff --git a/examples/bootstrap-2.3.2/js/bootstrap.js b/docs/examples/bootstrap-2.3.2/js/bootstrap.js
similarity index 100%
rename from examples/bootstrap-2.3.2/js/bootstrap.js
rename to docs/examples/bootstrap-2.3.2/js/bootstrap.js
diff --git a/examples/bootstrap-2.3.2/js/bootstrap.min.js b/docs/examples/bootstrap-2.3.2/js/bootstrap.min.js
similarity index 100%
rename from examples/bootstrap-2.3.2/js/bootstrap.min.js
rename to docs/examples/bootstrap-2.3.2/js/bootstrap.min.js
diff --git a/examples/example-basic.html b/docs/examples/example-basic.html
similarity index 89%
rename from examples/example-basic.html
rename to docs/examples/example-basic.html
index f954edf..624c775 100644
--- a/examples/example-basic.html
+++ b/docs/examples/example-basic.html
@@ -5,12 +5,12 @@
Jquery-treegrid basic example
-
-
-
+
+
+
-
-
+
+
-
+
-
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
TreeGrid Bootstrap 3 examples
+
+
+
+ | Root node 1 |
+ Additional info |
+
+
+ | Node 1-1 |
+ Additional info |
+
+
+ | Node 1-2 |
+ Additional info |
+
+
+ | Node 1-2-1 |
+ Additional info |
+
+
+ | Root node 2 |
+ Additional info |
+
+
+ | Node 2-1 |
+ Additional info |
+
+
+ | Node 2-2 |
+ Additional info |
+
+
+ | Node 2-2-1 |
+ Additional info |
+
+
+
Code
+
+
<link href="bootstrap-3.0.0/css/bootstrap.css" rel="stylesheet">
+<link rel="stylesheet" href="../css/jquery.treegrid.css">
+
+<script type="text/javascript" src="../js/jquery.treegrid.js"></script>
+<script type="text/javascript" src="../js/jquery.treegrid.bootstrap3.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() {
+ $('.tree').treegrid();
+ });
+</script>
+
Bootstrap TreeGrid example
+ table-bordered table-striped table-condensed
+ custom expander
+
+
+ | Root node 1 |
+ Additional info |
+
+
+ | Node 1-1 |
+ Additional info |
+
+
+ | Node 1-2 |
+ Additional info |
+
+
+ | Node 1-2-1 |
+ Additional info |
+
+
+ | Root node 2 |
+ Additional info |
+
+
+ | Node 2-1 |
+ Additional info |
+
+
+ | Node 2-2 |
+ Additional info |
+
+
+ | Node 2-2-1 |
+ Additional info |
+
+
+
+
Code
+
<link href="bootstrap-3.0.0/css/bootstrap.css" rel="stylesheet">
+<link rel="stylesheet" href="../css/jquery.treegrid.css">
+
+<script type="text/javascript" src="../js/jquery.treegrid.js"></script>
+<script type="text/javascript" src="../js/jquery.treegrid.bootstrap3.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() {
+ $('.tree').treegrid({
+ expanderExpandedClass: 'glyphicon glyphicon-minus',
+ expanderCollapsedClass: 'glyphicon glyphicon-plus'
+ });
+ });
+</script>
+
+
+
+
+
+
+
+