File size: 10,565 Bytes
177b05d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02544c9
 
 
 
 
 
 
06909b3
 
 
ae98c14
 
 
06909b3
02544c9
177b05d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>FlameGuardian - Security Monitoring</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Poppins', sans-serif;
        }
        .security-feed {
            aspect-ratio: 16/9;
        }
        .alert-badge {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen">
    <div class="container mx-auto px-4 py-8">
        <div class="flex justify-between items-center mb-8">
            <h1 class="text-2xl font-bold text-gray-800 flex items-center">
                <i data-feather="shield" class="mr-2"></i>
                Security & Intrusion Monitoring
            </h1>
                <div class="flex space-x-4">
                    <a href="index.html" class="text-blue-600 hover:text-blue-800 flex items-center">
                        <i data-feather="arrow-left" class="mr-1"></i> Back to Dashboard
                    </a>
                    <a href="yolov13.html" class="text-blue-600 hover:text-blue-800 flex items-center">
                        <i data-feather="cpu" class="mr-1"></i> YOLOv13 AI
                    </a>
                    <a href="yolov11.html" class="text-blue-600 hover:text-blue-800 flex items-center">
                        <i data-feather="cpu" class="mr-1"></i> YOLOv11
                    </a>
                    <a href="ai-control.html" class="text-blue-600 hover:text-blue-800 flex items-center">
                        <i data-feather="brain" class="mr-1"></i> AI Control
                    </a>
</div>
</div>

        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
            <!-- Security Feeds -->
            <div class="lg:col-span-2 bg-white rounded-xl shadow-md p-6">
                <div class="flex justify-between items-center mb-4">
                    <h2 class="text-lg font-semibold flex items-center">
                        <i data-feather="monitor" class="mr-2"></i>
                        Security Camera Feeds
                    </h2>
                    <div class="flex space-x-2">
                        <button class="px-3 py-1 bg-red-100 text-red-600 rounded-full text-sm flex items-center">
                            <span class="w-2 h-2 bg-red-600 rounded-full mr-2 alert-badge"></span>
                            3 Alerts
                        </button>
                    </div>
                </div>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                    <div class="bg-gray-200 rounded-lg overflow-hidden relative security-feed">
                        <img src="http://static.photos/security/640x360" alt="Security Feed 1" class="w-full h-full object-cover">
                        <div class="absolute top-2 right-2 bg-red-500 text-white px-2 py-1 rounded text-xs flex items-center">
                            <i data-feather="alert-triangle" class="w-3 h-3 mr-1"></i>
                            INTRUSION
                        </div>
                        <div class="bg-black/50 text-white px-2 py-1 absolute bottom-2 left-2 rounded text-xs">
                            SEC-01 (Main Entrance)
                        </div>
                    </div>
                    <div class="bg-gray-200 rounded-lg overflow-hidden relative security-feed">
                        <img src="http://static.photos/security/640x360" alt="Security Feed 2" class="w-full h-full object-cover">
                        <div class="absolute top-2 right-2 bg-yellow-500 text-white px-2 py-1 rounded text-xs flex items-center">
                            <i data-feather="user" class="w-3 h-3 mr-1"></i>
                            PERSON
                        </div>
                        <div class="bg-black/50 text-white px-2 py-1 absolute bottom-2 left-2 rounded text-xs">
                            SEC-02 (Back Door)
                        </div>
                    </div>
                </div>
            </div>

            <!-- AI Analysis -->
            <div class="bg-white rounded-xl shadow-md p-6">
                <h2 class="text-lg font-semibold mb-4 flex items-center">
                    <i data-feather="cpu" class="mr-2"></i>
                    AI Threat Analysis
                </h2>
                <div class="space-y-4">
                    <div class="bg-red-50 p-4 rounded-lg">
                        <div class="flex items-start">
                            <div class="mr-3">
                                <div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center">
                                    <i data-feather="alert-octagon" class="w-4 h-4 text-red-500"></i>
                                </div>
                            </div>
                            <div>
                                <h3 class="font-medium text-gray-800">Intrusion Detected</h3>
                                <p class="text-sm text-gray-600">Main Entrance | 87% confidence</p>
                                <p class="text-xs text-gray-500 mt-1">2 minutes ago</p>
                            </div>
                        </div>
                    </div>
                    <div class="bg-yellow-50 p-4 rounded-lg">
                        <div class="flex items-start">
                            <div class="mr-3">
                                <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center">
                                    <i data-feather="user" class="w-4 h-4 text-yellow-500"></i>
                                </div>
                            </div>
                            <div>
                                <h3 class="font-medium text-gray-800">Unauthorized Person</h3>
                                <p class="text-sm text-gray-600">Storage Area | 92% confidence</p>
                                <p class="text-xs text-gray-500 mt-1">15 minutes ago</p>
                            </div>
                        </div>
                    </div>
                    <div class="p-4">
                        <div class="flex justify-between text-sm mb-1">
                            <span class="text-gray-600">Detection Accuracy</span>
                            <span class="font-medium">96.2%</span>
                        </div>
                        <div class="w-full bg-gray-200 rounded-full h-2">
                            <div class="bg-green-500 h-2 rounded-full" style="width: 96.2%"></div>
                        </div>
                    </div>
                    <button class="w-full bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 transition flex items-center justify-center">
                        <i data-feather="eye" class="mr-2"></i>
                        View Full Analysis
                    </button>
                </div>
            </div>
        </div>

        <!-- SSI Configuration -->
        <div class="bg-white rounded-xl shadow-md p-6 mb-8">
            <h2 class="text-lg font-semibold mb-4 flex items-center">
                <i data-feather="lock" class="mr-2"></i>
                Security System Integration (SSI)
            </h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <div>
                    <h3 class="font-medium text-gray-800 mb-3">Access Control</h3>
                    <div class="space-y-4">
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">SSI Server Address</label>
                            <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500" placeholder="192.168.1.100">
                        </div>
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">API Key</label>
                            <input type="password" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500">
                        </div>
                        <button class="w-full bg-green-600 text-white py-2 px-4 rounded-md hover:bg-green-700 transition">
                            <i data-feather="link" class="inline mr-2"></i>
                            Connect to SSI
                        </button>
                    </div>
                </div>
                <div>
                    <h3 class="font-medium text-gray-800 mb-3">Intrusion Settings</h3>
                    <div class="space-y-4">
                        <div>
                            <label class="block text-sm font-medium text-gray-700 mb-1">Sensitivity Level</label>
                            <input type="range" min="1" max="10" value="7" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer">
                        </div>
                        <div class="flex items-center">
                            <input type="checkbox" id="enableMotion" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded" checked>
                            <label for="enableMotion" class="ml-2 block text-sm text-gray-700">Motion Detection</label>
                        </div>
                        <div class="flex items-center">
                            <input type="checkbox" id="enableFacial" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
                            <label for="enableFacial" class="ml-2 block text-sm text-gray-700">Facial Recognition</label>
                        </div>
                        <button class="w-full bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 transition">
                            <i data-feather="save" class="inline mr-2"></i>
                            Save Settings
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        feather.replace();
    </script>
</body>
</html>