From 61d1aa04d8d44b17bfe6dace90088669fc6c3df8 Mon Sep 17 00:00:00 2001 From: Kyle McFarland Date: Wed, 31 Jan 2018 00:51:07 -0600 Subject: Initial import * Registration system's almost done * Just part way through implementing tasks So not much done yet, but it's a start. --- tmpl/base.tmpl | 64 ++++++++++++++++++++++++++++++++++++++++++++++ tmpl/bylaws.tmpl | 0 tmpl/index.tmpl | 19 ++++++++++++++ tmpl/login.tmpl | 18 +++++++++++++ tmpl/logout.tmpl | 9 +++++++ tmpl/profile.tmpl | 24 +++++++++++++++++ tmpl/register.tmpl | 30 ++++++++++++++++++++++ tmpl/tasks.tmpl | 29 +++++++++++++++++++++ tmpl/validate.tmpl | 19 ++++++++++++++ tmpl/validation_email.tmpl | 9 +++++++ 10 files changed, 221 insertions(+) create mode 100644 tmpl/base.tmpl create mode 100644 tmpl/bylaws.tmpl create mode 100644 tmpl/index.tmpl create mode 100644 tmpl/login.tmpl create mode 100644 tmpl/logout.tmpl create mode 100644 tmpl/profile.tmpl create mode 100644 tmpl/register.tmpl create mode 100644 tmpl/tasks.tmpl create mode 100644 tmpl/validate.tmpl create mode 100644 tmpl/validation_email.tmpl (limited to 'tmpl') diff --git a/tmpl/base.tmpl b/tmpl/base.tmpl new file mode 100644 index 0000000..b0fa3f3 --- /dev/null +++ b/tmpl/base.tmpl @@ -0,0 +1,64 @@ + + + + {% block title %}{% endblock %} + + + {% block head_css_standard %} + + + + {% endblock %} + {% block head_extra %}{% endblock %} + + + +
+ {% block alerts %} + {% for alert in danger_alerts %} +
+ {{ alert | raw }} +
+ {% endfor %} + {% for alert in success_alerts %} +
+ {{ alert | raw }} +
+ {% endfor %} + {% endblock %} + +
+{% block page_contents %}{% endblock %} +
+
+ {% block body_js %} + + + {%- endblock %} + + diff --git a/tmpl/bylaws.tmpl b/tmpl/bylaws.tmpl new file mode 100644 index 0000000..e69de29 diff --git a/tmpl/index.tmpl b/tmpl/index.tmpl new file mode 100644 index 0000000..cea7e90 --- /dev/null +++ b/tmpl/index.tmpl @@ -0,0 +1,19 @@ +{% extends "base.tmpl" %} + +{% block title %}{{ sitename | escape }}{% endblock %} + +{% block page_contents %} +
+

Welcome to {{ sitename | escape }}

+

+

This is a sample mcoop install, the intent of mcoop is to be used to manage small Co-Operatives, so far there aren't many features but here's a TODO list for some of the intended features

+ +
+ Disclaimer: Mainline is not an actual Co-Operative and isn't registered, the author is just interested in them and wanted to create a management webapp that might eventually be used by real Co-Operatives. +
+
+{% endblock %} diff --git a/tmpl/login.tmpl b/tmpl/login.tmpl new file mode 100644 index 0000000..de3a6e9 --- /dev/null +++ b/tmpl/login.tmpl @@ -0,0 +1,18 @@ +{% extends "base.tmpl" %} + +{% block title %}Login{% endblock %} + +{% block page_contents %} +
+

Login

+

+
+
+
+
Username*
+
+
Password *
+
+
+
+{% endblock %} diff --git a/tmpl/logout.tmpl b/tmpl/logout.tmpl new file mode 100644 index 0000000..a507ed0 --- /dev/null +++ b/tmpl/logout.tmpl @@ -0,0 +1,9 @@ +{% extends "base.tmpl" %} + +{% block title %}Logout{% endblock %} + +{% block page_contents %} +
+
Successfully Logged Out
+
+{% endblock %} diff --git a/tmpl/profile.tmpl b/tmpl/profile.tmpl new file mode 100644 index 0000000..92bb780 --- /dev/null +++ b/tmpl/profile.tmpl @@ -0,0 +1,24 @@ +{% extends "base.tmpl" %} + +{% block title %}Profile{% endblock %} + +{% block page_contents %} +
+

Edit Profile

+

+
+ +
+
Username
+
{{ sess_info.login_member.username }}
+
Email
+
+
Full name
+
+
Old Password
+
+
New Password
+
+
+
+{% endblock %} diff --git a/tmpl/register.tmpl b/tmpl/register.tmpl new file mode 100644 index 0000000..f0878e9 --- /dev/null +++ b/tmpl/register.tmpl @@ -0,0 +1,30 @@ +{% extends "base.tmpl" %} + +{% block title %}Register{% endblock %} + +{% block body_js %} + + {{- parent() }} +{% endblock %} + +{% block page_contents %} +
+

Register for basic membership here

+

+

this doesn't register you as a full member, you have to confirm your email address and start Contributing first

+
+ +
+
Username*
+
+
Email Address *
+
+
Password *
+
+
Full Name
+
+
+
+
+
+{% endblock %} diff --git a/tmpl/tasks.tmpl b/tmpl/tasks.tmpl new file mode 100644 index 0000000..070e002 --- /dev/null +++ b/tmpl/tasks.tmpl @@ -0,0 +1,29 @@ +{% extends "base.tmpl" %} + +{% block title %}Tasks{% endblock %} + +{% block head_extra %} + +{% endblock %} + +{% block page_contents %} +
+

Task Search

+
+

+
+
+ + + + + + + + + + + + + +{% endblock %} diff --git a/tmpl/validate.tmpl b/tmpl/validate.tmpl new file mode 100644 index 0000000..ae32718 --- /dev/null +++ b/tmpl/validate.tmpl @@ -0,0 +1,19 @@ +{% extends "base.tmpl" %} + +{% block title %}Validate Email{% endblock %} + +{% block page_contents %} +
+

Validate Email Address

+

+

If for whatever reason you can't click on the link in the email you can manually enter your username and the validation code here to validate your email address, the validation code is everything to the right of vcode= (excluding the '=') in the url

+
+ +
+
Username
+
+
Validation Code
+
+
+
+{% endblock %} diff --git a/tmpl/validation_email.tmpl b/tmpl/validation_email.tmpl new file mode 100644 index 0000000..35076a4 --- /dev/null +++ b/tmpl/validation_email.tmpl @@ -0,0 +1,9 @@ +Hello {{ email }}, + +Thank you for registering at {{ website_name }}, to verify your email address please visit the following URL: +{{ vurl | raw }} + +If you didn't create an account you can either do nothing, in which case the person that tried registering with your email address will continue having limited access to the website until they change their email address, or request a deactivation at: +{{ deactivate_url | raw }} + +Deactivated accounts are deleted automatically after 28 days unless a reactivation is requested. -- cgit v1.1
IDTitleStateAdminAvailable Credits