Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9f3d2d351a
Fetching contributors…

Cannot retrieve contributors at this time

executable file 117 lines (106 sloc) 4.481 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>
#page_container {padding-left:1em;padding-right:1em;}
#header_left {margin-top:2em;text-align:left;}
.border {border:2px solid red;}
#top_menu_links {clear:both;}
#top_menu_links a {color:#303030;text-decoration:none;float:left;margin-left:0.5em;margin-right:0.5em;}
#top_menu_links a:hover {color:#7e090c; border-bottom:1px solid #7e090c;padding-bottom:0.2em;}
#top_menu_links a.active {color:#7e090c !important;font-weight:bold;border-bottom:1px solid #7e090c;padding-bottom:0.2em;}
#content_middle {background-color:#222222;width:100%;}
#content_third, #middle_container {width:960px; display:block;margin: 0 auto;}
</style>
{% load i18n %}
{% load googleanalytics_tags %}
{% get_available_languages as LANGUAGES %}
<title>{% trans "FixMyStreet.ca" %} - {% block title %}{% trans "Home" %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="/media/css/global.css" />
<link rel="stylesheet" type="text/css" href="/media/css/typography.css" />
<link rel="stylesheet" type="text/css" href="/media/css/layout-9.css" />
<link rel="stylesheet" type="text/css" href="/media/css/colors.css" />
{% block css %}{% endblock %}
{% block script %}{% endblock %}
{% if google %}
{{ google.style }}
{{ google.scripts }}
{% endif %}
</head>
<body {% if google %}{{ google.onload }} {{ google.onunload }}{% endif %}>
<div id="content_container">
<div id="page_container" class="container_12">
<div id="header" class='grid_12'>
<div id="header_left">
<a href='/'><img src="/media/images/fms-canada-logo.gif"></a>
</div>
<div id="header_right">
<div id='account-signin'>
<ul>
{% if user.is_authenticated %}
{% if user.is_staff %}
<li><a href='/admin'>Admin</a></li>
{% endif %}
<li><a href='{% url account_edit %}'>{% trans "My Account" %}</a></li>
<li><a href='{% url auth_logout %}'>{% trans "Sign Out" %}</a></li>
{% else %}
<li><a href='{% url auth_login %}'>{% trans "Sign In" %}</a></li>
<li><a href='{% url registration_register %}'>{% trans "Create Account" %}</a></li>
{% endif %}
</ul>
</div>
<div id="language">
<form action="/i18n/setlang/" method="post">{% csrf_token %}
<select name="language">
{% for lang in LANGUAGES %}
<option value="{{ lang.0 }}">{{ lang.1 }}</option>
{% endfor %}
</select>
<input type="submit" value="Go" />
</form>
</div>
{% load tags %}
{% url contact_url_name as contact %}
{% url about_url_name as about %}
{% url cities_url_name as cities_link %}
<div id="top_menu_links"><div>
<ul>
<li><a class="{% fmsmenu_active request 'submit' %}" href="/" >{% trans "Submit a Report" %}</a></li>
<li><a class="{% fmsmenu_active request 'view' %}" href="{{cities_link}}">{% trans "View Reports" %}</a></li>
<li><a class="{% fmsmenu_active request 'myreports' %}" href="{% url account_home %}">{% trans "My Reports" %}</a></li>
<li><a class="{% fmsmenu_active request about %}" href="{{about}}">{% trans "About" %}</a></li>
</ul>
</div>
</div>
</div>
</div> <!--end page_container -->
</div><!--end content_container -->
<div id="content_middle">
<div id='middle_container' class='container_12'>
<div class='grid_12'>
{% if error_msg %}
<div id="error-msg">
<p>{{error_msg}}</p>
</div>
{% endif %}
{% block content %}{% endblock %}
</div>
</div>
</div>
<div id="content_third" class='container_12'>
<div class='grid_12'>
{% block content_third %}{% endblock %}
</div>
</div>
<div id="footer" class="container_12">
<div class='grid_12'>
<a href="http://visiblegovernment.ca">VisibleGovernment.ca</a>
| <a href='{% url privacy %}'>{% trans "Privacy" %}</a>
| <a href='{% url contact_url_name %}'>{% trans "Contact Us" %}</a>
| <a href='{% url posters %}'>{% trans "Hang a Poster" %}</a>
</div>
</div>
{% block endbody %}{% endblock %}
{% googleanalytics %}
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.