summaryrefslogtreecommitdiff
path: root/src/templates/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/templates')
-rw-r--r--src/templates/templates/footer.ftl6
-rw-r--r--src/templates/templates/nav.ftl12
-rw-r--r--src/templates/templates/question-image.ftl4
-rw-r--r--src/templates/templates/survey.ftl6
4 files changed, 14 insertions, 14 deletions
diff --git a/src/templates/templates/footer.ftl b/src/templates/templates/footer.ftl
index c7f6ca6..64d6d47 100644
--- a/src/templates/templates/footer.ftl
+++ b/src/templates/templates/footer.ftl
@@ -1,9 +1,9 @@
<footer>
<div class="left">
&copy;2012 Grow Process
- <a href="index.html">Home</a>
- <a href="about.html">About</a>
- <a href="contact.html">Contact</a>
+ <a href="${dynamicRoot}/index.html">Home</a>
+ <a href="${dynamicRoot}/about.html">About</a>
+ <a href="${dynamicRoot}/contact.html">Contact</a>
</div>
<div class="right">
diff --git a/src/templates/templates/nav.ftl b/src/templates/templates/nav.ftl
index cf2562c..cef283e 100644
--- a/src/templates/templates/nav.ftl
+++ b/src/templates/templates/nav.ftl
@@ -7,17 +7,17 @@
</#macro>
<header>
- <h1><img src="${contentroot}/images/logo.png"> Grow Process</h1>
+ <h1><img src="${staticRoot}/images/logo.png"> Grow Process</h1>
<nav class="primary">
<ul>
- <@navLink href="/index.html">Home</@navLink>
- <@navLink href="/about.html">About</@navLink>
- <@navLink href="/contact.html">Contact</@navLink>
+ <@navLink href="${dynamicRoot}/index.html">Home</@navLink>
+ <@navLink href="${dynamicRoot}/about.html">About</@navLink>
+ <@navLink href="${dynamicRoot}/contact.html">Contact</@navLink>
<#if user??>
- <@navLink href="/account/assessment">Take Assessment</@navLink>
+ <@navLink href="${dynamicRoot}/account/assessment">Take Assessment</@navLink>
<#else>
- <@navLink href="/login.html">Login / Sign Up</@navLink>
+ <@navLink href="${dynamicRoot}/login.html">Login / Sign Up</@navLink>
</#if>
</ul>
</nav>
diff --git a/src/templates/templates/question-image.ftl b/src/templates/templates/question-image.ftl
index 63f0616..f117256 100644
--- a/src/templates/templates/question-image.ftl
+++ b/src/templates/templates/question-image.ftl
@@ -1,9 +1,9 @@
<div class="imageQuestion question">
<#list question.answers?keys as answerid>
<#if selectedAnswerId?? && answerid == selectedAnswerId>
- <a href="#" class="answer" id="${answerid}" onclick="selectAnswer(this)" class="selected"><img src="images/${question.id}-${answerid}.png" alt="${question.answers[answerid]!}" /></a>
+ <a href="#" class="answer" id="${answerid}" onclick="selectAnswer(this)" class="selected"><img src="${staticRoot}/images/${question.id}-${answerid}.png" alt="${question.answers[answerid]!}" /></a>
<#else>
- <a href="#" class="answer" id="${answerid}" onclick="selectAnswer(this)" class="answer"><img src="images/${question.id}-${answerid}.png" alt="${question.answers[answerid]!}" /></a>
+ <a href="#" class="answer" id="${answerid}" onclick="selectAnswer(this)" class="answer"><img src="${staticRoot}/images/${question.id}-${answerid}.png" alt="${question.answers[answerid]!}" /></a>
</#if>
</#list>
</div>
diff --git a/src/templates/templates/survey.ftl b/src/templates/templates/survey.ftl
index a1eb18d..9ea47d5 100644
--- a/src/templates/templates/survey.ftl
+++ b/src/templates/templates/survey.ftl
@@ -13,16 +13,16 @@
</div>
<div id="content">
- <form id="questionForm" action="/account/assessment/question/${question.id}" method="post">
+ <form id="questionForm" action="${dynamicRoot}/account/assessment/question/${question.id}" method="post">
<input id="answerField" type="hidden" name="answer" value="${selectedAnswerId!}" />
<div id="previous">
<a href="#" onclick="previousQuestion();return false;">
- <img src="${contentroot}/images/previous.png" alt="Previous Question" />
+ <img src="${staticRoot}/images/previous.png" alt="Previous Question" />
</a>
</div>
<div id="next">
<a href="#" onclick="nextQuestion();return false;">
- <img src="${contentroot}/images/next.png" alt="Next Question" />
+ <img src="${staticRoot}/images/next.png" alt="Next Question" />
</a>
</div>
<article>