From f2aa2d39787a51a4a84ac5154eeadaa230ff53a7 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Fri, 19 Oct 2018 14:30:42 -0400 Subject: [PATCH] Fixed issue icons on the contact page and the contact page not appearing after last refactor. Fixes #12 --- includes/contact.js | 7 ++++--- includes/html/contact.html | 12 +++++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/includes/contact.js b/includes/contact.js index c66508c..07bd238 100644 --- a/includes/contact.js +++ b/includes/contact.js @@ -149,19 +149,19 @@ const processContactPage = function(request) { if(valid) { - resolve(utils.include("includes/messageSent.html")); + resolve(utils.include("includes/html/messageSent.html")); sendEmail(data.name, data.email, data.message); } else { - resolve(utils.include("includes/invalidCaptcha.html")); + resolve(utils.include("includes/html/invalidCaptcha.html")); } }); } else { - resolve(utils.include("includes/contact.html")); + resolve(utils.include("includes/html/contact.html")); } }).catch(function(err) @@ -185,6 +185,7 @@ module.exports = */ main: function(request, result) { + console.log("fuck me"); result.writeHead(200, {'Content-Type': 'text/html'}); Promise.all([includes.printAdminHeader(), processContactPage(request), diff --git a/includes/html/contact.html b/includes/html/contact.html index 9efa102..3bdd82d 100644 --- a/includes/html/contact.html +++ b/includes/html/contact.html @@ -16,7 +16,9 @@
-
+
+ +
@@ -24,7 +26,9 @@
-
+
+ +
@@ -33,7 +37,9 @@
-
+
+ +