implement login and logout
- add LogoutView to dashboard app - define logout URL pattern - only use login view from django.contrib.auth.views instead of including all auth URLs - change base template to support login/logout - add template dashboard/user_dashboard.html
This commit is contained in:
parent
1deed46d34
commit
2bc278ae92
5 changed files with 55 additions and 9 deletions
12
gnuviechadmin/templates/dashboard/user_dashboard.html
Normal file
12
gnuviechadmin/templates/dashboard/user_dashboard.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
{% block title %}{{ block.super }} - {% blocktrans with full_name=dashboard_user.get_full_name %}Dashboard for {{ full_name }}{% endblocktrans %}{% endblock title %}
|
||||
{% block page_title %}{% blocktrans with full_name=dashboard_user.get_full_name %}Dashboard for {{ full_name }}{% endblocktrans %}{% endblock page_title %}
|
||||
{% block content %}
|
||||
<p>Contract details</p>
|
||||
<ul>
|
||||
<li>Domains</li>
|
||||
<li>Email mailboxes</li>
|
||||
<li>Email addresses</li>
|
||||
</ul>
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue