-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c975f71
commit 7a2935e
Showing
7 changed files
with
61 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
{% extends '_base.html' %} | ||
{% load component_tags %} | ||
{% block title %}Profile{% endblock %} | ||
{% block content %} | ||
<h2>Hello {{user.username}}!</h1> | ||
<br/> <br/> | ||
|
||
<h4>Want to change it up?</h4> | ||
<a href="{% url 'password_change' %}">Change Password</a> | ||
|
||
{% endblock%} | ||
{% block content %} | ||
<div class="flex flex-col mt-20"> | ||
<h1 class="text-3xl font-light text-gray-900 text-center mb-8" style="font-family: Inter, serif;">Hello {{user.username}}!</h1> | ||
<div class="w-full flex items-center justify-center pt-2"> | ||
<br/> <br/> | ||
<p class="mt-8"> | ||
Want to change it up? | ||
<a href="{% url 'password_change' %}"> | ||
{% component "button" text="Change Password" component_type="secondary" value="" %} | ||
</a> | ||
</p> | ||
</div> | ||
</div> | ||
{% endblock%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
{% extends '_base.html' %} | ||
{% load component_tags %} | ||
{% block title %} Create an Account {% endblock %} | ||
{% block content %} | ||
<form method = "POST" class="form-group"> | ||
{% csrf_token %} | ||
{{form}} | ||
<button type="submit" class="btn btn-primary">Register</button> | ||
</form> | ||
|
||
{% block content %} | ||
<div class="flex flex-col mt-20"> | ||
<div class="w-full flex items-center justify-center"> | ||
<form method="POST" class="form-group"> {% csrf_token %} | ||
{{ form }} | ||
<div class="flex items-center justify-items-center justify-center mt-2"> | ||
{% component "button" text="Register" component_type="primary" value="submit" %} | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
{% extends '_base.html' %} | ||
{%block title%} | ||
Login | ||
{%endblock%} | ||
{% load component_tags %} | ||
{% block title %}Login{% endblock %} | ||
|
||
{%block content%} | ||
<form method="POST" class="form-group"> | ||
{%csrf_token%} | ||
{{form}} | ||
<button type="submit" class="btn btn-primary">Login</button> | ||
<p>Don't have an account? Create one <a href="/register">here</a></p> | ||
</form> | ||
{%endblock%} | ||
<div class="flex flex-col mt-20"> | ||
<div class="w-full flex items-center justify-center"> | ||
<form method="POST" class="form-group"> {% csrf_token %} | ||
{{ form }} | ||
<div class="flex items-center justify-items-center justify-center mt-2"> | ||
{% component "button" text="Login" component_type="primary" value="submit" %} | ||
</div> | ||
</form> | ||
</div> | ||
<div class="w-full flex items-center justify-center"> | ||
<p class="mt-8"> | ||
Don't have an account? Create one | ||
<a href="/register"> | ||
{% component "button" text="Here" component_type="secondary" value="" %} | ||
</a> | ||
</p> | ||
</div> | ||
</div> | ||
{%endblock%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters