Spaces:
Running
Running
File size: 10,181 Bytes
2cc3187 | 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 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | <!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HackPulse - Configurações</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.settings-card {
transition: all 0.3s ease;
border: 1px solid #4c1d95;
}
.settings-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #374151;
transition: .4s;
border-radius: 24px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #7e22ce;
}
input:checked + .slider:before {
transform: translateX(26px);
}
</style>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<div class="container mx-auto px-4 py-8">
<h1 class="text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-600 mb-8">
<i data-feather="settings" class="inline mr-2"></i> Configurações
</h1>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Sidebar -->
<div class="lg:col-span-1">
<div class="settings-card bg-gray-800 rounded-lg p-6">
<nav>
<ul class="space-y-4">
<li>
<a href="#" class="flex items-center text-purple-400">
<i data-feather="user" class="mr-3"></i> Perfil
</a>
</li>
<li>
<a href="#" class="flex items-center text-gray-400 hover:text-purple-400">
<i data-feather="shield" class="mr-3"></i> Segurança
</a>
</li>
<li>
<a href="#" class="flex items-center text-gray-400 hover:text-purple-400">
<i data-feather="bell" class="mr-3"></i> Notificações
</a>
</li>
<li>
<a href="#" class="flex items-center text-gray-400 hover:text-purple-400">
<i data-feather="tool" class="mr-3"></i> Ferramentas
</a>
</li>
<li>
<a href="#" class="flex items-center text-gray-400 hover:text-purple-400">
<i data-feather="database" class="mr-3"></i> Armazenamento
</a>
</li>
<li>
<a href="#" class="flex items-center text-gray-400 hover:text-purple-400">
<i data-feather="help-circle" class="mr-3"></i> Ajuda
</a>
</li>
</ul>
</nav>
</div>
</div>
<!-- Main Content -->
<div class="lg:col-span-2">
<div class="settings-card bg-gray-800 rounded-lg p-6 mb-6">
<h2 class="text-xl font-semibold mb-6">Configurações de Perfil</h2>
<form>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Nome Completo</label>
<input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:border-purple-500 focus:outline-none" value="Hacker Anônimo">
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Email</label>
<input type="email" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:border-purple-500 focus:outline-none" value="hacker@protonmail.com">
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Bio</label>
<textarea class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-2 focus:border-purple-500 focus:outline-none" rows="3">Pentester ético especializado em segurança web</textarea>
</div>
<div class="flex justify-end">
<button class="bg-purple-600 hover:bg-purple-700 text-white px-6 py-2 rounded-lg font-medium">Salvar Alterações</button>
</div>
</form>
</div>
<div class="settings-card bg-gray-800 rounded-lg p-6 mb-6">
<h2 class="text-xl font-semibold mb-6">Preferências</h2>
<div class="space-y-6">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium">Tema Escuro</h3>
<p class="text-sm text-gray-400">Ativar o modo escuro em todas as páginas</p>
</div>
<label class="switch">
<input type="checkbox" checked>
<span class="slider"></span>
</label>
</div>
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium">Notificações por Email</h3>
<p class="text-sm text-gray-400">Receber alertas por email quando um scan for concluído</p>
</div>
<label class="switch">
<input type="checkbox" checked>
<span class="slider"></span>
</label>
</div>
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium">Compactar Resultados</h3>
<p class="text-sm text-gray-400">Reduzir o tamanho dos relatórios de scan</p>
</div>
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>
</div>
<div class="settings-card bg-gray-800 rounded-lg p-6">
<h2 class="text-xl font-semibold mb-6">Configurações Avançadas</h2>
<div class="mb-4">
<label class="block text-gray-400 mb-2">Diretório de Trabalho</label>
<div class="flex">
<input type="text" class="flex-1 bg-gray-700 border border-gray-600 rounded-l-lg px-4 py-2 focus:border-purple-500 focus:outline-none" value="/home/user/hackpulse_workspace" readonly>
<button class="bg-gray-600 hover:bg-gray-500 text-white px-4 py-2 rounded-r-lg">Alterar</button>
</div>
<p class="text-xs text-gray-500 mt-2">Local onde serão salvos os relatórios e exploits</p>
</div>
<div class="mb-4">
<label class="block text-gray-400 mb-2">API Key</label>
<div class="flex">
<input type="password" class="flex-1 bg-gray-700 border border-gray-600 rounded-l-lg px-4 py-2 focus:border-purple-500 focus:outline-none" value="sk_1234567890abcdef">
<button class="bg-gray-600 hover:bg-gray-500 text-white px-4 py-2 rounded-r-lg">
<i data-feather="eye"></i>
</button>
</div>
<p class="text-xs text-gray-500 mt-2">Chave para integração com outras ferramentas</p>
</div>
<div class="flex justify-between items-center mt-8">
<div>
<h3 class="font-medium">Modo de Teste</h3>
<p class="text-sm text-gray-400">Ativar ambiente de testes seguro</p>
</div>
<label class="switch">
<input type="checkbox">
<span class="slider"></span>
</label>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
</script>
</body>
</html> |