Skip to content

Commit a51d424

Browse files
authored
report page fixed (OWASP-BLT#3900)
1 parent 9c9a6f9 commit a51d424

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

website/templates/report.html

+25-12
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@
2222
{% load humanize %}
2323
{% providers_media_js %}
2424
{% block style %}
25+
<style>
26+
.captcha-form img{
27+
width: 200px;
28+
29+
}
30+
.captcha-form input{
31+
width: 50%;
32+
border-width: 1px;
33+
border-color: black;
34+
padding: 10px;
35+
font-size: 1.4rem;
36+
margin-left: 0.5rem;
37+
border-radius: 0.3rem;
38+
}
39+
</style>
2540
{% endblock style %}
2641
{% block content %}
2742
{% include "includes/sidenav.html" %}
@@ -289,32 +304,30 @@ <h2 class="text-xl font-semibold text-gray-900">{% trans "Team Members" %}</h2>
289304
<div class="mt-8 bg-white rounded-xl shadow-sm p-6">
290305
<div class="flex flex-col sm:flex-row items-center justify-between gap-6 w-full">
291306
<div class="flex flex-col items-start gap-2 w-full sm:w-auto order-2 sm:order-1">
292-
<label for="report_anonymous"
293-
class="text-sm font-medium text-gray-900 cursor-pointer select-none">
294-
{% trans "Report Anonymously" %}
295-
</label>
296-
<div class="flex items-center">
307+
<div class="flex items-center gap-2">
297308
<input id="report_anonymous"
298309
type="checkbox"
299310
name="report_anonymous"
300-
class="w-5 h-5 rounded text-[#e74c3c] focus:ring-[#e74c3c] cursor-pointer">
311+
class="w-5 h-5 rounded-lg text-[#e74c3c] focus:ring-[#e74c3c] cursor-pointer">
312+
<p for="report_anonymous"
313+
class=" font-medium text-gray-900 cursor-pointer select-none">
314+
{% trans "Report Anonymously" %}
315+
</p>
301316
</div>
302317
</div>
303318
<div class="captcha-form w-full sm:w-auto flex justify-center order-1 sm:order-2">
304-
<div class="p-2 scale-75 sm:scale-90 md:scale-100 transform-gpu origin-center">
319+
{% comment %} <div class="p-2 scale-75 sm:scale-90 md:scale-100 transform-gpu origin-center">
305320
<div class="captcha-form flex flex-col w-full items-center gap-4">
306321
<div class="w-full max-w-[500px]">
307-
<img class="w-full h-auto object-contain rounded-lg"
308-
alt="captcha"
309-
width="500"
310-
height="200" />
322+
<img class="w-full h-auto object-contain rounded-lg" alt="captcha" width="500" height="200" />
311323
</div>
312324
<div class="w-full max-w-[180px]">
313325
<input class="w-full border border-gray-300 p-2.5 text-base rounded-lg focus:ring-2 focus:ring-[#e74c3c] focus:border-transparent transition-shadow duration-200" />
314326
</div>
315327
</div>
316328
{{ captcha_form.captcha }}
317-
</div>
329+
</div> {% endcomment %}
330+
<div class="captcha-form flex flex-col w-full md:flex-row items-center">{{ captcha_form.captcha }}</div>
318331
</div>
319332
<div class="flex gap-4 w-full sm:w-auto justify-center order-3">
320333
<button type="button"

0 commit comments

Comments
 (0)