diff --git a/views/admin_profile.ejs b/views/admin_profile.ejs index abed129..c576012 100644 --- a/views/admin_profile.ejs +++ b/views/admin_profile.ejs @@ -105,7 +105,8 @@
- +
diff --git a/views/signup.ejs b/views/signup.ejs index ef4adfb..6ff6e04 100644 --- a/views/signup.ejs +++ b/views/signup.ejs @@ -65,7 +65,7 @@
-
+

New Visitor Registration

@@ -278,6 +278,7 @@ // Draw image var context = canvas.getContext('2d'); + // context.scale(-1, 1); snap.addEventListener("click", function() { context.drawImage(video, 0, 0, 300, 300); var image = new Image(); @@ -350,6 +351,10 @@ async function uploadImage() { .then((url) => { // console.log(url); document.getElementById("url").value = url; + // action="/signup" method="post" + $("#signup-form").attr("action","signup"); + $("#signup-form").attr("method","post"); + $("#signup-form").submit(); }) diff --git a/views/visitor_profile.ejs b/views/visitor_profile.ejs index 0a6d0b2..bb4aa41 100644 --- a/views/visitor_profile.ejs +++ b/views/visitor_profile.ejs @@ -78,7 +78,8 @@ <%= Visitor_Name %>
- +

Status: <%= visitor.status %>