forked from ifgi/optimetaPortal
-
Notifications
You must be signed in to change notification settings - Fork 0
Account deletion must be confirmed #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f998e16
Account deletion must be confirmed
uxairibrar a22ce1e
Fixed error in imports
uxairibrar b3d73f7
Merge branch 'main' into feature/account_deletion_confirmation
uxairibrar 07c85ef
Code Refactoring and added more checks
uxairibrar d433809
Added the test case for account deletion
uxairibrar b7cb095
Updated Hardcoded email message
uxairibrar 9c6747c
Added the UI test for Account deletion
uxairibrar 2f5a3d0
Updated test case and account deletion view
uxairibrar 47f641b
Merge branch 'main' into feature/account_deletion_confirmation
nuest File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,53 +1,57 @@ | ||
| {% load static %} | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <title>{% block title %}{% endblock %}OPTIMAP</title> | ||
| <link rel="icon" type="image/png" href="{% static 'favicon.png' %}"> | ||
|
|
||
| <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}"/> | ||
| <link rel="stylesheet" href="{% static 'fontawesome/css/fontawesome.min.css' %}"/> | ||
| <link rel="stylesheet" href="{% static 'fontawesome/css/solid.min.css' %}"/> | ||
|
|
||
| <script src="{% static 'js/jquery-3.4.1.slim.min.js' %}"></script> | ||
| <script src="{% static 'js/bootstrap.min.js' %}"></script> | ||
|
|
||
| {% block head %}{% endblock %} | ||
|
|
||
| <link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}"/> | ||
| </head> | ||
|
|
||
| <body> | ||
|
|
||
| <!--Navbar--> | ||
| <nav class="navbar navbar-expand-sm navbar-dark nav-fill w-100"> | ||
| <div class="container-fluid"> | ||
| <div class="nav navbar-nav"> | ||
| <a class="navbar-brand" href="/"> | ||
| <img src="{% static 'optimap_logo_w.svg' %}" width="100" alt="OPTIMAP logo"> | ||
| </a> | ||
|
|
||
| <span class="text-white tagline">Discover Research. Optimized. On a map.</span> | ||
| </div> | ||
|
|
||
| {% block navbar %}{% endblock %} | ||
| </div> | ||
| </nav> | ||
|
|
||
| <main class="container-fluid"> | ||
| {% block alert %}{% endblock %} | ||
|
|
||
| {% block content %}{% endblock %} | ||
| </main> | ||
|
|
||
| {% include 'footer.html' %} | ||
|
|
||
| {% block scripts %}{% endblock %} | ||
|
|
||
| </body> | ||
|
|
||
| </html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
|
||
| <title>{% block title %}{% endblock %}OPTIMAP</title> | ||
| <link rel="icon" type="image/png" href="{% static 'favicon.png' %}" /> | ||
|
|
||
| <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" /> | ||
| <link | ||
| rel="stylesheet" | ||
| href="{% static 'fontawesome/css/fontawesome.min.css' %}" | ||
| /> | ||
| <link | ||
| rel="stylesheet" | ||
| href="{% static 'fontawesome/css/solid.min.css' %}" | ||
| /> | ||
|
|
||
| <script src="{% static 'js/jquery-3.4.1.slim.min.js' %}"></script> | ||
| <script src="{% static 'js/bootstrap.min.js' %}"></script> | ||
|
|
||
| {% block head %}{% endblock %} | ||
|
|
||
| <link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}" /> | ||
| </head> | ||
|
|
||
| <body> | ||
| <!--Navbar--> | ||
| <nav class="navbar navbar-expand-sm navbar-dark nav-fill w-100"> | ||
| <div class="container-fluid"> | ||
| <div class="nav navbar-nav"> | ||
| <a class="navbar-brand" href="/"> | ||
| <img | ||
| src="{% static 'optimap_logo_w.svg' %}" | ||
| width="100" | ||
| alt="OPTIMAP logo" | ||
| /> | ||
| </a> | ||
|
|
||
| <span class="text-white tagline" | ||
| >Discover Research. Optimized. On a map.</span | ||
| > | ||
| </div> | ||
|
|
||
| {% block navbar %}{% endblock %} | ||
| </div> | ||
| </nav> | ||
|
|
||
| <main class="container-fluid"> | ||
| {% block alert %}{% endblock %} {% block content %}{% endblock %} | ||
| </main> | ||
|
|
||
| {% include 'footer.html' %} {% block scripts %}{% endblock %} | ||
| </body> | ||
| </html> |
This file contains hidden or 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,23 +1,39 @@ | ||
| <li class="nav-item dropdown"> | ||
| <a class="nav-link dropdown" href="#" id="navbarDarkDropdown1" role="button" data-toggle="dropdown" | ||
| aria-expanded="false"> | ||
| <i class="fa-solid fa-circle-user fa-3x"></i> | ||
| </a> | ||
| <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDarkDropdown1"> | ||
| <span class="dropdown-item-text">New around here? Please login to create a new account.</span> | ||
| <div class="dropdown-divider"></div> | ||
| <li class="px-3 py-2"> | ||
| <form class="form" method="POST" action="{% url 'optimap:loginres' %}"> | ||
| {% csrf_token %} | ||
| <div class="form-group"> | ||
| <input id="email" placeholder="Email" class="form-control form-control-sm" type="email" required="" | ||
| name="email"> | ||
| </div> | ||
| <div class="form-group"> | ||
| <button type="submit" class="btn btn-primary btn-block">Login</button> | ||
| </div> | ||
| </form> | ||
| </li> | ||
| </ul> | ||
| <a | ||
| class="nav-link dropdown-toggle" | ||
| href="#" | ||
| id="navbarDarkDropdown1" | ||
| role="button" | ||
| data-toggle="dropdown" | ||
| aria-expanded="false" | ||
| > | ||
| <i class="fa-solid fa-circle-user fa-3x"></i> | ||
| </a> | ||
| <ul | ||
| class="dropdown-menu dropdown-menu-right" | ||
| aria-labelledby="navbarDarkDropdown1" | ||
| > | ||
| <span class="dropdown-item-text" | ||
| >New around here? Please login to create a new account.</span | ||
| > | ||
| <div class="dropdown-divider"></div> | ||
| <li class="px-3 py-2"> | ||
| <form class="form" method="POST" action="{% url 'optimap:loginres' %}"> | ||
| {% csrf_token %} | ||
| <div class="form-group"> | ||
| <input | ||
| id="email" | ||
| placeholder="Email" | ||
| class="form-control form-control-sm" | ||
| type="email" | ||
| required="" | ||
| name="email" | ||
| /> | ||
| </div> | ||
| <div class="form-group"> | ||
| <button type="submit" class="btn btn-primary btn-block">Login</button> | ||
| </div> | ||
| </form> | ||
| </li> | ||
| </ul> | ||
| </li> | ||
|
|
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.