From 3798b2a8eb2b6f465b68f6cff1b30e193c7b9031 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sun, 17 Nov 2019 12:16:22 -0800 Subject: [PATCH] demo app cleanup * fixed buttons back, 2 space fix * all user /src for JS (easier to test as we code), /dist for css (since generated sass) --> source of truth for website. --- demo/anijs.html | 10 +- demo/float.html | 8 +- demo/index.html | 2 +- demo/knockout.html | 4 +- demo/knockout2.html | 4 +- demo/nested.html | 4 +- demo/responsive.html | 4 +- demo/right-to-left(rtl).html | 122 ++++++++++++++++ demo/rtl.html | 122 ---------------- demo/serialization.html | 171 +++++++++++----------- demo/two.html | 266 +++++++++++++++++------------------ 11 files changed, 360 insertions(+), 357 deletions(-) create mode 100644 demo/right-to-left(rtl).html delete mode 100644 demo/rtl.html diff --git a/demo/anijs.html b/demo/anijs.html index 57823ff9a..06aaf3822 100644 --- a/demo/anijs.html +++ b/demo/anijs.html @@ -11,16 +11,16 @@ Codestin Search App - + - - + + + + +
+

RTL Demo

+ +
+ +
+ +
+ +
+
+ + + + diff --git a/demo/rtl.html b/demo/rtl.html deleted file mode 100644 index ca07c92bf..000000000 --- a/demo/rtl.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - - Codestin Search App - - - - - - - - - - - - - - - -
-

RTL Demo

- -
- -
- -
- -
-
- - - - - diff --git a/demo/serialization.html b/demo/serialization.html index 7f9be56ac..c93760756 100644 --- a/demo/serialization.html +++ b/demo/serialization.html @@ -1,106 +1,105 @@ - + - - - - Codestin Search App + + + + Codestin Search App - - + + - - - - - - + + + + + + - + .grid-stack-item-content { + color: #2c3e50; + text-align: center; + background-color: #18bc9c; + } + -
-

Serialization demo

- - - -

-
-
- -
+
+

Serialization demo

+ Save Grid + Load Grid + Clear Grid +

+
+
+ +
+ + this.loadGrid(); + }; + }); + diff --git a/demo/two.html b/demo/two.html index 8ad75d099..953ee0dd7 100644 --- a/demo/two.html +++ b/demo/two.html @@ -1,145 +1,145 @@ - - - - - - Codestin Search App - - - - - - - - - - - - - + + + + + + Codestin Search App + + + + + + + + + + + + + -
-

Two grids demo

- -
-
- -
-
-
-
-
-
+
+

Two grids demo

-
-
-
-
-
-
-
-
-
+
+
+ +
+
+
+
- - + }); + + $('.sidebar .grid-stack-item').draggable({ + revert: 'invalid', + handle: '.grid-stack-item-content', + scroll: false, + appendTo: 'body' + }); + }); +