Review the layout of the interface and remodel it, while maintaining compomenets, /
Browse files- index.html +223 -225
index.html
CHANGED
|
@@ -379,43 +379,42 @@
|
|
| 379 |
</div>
|
| 380 |
</div>
|
| 381 |
</div>
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 394 |
</div>
|
| 395 |
-
<div class="
|
| 396 |
-
<div
|
|
|
|
| 397 |
</div>
|
| 398 |
-
<div class="
|
| 399 |
-
<div class="
|
| 400 |
-
|
| 401 |
-
<div class="w-3 h-3 rounded-full bg-red-500 mr-1"></div>
|
| 402 |
-
<span class="text-xs">High Risk</span>
|
| 403 |
-
</div>
|
| 404 |
-
<div class="flex items-center">
|
| 405 |
-
<div class="w-3 h-3 rounded-full bg-yellow-500 mr-1"></div>
|
| 406 |
-
<span class="text-xs">Medium Risk</span>
|
| 407 |
-
</div>
|
| 408 |
-
<div class="flex items-center">
|
| 409 |
-
<div class="w-3 h-3 rounded-full bg-green-500 mr-1"></div>
|
| 410 |
-
<span class="text-xs">Low Risk</span>
|
| 411 |
-
</div>
|
| 412 |
-
</div>
|
| 413 |
-
<button class="text-sm text-indigo-600 dark:text-indigo-400 hover:text-indigo-800 dark:hover:text-indigo-300 flex items-center">
|
| 414 |
-
<i class="fas fa-layer-group mr-1"></i> Layers
|
| 415 |
-
</button>
|
| 416 |
</div>
|
| 417 |
</div>
|
| 418 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 419 |
<!-- Temporal Analysis -->
|
| 420 |
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
|
| 421 |
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
|
|
@@ -438,6 +437,196 @@
|
|
| 438 |
</button>
|
| 439 |
</div>
|
| 440 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 441 |
</div>
|
| 442 |
|
| 443 |
<!-- Right Sidebar - Alerts and Results -->
|
|
@@ -546,198 +735,7 @@
|
|
| 546 |
</div>
|
| 547 |
</div>
|
| 548 |
</div>
|
| 549 |
-
|
| 550 |
-
<!-- Ecosystem Analytics -->
|
| 551 |
-
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
|
| 552 |
-
<!-- Weather and Climate -->
|
| 553 |
-
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
|
| 554 |
-
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
|
| 555 |
-
<h3 class="font-semibold flex items-center">
|
| 556 |
-
<i class="fas fa-cloud-sun text-blue-500 mr-2"></i>
|
| 557 |
-
Weather & Climate Impact
|
| 558 |
-
</h3>
|
| 559 |
-
</div>
|
| 560 |
-
<div class="p-4">
|
| 561 |
-
<div class="grid grid-cols-3 gap-4 text-center mb-4">
|
| 562 |
-
<div class="p-3 rounded-lg bg-blue-50 dark:bg-blue-900">
|
| 563 |
-
<div class="text-2xl font-bold">28°C</div>
|
| 564 |
-
<div class="text-xs text-gray-500 dark:text-gray-300 mt-1">Temperature</div>
|
| 565 |
-
</div>
|
| 566 |
-
<div class="p-3 rounded-lg bg-green-50 dark:bg-green-900">
|
| 567 |
-
<div class="text-2xl font-bold">76%</div>
|
| 568 |
-
<div class="text-xs text-gray-500 dark:text-gray-300 mt-1">Humidity</div>
|
| 569 |
-
</div>
|
| 570 |
-
<div class="p-3 rounded-lg bg-purple-50 dark:bg-purple-900">
|
| 571 |
-
<div class="text-2xl font-bold">12mm</div>
|
| 572 |
-
<div class="text-xs text-gray-500 dark:text-gray-300 mt-1">Rainfall</div>
|
| 573 |
-
</div>
|
| 574 |
-
</div>
|
| 575 |
-
<canvas id="weatherChart" height="180"></canvas>
|
| 576 |
-
</div>
|
| 577 |
-
<div class="p-4 border-t border-gray-200 dark:border-gray-700 text-sm text-gray-600 dark:text-gray-300">
|
| 578 |
-
<i class="fas fa-info-circle text-indigo-500 mr-1"></i> Next 3 days expected to increase suitability scores by 1-2 points
|
| 579 |
-
</div>
|
| 580 |
-
</div>
|
| 581 |
-
|
| 582 |
-
<!-- Model Performance -->
|
| 583 |
-
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
|
| 584 |
-
<div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
|
| 585 |
-
<h3 class="font-semibold flex items-center">
|
| 586 |
-
<i class="fas fa-brain text-purple-500 mr-2"></i>
|
| 587 |
-
Model Performance
|
| 588 |
-
</h3>
|
| 589 |
-
<div class="flex space-x-2">
|
| 590 |
-
<button class="text-xs px-2 py-1 rounded bg-indigo-50 dark:bg-indigo-900 text-indigo-700 dark:text-indigo-200">XGBoost</button>
|
| 591 |
-
<button class="text-xs px-2 py-1 rounded hover:bg-gray-100 dark:hover:bg-gray-700">LSTM</button>
|
| 592 |
-
</div>
|
| 593 |
-
</div>
|
| 594 |
-
<div class="p-4">
|
| 595 |
-
<canvas id="modelChart" height="180"></canvas>
|
| 596 |
-
</div>
|
| 597 |
-
<div class="p-4 border-t border-gray-200 dark:border-gray-700 grid grid-cols-3 gap-2 text-center">
|
| 598 |
-
<div>
|
| 599 |
-
<div class="text-lg font-bold text-green-500">94%</div>
|
| 600 |
-
<div class="text-xs text-gray-500 dark:text-gray-300">Accuracy</div>
|
| 601 |
-
</div>
|
| 602 |
-
<div>
|
| 603 |
-
<div class="text-lg font-bold text-blue-500">92%</div>
|
| 604 |
-
<div class="text-xs text-gray-500 dark:text-gray-300">Precision</div>
|
| 605 |
-
</div>
|
| 606 |
-
<div>
|
| 607 |
-
<div class="text-lg font-bold text-purple-500">89%</div>
|
| 608 |
-
<div class="text-xs text-gray-500 dark:text-gray-300">Recall</div>
|
| 609 |
-
</div>
|
| 610 |
-
</div>
|
| 611 |
-
</div>
|
| 612 |
-
</div>
|
| 613 |
-
|
| 614 |
-
<!-- Recent Detections -->
|
| 615 |
-
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden mb-6">
|
| 616 |
-
<div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
|
| 617 |
-
<h3 class="font-semibold flex items-center">
|
| 618 |
-
<i class="fas fa-search-location text-indigo-500 mr-2"></i>
|
| 619 |
-
Recent Detections
|
| 620 |
-
</h3>
|
| 621 |
-
<button class="text-sm text-indigo-600 dark:text-indigo-400 hover:text-indigo-800 dark:hover:text-indigo-300 flex items-center">
|
| 622 |
-
<i class="fas fa-filter mr-1"></i> Filter
|
| 623 |
-
</button>
|
| 624 |
-
</div>
|
| 625 |
-
<div class="overflow-x-auto">
|
| 626 |
-
<table class="min-w-full divide-y divide-gray-200 dark:divide-gray-700">
|
| 627 |
-
<thead class="bg-gray-50 dark:bg-gray-700">
|
| 628 |
-
<tr>
|
| 629 |
-
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Timestamp</th>
|
| 630 |
-
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Location</th>
|
| 631 |
-
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Confidence</th>
|
| 632 |
-
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Environmental Data</th>
|
| 633 |
-
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Actions</th>
|
| 634 |
-
</tr>
|
| 635 |
-
</thead>
|
| 636 |
-
<tbody class="bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700">
|
| 637 |
-
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 638 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">10:23 AM</td>
|
| 639 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 640 |
-
<div class="text-sm font-medium">Lagos (6.5244, 3.3792)</div>
|
| 641 |
-
</td>
|
| 642 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 643 |
-
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200">
|
| 644 |
-
98%
|
| 645 |
-
</span>
|
| 646 |
-
</td>
|
| 647 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 648 |
-
<div>Temp: 28°C</div>
|
| 649 |
-
<div>Humidity: 76%</div>
|
| 650 |
-
</td>
|
| 651 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 652 |
-
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 653 |
-
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 654 |
-
</td>
|
| 655 |
-
</tr>
|
| 656 |
-
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 657 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">09:47 AM</td>
|
| 658 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 659 |
-
<div class="text-sm font-medium">Ogun (7.1557, 3.3456)</div>
|
| 660 |
-
</td>
|
| 661 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 662 |
-
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200">
|
| 663 |
-
87%
|
| 664 |
-
</span>
|
| 665 |
-
</td>
|
| 666 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 667 |
-
<div>Temp: 26°C</div>
|
| 668 |
-
<div>Humidity: 82%</div>
|
| 669 |
-
</td>
|
| 670 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 671 |
-
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 672 |
-
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 673 |
-
</td>
|
| 674 |
-
</tr>
|
| 675 |
-
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 676 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">08:12 AM</td>
|
| 677 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 678 |
-
<div class="text-sm font-medium">Kano (12.0024, 8.5923)</div>
|
| 679 |
-
</td>
|
| 680 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 681 |
-
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200">
|
| 682 |
-
96%
|
| 683 |
-
</span>
|
| 684 |
-
</td>
|
| 685 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 686 |
-
<div>Temp: 30°C</div>
|
| 687 |
-
<div>Humidity: 65%</div>
|
| 688 |
-
</td>
|
| 689 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 690 |
-
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 691 |
-
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 692 |
-
</td>
|
| 693 |
-
</tr>
|
| 694 |
-
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 695 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">07:35 AM</td>
|
| 696 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 697 |
-
<div class="text-sm font-medium">Rivers (4.8156, 7.0498)</div>
|
| 698 |
-
</td>
|
| 699 |
-
<td class="px-6 py-4 whitespace-nowrap">
|
| 700 |
-
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200">
|
| 701 |
-
82%
|
| 702 |
-
</span>
|
| 703 |
-
</td>
|
| 704 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 705 |
-
<div>Temp: 25°C</div>
|
| 706 |
-
<div>Humidity: 88%</div>
|
| 707 |
-
</td>
|
| 708 |
-
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 709 |
-
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 710 |
-
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 711 |
-
</td>
|
| 712 |
-
</tr>
|
| 713 |
-
</tbody>
|
| 714 |
-
</table>
|
| 715 |
-
</div>
|
| 716 |
-
<div class="px-6 py-4 border-t border-gray-200 dark:border-gray-700 flex items-center justify-between">
|
| 717 |
-
<div class="flex-1 flex justify-between sm:hidden">
|
| 718 |
-
<a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 text-sm font-medium rounded-md text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"> Previous </a>
|
| 719 |
-
<a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 text-sm font-medium rounded-md text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"> Next </a>
|
| 720 |
-
</div>
|
| 721 |
-
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
|
| 722 |
-
<div>
|
| 723 |
-
<p class="text-sm text-gray-700 dark:text-gray-300"> Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">127</span> results </p>
|
| 724 |
-
</div>
|
| 725 |
-
<div>
|
| 726 |
-
<nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
|
| 727 |
-
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-500 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600"> <span class="sr-only">Previous</span> <i class="fas fa-chevron-left"></i> </a>
|
| 728 |
-
<a href="#" aria-current="page" class="z-10 bg-indigo-50 dark:bg-indigo-900 border-indigo-500 dark:border-indigo-700 text-indigo-600 dark:text-indigo-300 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a>
|
| 729 |
-
<a href="#" class="bg-white dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a>
|
| 730 |
-
<a href="#" class="bg-white dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a>
|
| 731 |
-
<span class="relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-700 dark:text-gray-300"> ... </span>
|
| 732 |
-
<a href="#" class="bg-white dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 8 </a>
|
| 733 |
-
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-500 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600"> <span class="sr-only">Next</span> <i class="fas fa-chevron-right"></i> </a>
|
| 734 |
-
</nav>
|
| 735 |
-
</div>
|
| 736 |
-
</div>
|
| 737 |
-
</div>
|
| 738 |
-
</div>
|
| 739 |
-
|
| 740 |
-
<!-- AI Assistant Panel -->
|
| 741 |
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden mb-6">
|
| 742 |
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
|
| 743 |
<h3 class="font-semibold flex items-center">
|
|
|
|
| 379 |
</div>
|
| 380 |
</div>
|
| 381 |
</div>
|
| 382 |
+
<!-- Map Visualization -->
|
| 383 |
+
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden mb-6">
|
| 384 |
+
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
|
| 385 |
+
<h3 class="font-semibold flex items-center">
|
| 386 |
+
<i class="fas fa-map-marked-alt text-indigo-500 mr-2"></i>
|
| 387 |
+
Geospatial Habitat Analysis
|
| 388 |
+
</h3>
|
| 389 |
+
</div>
|
| 390 |
+
<div class="p-4">
|
| 391 |
+
<div id="map" class="map-container rounded-md"></div>
|
| 392 |
+
</div>
|
| 393 |
+
<div class="p-4 border-t border-gray-200 dark:border-gray-700 flex justify-between items-center">
|
| 394 |
+
<div class="flex space-x-2">
|
| 395 |
+
<div class="flex items-center">
|
| 396 |
+
<div class="w-3 h-3 rounded-full bg-red-500 mr-1"></div>
|
| 397 |
+
<span class="text-xs">High Risk</span>
|
| 398 |
</div>
|
| 399 |
+
<div class="flex items-center">
|
| 400 |
+
<div class="w-3 h-3 rounded-full bg-yellow-500 mr-1"></div>
|
| 401 |
+
<span class="text-xs">Medium Risk</span>
|
| 402 |
</div>
|
| 403 |
+
<div class="flex items-center">
|
| 404 |
+
<div class="w-3 h-3 rounded-full bg-green-500 mr-1"></div>
|
| 405 |
+
<span class="text-xs">Low Risk</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 406 |
</div>
|
| 407 |
</div>
|
| 408 |
+
<button class="text-sm text-indigo-600 dark:text-indigo-400 hover:text-indigo-800 dark:hover:text-indigo-300 flex items-center">
|
| 409 |
+
<i class="fas fa-layer-group mr-1"></i> Layers
|
| 410 |
+
</button>
|
| 411 |
+
</div>
|
| 412 |
+
</div>
|
| 413 |
+
|
| 414 |
+
<!-- Main Dashboard Content -->
|
| 415 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
|
| 416 |
+
<!-- Left Column -->
|
| 417 |
+
<div class="lg:col-span-2 space-y-6">
|
| 418 |
<!-- Temporal Analysis -->
|
| 419 |
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
|
| 420 |
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
|
|
|
|
| 437 |
</button>
|
| 438 |
</div>
|
| 439 |
</div>
|
| 440 |
+
|
| 441 |
+
<!-- Ecosystem Analytics -->
|
| 442 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 443 |
+
<!-- Weather and Climate -->
|
| 444 |
+
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
|
| 445 |
+
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
|
| 446 |
+
<h3 class="font-semibold flex items-center">
|
| 447 |
+
<i class="fas fa-cloud-sun text-blue-500 mr-2"></i>
|
| 448 |
+
Weather & Climate Impact
|
| 449 |
+
</h3>
|
| 450 |
+
</div>
|
| 451 |
+
<div class="p-4">
|
| 452 |
+
<div class="grid grid-cols-3 gap-4 text-center mb-4">
|
| 453 |
+
<div class="p-3 rounded-lg bg-blue-50 dark:bg-blue-900">
|
| 454 |
+
<div class="text-2xl font-bold">28°C</div>
|
| 455 |
+
<div class="text-xs text-gray-500 dark:text-gray-300 mt-1">Temperature</div>
|
| 456 |
+
</div>
|
| 457 |
+
<div class="p-3 rounded-lg bg-green-50 dark:bg-green-900">
|
| 458 |
+
<div class="text-2xl font-bold">76%</div>
|
| 459 |
+
<div class="text-xs text-gray-500 dark:text-gray-300 mt-1">Humidity</div>
|
| 460 |
+
</div>
|
| 461 |
+
<div class="p-3 rounded-lg bg-purple-50 dark:bg-purple-900">
|
| 462 |
+
<div class="text-2xl font-bold">12mm</div>
|
| 463 |
+
<div class="text-xs text-gray-500 dark:text-gray-300 mt-1">Rainfall</div>
|
| 464 |
+
</div>
|
| 465 |
+
</div>
|
| 466 |
+
<canvas id="weatherChart" height="180"></canvas>
|
| 467 |
+
</div>
|
| 468 |
+
<div class="p-4 border-t border-gray-200 dark:border-gray-700 text-sm text-gray-600 dark:text-gray-300">
|
| 469 |
+
<i class="fas fa-info-circle text-indigo-500 mr-1"></i> Next 3 days expected to increase suitability scores by 1-2 points
|
| 470 |
+
</div>
|
| 471 |
+
</div>
|
| 472 |
+
|
| 473 |
+
<!-- Model Performance -->
|
| 474 |
+
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
|
| 475 |
+
<div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
|
| 476 |
+
<h3 class="font-semibold flex items-center">
|
| 477 |
+
<i class="fas fa-brain text-purple-500 mr-2"></i>
|
| 478 |
+
Model Performance
|
| 479 |
+
</h3>
|
| 480 |
+
<div class="flex space-x-2">
|
| 481 |
+
<button class="text-xs px-2 py-1 rounded bg-indigo-50 dark:bg-indigo-900 text-indigo-700 dark:text-indigo-200">XGBoost</button>
|
| 482 |
+
<button class="text-xs px-2 py-1 rounded hover:bg-gray-100 dark:hover:bg-gray-700">LSTM</button>
|
| 483 |
+
</div>
|
| 484 |
+
</div>
|
| 485 |
+
<div class="p-4">
|
| 486 |
+
<canvas id="modelChart" height="180"></canvas>
|
| 487 |
+
</div>
|
| 488 |
+
<div class="p-4 border-t border-gray-200 dark:border-gray-700 grid grid-cols-3 gap-2 text-center">
|
| 489 |
+
<div>
|
| 490 |
+
<div class="text-lg font-bold text-green-500">94%</div>
|
| 491 |
+
<div class="text-xs text-gray-500 dark:text-gray-300">Accuracy</div>
|
| 492 |
+
</div>
|
| 493 |
+
<div>
|
| 494 |
+
<div class="text-lg font-bold text-blue-500">92%</div>
|
| 495 |
+
<div class="text-xs text-gray-500 dark:text-gray-300">Precision</div>
|
| 496 |
+
</div>
|
| 497 |
+
<div>
|
| 498 |
+
<div class="text-lg font-bold text-purple-500">89%</div>
|
| 499 |
+
<div class="text-xs text-gray-500 dark:text-gray-300">Recall</div>
|
| 500 |
+
</div>
|
| 501 |
+
</div>
|
| 502 |
+
</div>
|
| 503 |
+
</div>
|
| 504 |
+
|
| 505 |
+
<!-- Recent Detections -->
|
| 506 |
+
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden">
|
| 507 |
+
<div class="p-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center">
|
| 508 |
+
<h3 class="font-semibold flex items-center">
|
| 509 |
+
<i class="fas fa-search-location text-indigo-500 mr-2"></i>
|
| 510 |
+
Recent Detections
|
| 511 |
+
</h3>
|
| 512 |
+
<button class="text-sm text-indigo-600 dark:text-indigo-400 hover:text-indigo-800 dark:hover:text-indigo-300 flex items-center">
|
| 513 |
+
<i class="fas fa-filter mr-1"></i> Filter
|
| 514 |
+
</button>
|
| 515 |
+
</div>
|
| 516 |
+
<div class="overflow-x-auto">
|
| 517 |
+
<table class="min-w-full divide-y divide-gray-200 dark:divide-gray-700">
|
| 518 |
+
<thead class="bg-gray-50 dark:bg-gray-700">
|
| 519 |
+
<tr>
|
| 520 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Timestamp</th>
|
| 521 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Location</th>
|
| 522 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Confidence</th>
|
| 523 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Environmental Data</th>
|
| 524 |
+
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">Actions</th>
|
| 525 |
+
</tr>
|
| 526 |
+
</thead>
|
| 527 |
+
<tbody class="bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700">
|
| 528 |
+
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 529 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">10:23 AM</td>
|
| 530 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 531 |
+
<div class="text-sm font-medium">Lagos (6.5244, 3.3792)</div>
|
| 532 |
+
</td>
|
| 533 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 534 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200">
|
| 535 |
+
98%
|
| 536 |
+
</span>
|
| 537 |
+
</td>
|
| 538 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 539 |
+
<div>Temp: 28°C</div>
|
| 540 |
+
<div>Humidity: 76%</div>
|
| 541 |
+
</td>
|
| 542 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 543 |
+
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 544 |
+
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 545 |
+
</td>
|
| 546 |
+
</tr>
|
| 547 |
+
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 548 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">09:47 AM</td>
|
| 549 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 550 |
+
<div class="text-sm font-medium">Ogun (7.1557, 3.3456)</div>
|
| 551 |
+
</td>
|
| 552 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 553 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200">
|
| 554 |
+
87%
|
| 555 |
+
</span>
|
| 556 |
+
</td>
|
| 557 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 558 |
+
<div>Temp: 26°C</div>
|
| 559 |
+
<div>Humidity: 82%</div>
|
| 560 |
+
</td>
|
| 561 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 562 |
+
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 563 |
+
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 564 |
+
</td>
|
| 565 |
+
</tr>
|
| 566 |
+
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 567 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">08:12 AM</td>
|
| 568 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 569 |
+
<div class="text-sm font-medium">Kano (12.0024, 8.5923)</div>
|
| 570 |
+
</td>
|
| 571 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 572 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200">
|
| 573 |
+
96%
|
| 574 |
+
</span>
|
| 575 |
+
</td>
|
| 576 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 577 |
+
<div>Temp: 30°C</div>
|
| 578 |
+
<div>Humidity: 65%</div>
|
| 579 |
+
</td>
|
| 580 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 581 |
+
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 582 |
+
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 583 |
+
</td>
|
| 584 |
+
</tr>
|
| 585 |
+
<tr class="hover:bg-gray-50 dark:hover:bg-gray-700">
|
| 586 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">07:35 AM</td>
|
| 587 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 588 |
+
<div class="text-sm font-medium">Rivers (4.8156, 7.0498)</div>
|
| 589 |
+
</td>
|
| 590 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 591 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200">
|
| 592 |
+
82%
|
| 593 |
+
</span>
|
| 594 |
+
</td>
|
| 595 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-300">
|
| 596 |
+
<div>Temp: 25°C</div>
|
| 597 |
+
<div>Humidity: 88%</div>
|
| 598 |
+
</td>
|
| 599 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
|
| 600 |
+
<a href="#" class="text-indigo-600 dark:text-indigo-400 hover:text-indigo-900 dark:hover:text-indigo-300 mr-3">View</a>
|
| 601 |
+
<a href="#" class="text-red-600 dark:text-red-400 hover:text-red-900 dark:hover:text-red-300">Flag</a>
|
| 602 |
+
</td>
|
| 603 |
+
</tr>
|
| 604 |
+
</tbody>
|
| 605 |
+
</table>
|
| 606 |
+
</div>
|
| 607 |
+
<div class="px-6 py-4 border-t border-gray-200 dark:border-gray-700 flex items-center justify-between">
|
| 608 |
+
<div class="flex-1 flex justify-between sm:hidden">
|
| 609 |
+
<a href="#" class="relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 text-sm font-medium rounded-md text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"> Previous </a>
|
| 610 |
+
<a href="#" class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 text-sm font-medium rounded-md text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600"> Next </a>
|
| 611 |
+
</div>
|
| 612 |
+
<div class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between">
|
| 613 |
+
<div>
|
| 614 |
+
<p class="text-sm text-gray-700 dark:text-gray-300"> Showing <span class="font-medium">1</span> to <span class="font-medium">4</span> of <span class="font-medium">127</span> results </p>
|
| 615 |
+
</div>
|
| 616 |
+
<div>
|
| 617 |
+
<nav class="relative z-0 inline-flex rounded-md shadow-sm -space-x-px" aria-label="Pagination">
|
| 618 |
+
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-500 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600"> <span class="sr-only">Previous</span> <i class="fas fa-chevron-left"></i> </a>
|
| 619 |
+
<a href="#" aria-current="page" class="z-10 bg-indigo-50 dark:bg-indigo-900 border-indigo-500 dark:border-indigo-700 text-indigo-600 dark:text-indigo-300 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 1 </a>
|
| 620 |
+
<a href="#" class="bg-white dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 2 </a>
|
| 621 |
+
<a href="#" class="bg-white dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 3 </a>
|
| 622 |
+
<span class="relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-700 dark:text-gray-300"> ... </span>
|
| 623 |
+
<a href="#" class="bg-white dark:bg-gray-700 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600 relative inline-flex items-center px-4 py-2 border text-sm font-medium"> 8 </a>
|
| 624 |
+
<a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-500 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600"> <span class="sr-only">Next</span> <i class="fas fa-chevron-right"></i> </a>
|
| 625 |
+
</nav>
|
| 626 |
+
</div>
|
| 627 |
+
</div>
|
| 628 |
+
</div>
|
| 629 |
+
</div>
|
| 630 |
</div>
|
| 631 |
|
| 632 |
<!-- Right Sidebar - Alerts and Results -->
|
|
|
|
| 735 |
</div>
|
| 736 |
</div>
|
| 737 |
</div>
|
| 738 |
+
<!-- AI Assistant Panel -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 739 |
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden mb-6">
|
| 740 |
<div class="p-4 border-b border-gray-200 dark:border-gray-700">
|
| 741 |
<h3 class="font-semibold flex items-center">
|