Skip to content

Commit

Permalink
Google Method removed From UI and Java code
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatesh2k3 committed Jul 3, 2024
1 parent 5fb546a commit 9eaa532
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 180 deletions.
5 changes: 2 additions & 3 deletions src/main/java/ai/elimu/dao/ContributorDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

import java.util.Calendar;
import java.util.List;
import ai.elimu.model.contributor.Contributor;

import org.springframework.dao.DataAccessException;

import ai.elimu.model.contributor.Contributor;

public interface ContributorDao extends GenericDao<Contributor> {

Contributor read(String email) throws DataAccessException;
Expand All @@ -16,8 +17,6 @@ public interface ContributorDao extends GenericDao<Contributor> {

Contributor readByProviderIdWeb3(String id) throws DataAccessException;

Contributor readByProviderIdGoogle(String id) throws DataAccessException;

List<Contributor> readAllOrderedDesc() throws DataAccessException;

List<Contributor> readAll(Calendar calendarFrom, Calendar calendarTo) throws DataAccessException;
Expand Down
171 changes: 0 additions & 171 deletions src/main/java/ai/elimu/web/SignOnControllerGoogle.java

This file was deleted.

6 changes: 0 additions & 6 deletions src/main/webapp/WEB-INF/jsp/sign-on.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
<div class="row section">
<p class="center"><fmt:message key="sign.on.via.an.existing.account" />:</p>

<div class="col s12 l8 offset-l2" style="margin-bottom: 1em;">
<a href="<spring:url value='/sign-on/google' />" class="col s12 btn-large waves-effect waves-light white grey-text">
<svg style="width: 24px; height: 24px; top: 6px; position: relative; right: 5px;" viewBox="0 0 533.5 544.3" xmlns="http://www.w3.org/2000/svg"><path d="M533.5 278.4c0-18.5-1.5-37.1-4.7-55.3H272.1v104.8h147c-6.1 33.8-25.7 63.7-54.4 82.7v68h87.7c51.5-47.4 81.1-117.4 81.1-200.2z" fill="#4285f4"/><path d="M272.1 544.3c73.4 0 135.3-24.1 180.4-65.7l-87.7-68c-24.4 16.6-55.9 26-92.6 26-71 0-131.2-47.9-152.8-112.3H28.9v70.1c46.2 91.9 140.3 149.9 243.2 149.9z" fill="#34a853"/><path d="M119.3 324.3c-11.4-33.8-11.4-70.4 0-104.2V150H28.9c-38.6 76.9-38.6 167.5 0 244.4l90.4-70.1z" fill="#fbbc04"/><path d="M272.1 107.7c38.8-.6 76.3 14 104.4 40.8l77.7-77.7C405 24.6 339.7-.8 272.1 0 169.2 0 75.1 58 28.9 150l90.4 70.1c21.5-64.5 81.8-112.4 152.8-112.4z" fill="#ea4335"/></svg>
&nbsp;Sign on with Google
</a>
</div>
<div class="col s12 l8 offset-l2" style="margin-bottom: 1em;">
<a href="<spring:url value='/sign-on/web3' />" class="col s12 btn-large waves-effect waves-light white grey-text">
<svg style="width: 24px; height: 24px; top: 6px; position: relative; right: 5px;" viewBox="0 0 784.37 1277.39" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xodm="http://www.corel.com/coreldraw/odm/2003">
Expand Down

0 comments on commit 9eaa532

Please sign in to comment.