-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integerated form and fixed style issues
- Loading branch information
1 parent
27d0223
commit bd9a383
Showing
4 changed files
with
63 additions
and
10 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
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
{% block title %}Report Dark Pattern{% endblock title %} | ||
|
||
{% block head %} | ||
<link rel="stylesheet" href="{% static "css/report.css"%}"> | ||
<link rel="stylesheet" href="{% static " css/report.css"%}"> | ||
{% endblock head %} | ||
|
||
{% block content %} | ||
|
@@ -18,12 +18,24 @@ <h1 class="font-mid-large">Report Center</h1> | |
<h4 class="blue-text">Eradicate Dark Patterns</h4> | ||
</section> | ||
<section class="report-form"> | ||
<form action=""> | ||
<input type="text" name="email" id="email" placeholder="Enter Your Email"> | ||
<input type="text" name="website-name" id="website-name" placeholder="Enter the website's name"> | ||
<form method="post" action="{% url 'report-dp' %}"> | ||
{% csrf_token %} | ||
<label for="name" class="sub-head">Name</label> | ||
<input required type="text" name="name" id="name" placeholder="Enter Your Name" class="form-f"> | ||
|
||
<label for="email" class="sub-head">Email</label> | ||
<input required type="email" name="email" id="email" placeholder="[email protected]" class="form-f"> | ||
|
||
<label for="website-name" class="sub-head">Website Name</label> | ||
<input required type="text" name="website-name" id="website-name" placeholder="Enter the website's name" class="form-f"> | ||
|
||
<label for="dark-pattern-type" class="sub-head">Dark Pattern Type</label> | ||
<input type="text" name="dark-pattern-type" id="dark-pattern-type" | ||
placeholder="Enter the Dark Pattern Type (optional)"> | ||
<textarea name="description" id="description" placeholder="Describe the Dark Pattern"></textarea> | ||
placeholder="Enter the Dark Pattern Type (optional)" class="form-f"> | ||
|
||
<label for="description" class="sub-head">Description</label> | ||
<textarea required name="description" id="description" placeholder="Describe the Dark Pattern" class="form-f"></textarea> | ||
|
||
<button type="submit" class="btn-primary">Report</button> | ||
</form> | ||
</section> | ||
|