Add documentation and source
Added documentation, source and extra files.
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Login</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="" method="post" name="login-form">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" name="login-button" value="Login">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>User</title>
|
||||
</head>
|
||||
<body>
|
||||
{% if user.is_anonymous %}
|
||||
You are not connected with a user.
|
||||
{% else %}
|
||||
Welcome, you are connected as {{ user.username }}
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
14
source/authentication/users/templates/users/user-page.html
Normal file
14
source/authentication/users/templates/users/user-page.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>User</title>
|
||||
</head>
|
||||
<body>
|
||||
{% if user.is_anonymous %}
|
||||
You are not connected with a user.
|
||||
{% else %}
|
||||
Welcome, you are connected as {{ user.username }}
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user