88 lines
3.3 KiB
HTML
88 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<title>DeepFake</title>
|
|
<link rel="stylesheet" href="style.css"/>
|
|
</head>
|
|
<body>
|
|
<div class="app-shell">
|
|
<div id="auth" class="card">
|
|
<div class="brand">
|
|
<div class="logo">DF</div>
|
|
<div>
|
|
<p class="eyebrow">Secure AI Access</p>
|
|
<h1>Welcome to DeepFake</h1>
|
|
<p class="subtitle">Log in to continue your conversation or create an account to get started.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="auth-toggle">
|
|
<button class="toggle active" data-target="login">Login</button>
|
|
<button class="toggle" data-target="register">Register</button>
|
|
</div>
|
|
|
|
<div id="loginScreen" class="auth-screen active">
|
|
<form id="loginForm" class="auth-form">
|
|
<label class="field">
|
|
<span>Username</span>
|
|
<input id="loginUsername" placeholder="Enter your username" autocomplete="username"/>
|
|
</label>
|
|
<label class="field">
|
|
<span>Password</span>
|
|
<input id="loginPassword" type="password" placeholder="Enter your password" autocomplete="current-password"/>
|
|
</label>
|
|
<button id="loginSubmit" type="submit" class="primary-action">Sign in</button>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="registerScreen" class="auth-screen">
|
|
<form id="registerForm" class="auth-form">
|
|
<label class="field">
|
|
<span>Create username</span>
|
|
<input id="registerUsername" placeholder="Choose a username" autocomplete="new-username"/>
|
|
</label>
|
|
<label class="field">
|
|
<span>Create password</span>
|
|
<input id="registerPassword" type="password" placeholder="Create a password" autocomplete="new-password"/>
|
|
</label>
|
|
<div class="consent-container">
|
|
<input type="checkbox" id="consentCheckbox" required />
|
|
<label for="consentCheckbox">
|
|
I agree to the
|
|
<a href="/tos.html" target="_blank">Terms of Service</a> and
|
|
<a href="/privacy.html" target="_blank">Privacy Policy</a>.
|
|
</label>
|
|
</div>
|
|
|
|
<button id="registerSubmit" type="submit" class="primary-action">Create account</button>
|
|
</form>
|
|
</div>
|
|
|
|
<p id="authMsg" class="status"></p>
|
|
</div>
|
|
|
|
<div id="chat" class="card" style="display:none;">
|
|
<div class="chat-header">
|
|
<div class="model-select">
|
|
<label for="model">Model:</label>
|
|
<select id="model">
|
|
<option disabled selected>Loading models...</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div id="messages"></div>
|
|
<div class="input-container">
|
|
<input id="msgInput" placeholder="Type your message..."/>
|
|
<button id="send"></button>
|
|
</div>
|
|
<div class="logout-container">
|
|
<button id="clearChat">Clear Chat</button>
|
|
<button id="logout">Logout</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html>
|