diff options
Diffstat (limited to 'src/templates/macros')
-rw-r--r-- | src/templates/macros/common-page.ftl | 29 | ||||
-rw-r--r-- | src/templates/macros/common.ftl | 4 | ||||
-rw-r--r-- | src/templates/macros/content.ftl | 7 | ||||
-rw-r--r-- | src/templates/macros/hms.ftl | 25 | ||||
-rw-r--r-- | src/templates/macros/noticebox.ftl | 10 |
5 files changed, 0 insertions, 75 deletions
diff --git a/src/templates/macros/common-page.ftl b/src/templates/macros/common-page.ftl deleted file mode 100644 index 1780036..0000000 --- a/src/templates/macros/common-page.ftl +++ /dev/null @@ -1,29 +0,0 @@ -<#macro commonpage> - <#compress> - <!doctype html> - <html> - <head> - <title>Grow Process</title> - - <link href="http://fonts.googleapis.com/css?family=Arvo:400,700" rel="stylesheet"> - <link rel="stylesheet" href="${staticRoot}/style.css" /> - <script src="${staticRoot}/scripts/jquery.min.js"></script> - <script src="${staticRoot}/scripts/jquery-ui.js"></script> - <script src="${staticRoot}/scripts/growth.js"></script> - </head> - <body> - <div id="notfooter"> - <#include "/templates/banner.ftl"> - <#include "/templates/header.ftl"> - - <#nested> - - <div id="push"></div> - </div> - - <#include "/templates/footer.ftl"> - - </body> - </html> - </#compress> -</#macro> diff --git a/src/templates/macros/common.ftl b/src/templates/macros/common.ftl deleted file mode 100644 index d388a4e..0000000 --- a/src/templates/macros/common.ftl +++ /dev/null @@ -1,4 +0,0 @@ -<#include "content.ftl"> -<#include "noticebox.ftl"> -<#assign dynamicRoot = ""> -<#assign staticRoot = ""> diff --git a/src/templates/macros/content.ftl b/src/templates/macros/content.ftl deleted file mode 100644 index eaf0b17..0000000 --- a/src/templates/macros/content.ftl +++ /dev/null @@ -1,7 +0,0 @@ -<#macro content class=""> - <div id="content"> - <article class="${class}"> - <#nested> - </article> - </div> -</#macro> diff --git a/src/templates/macros/hms.ftl b/src/templates/macros/hms.ftl deleted file mode 100644 index 339b8a9..0000000 --- a/src/templates/macros/hms.ftl +++ /dev/null @@ -1,25 +0,0 @@ -<#macro hms seconds> - <#assign h = (seconds / 3600)?int /> - <#assign m = (seconds % 3600 / 60)?int /> - <#assign s = (seconds % 3600 % 60)?int /> - - <#if (h < 10)> - <#assign h = "0${h}" /> - </#if> - - <#if (m < 10)> - <#assign m = "0${m}" /> - </#if> - - <#if (s < 10)> - <#assign s = "0${s}" /> - </#if> - - <#if (seconds >= 3600)> - ${h}:${m}:${s} - <#elseif (seconds >= 60)> - ${m}:${s} - <#else> - ${s} seconds - </#if> -</#macro> diff --git a/src/templates/macros/noticebox.ftl b/src/templates/macros/noticebox.ftl deleted file mode 100644 index 34ef994..0000000 --- a/src/templates/macros/noticebox.ftl +++ /dev/null @@ -1,10 +0,0 @@ -<#macro noticebox class=""> - <div id="middlebar"> - <div id="noticebox" class="${class}"> - <p> - <img class="icon" src="${staticRoot}/images/noticeicon.png"> - <span><#nested></span> - </p> - </div> - </div> -</#macro> |