Spaces:
Running
Running
File size: 2,717 Bytes
4dcf8ef | 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 | <!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>تتبع التقدم - قوتي الذهبية</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 src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="components/theme-toggle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body class="bg-gray-900 text-white min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-grow container mx-auto px-4 py-8">
<h1 class="text-4xl font-bold mb-8 text-yellow-500">تتبع التقدم</h1>
<section class="mb-12">
<div class="bg-gray-800 p-6 rounded-lg shadow-lg">
<form id="progress-form" class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label for="current-weight" class="block mb-2 font-medium">الوزن الحالي (كجم):</label>
<input type="number" id="current-weight" class="bg-gray-700 border border-gray-600 text-white rounded-lg px-4 py-2 w-full" required>
</div>
<div>
<label for="target-weight" class="block mb-2 font-medium">الوزن المستهدف (كجم):</label>
<input type="number" id="target-weight" class="bg-gray-700 border border-gray-600 text-white rounded-lg px-4 py-2 w-full" required>
</div>
<div class="md:col-span-2">
<button type="submit" class="bg-yellow-600 hover:bg-yellow-700 text-white px-6 py-3 rounded-lg font-medium transition duration-300">حفظ التقدم</button>
</div>
</form>
</div>
</section>
<section>
<h2 class="text-2xl font-bold mb-6 text-yellow-500">مخطط التقدم</h2>
<div class="bg-gray-800 p-6 rounded-lg shadow-lg">
<canvas id="progress-chart" height="300"></canvas>
</div>
</section>
</main>
<section class="container mx-auto px-4 py-8">
<task-manager></task-manager>
</section>
<custom-footer></custom-footer>
<script src="components/task-manager.js"></script>
<script>
feather.replace();
</script>
<script src="script.js"></script>
</body>
</html> |