File size: 8,741 Bytes
4470195 | 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 | <!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> |