Spaces:
Running
Running
| <html lang="fa" dir="rtl"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>تاریخچه چت - پارسگوی</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> | |
| <link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css" rel="stylesheet"> | |
| <style> | |
| body { font-family: 'Vazir', sans-serif; } | |
| .rtl { direction: rtl; } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-vazir rtl"> | |
| <nav class="bg-white shadow-sm border-b border-gray-200"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between items-center h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <h1 class="text-xl font-bold text-gray-900">پارسگوی 🧠</h1> | |
| </div> | |
| <div class="hidden md:block mr-8"> | |
| <div class="flex items-baseline space-x-4 space-x-reverse"> | |
| <a href="/" class="text-gray-500 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">چت</a> | |
| <a href="/history.html" class="text-gray-900 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">تاریخچه</a> | |
| <a href="/personas.html" class="text-gray-500 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">شخصیتها</a> | |
| <a href="/profile.html" class="text-gray-500 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">پروفایل</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <div class="max-w-6xl mx-auto py-6 px-4 sm:px-6 lg:px-8"> | |
| <div class="bg-white rounded-lg shadow-sm p-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-900">تاریخچه مکالمات</h2> | |
| <div class="flex space-x-3 space-x-reverse"> | |
| <div class="relative"> | |
| <input type="text" placeholder="جستجو در تاریخچه..." class="pr-10 pl-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary-500 focus:border-transparent w-64"> | |
| <i data-feather="search" class="absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"></i> | |
| </div> | |
| <button class="bg-primary-500 hover:bg-primary-600 text-white px-4 py-2 rounded-lg text-sm font-medium"> | |
| پاک کردن تاریخچه | |
| </button> | |
| </div> | |
| </div> | |
| <div class="space-y-4"> | |
| <!-- Chat History Item --> | |
| <div class="border border-gray-200 rounded-lg p-4 hover:border-primary-300 transition-colors"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="font-semibold text-gray-900">بحث درباره برنامهنویسی پایتون</h3> | |
| <span class="text-sm text-gray-500">۲ ساعت پیش</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-3">چگونه میتوانم در پایتون یک API REST بسازم؟</p> | |
| <div class="flex space-x-2 space-x-reverse"> | |
| <button class="text-primary-600 hover:text-primary-700 text-sm">ادامه چت</button> | |
| <button class="text-red-600 hover:text-red-700 text-sm">حذف</button> | |
| </div> | |
| </div> | |
| <div class="border border-gray-200 rounded-lg p-4 hover:border-primary-300 transition-colors"> | |
| <div class="flex justify-between items-start mb-2"> | |
| <h3 class="font-semibold text-gray-900">کمک در نوشتن مقاله</h3> | |
| <span class="text-sm text-gray-500">دیروز</span> | |
| </div> | |
| <p class="text-gray-600 text-sm mb-3">نیاز به کمک در نوشتن مقاله علمی درباره هوش مصنوعی...</p> | |
| <div class="flex space-x-2 space-x-reverse"> | |
| <button class="text-primary-600 hover:text-primary-700 text-sm">ادامه چت</button> | |
| <button class="text-red-600 hover:text-red-700 text-sm">حذف</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |