<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <title>OP Admin Panel | Secure Reporting Suite</title> <!-- Font Awesome 6 (Free Icons) --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <!-- Google Fonts: Inter & JetBrains Mono for modern admin look --> <link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> <style> * margin: 0; padding: 0; box-sizing: border-box;
// op fe admin panel gui script - core logic document.getElementById('usersBtn').onclick = () => fetch('/api/op/users', credentials: 'include' ) .then(res => res.json()) .then(data => let html = '<table><tr><th>ID</th><th>Name</th><th>Role</th><th>Action</th></tr>'; data.users.forEach(user => html += `<tr> <td>$user.id</td> <td>$user.name</td> <td>$user.role</td> <td><button onclick="banUser($user.id)">Ban</button></td> </tr>`; ); html += '</table>'; document.getElementById('dynamicContent').innerHTML = html; ); ;
input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragToggle = false end end) end end)