From 9487b88bfcafb89d5efcd44caab1c36befe3c884 Mon Sep 17 00:00:00 2001 From: Vedant Nandoskar Date: Tue, 28 Apr 2020 22:46:35 +0530 Subject: [PATCH] Signup Conditional for Temporarily Disabled Security (#388) * Fixed typo for return * Fix for refresh during first slide upload * Fixed refresh on first slide upload * Added space after 'if' for eslint configuration * Added functionality to delete slide from system * Removed refresh on first slide upload * Added alert for slide deletion success * Update to fix linting errors * Update to fix linting errors * Fix linting errors * Fix lint errors * Fix lint error * Rechained promises to handle mishandled slide deletions * style fix * Added delete slide request functionality * style fix * style fix * style fix * style fix * style fix * Client side changes for handling new 'requests' collection * merge fix * merge fix * Fix for direct deletion of slides * style fix * Added feature for user registration requests * style fix * Commented line stating that signup page is just for admins * Added line explaining new workflow of signup page * Added popups for success instead of alerts and moved showSuccessPopup to util.js for reusability * Comment fix * Style fix * Solved permsisions is not defined error in signup.html * Comment fix * catch promise error Co-Authored-By: Ryan Birmingham * error handling on fetching requests Co-Authored-By: Ryan Birmingham * Update apps/table.html * modifications for handling prototype * removed unwanted console.logs * Update functions to handle first time user registrations * Fix to a missing .html extension Co-authored-by: Ryan Birmingham --- apps/signup/signup.html | 107 +++++++++++++++++++++++++++++----------- apps/table.css | 2 +- login.html | 2 +- 3 files changed, 79 insertions(+), 32 deletions(-) diff --git a/apps/signup/signup.html b/apps/signup/signup.html index 73e08b3bd..0f180645a 100644 --- a/apps/signup/signup.html +++ b/apps/signup/signup.html @@ -36,7 +36,8 @@ diff --git a/apps/table.css b/apps/table.css index 331dacbd6..fb95744e1 100644 --- a/apps/table.css +++ b/apps/table.css @@ -155,4 +155,4 @@ nav li:not(.active):hover a{ .collapse.in { display: inline !important; -} \ No newline at end of file +} diff --git a/login.html b/login.html index 05602aaa0..d221ad3de 100644 --- a/login.html +++ b/login.html @@ -65,7 +65,7 @@ window.location = state } else { window.alert("User not added") - window.location = "./apps/signup/signup" + window.location = "./apps/signup/signup.html" } })