coloque esse menu com as opcoes adicionais no inicio da pagina
Browse files- index.html +68 -71
index.html
CHANGED
|
@@ -86,25 +86,70 @@
|
|
| 86 |
</button>
|
| 87 |
</div>
|
| 88 |
</nav>
|
| 89 |
-
|
| 90 |
<div class="container mx-auto px-4 py-8 max-w-4xl">
|
| 91 |
-
<
|
| 92 |
-
<
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
<
|
| 99 |
-
<
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
</div>
|
| 107 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
<!-- Form -->
|
| 109 |
<form class="p-6 space-y-6">
|
| 110 |
<!-- Section 1: Crime Type -->
|
|
@@ -227,52 +272,9 @@
|
|
| 227 |
<span>Adicionar outro autor</span>
|
| 228 |
</button>
|
| 229 |
</div>
|
| 230 |
-
<!-- Section 3: Crime Type -->
|
| 231 |
-
<
|
| 232 |
-
|
| 233 |
-
<i data-feather="alert-triangle" class="inline mr-2 w-5 h-5"></i>
|
| 234 |
-
Tipo de Crime *
|
| 235 |
-
</h2>
|
| 236 |
-
|
| 237 |
-
<div class="grid grid-cols-2 md:grid-cols-3 gap-3">
|
| 238 |
-
<label class="crime-tag cursor-pointer">
|
| 239 |
-
<input type="radio" name="crimeType" value="drugs" class="hidden peer" required style="accent-color: yellow;">
|
| 240 |
-
<div class="bg-dark peer-checked:bg-primary peer-checked:text-white rounded-lg p-3 text-center border border-white border-opacity-20">
|
| 241 |
-
<i data-feather="package" class="w-5 h-5 mx-auto mb-1"></i>
|
| 242 |
-
Tráfico de Drogas
|
| 243 |
-
</div>
|
| 244 |
-
</label>
|
| 245 |
-
<label class="crime-tag cursor-pointer">
|
| 246 |
-
<input type="radio" name="crimeType" value="weapons" class="hidden peer">
|
| 247 |
-
<div class="bg-dark peer-checked:bg-primary peer-checked:text-white rounded-lg p-3 text-center border border-white border-opacity-20">
|
| 248 |
-
<i data-feather="zap" class="w-5 h-5 mx-auto mb-1"></i>
|
| 249 |
-
Porte Ilegal de Armas
|
| 250 |
-
</div>
|
| 251 |
-
</label>
|
| 252 |
-
<label class="crime-tag cursor-pointer">
|
| 253 |
-
<input type="radio" name="crimeType" value="homicide" class="hidden peer">
|
| 254 |
-
<div class="bg-dark peer-checked:bg-primary peer-checked:text-white rounded-lg p-3 text-center border border-white border-opacity-20">
|
| 255 |
-
<i data-feather="activity" class="w-5 h-5 mx-auto mb-1"></i>
|
| 256 |
-
Autor de Homicídio
|
| 257 |
-
</div>
|
| 258 |
-
</label>
|
| 259 |
-
<label class="crime-tag cursor-pointer">
|
| 260 |
-
<input type="radio" name="crimeType" value="theft" class="hidden peer">
|
| 261 |
-
<div class="bg-dark peer-checked:bg-primary peer-checked:text-white rounded-lg p-3 text-center border border-white border-opacity-20">
|
| 262 |
-
<i data-feather="shield" class="w-5 h-5 mx-auto mb-1"></i>
|
| 263 |
-
Roubo/Furto
|
| 264 |
-
</div>
|
| 265 |
-
</label>
|
| 266 |
-
<label class="crime-tag cursor-pointer">
|
| 267 |
-
<input type="radio" name="crimeType" value="wanted" class="hidden peer">
|
| 268 |
-
<div class="bg-dark peer-checked:bg-primary peer-checked:text-white rounded-lg p-3 text-center border border-white border-opacity-20">
|
| 269 |
-
<i data-feather="eye" class="w-5 h-5 mx-auto mb-1"></i>
|
| 270 |
-
Procurado pela Justiça
|
| 271 |
-
</div>
|
| 272 |
-
</label>
|
| 273 |
-
</div>
|
| 274 |
-
</div>
|
| 275 |
-
<!-- Dynamic Fields for Drug Trafficking -->
|
| 276 |
<div id="drugFields" class="space-y-4 hidden">
|
| 277 |
<h3 class="text-lg font-medium border-b border-white border-opacity-20 pb-1">Detalhes sobre Tráfico</h3>
|
| 278 |
|
|
@@ -406,8 +408,8 @@
|
|
| 406 |
<script>
|
| 407 |
// Initialize feather icons
|
| 408 |
feather.replace();
|
| 409 |
-
// Show/hide dynamic fields based on crime type
|
| 410 |
-
document.querySelectorAll('input[name="
|
| 411 |
radio.addEventListener('change', function() {
|
| 412 |
// Hide all dynamic sections
|
| 413 |
document.getElementById('drugFields').classList.add('hidden');
|
|
@@ -424,14 +426,9 @@
|
|
| 424 |
} else if (this.value === 'theft') {
|
| 425 |
document.getElementById('theftFields').classList.remove('hidden');
|
| 426 |
}
|
| 427 |
-
|
| 428 |
-
if (document.querySelector('input[name="crimeType"]:checked')?.value === 'drugs') {
|
| 429 |
-
document.getElementById('drugFields').classList.remove('hidden');
|
| 430 |
-
}
|
| 431 |
-
});
|
| 432 |
});
|
| 433 |
-
|
| 434 |
-
// Add author field
|
| 435 |
function addAuthorField() {
|
| 436 |
const container = document.getElementById('authorsContainer');
|
| 437 |
const authorCount = container.querySelectorAll('.author-block').length + 1;
|
|
|
|
| 86 |
</button>
|
| 87 |
</div>
|
| 88 |
</nav>
|
|
|
|
| 89 |
<div class="container mx-auto px-4 py-8 max-w-4xl">
|
| 90 |
+
<!-- Menu de Tipo de Crime no início -->
|
| 91 |
+
<div class="glass-card rounded-xl shadow-2xl overflow-hidden mb-6">
|
| 92 |
+
<div class="bg-white bg-opacity-10 px-6 py-4">
|
| 93 |
+
<h2 class="text-xl font-semibold border-b border-white border-opacity-20 pb-2">
|
| 94 |
+
<i data-feather="alert-triangle" class="inline mr-2 w-5 h-5"></i>
|
| 95 |
+
Tipo de Crime *
|
| 96 |
+
</h2>
|
| 97 |
+
<div class="grid grid-cols-2 md:grid-cols-3 gap-3 mt-4">
|
| 98 |
+
<label class="crime-tag cursor-pointer">
|
| 99 |
+
<input type="radio" name="crimeTypeTop" value="drugs" class="hidden peer" required>
|
| 100 |
+
<div class="bg-dark peer-checked:bg-yellow-400 peer-checked:text-black rounded-lg p-3 text-center border border-white border-opacity-20 transition-colors duration-200">
|
| 101 |
+
<i data-feather="package" class="w-5 h-5 mx-auto mb-1"></i>
|
| 102 |
+
Tráfico de Drogas
|
| 103 |
+
</div>
|
| 104 |
+
</label>
|
| 105 |
+
<label class="crime-tag cursor-pointer">
|
| 106 |
+
<input type="radio" name="crimeTypeTop" value="weapons" class="hidden peer">
|
| 107 |
+
<div class="bg-dark peer-checked:bg-yellow-400 peer-checked:text-black rounded-lg p-3 text-center border border-white border-opacity-20 transition-colors duration-200">
|
| 108 |
+
<i data-feather="zap" class="w-5 h-5 mx-auto mb-1"></i>
|
| 109 |
+
Porte Ilegal de Armas
|
| 110 |
+
</div>
|
| 111 |
+
</label>
|
| 112 |
+
<label class="crime-tag cursor-pointer">
|
| 113 |
+
<input type="radio" name="crimeTypeTop" value="homicide" class="hidden peer">
|
| 114 |
+
<div class="bg-dark peer-checked:bg-yellow-400 peer-checked:text-black rounded-lg p-3 text-center border border-white border-opacity-20 transition-colors duration-200">
|
| 115 |
+
<i data-feather="activity" class="w-5 h-5 mx-auto mb-1"></i>
|
| 116 |
+
Autor de Homicídio
|
| 117 |
+
</div>
|
| 118 |
+
</label>
|
| 119 |
+
<label class="crime-tag cursor-pointer">
|
| 120 |
+
<input type="radio" name="crimeTypeTop" value="theft" class="hidden peer">
|
| 121 |
+
<div class="bg-dark peer-checked:bg-yellow-400 peer-checked:text-black rounded-lg p-3 text-center border border-white border-opacity-20 transition-colors duration-200">
|
| 122 |
+
<i data-feather="shield" class="w-5 h-5 mx-auto mb-1"></i>
|
| 123 |
+
Roubo/Furto
|
| 124 |
+
</div>
|
| 125 |
+
</label>
|
| 126 |
+
<label class="crime-tag cursor-pointer">
|
| 127 |
+
<input type="radio" name="crimeTypeTop" value="wanted" class="hidden peer">
|
| 128 |
+
<div class="bg-dark peer-checked:bg-yellow-400 peer-checked:text-black rounded-lg p-3 text-center border border-white border-opacity-20 transition-colors duration-200">
|
| 129 |
+
<i data-feather="eye" class="w-5 h-5 mx-auto mb-1"></i>
|
| 130 |
+
Procurado pela Justiça
|
| 131 |
+
</div>
|
| 132 |
+
</label>
|
| 133 |
+
</div>
|
| 134 |
</div>
|
| 135 |
</div>
|
| 136 |
+
|
| 137 |
+
<div class="glass-card rounded-xl shadow-2xl overflow-hidden">
|
| 138 |
+
<!-- Header -->
|
| 139 |
+
<div class="bg-white bg-opacity-10 px-6 py-4">
|
| 140 |
+
<div class="flex items-center justify-between">
|
| 141 |
+
<div class="flex items-center space-x-3">
|
| 142 |
+
<i data-feather="alert-circle" class="w-8 h-8"></i>
|
| 143 |
+
<h1 class="text-2xl font-bold">Denúncia Anônima</h1>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
<p class="mt-2 text-sm opacity-80">Sua identidade será preservada</p>
|
| 147 |
+
<!-- Emergency Warning -->
|
| 148 |
+
<div class="mt-3 bg-yellow-500 bg-opacity-20 text-yellow-200 px-4 py-2 rounded-lg flex items-center space-x-2">
|
| 149 |
+
<i data-feather="alert-triangle" class="w-5 h-5"></i>
|
| 150 |
+
<span class="text-sm font-semibold">Se estiver correndo risco de vida ligue 190</span>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
<!-- Form -->
|
| 154 |
<form class="p-6 space-y-6">
|
| 155 |
<!-- Section 1: Crime Type -->
|
|
|
|
| 272 |
<span>Adicionar outro autor</span>
|
| 273 |
</button>
|
| 274 |
</div>
|
| 275 |
+
<!-- Section 3: Crime Type (removido do formulário) -->
|
| 276 |
+
<!-- Conteúdo removido -->
|
| 277 |
+
<!-- Dynamic Fields for Drug Trafficking -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 278 |
<div id="drugFields" class="space-y-4 hidden">
|
| 279 |
<h3 class="text-lg font-medium border-b border-white border-opacity-20 pb-1">Detalhes sobre Tráfico</h3>
|
| 280 |
|
|
|
|
| 408 |
<script>
|
| 409 |
// Initialize feather icons
|
| 410 |
feather.replace();
|
| 411 |
+
// Show/hide dynamic fields based on crime type (top menu)
|
| 412 |
+
document.querySelectorAll('input[name="crimeTypeTop"]').forEach(radio => {
|
| 413 |
radio.addEventListener('change', function() {
|
| 414 |
// Hide all dynamic sections
|
| 415 |
document.getElementById('drugFields').classList.add('hidden');
|
|
|
|
| 426 |
} else if (this.value === 'theft') {
|
| 427 |
document.getElementById('theftFields').classList.remove('hidden');
|
| 428 |
}
|
| 429 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
| 430 |
});
|
| 431 |
+
// Add author field
|
|
|
|
| 432 |
function addAuthorField() {
|
| 433 |
const container = document.getElementById('authorsContainer');
|
| 434 |
const authorCount = container.querySelectorAll('.author-block').length + 1;
|