<!DOCTYPE HTML>
<html>
<head>
	{% load i18n %}
	{% load tz %}
	{% get_current_language as LANGUAGE_CODE %}
	{% language LANGUAGE_CODE %}
	{% get_available_languages as LANGUAGES %}
	{% get_current_language_bidi as LANGUAGE_BIDI %}
	<link rel="shortcut icon" href="/static/img/myicon.png" />
	<link rel="shortcut icon" href="/static/img/favicon.ico" />
	<meta charset="utf-8" />
	<meta name="viewport" content="initial-scale=0.67">
	<title>CVK Brno</title>
	<link rel="stylesheet" href="/static/css/reset.css" />
	<link rel="stylesheet" href="/static/css/text.css" />
	<link rel="stylesheet" href="/static/css/960_12_col.css" />
	<link rel="stylesheet" href="/static/css/rowsandall.css" />

<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	{% block meta %} {% endblock %}
</head>
<body>
	<div class="container_12">
		<div id="logo" class="grid_2">
			<p><a href="/cvkbrno/base"><img src="/static/img/cvkbrnologo.gif" 
		alt="Rowsandall logo" width="160" heigt="160"></a></p>
		</div>
		<div class="grid_10 omega">
			<div class="grid_5 alpha">
			<h2>{% trans "Welcome," %} {{ user.first_name }}</h2>
			</div>
			<div class="grid_1">
			<a href="/cvkbrno/language/cs/">
			<img src="/static/flags_iso/24/cz.png" alt="CZ flag">
			</a>
			</div>
			<div class="grid_1">
			<a href="/cvkbrno/language/en-GB/">
			<img src="/static/flags_iso/24/gb.png" alt="EN flag">
			</a>
			</div>
			<div class="grid_1">
			<a href="/cvkbrno/language/nl/">
			<img src="/static/flags_iso/24/nl.png" alt="NL flag">
			</a>
			</div>
			<div class="grid_2 omega">
			{% if user.is_authenticated %}
			<p><a class="button gray" href="/password_change/">
			{% trans "Password Change" %}</a></p>
			{% else %}
			<p><a class="button gray small" href="/password_reset/">{% trans "Forgotten Password?" %}</a></p>
			{% endif %}
			</div>
		</div>

		<div class="grid_10">
			<div class="grid_2 alpha">
			<p>{% trans "Worked hours" %}: {{ worked_hours }}
			</p>
			</div>	
			<div class="grid_2">
			{% if user.is_authenticated %}
			<p>
			<a class="button blue small" href="/cvkbrno/meterboard">
			{% trans "Meterboard" %}
			</a>
			</p>
			{% else %}
			<p>&nbsp;</p>
			{% endif %}
			</div>
			<div class="grid_2 prefix_3">
			{% if thisclub_admin %}
			<p>
			<a class="button rosy small" href="/cvkbrno/memberswork">
			{% trans "Members Work" %}</a>
			</p>
			{% else %}
			<p>&nbsp;</p>
			{% endif %}
			</div>
		</div>
	
	
		<div class="grid_10" omega>
			<div class="grid_2 alpha">
				{% if user.is_authenticated %}
				<p>
				<a class="button blue" href="/cvkbrno/createouting">
				{% trans "Go Rowing" %}</a>
				</p>
				{% else %}
				<p>&nbsp;</p>
				{% endif %}
			</div>
			<div class="grid_2">
				{% if user.is_authenticated %}
				<p>
				<a class="button blue" href="/cvkbrno/makereservation">
					{% trans "Reservations" %}</a>
				</p>
				{% else %}
				<p>&nbsp;</p>
				{% endif %}
			</div>
			<div class="grid_1">
				{% if thisclub_admin %}
				<p><a class="button rosy" href="/cvkbrno/boats">
				{% trans "Boats" %}</a></p>
				{% else %}
				<p>&nbsp;</p>
				{% endif %}
			</div>
			<div class="grid_1">
				{% if thisclub_admin %}
				<p><a class="button rosy" href="/cvkbrno/members">
				{% trans "Members" %}</a></p>
				{% else %}
				<p>&nbsp;</p>
				{% endif %}
			</div>
			<div class="grid_1">
				{% if thisclub_admin %}
				<p><a class="button rosy" href="/cvkbrno/transport">
				{% trans "Transport" %}</a></p>
				{% else %}
				<p>&nbsp;</p>
				{% endif %}
			</div>
			<div class="grid_2">
				{% if thisclub_admin %}
				<p><a class="button rosy" href="/cvkbrno/categories">
				{% trans "Categories" %}</a></p>
				{% else %}
				<p>&nbsp;</p>
				{% endif %}
			</div>
			<div class="grid_1 omega">
				{% if user.is_authenticated %}
				<p><a class="button blue" href="/cvkbrno/logout/">{% trans "logout" %}</a></p>

				{% else %}
				<p>&nbsp</p>
				{% endif %}

			</div>
		</div>

	
		<div class="clear"></div>
		<div class="grid_12">
			{% block message %}
				{% if message %}
				<p class="message">
				{{ message }}
				</p>
				{% endif %}
				{% if successmessage %}
				<p class="successmessage">
				{{ successmessage }}
				</p>
				{% endif %}
			{% endblock %}
		</div>
		<div class="grid_12">
			{% timezone "Europe/Paris" %}
    			{% block content %}{% endblock %}
			{% endtimezone %}
		</div>
		<div class="clear"></div>
	
		<div class="grid_12 omega" >	
    			{% block footer %}
    			<p id="footer"
>{{ versionstring }}</p>
			<div class="grid_3 prefix_1 suffix_1 alpha">
    			<p id="footer">&copy; Sander Roosendaal</p>
			</div>
			<div class="grid_2">
			<p id="footer">About</p>
			</div>
			<div class="grid_1 prefix_2 suffix_2 omega">
			<p id="footer">Contact</p>
			</div>
    			{% endblock %}
		</div>
	</div>
	<!-- end container -->
</body>
{% endlanguage %}
</html>