42 lines
1.5 KiB
HTML
42 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>ComfyUI Account Manager - Generate API Token</title>
|
|
|
|
<link rel="icon" href="/account-manager/assets/icon.ico" type="image/x-icon">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/account-manager/css/styles.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<img class="logo" src="/account-manager/assets/1.png?v=20260427" alt="Account Manager Logo">
|
|
<h1 class="title generate">Generate Token</h1>
|
|
<form id="generate-form" onsubmit="generate(event)">
|
|
<div class="form-field">
|
|
<label for="username">Username:</label>
|
|
<input type="text" id="username" name="username" required>
|
|
</div>
|
|
<div class="form-field">
|
|
<label for="password">Password:</label>
|
|
<input type="password" id="password" name="password" required>
|
|
</div>
|
|
<div class="form-field">
|
|
<label for="expire_hours">Expiration (in hours):</label>
|
|
<input type="integer" id="expire_hours" name="expire_hours" value="8760" required>
|
|
</div>
|
|
<div class="form-field" id="login-link">
|
|
<a href="/login">Back to Login</a>
|
|
</div>
|
|
<button class="btn" type="submit">Generate</button>
|
|
</form>
|
|
</div>
|
|
<div class="toast-container" id="toasts"></div>
|
|
</body>
|
|
<script src="/account-manager/js/auth.js"></script>
|
|
|
|
</html>
|