diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-04-30 06:54:08 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2013-04-30 06:54:08 -0700 |
commit | 277f0f6ba4dc4ae788fc63fd26704ab766a79363 (patch) | |
tree | 64a8344a1b2a07a8db9aa391aeb5a4b53887e0b8 /src/templates/macros | |
parent | 206d83b645af34ddf7d67001b84c17b35a9fab9c (diff) |
Adding page templates and resources
Diffstat (limited to 'src/templates/macros')
-rw-r--r-- | src/templates/macros/common-page.ftl | 26 | ||||
-rw-r--r-- | src/templates/macros/common.ftl | 2 | ||||
-rw-r--r-- | src/templates/macros/content.ftl | 7 | ||||
-rw-r--r-- | src/templates/macros/noticebox.ftl | 10 |
4 files changed, 45 insertions, 0 deletions
diff --git a/src/templates/macros/common-page.ftl b/src/templates/macros/common-page.ftl new file mode 100644 index 0000000..eaef04f --- /dev/null +++ b/src/templates/macros/common-page.ftl @@ -0,0 +1,26 @@ +<#macro commonpage> + <!doctype html> + <html> + <head> + <title>Grow Process</title> + + <link rel="stylesheet" href="../style.css" /> + <script src="../scripts/jquery.min.js"></script> + <script src="..//scripts/growth.js"></script> + </head> + <body> + <div id="notfooter"> + <#include "/templates/nav.ftl"> + + <#include "/templates/index-hero.ftl"> + + <#nested> + + <div id="push"></div> + </div> + + <#include "/templates/footer.ftl"> + + </body> + </html> +</#macro> diff --git a/src/templates/macros/common.ftl b/src/templates/macros/common.ftl new file mode 100644 index 0000000..7e8a2d5 --- /dev/null +++ b/src/templates/macros/common.ftl @@ -0,0 +1,2 @@ +<#include "content.ftl"> +<#include "noticebox.ftl"> diff --git a/src/templates/macros/content.ftl b/src/templates/macros/content.ftl new file mode 100644 index 0000000..dc474f0 --- /dev/null +++ b/src/templates/macros/content.ftl @@ -0,0 +1,7 @@ +<#macro content> + <div id="content"> + <article> + <#nested> + </article> + </div> +</#macro> diff --git a/src/templates/macros/noticebox.ftl b/src/templates/macros/noticebox.ftl new file mode 100644 index 0000000..e1d75a5 --- /dev/null +++ b/src/templates/macros/noticebox.ftl @@ -0,0 +1,10 @@ +<#macro noticebox> + <div id="middlebar"> + <div id="noticebox"> + <img class="icon" src="../images/noticeicon.png"> + <p> + <#nested> + </p> + </div> + </div> +</#macro> |