Parcourir la source

Add log in with clover button to log in page

Lee Morgan il y a 6 ans
Parent
commit
f1d6cc2ad5
3 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 0 1
      routes.js
  2. 1 0
      views/landingPage/landing.css
  3. 2 0
      views/landingPage/landing.ejs

+ 0 - 1
routes.js

@@ -37,7 +37,6 @@ module.exports = function(app){
     app.post("/purchases/create", otherData.createPurchase);
     app.post("/login", otherData.login);
     app.get("/logout", otherData.logout);
-    app.get("/clover", otherData.clover);
     app.get("/cloverlogin", otherData.cloverRedirect);
     app.get("/cloverauth*", otherData.cloverAuth);
 

+ 1 - 0
views/landingPage/landing.css

@@ -82,6 +82,7 @@
 /* Login Strand */
 #loginStrand{
     display: none;
+    flex-direction: column;
     align-items: center;
     justify-content: center;
     background-image: url("/shared/images/backgroundImg01.jpg");

+ 2 - 0
views/landingPage/landing.ejs

@@ -67,6 +67,8 @@
                     <button class="button" onclick="loginObj.cancel()">Cancel</button>
                 </div>
             </form>
+
+            <a class="button" href="/cloverlogin">Log in with Clover</a>
         </div>
 
         <div id="registerStrand">