-
Notifications
You must be signed in to change notification settings - Fork 3
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
62e33cd
commit aa7cd71
Showing
8 changed files
with
84 additions
and
29 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Change password - Daily Bytes</title> | ||
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Libre+Franklin|Playfair+Display&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
{% load static %} | ||
<link rel="stylesheet" href="{% static '/css/auth.css' %}"> | ||
|
||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-147095017-1"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'UA-147095017-1'); | ||
</script> | ||
</head> | ||
<body> | ||
<div class="signin-form"> | ||
<form method="POST"> | ||
{% csrf_token %} | ||
<h2>Daily Bytes</h2> | ||
|
||
<div class="text-center medium" style="margin-top: 10px; margin-bottom: 16px;">Write your hearts out byte by byte</div> | ||
|
||
<div class="text-center medium" style="margin-top: 20px; margin-bottom: 16px; font-size: 20px;"> | ||
{% if user.first_name %} | ||
You are {{ user.first_name }} | ||
{% elif user.username %} | ||
You are {{ user.username }} | ||
{% endif %} | ||
</div> | ||
|
||
<div class="form-group"> | ||
<input type="password" class="form-control input-lg" name="old_password" placeholder="Current password" required="required"> | ||
</div> | ||
<div class="form-group"> | ||
<input type="password" class="form-control input-lg" name="new_password1" placeholder="New password" required="required"> | ||
</div> | ||
<div class="form-group"> | ||
<input type="password" class="form-control input-lg" name="new_password2" placeholder="Confirm password" required="required"> | ||
{{form.errors}} | ||
</div> | ||
|
||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success btn-lg btn-block signup-btn">Submit</button> | ||
</div> | ||
<div class="text-center medium" style="margin-top: 10px;">Back to <a href="/profile/">profile</a></div> | ||
|
||
</form> | ||
</div> | ||
</body> | ||
</html> |
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
Binary file not shown.
Binary file not shown.
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