adds email login and registration forms
- using flask-wtf forms to create login and registration - saves and compares input data with database - generates user if need-be - same user form as google user
This commit is contained in:
		@@ -1,15 +1,7 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset="UTF-8">
 | 
			
		||||
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
 | 
			
		||||
  <link rel="stylesheet" type="text/css" href="/static/css/main.css">
 | 
			
		||||
  <title>Index</title>
 | 
			
		||||
</head>
 | 
			
		||||
{% block content %}
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
<h1 style="color: blue">Login Page</h1>
 | 
			
		||||
 | 
			
		||||
<!--Google Login-->
 | 
			
		||||
@@ -41,6 +33,5 @@
 | 
			
		||||
 | 
			
		||||
<!-- Compiled and minified JavaScript -->
 | 
			
		||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"></script>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user