diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-08-27 08:28:16 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-08-27 08:28:16 -0700 |
commit | 1cdb43bb3e432040aed18c05e129f0131ee7d20a (patch) | |
tree | a4c5ad41d183b3874c990de0c5416d1810a1dc85 /src/templates/pages/assessment.html.ftl | |
parent | 9b33aaf27cd8f73402ee9967c6b0fd76a90f8ebe (diff) |
Introducing F1 Authentication and Adding Site Content.
This change introduced the f1oauth and jesterpm oauth packages for
interacting with Fellowship One's developer API. I have also reworked
the login authentication to verify credentials through F1 and added
session management to track logged in users.
The Authenticator chain works as follows: on every page load we check
for a session cookie, if the cookie exists, the Request is marked as
authenticated and the OAuthUser object is restored in ClientInfo. If
this request is going to an account page, we require authentication. The
LoginFormAuthenticator checks if the user is already authenticated (via
cookie) and if not redirects the user to the login page. When the login
form is submitted, LoginFormAuthenticator catches the POST request and
authenticates the user through F1.
I'm also adding a new account page, but it is currently a work in
progress.
This commit also adds Allen's content to the site.
Diffstat (limited to 'src/templates/pages/assessment.html.ftl')
-rw-r--r-- | src/templates/pages/assessment.html.ftl | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/templates/pages/assessment.html.ftl b/src/templates/pages/assessment.html.ftl new file mode 100644 index 0000000..7903382 --- /dev/null +++ b/src/templates/pages/assessment.html.ftl @@ -0,0 +1,44 @@ +<#include "/macros/common.ftl"> +<#include "/macros/common-page.ftl"> + +<@commonpage> + <@noticebox> + </@noticebox> + + <@textcontent> + <h1>Assessment</h1> + + <p> + Welcome to the start of GROW and the GROW personal assessment. The + purpose of this 18-question assessment will identify where you are + in the spiritual development process: + </p> + + <p> + <!-- TODO: Insert Image Here --> + **************** Insert the image here. ************************* + </p> + + <p> + Upon completion of the assessment, you will be invited to join the + process at the appropriate stage. For example if the assessment + returns a “believer” result, you will be invited to start the + Believer level of this process. + </p> + + <p> + Once you have completed this level, you will be invited to begin the next stage of GROW. + </p> + + <p> + Let’s get with your personal GROW assessment now, it will only take a few minutes. + </p> + + </@textcontent> + + <div id="getstarted"> + <a class="greenbutton" href="${dynamicRoot}/account/assessment">Begin Assessment ➙</a> + </div> +</@commonpage> + + |