diff options
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/about/index.html | 9 | ||||
-rw-r--r-- | templates/web/default/errors/page_not_found.html | 7 | ||||
-rw-r--r-- | templates/web/default/footer.html | 34 | ||||
-rw-r--r-- | templates/web/default/header.html | 27 | ||||
-rw-r--r-- | templates/web/default/tracking_code.html | 1 |
5 files changed, 78 insertions, 0 deletions
diff --git a/templates/web/default/about/index.html b/templates/web/default/about/index.html new file mode 100644 index 000000000..dee9fe94c --- /dev/null +++ b/templates/web/default/about/index.html @@ -0,0 +1,9 @@ +[% INCLUDE 'header.html', title => loc('About Us') %] + +<h1>[% loc('About us') %]</h1> + +<h2>FixMyStreet.com</h2> + +<p>FIXME - put in blurb here</p> + +[% INCLUDE 'footer.html' %]
\ No newline at end of file diff --git a/templates/web/default/errors/page_not_found.html b/templates/web/default/errors/page_not_found.html new file mode 100644 index 000000000..92ceb3106 --- /dev/null +++ b/templates/web/default/errors/page_not_found.html @@ -0,0 +1,7 @@ +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> +<html><head> +<title>404 Not Found</title> +</head><body> +<h1>Not Found</h1> +<p>The requested URL [% c.req.uri.path %] was not found on this server.</p> +</body></html> diff --git a/templates/web/default/footer.html b/templates/web/default/footer.html new file mode 100644 index 000000000..f5175af8c --- /dev/null +++ b/templates/web/default/footer.html @@ -0,0 +1,34 @@ +</div> +</div> + +<h2 class="v">[% loc('Navigation') %]</h2> +<ul id="navigation"> +<li><a href="/" >[% loc("Report a problem") %]</a></li> +<li><a href="/reports" >[% loc("All reports") %]</a></li> +<li><a href="/alert$params{pc}" >[% loc("Local alerts") %]</a></li> +<li><a href="/faq" >[% loc("Help") %]</a></li> +<li><a href="/contact" >[% loc("Contact") %]</a></li> +</ul> + +[% loc('<a href="http://www.mysociety.org/"><img id="logo" width="133" height="26" src="/i/mysociety-dark.png" alt="View mySociety.org"><span id="logoie"></span></a>') %] + +[% #FIXME - should be handled in NO template override %] +[% IF c.config.COUNTRY == 'NO' %] + [% loc('Built by <a href="http://www.mysociety.org/">mySociety</a> and maintained by <a href="http://www.nuug.no/">NUUG</a>, using some <a href="http://github.com/mysociety/fixmystreet">clever</a> <a href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/services/TilMa">code</a>.') %] +[% ELSE %] + [% loc('Built by <a href="http://www.mysociety.org/">mySociety</a>, using some <a href="http://github.com/mysociety/fixmystreet">clever</a> <a href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/services/TilMa">code</a>.') %] +[% END %] + +[% INCLUDE 'tracking_code.html' %] + +[% IF c.config.STAGING_SITE %] +<hr> + +<ul> + <li>Cobrand: [% c.cobrand.moniker %]</li> + <li>extra template path: [% additional_template_paths.join(',') %]</li> +</ul> + +[% END %] +</body> +</html> diff --git a/templates/web/default/header.html b/templates/web/default/header.html new file mode 100644 index 000000000..d6da00c8f --- /dev/null +++ b/templates/web/default/header.html @@ -0,0 +1,27 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="[% lang_code %]"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <script type="text/javascript" src="/yui/utilities.js"></script> + <script type="text/javascript" src="/js.js"></script> + + <title>[% title | html %][% c.cobrand.site_title %]</title> + <style type="text/css">@import url("/css/core.css"); @import url("/css/main.css");</style> + <!--[if LT IE 7]> + <style type="text/css">@import url("/css/ie6.css");</style> + <![endif]--> + [% # FIXME - insert RSS links here %] + </head> + <body> + + <div id="header"> + <a href="/">[% loc('Fix<span id="my">My</span>Street') %]</a> + </div> + + <div id="wrapper"><div id="content"> + + [% IF c.config.STAGING_SITE %] + <p class="error"> + [% loc("This is a developer site; things might break at any time, and the database will be periodically deleted.") %] + </p> + [% END %]
\ No newline at end of file diff --git a/templates/web/default/tracking_code.html b/templates/web/default/tracking_code.html new file mode 100644 index 000000000..b287b8cfb --- /dev/null +++ b/templates/web/default/tracking_code.html @@ -0,0 +1 @@ +FIXME: insert tracking code here
\ No newline at end of file |