Download dashboard.html from Seunkinsy/codehire-coders-galore: direct link, hf CLI and curl.
- Browser
- Download file 2.33 kB
-
https://huggingface.co/spaces/Seunkinsy/codehire-coders-galore/resolve/main/dashboard.html
- Command line
-
hf download hf://spaces/Seunkinsy/codehire-coders-galore/dashboard.html
-
curl -L -o dashboard.html https://huggingface.co/spaces/Seunkinsy/codehire-coders-galore/resolve/main/dashboard.html
2.33 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Dashboard</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h1 class="text-2xl font-bold text-gray-800">Welcome, {{ request.user.username }}</h1> | |
| <a href="{% url 'logout' %}" class="px-4 py-2 bg-red-500 text-white rounded hover:bg-red-600">Logout</a> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-xl font-semibold">Your Transactions</h2> | |
| <a href="{% url 'add_transaction' %}" class="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600">Add Transaction</a> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full divide-y divide-gray-200"> | |
| <thead class="bg-gray-50"> | |
| <tr> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Title</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th> | |
| <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th> | |
| </tr> | |
| </thead> | |
| <tbody class="bg-white divide-y divide-gray-200"> | |
| {% for transaction in transactions %} | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">{{ transaction.title }}</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">{{ transaction.type }}</td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-900">${{ transaction.amount }}</td> | |
| </tr> | |
| {% endfor %} | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |