- Changed ownership of all files to scheianu:scheianu - Set directories to 755 permissions (rwxr-xr-x) - Set files to 644 permissions (rw-r--r--) - Made shell scripts executable (755) - Allows development without requiring sudo for file modifications - Improves development workflow and security
28 lines
1.3 KiB
HTML
28 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Register - DigiServer v2{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="card" style="max-width: 400px; margin: 2rem auto;">
|
|
<h2>Register</h2>
|
|
<form method="POST" action="{{ url_for('auth.register') }}">
|
|
<div style="margin-bottom: 1rem;">
|
|
<label for="username" style="display: block; margin-bottom: 0.5rem;">Username</label>
|
|
<input type="text" id="username" name="username" required minlength="3"
|
|
style="width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px;">
|
|
<small style="color: #7f8c8d;">Minimum 3 characters</small>
|
|
</div>
|
|
<div style="margin-bottom: 1rem;">
|
|
<label for="password" style="display: block; margin-bottom: 0.5rem;">Password</label>
|
|
<input type="password" id="password" name="password" required minlength="6"
|
|
style="width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px;">
|
|
<small style="color: #7f8c8d;">Minimum 6 characters</small>
|
|
</div>
|
|
<button type="submit" class="btn btn-success" style="width: 100%;">Register</button>
|
|
</form>
|
|
<p style="margin-top: 1rem; text-align: center;">
|
|
Already have an account? <a href="{{ url_for('auth.login') }}">Login here</a>
|
|
</p>
|
|
</div>
|
|
{% endblock %}
|