diff options
Diffstat (limited to 'templates')
-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 | ||||
-rw-r--r-- | templates/web/emptyhomes/about/index.html | 36 |
6 files changed, 114 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 diff --git a/templates/web/emptyhomes/about/index.html b/templates/web/emptyhomes/about/index.html new file mode 100644 index 000000000..f34d2c9ff --- /dev/null +++ b/templates/web/emptyhomes/about/index.html @@ -0,0 +1,36 @@ +[% INCLUDE 'header.html', title => loc('About Us') %] + +<h1>[% loc('About us') %]</h1> + +<div style="float: left; width: 48%;"> + + <h2>The Empty Homes Agency</h2> + + <p>The Empty Homes agency is an independent campaigning charity. We are not + part of government, and have no formal links with local councils although we + work in cooperation with both. We exist to highlight the waste of empty + property and work with others to devise and promote sustainable solutions to + bring empty property back into use. We are based in London but work across + England. We also work in partnership with other charities across the UK.</p> + +</div> + +<div style="float: right; width:48%;"> + + <h2>Shelter Cymru</h2> + + <p>Shelter Cymru is Wales’ people and homes charity and wants everyone + in Wales to have a decent home. We believe a home is a fundamental right and + essential to the health and well-being of people and communities. We work + for people in housing need. We have offices all over Wales and prevent + people from losing their homes by offering free, confidential and + independent advice. When necessary we constructively challenge on behalf of + people to ensure they are properly assisted and to improve practice and + learning. We believe that bringing empty homes back into use can make a + significant contribution to the supply of affordable homes in Wales. <a + href="http://www.sheltercymru.org.uk/shelter/advice/pdetail.asp?cat=20">Further + information about our work on empty homes</a>.</p> + +</div> + +[% INCLUDE 'footer.html' %]
\ No newline at end of file |