From 6d39448df74ed46cc0d80578ffe661664dda9718 Mon Sep 17 00:00:00 2001 From: Is Isilon Date: Sun, 24 Jan 2016 06:52:45 +0800 Subject: [PATCH] Added script to generate index.html for gh-pages --- generate_static_pages.py | 13 ++ index.html | 482 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 495 insertions(+) create mode 100644 generate_static_pages.py create mode 100644 index.html diff --git a/generate_static_pages.py b/generate_static_pages.py new file mode 100644 index 0000000..8c8c3ed --- /dev/null +++ b/generate_static_pages.py @@ -0,0 +1,13 @@ +from wtformsparsleyjs.sample.sample import app +from flask_frozen import Freezer +import shutil +from os.path import join +freezer = Freezer(app) + +if __name__ == '__main__': + + # rebuild static files using flask_frozen + freezer.freeze() + + # copy result to index.html + shutil.copy( join('wtformsparsleyjs', 'sample', 'build', 'parsley_testform'), 'index.html') diff --git a/index.html b/index.html new file mode 100644 index 0000000..3d27416 --- /dev/null +++ b/index.html @@ -0,0 +1,482 @@ + + + + + WTForms-ParsleyJS Sample + + + + + + + + + + + + + + + +
+ +

Check out the form validation!

+ +
+
+ + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+
+ + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + + + +
+
+ + + + + + +
+
+ + +

+

+
+ +
+ + + + + + + + + + + + \ No newline at end of file