Panel / views /admin.ejs
Niansuh's picture
Create admin.ejs
9406653 verified
raw
history blame contribute delete
621 Bytes
<html>
<head>
<link rel="stylesheet" href="/style.css">
<title>Admin Dashboard</title>
</head>
<body>
<h2>Admin Dashboard</h2>
<form action="/admin/add-endpoint" method="POST">
<input type="text" name="endpoint" placeholder="API Endpoint" required>
<input type="text" name="apiKey" placeholder="API Key" required>
<input type="text" name="modelName" placeholder="Model Name" required>
<button type="submit">Add Endpoint</button>
</form>
<h3>Manage User Credits</h3>
<!-- Add credit management form here -->
<a href="/auth/logout">Logout</a>
</body>
</html>