From 5344f19c0d092ead34bee6d1f1538af64a6bd792 Mon Sep 17 00:00:00 2001 From: HasGisete Date: Sat, 30 Sep 2017 22:09:25 -0700 Subject: [PATCH 1/2] Adding a form that creates a github issue --- index.html | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/index.html b/index.html index a68dbe3..b240b2f 100644 --- a/index.html +++ b/index.html @@ -33,6 +33,30 @@ + + @@ -68,6 +92,8 @@

+

Submit a new entry

+ +
+
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+ +
+ From 3826e25dc9cca11ad99a129a2ab2c1432cf519c4 Mon Sep 17 00:00:00 2001 From: HasGisete Date: Sat, 30 Sep 2017 22:50:16 -0700 Subject: [PATCH 2/2] Open Github issue with contents of web form #13 - Added a new form that connects to the Github API on submit and creates a Github issue with the contents of the form. Must add a personal token (line 295) to make it work. - Form checks for required fields and validates URL which should be an absolute URL according to these constraint: https://goo.gl/8JTigJ (AKA it must contain the protocol or it will fail) --- index.html | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 92 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b240b2f..571af82 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,6 @@ -