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