diff --git a/gnuviechadmin/templates/dashboard/index.html b/gnuviechadmin/templates/dashboard/index.html new file mode 100644 index 0000000..fb00db6 --- /dev/null +++ b/gnuviechadmin/templates/dashboard/index.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% load i18n %} +{% block title %}{{ block.super }} - {% trans "Welcome" %}{% endblock title %} +{% block page_title %}{% trans "Welcome to our customer self service" %}{% endblock page_title %} +{% block content %} +{% if user.is_authenticated %} +
{% url 'customer_dashboard' slug=user.username as dashboard_url %}{% blocktrans with full_name=user.get_full_name %}Hello {{ full_name }},
+You can visit your Dashboard to view and modify your hosting options.
+{% endblocktrans %}
{% trans "This is your entry to our customer self service sytem." %}
+{% url 'login' as login_url %}{% url 'dashboard' as dashboard_url %}{% blocktrans %}If you are already a customer you can Sign in to view and modify your hosting options.{% endblocktrans %}
+{% endif %} +{% endblock content %} diff --git a/gnuviechadmin/templates/registration/login.html b/gnuviechadmin/templates/registration/login.html new file mode 100644 index 0000000..6f21196 --- /dev/null +++ b/gnuviechadmin/templates/registration/login.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} +{% load i18n crispy_forms_tags %} +{% block title %}{{ block.super }} - {% trans "Sign in" %}{% endblock title %} +{% block page_title %}{% trans "Sign In" %}{% endblock %} +{% block content %} + +{% endblock %}