summaryrefslogtreecommitdiff
path: root/src/templates/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/templates')
-rw-r--r--src/templates/templates/assessment-results.ftl34
-rw-r--r--src/templates/templates/banner.ftl6
-rw-r--r--src/templates/templates/communityfeed.ftl41
-rw-r--r--src/templates/templates/deeperheader.ftl7
-rw-r--r--src/templates/templates/error.ftl17
-rw-r--r--src/templates/templates/footer.ftl16
-rw-r--r--src/templates/templates/getstarted-button.ftl7
-rw-r--r--src/templates/templates/gitversion.ftl1
-rw-r--r--src/templates/templates/header.ftl15
-rw-r--r--src/templates/templates/index-hero.ftl8
-rw-r--r--src/templates/templates/nav.ftl21
-rw-r--r--src/templates/templates/newbeliever.ftl41
-rw-r--r--src/templates/templates/question-circle.ftl23
-rw-r--r--src/templates/templates/question-image.ftl17
-rw-r--r--src/templates/templates/question-quad.ftl19
-rw-r--r--src/templates/templates/question-slider.ftl18
-rw-r--r--src/templates/templates/question-text.ftl17
-rw-r--r--src/templates/templates/stage-complete.ftl58
-rw-r--r--src/templates/templates/stage-teacher-forward.ftl47
-rw-r--r--src/templates/templates/survey.ftl53
-rw-r--r--src/templates/templates/training.ftl87
21 files changed, 0 insertions, 553 deletions
diff --git a/src/templates/templates/assessment-results.ftl b/src/templates/templates/assessment-results.ftl
deleted file mode 100644
index 12c45b7..0000000
--- a/src/templates/templates/assessment-results.ftl
+++ /dev/null
@@ -1,34 +0,0 @@
-<#include "/macros/common.ftl">
-<#include "/macros/common-page.ftl">
-
-<@commonpage>
- <@noticebox>
- </@noticebox>
-
- <@content class="text">
- <h1>Congratulations!</h1>
-
- <p>Congratulations for completing your GROW assessment!</p>
-
- <p>Based on your responses you have been identified as a <strong>${stage?cap_first}.</strong></p>
-
- <p>
- So what's next? Now you begin the process of GROWing. The button
- below will take you to the ${stage?cap_first} page.
- </p>
-
- <p>Here you will find everything you need to begin the GROW process and start your journey.</p>
-
- <p>
- We are genuinely excited for you. Each phase of the GROW process
- will produce positive quantifiable and quality results in your life, as
- you learn, and then apply this learning in your life.
- </p>
- </@content>
-
- <div id="getstarted">
- <a class="greenbutton" href="${dynamicRoot}/account/training/introduction">Begin GROWing &#x2799;</a>
- </div>
-</@commonpage>
-
-
diff --git a/src/templates/templates/banner.ftl b/src/templates/templates/banner.ftl
deleted file mode 100644
index 3a2d23b..0000000
--- a/src/templates/templates/banner.ftl
+++ /dev/null
@@ -1,6 +0,0 @@
-<#assign bannerResult = get("bannerData", "riap://component/backend/banner")>
-<#if bannerResult.succeeded == true>
- <#if (bannerData.html!"") != "">
-<div id="banner">${bannerData.html}</div>
- </#if>
-</#if>
diff --git a/src/templates/templates/communityfeed.ftl b/src/templates/templates/communityfeed.ftl
deleted file mode 100644
index 71b33bc..0000000
--- a/src/templates/templates/communityfeed.ftl
+++ /dev/null
@@ -1,41 +0,0 @@
-<#escape x as x?html>
-<div id="thefeed">
- <h2>Discussion Forum</h2>
-
- <#assign max_threads = 5>
- <#assign threads = feeddata.getThreads(chapter, max_threads)>
- <#list threads as thread>
- <#assign messages = feeddata.getMessages(chapter, thread.id)>
- <article>
- <div class="question" id="${thread.id}">
- <p>Q: ${thread.message.message!""}</p>
- <div class="author">By ${thread.message.author.firstName}</div>
- <div> <a class="reply" href="#" onclick="answerQuestion('${thread.id}'); return false;">Answer</a></div>
- </div>
- <div class="answer hidden" id="answer-${thread.id}">
- <form action="${dynamicRoot}/account/feed/${chapter}/${thread.id}" method="post">
- <textarea name="question" rows="5" defaultValue="Write your reply."></textarea>
- <div><a class="send" href="#" onclick="$(this).closest('form').submit(); return false;">Send</a></div>
- </form>
- </div>
- <#list messages as msg>
- <div class="answer slider" id="${msg.id}">
- <p>A: ${msg.message!""}</p>
- <div class="author">By ${thread.message.author.firstName}</div>
- <#if msg_has_next && msg_index == 0>
- <div><a class="readmore" href="#" onclick="showAnswers(this); return false;">(show more answers)</a></div>
- </#if>
- </div>
- </#list>
- </article>
- </#list>
- <article>
- <div class="question">
- <form action="${dynamicRoot}/account/feed/${chapter}" name="newquestion" method="post">
- <textarea name="question" rows="5" defaultValue="Ask your own question."></textarea>
- <div><a class="send" href="#" onclick="$(this).closest('form').submit(); return false;">Send</a></div>
- </form>
- </div>
- </article>
-</div>
-</#escape>
diff --git a/src/templates/templates/deeperheader.ftl b/src/templates/templates/deeperheader.ftl
deleted file mode 100644
index 32fa9bf..0000000
--- a/src/templates/templates/deeperheader.ftl
+++ /dev/null
@@ -1,7 +0,0 @@
-<h2>Going Deeper</h2>
-<p>
- This section is a list of resources provided to help you to go
- deeper in your faith. It includes reading material, links to
- helpful resources, etc.
-</p>
-
diff --git a/src/templates/templates/error.ftl b/src/templates/templates/error.ftl
deleted file mode 100644
index 4f46839..0000000
--- a/src/templates/templates/error.ftl
+++ /dev/null
@@ -1,17 +0,0 @@
-<#include "/macros/common.ftl">
-<#include "/macros/common-page.ftl">
-
-<@commonpage>
- <@noticebox>
- </@noticebox>
-
- <@content>
- <h1>An Error has Occurred</h1>
-
- <p>An error has occurred. If you continue to see this message, please <a href="http://jesterpm.net/betafeedback.php">contact us</a>.</p>
- <p>Error: ${errorMessage}</p>
- </@content>
-</@commonpage>
-
-
-
diff --git a/src/templates/templates/footer.ftl b/src/templates/templates/footer.ftl
deleted file mode 100644
index 8ea05fe..0000000
--- a/src/templates/templates/footer.ftl
+++ /dev/null
@@ -1,16 +0,0 @@
-<footer>
- <div class="left">
- <a href="${dynamicRoot}/index.html">Home</a>
- <a href="${dynamicRoot}/learnmore.html">Learn More</a>
- <a href="${dynamicRoot}/contact.html">Contact</a>
- </div>
-
- <div class="right">
- &copy;2013 <a href="http://myfoursquarechurch.com">Foursquare Church</a>
- <#if config.getDomain() != "prod">
- - <#include "/templates/gitversion.ftl">
- </#if>
- </div>
-
-</footer>
-
diff --git a/src/templates/templates/getstarted-button.ftl b/src/templates/templates/getstarted-button.ftl
deleted file mode 100644
index b0baaee..0000000
--- a/src/templates/templates/getstarted-button.ftl
+++ /dev/null
@@ -1,7 +0,0 @@
-<div id="getstarted">
- <#if user??>
- <a class="greenbutton" href="${dynamicRoot}/account">Get Started! &#x2799;</a>
- <#else>
- <a class="greenbutton" href="login.html">Get Started! &#x2799;</a>
- </#if>
-</div>
diff --git a/src/templates/templates/gitversion.ftl b/src/templates/templates/gitversion.ftl
deleted file mode 100644
index 09e2f95..0000000
--- a/src/templates/templates/gitversion.ftl
+++ /dev/null
@@ -1 +0,0 @@
-@repository.version@
diff --git a/src/templates/templates/header.ftl b/src/templates/templates/header.ftl
deleted file mode 100644
index 0911bbc..0000000
--- a/src/templates/templates/header.ftl
+++ /dev/null
@@ -1,15 +0,0 @@
-<header>
- <h1>
- <#if user??>
- <a href="${dynamicRoot}/account"><img src="${staticRoot}/images/logo.png"> Grow Process</a>
- <#else>
- <a href="${dynamicRoot}/index.html"><img src="${staticRoot}/images/logo.png"> Grow Process</a>
- </#if>
- <#if config.getDomain() != "prod">
- <span class="versiontag">${config.getDomain()}</span>
- </#if>
- <a id="foursquarefloat" href="http://myfoursquarechurch.com"><img src="${staticRoot}/images/foursquaresm.png" alt="Foursqaure Church" /></a>
- </h1>
-
- <#include "/templates/nav.ftl">
-</header>
diff --git a/src/templates/templates/index-hero.ftl b/src/templates/templates/index-hero.ftl
deleted file mode 100644
index 023475a..0000000
--- a/src/templates/templates/index-hero.ftl
+++ /dev/null
@@ -1,8 +0,0 @@
-<div id="hero">
- <video id="herovideo" width="711" height="400" poster="${staticRoot}/images/grow-poster.png" controls="controls" autoplay="autoplay">
- <source src="http://foursquaregrow.s3-website-us-east-1.amazonaws.com/grow-hero.mp4" type="video/mp4" />
- <source src="http://foursquaregrow.s3-website-us-east-1.amazonaws.com/grow-hero.webm" type="video/webm" />
- <img src="${staticRoot}/images/grow-poster.png" alt="Grow Process" />
- </video>
-</div>
-
diff --git a/src/templates/templates/nav.ftl b/src/templates/templates/nav.ftl
deleted file mode 100644
index c1f22ae..0000000
--- a/src/templates/templates/nav.ftl
+++ /dev/null
@@ -1,21 +0,0 @@
-<#macro navLink href>
- <li><a
- <#if (currentPage!"") == href>
- class="current"
- </#if>
- href="${href}"><#nested></a></li>
-</#macro>
-
-<nav class="primary">
- <ul>
- <@navLink href="${dynamicRoot}/index.html">Home</@navLink>
- <@navLink href="${dynamicRoot}/learnmore.html">Learn More</@navLink>
- <@navLink href="${dynamicRoot}/contact.html">Contact</@navLink>
- <#if user??>
- <@navLink href="${dynamicRoot}/account">Keep Growing</@navLink>
- <@navLink href="${dynamicRoot}/account/logout">Logout</@navLink>
- <#else>
- <@navLink href="${dynamicRoot}/login.html">Login / Sign Up</@navLink>
- </#if>
- </ul>
-</nav>
diff --git a/src/templates/templates/newbeliever.ftl b/src/templates/templates/newbeliever.ftl
deleted file mode 100644
index 226b054..0000000
--- a/src/templates/templates/newbeliever.ftl
+++ /dev/null
@@ -1,41 +0,0 @@
-<#include "/macros/common.ftl">
-<#include "/macros/common-page.ftl">
-
-<@commonpage>
- <@noticebox>
- </@noticebox>
-
- <@content class="text">
- <h1>New Believers</h1>
- <p>
- CONGRATULATIONS on your new relationship with Jesus Christ.
- It is vital to grow in your understanding of God and of Jesus
- Christ and the Holy Spirit as you begin your new journey of
- faith in Jesus.
- </p>
- <p>
- You may not feel a sense of urgency to begin, to get the full
- understanding of your &ldquo;new birth&rdquo; as the Bible
- calls it. But trust us when we tell you that to delay in your
- growing in the knowledge of Jesus and His life for you, will
- only hinder you as a follower of Jesus.
- </p>
- <p>
- The SEEKER series of four videos you are about to watch
- provides you with very important foundational elements of
- God's love for you and his gift of salvation through Jesus.
- </p>
- <p>
- Watch them in their entirety! The last video will lead in a
- prayer of salvation that you have already done at church. You
- are free to pray it again, but it is not necessary, you are
- SAVED!
- </p>
- <p>
- Now click GET STARTED and create your LOGIN and start GROWing!
- </p>
- </@content>
-
- <#include "/templates/getstarted-button.ftl">
-</@commonpage>
-
diff --git a/src/templates/templates/question-circle.ftl b/src/templates/templates/question-circle.ftl
deleted file mode 100644
index fbb2e61..0000000
--- a/src/templates/templates/question-circle.ftl
+++ /dev/null
@@ -1,23 +0,0 @@
-<h1>${question.question}</h1>
-<#if question.description??>
-<p>
- ${question.description}
-</p>
-</#if>
-
-<p>Move the white dot to answer the question.</p>
-
-<div class="quadQuestion question">
- <div class="above">
- <span class="left">${question.topLeft}</span>
- <span class="right">${question.topRight}</span>
- </div>
- <div class="middle">
- <div class="quad"><img src="${staticRoot}/images/quadselector.png" class="selector" /></div>
- </div>
- <div class="below">
- <span class="left">${question.bottomLeft}</span>
- <span class="right">${question.bottomRight}</span>
- </div>
-</div>
-
diff --git a/src/templates/templates/question-image.ftl b/src/templates/templates/question-image.ftl
deleted file mode 100644
index 280c4aa..0000000
--- a/src/templates/templates/question-image.ftl
+++ /dev/null
@@ -1,17 +0,0 @@
-<h1>${question.question}</h1>
-<#if question.description??>
-<p>
- ${question.description}
-</p>
-</#if>
-
-<div class="imageQuestion question">
- <#list question.answers?keys as answerid>
- <#if selectedAnswerId?? && answerid == selectedAnswerId>
- <img class="answer selected" id="${answerid}" onclick="selectAnswer(this)" src="${staticRoot}/images/${question.id}-${answerid}-hover.jpg" />
- <#else>
- <img class="answer" id="${answerid}" onclick="selectAnswer(this)" src="${staticRoot}/images/${question.id}-${answerid}.jpg" />
- </#if>
- </#list>
-</div>
-
diff --git a/src/templates/templates/question-quad.ftl b/src/templates/templates/question-quad.ftl
deleted file mode 100644
index f84dcff..0000000
--- a/src/templates/templates/question-quad.ftl
+++ /dev/null
@@ -1,19 +0,0 @@
-<h1>${question.question}</h1>
-<#if question.description??>
-<p>
- ${question.description}
-</p>
-</#if>
-
-<p>Move the white dot to answer the question.</p>
-
-<div class="quadQuestion question">
- <div class="top">${question.top}</div>
- <div class="middle">
- <div class="left">${question.left}</div>
- <div class="quad"><img src="${staticRoot}/images/quadselector.png" class="selector" /></div>
- <div class="right">${question.right}</div>
- </div>
- <div class="bottom">${question.bottom}</div>
-</div>
-
diff --git a/src/templates/templates/question-slider.ftl b/src/templates/templates/question-slider.ftl
deleted file mode 100644
index 08b6bd0..0000000
--- a/src/templates/templates/question-slider.ftl
+++ /dev/null
@@ -1,18 +0,0 @@
-<h1>${question.question}</h1>
-<#if question.description??>
-<p>
- ${question.description}
-</p>
-</#if>
-
-<p>Slide the slider to answer the question.</p>
-
-<div class="sliderQuestion question">
- <div class="sliderbar"><div class="slider noselect"></div></div>
- <div class="answers">
- <#list question.answers?keys as answerid>
- <div id="${answerid}" class="label">${question.answers[answerid].text}</div>
- </#list>
- <span class="stretch"></span>
- </div>
-</div>
diff --git a/src/templates/templates/question-text.ftl b/src/templates/templates/question-text.ftl
deleted file mode 100644
index ac5b846..0000000
--- a/src/templates/templates/question-text.ftl
+++ /dev/null
@@ -1,17 +0,0 @@
-<h1>${question.question}</h1>
-<#if question.description??>
-<p>
- ${question.description}
-</p>
-</#if>
-
-<div class="textQuestion question">
- <#list question.answers?keys as answerid>
- <#if selectedAnswerId?? && answerid == selectedAnswerId>
- <div id="${answerid}" onclick="selectAnswer(this)" class="answer selected">${question.answers[answerid].text}</div>
- <#else>
- <div id="${answerid}" onclick="selectAnswer(this)" class="answer">${question.answers[answerid].text}</div>
- </#if>
- </#list>
-</div>
-
diff --git a/src/templates/templates/stage-complete.ftl b/src/templates/templates/stage-complete.ftl
deleted file mode 100644
index 72dc780..0000000
--- a/src/templates/templates/stage-complete.ftl
+++ /dev/null
@@ -1,58 +0,0 @@
-<#include "/macros/common.ftl">
-<#include "/macros/common-page.ftl">
-
-<@commonpage>
- <@noticebox>
- </@noticebox>
-
- <@content class="text">
- <h1>Congratulations!</h1>
-
- <p>
- Congratulations on the completion of the ${stage?cap_first} level of the GROW process.
- </p>
-
- <p>
- We strongly encourage you move to the next stage of GROW. However,
- before you do that, let’s review a key component to ensure you
- experience the transformation and benefits of what you have already
- learned: Implementation.
- </p>
-
- <p>
- Learning is important, we should all be continuous learners,
- otherwise we stagnate.
- </p>
-
- <p>
- However to learn new information and then not implement or employ
- that learning in our life, will make us smarter but not necessarily
- wiser or better.
- </p>
-
- <p>
- For many there is a “knowing, doing gap” in their lives. They know
- a lot, but they don’t do anything with what they know, and they remain
- “stuck”.
- </p>
-
- <p>
- We know that for your new knowledge and learning to have an impact
- on your life you must implement it.
- </p>
-
- <p>
- You were given some tips for how to act on the new knowledge you
- have. We encourage you to be proactive and intentional in closing the
- gap between what you know and what you do, to experience all that God
- has for you.
- </p>
-
- </@content>
-
- <#if nextstage??>
- <div id="getstarted">
- <a class="greenbutton" href="${dynamicRoot}/account/training/${nextstage}">Continue GROWing &#x2799;</a>
- </div>
- </#if>
-</@commonpage>
diff --git a/src/templates/templates/stage-teacher-forward.ftl b/src/templates/templates/stage-teacher-forward.ftl
deleted file mode 100644
index e8f186d..0000000
--- a/src/templates/templates/stage-teacher-forward.ftl
+++ /dev/null
@@ -1,47 +0,0 @@
-<#include "/macros/common.ftl">
-<#include "/macros/common-page.ftl">
-
-<@commonpage>
- <@noticebox>
- </@noticebox>
-
- <@content class="text">
- <h1>Welcome</h1>
-
- <p>
- Welcome to the "Leader" portion of GROW. This portion of the GROW
- process is intended for those who either:
- </p>
-
- <ul>
- <li>Want to lead in the church, or,</li>
- <li>Just want to continue to grow personally and be prepared if
- called by God to lead</li>
- </ul>
-
- <p>
- This section of GROW contains two elements: Teacher and Group Leader
- </p>
-
- <ol>
- <li>Teacher: If you are considering leading in the church in any
- capacity; on a team in ministry, or as a Community Group leader you must
- complete Teacher</li>
-
- <li>Group Leader: If you are considering leading a Community Group,
- you must complete BOTH Teacher and Group Leader</li>
- </ol>
-
- <p>
- We trust you will enjoy these teachings, learn and grow and be better
- equipped to serve God regardless of how or where you serve or lead.
- </p>
-
- </@content>
-
- <#if nextstage??>
- <div id="getstarted">
- <a class="greenbutton" href="${dynamicRoot}/account/training/${nextstage}">Continue GROWing &#x2799;</a>
- </div>
- </#if>
-</@commonpage>
diff --git a/src/templates/templates/survey.ftl b/src/templates/templates/survey.ftl
deleted file mode 100644
index d770461..0000000
--- a/src/templates/templates/survey.ftl
+++ /dev/null
@@ -1,53 +0,0 @@
-<#include "/macros/common.ftl">
-<#include "/macros/common-page.ftl">
-
-<@commonpage>
- <@noticebox>
- The Grow Process focuses on the topic that you want to learn
- about. Our 'Assessment' test will give you the right courses
- fit for your level.
- </@noticebox>
-
- <div id="progressbar">
- <div class="progress" style="width: ${percentComplete!"0"}%"></div>
- </div>
-
- <div id="content">
- <form id="questionForm" action="${dynamicRoot}/account/assessment/question/${question.id}" method="post">
- <input id="direction" type="hidden" name="direction" value="next" />
- <input id="answerField" type="hidden" name="answer" value="${selectedAnswerId!}" />
- <div id="previous">
- <#if question.previousQuestion??>
- <a href="#" onclick="previousQuestion();return false;">
- <img src="${staticRoot}/images/previous.png" alt="Previous Question" />
- </a>
- </#if>
- </div>
- <div id="next">
- <a href="#" onclick="nextQuestion();return false;">
- <img src="${staticRoot}/images/next.png" alt="Next Question" />
- </a>
- </div>
- <article>
- <#switch question.type>
- <#case "text">
- <#include "/templates/question-text.ftl">
- <#break>
- <#case "image">
- <#include "/templates/question-image.ftl">
- <#break>
- <#case "slider">
- <#include "/templates/question-slider.ftl">
- <#break>
- <#case "quad">
- <#include "/templates/question-quad.ftl">
- <#break>
- <#case "circle">
- <#include "/templates/question-circle.ftl">
- <#break>
- </#switch>
- </article>
- </form>
- </div>
-</@commonpage>
-
diff --git a/src/templates/templates/training.ftl b/src/templates/templates/training.ftl
deleted file mode 100644
index c5d1b32..0000000
--- a/src/templates/templates/training.ftl
+++ /dev/null
@@ -1,87 +0,0 @@
-<#include "/macros/common.ftl">
-<#include "/macros/common-page.ftl">
-<#include "/macros/hms.ftl">
-
-<@commonpage>
- <@noticebox>
- The Grow Process focuses on the topic that you want to learn
- about. Our 'Assessment' test will give you the right courses
- fit for your level.
- </@noticebox>
-
- <div id="progressbar">
- <div class="progress" style="width: ${overallProgress}%"></div>
- </div>
-
- <div id="content">
- <nav>
- <#list chapters as x>
- <#if isChapterAllowed[x]>
- <a href="${dynamicRoot}/account/training/${x}" <#if x == chapter>class="current"</#if>>${x?capitalize}</a>
- <#else>
- <span class="disabled">${x?capitalize}</span>
- </#if>
-
- <#if x_has_next> - </#if>
- </#list>
- </nav>
-
- <div id="chapterprogress">
- "${chapter?capitalize} Chapter Progress:"
- <div class="progressbar"><div class="progress" style="width: ${chapterProgress}%"></div></div>
- <div class="progresslabel" style="left:${chapterProgress}%">${chapterProgress}%</div>
- </div>
-
- <#assign sidebar=showfeed || deeperinclude?has_content>
-
- <div id="videos" <#if sidebar>style="width: 70%"</#if>>
- <#assign allowed = true>
- <#list videos as video>
- <article <#if sidebar>style="margin-right: 30px"</#if>>
- <div class="image <#if video.completed>completed</#if> <#if allowed>allowed</#if>" id="${video.id}"><a href="#" onclick="playVideo('${video.id}'); return false"><img src="${video.image!staticRoot+"/images/videoimage.jpg"}" alt="${video.title}" /></a></div>
- <h2><#if video.number != "0">${video.number}. </#if>${video.title}</h2>
- <span class="duration"><@hms seconds=video.length /></span>
- <#if (video.pdf!"") != "">
- <span class="pdf"><a href="${video.pdf}" target="_blank">Outline</a></span>
- </#if>
- <#if !allowUserToSkip && allowed && !video.completed>
- <#assign allowed = false>
- </#if>
- </article>
- </#list>
- </div>
-
- <#assign hasDeeper = ["seeker", "believer", "disciple", "teacher"]>
- <#if hasDeeper?seq_contains(chapter)>
- <div id="deeper">
- <h2>Going Deeper</h2>
- <p>
- <a href="${dynamicRoot}/deeper/${chapter}.html">Click here</a>
- for additional and important resources specifically for ${chapter}s.
- </p>
- <p>
- This page contains a list of resources provided to help you to go
- deeper in your faith. It includes reading material, links to
- helpful resources, etc.
- </p>
- </div>
- </#if>
-
- <#if showfeed!false>
- <#include "/templates/communityfeed.ftl">
- </#if>
- </div>
-
- <div id="videoplayer">
- <div class="close"><a href="#" onclick="closeVideo(); return false"><img src="${staticRoot}/images/close.png" alt="Close Video" title="Close" /></a></div>
- <div class="video">
- <video width="720" height="405" controls="controls">
- This video is not playable in your browser.
- <a href="http://google.com/chrome">Try Chrome?</a>
- </video>
- </div>
- </div>
-
-</@commonpage>
-
-