diff --git a/templates/index.html b/templates/index.html index cbd230d..e18c031 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,4 +2,6 @@ {% block title %}Nicola Ellis & Ritherdon Archive{% endblock %} {% block content %}

Index

+Create Account +Log-In {% endblock %} diff --git a/templates/user/dashboard.html b/templates/user/dashboard.html index 75163ab..f15532d 100644 --- a/templates/user/dashboard.html +++ b/templates/user/dashboard.html @@ -2,4 +2,17 @@ {% block title %}Manage you archive.{% endblock %} {% block content %}

Dashboard

+
+ {% if roles.logged-in %} + Dashboard + Edit Account +
+ + +
+ {% else %} + Home + Log-in + {% endif %} +
{% endblock %} diff --git a/templates/user/edit.html b/templates/user/edit.html new file mode 100644 index 0000000..e58fbfa --- /dev/null +++ b/templates/user/edit.html @@ -0,0 +1,19 @@ +{% extends "layouts/default.html" %} +{% block title%}Edit your accout settings.{%endblock%} +{% block content %} +

Edit Account

+ +
+

Note: Username cannot be changed.

+
+ + + + + + + + +
+
+{% endblock %} diff --git a/templates/user/log-in.html b/templates/user/log-in.html new file mode 100644 index 0000000..36a2eae --- /dev/null +++ b/templates/user/log-in.html @@ -0,0 +1,16 @@ +{% extends "layouts/default.html" %} +{% block title%}Log-in and start doing stuff.{%endblock%} +{% block content %} +

Login

+ +
+
+ + + + + + +
+
+{% endblock %}