- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
114 lines
4.1 KiB
Smarty
114 lines
4.1 KiB
Smarty
{assign var="page_title" value="Register - EasyStream"}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en" data-theme="blue">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{$page_title}</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
}
|
|
.signup-container {
|
|
max-width: 500px;
|
|
margin: 30px auto;
|
|
background: white;
|
|
padding: 40px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
|
|
}
|
|
.logo { text-align: center; margin-bottom: 30px; }
|
|
.logo img { max-height: 60px; }
|
|
h1 { text-align: center; color: #333; margin-bottom: 30px; }
|
|
.form-group { margin-bottom: 20px; }
|
|
label { display: block; margin-bottom: 8px; font-weight: bold; color: #555; }
|
|
input[type="text"], input[type="email"], input[type="password"] {
|
|
width: 100%;
|
|
padding: 15px;
|
|
border: 2px solid #ddd;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
input:focus { border-color: #28a745; outline: none; }
|
|
.btn {
|
|
width: 100%;
|
|
padding: 15px;
|
|
background: #28a745;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
.btn:hover { background: #218838; }
|
|
.error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
.success {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
.links { text-align: center; margin-top: 20px; }
|
|
.links a { color: #007bff; text-decoration: none; font-weight: bold; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="signup-container">
|
|
<div class="logo">
|
|
<img src="{$main_url}/f_scripts/fe/img/logo-header-blue.svg" alt="EasyStream">
|
|
</div>
|
|
<h1>📝 Join EasyStream</h1>
|
|
|
|
{if $error_message}
|
|
<div class="error">❌ {$error_message}</div>
|
|
{/if}
|
|
|
|
{if $notice_message}
|
|
<div class="success">✅ {$notice_message}</div>
|
|
{/if}
|
|
|
|
<form method="post" action="{$main_url}/{href_entry key="signup"}">
|
|
<div class="form-group">
|
|
<label>👤 Username</label>
|
|
<input type="text" name="frontend_signup_username" required placeholder="Choose a username">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>📧 Email</label>
|
|
<input type="email" name="frontend_signup_email" required placeholder="Enter your email">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>🔒 Password</label>
|
|
<input type="password" name="frontend_signup_password" required placeholder="Create a password">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>🔒 Confirm Password</label>
|
|
<input type="password" name="frontend_signup_password_confirm" required placeholder="Confirm your password">
|
|
</div>
|
|
|
|
<input type="hidden" name="frontend_global_submit" value="1">
|
|
<button type="submit" class="btn">🚀 Create Account</button>
|
|
</form>
|
|
|
|
<div class="links">
|
|
<a href="{$main_url}/{href_entry key="signin"}">🔑 Already have an account? Sign In</a><br>
|
|
<a href="{$main_url}">🏠 Back to Homepage</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |