FourLabs-UN2's picture
Monte com sidebar e essas cores:
4470195 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Android Test Wizard</title>
<link rel="stylesheet" href="style.css">
<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>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#21223a',
secondary: '#ff580f',
}
}
}
}
</script>
</head>
<body class="bg-gray-100 font-sans">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="hidden md:flex flex-col w-64 bg-primary text-white">
<div class="flex items-center justify-center h-16 p-4 border-b border-gray-700">
<div class="flex items-center space-x-2">
<i data-feather="box" class="text-secondary"></i>
<span class="text-xl font-bold">Android Test Wizard</span>
</div>
</div>
<div class="flex flex-col flex-1 overflow-y-auto">
<nav class="flex-1 p-4 space-y-2">
<a href="#" class="flex items-center px-4 py-2 rounded-lg bg-primary-dark hover:bg-gray-700 transition">
<i data-feather="home" class="mr-3"></i>
Dashboard
</a>
<a href="#" class="flex items-center px-4 py-2 rounded-lg hover:bg-gray-700 transition">
<i data-feather="activity" class="mr-3"></i>
Test History
</a>
<a href="#" class="flex items-center px-4 py-2 rounded-lg hover:bg-gray-700 transition">
<i data-feather="settings" class="mr-3"></i>
Settings
</a>
</nav>
<div class="p-4 border-t border-gray-700">
<div class="flex items-center space-x-2">
<div class="h-10 w-10 rounded-full bg-gray-600 flex items-center justify-center">
<i data-feather="user"></i>
</div>
<div>
<p class="font-medium">John Doe</p>
<p class="text-sm text-gray-400">Admin</p>
</div>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 overflow-auto">
<!-- Header -->
<header class="bg-white shadow-sm">
<div class="flex items-center justify-between h-16 px-4">
<div class="flex items-center md:hidden">
<button id="sidebarToggle" class="text-gray-500 hover:text-gray-700">
<i data-feather="menu"></i>
</button>
</div>
<div class="flex items-center space-x-4">
<button class="text-gray-500 hover:text-gray-700">
<i data-feather="bell"></i>
</button>
<div class="h-8 w-8 rounded-full bg-gray-200 flex items-center justify-center">
<i data-feather="user" class="text-gray-600"></i>
</div>
</div>
</div>
</header>
<!-- Content -->
<main class="p-6">
<div class="max-w-4xl mx-auto">
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6 mb-6">
<div class="flex flex-col items-center justify-center py-12">
<div class="bg-secondary bg-opacity-10 p-4 rounded-full mb-6">
<i data-feather="play" class="text-secondary w-10 h-10"></i>
</div>
<h2 class="text-2xl font-bold text-gray-800 mb-2">Start a New Test Session</h2>
<p class="text-gray-600 mb-8">Upload your APK and select an emulator to begin testing your Android application.</p>
<button id="startTestBtn" class="bg-secondary hover:bg-orange-700 text-white font-medium py-3 px-6 rounded-lg transition flex items-center">
<i data-feather="plus" class="mr-2"></i> Start New Test
</button>
</div>
</div>
<div class="grid md:grid-cols-2 gap-6">
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6">
<h3 class="text-lg font-medium text-gray-800 mb-4">Recent Tests</h3>
<div class="space-y-3">
<div class="border-b pb-3 last:border-0">
<p class="font-medium">com.example.app</p>
<p class="text-sm text-gray-500">Completed 2 hours ago</p>
</div>
<div class="border-b pb-3 last:border-0">
<p class="font-medium">com.test.app</p>
<p class="text-sm text-gray-500">Failed yesterday</p>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md overflow-hidden p-6">
<h3 class="text-lg font-medium text-gray-800 mb-4">Available Emulators</h3>
<div class="space-y-3">
<div class="border-b pb-3 last:border-0">
<p class="font-medium">Pixel 3 API 30</p>
<p class="text-sm text-gray-500">Android 11</p>
</div>
<div class="border-b pb-3 last:border-0">
<p class="font-medium">Pixel 5 API 31</p>
<p class="text-sm text-gray-500">Android 12</p>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<!-- Test Modal -->
<div id="testModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden test-modal">
<div class="modal-content w-full max-w-2xl mx-4">
<div class="modal-header">
<h3 class="modal-title">Start New Test Session</h3>
<button id="closeModal" class="modal-close">
<i data-feather="x"></i>
</button>
</div>
<div class="modal-body">
<div class="mb-6">
<label class="block text-sm font-medium text-gray-700 mb-2">Select Android Emulator</label>
<select class="select-emulator">
<option>Pixel 3 API 30 (Android 11)</option>
<option>Pixel 5 API 31 (Android 12)</option>
<option>Nexus 5 API 29 (Android 10)</option>
<option>Galaxy S10 API 28 (Android 9)</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-2">Upload APK File</label>
<div class="file-upload">
<div class="flex flex-col items-center">
<i data-feather="upload-cloud" class="file-upload-icon"></i>
<p class="file-upload-text">Click to upload or drag and drop</p>
<p class="file-upload-hint">APK file (max. 50MB)</p>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="cancel-btn" id="closeModal2">Cancel</button>
<button class="start-test-btn" id="startTest">
<i data-feather="play"></i> Start Test
</button>
</div>
</div>
</div>
<script src="components/chatbot.js"></script>
<script src="https://deepsite.hf.co/deepsite-badge.js"></script>
</body>
</html>