2009-11-10 10:58:35 +05:30
|
|
|
{% load my_tags %}
|
2012-04-29 02:05:16 +05:30
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
|
2009-11-10 10:58:35 +05:30
|
|
|
<head>
|
2012-05-19 01:35:07 +05:30
|
|
|
<title>{% block title %}{{sitename}}{% endblock %}</title>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% block meta %}
|
|
|
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
|
|
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
2009-11-19 23:02:11 +05:30
|
|
|
<meta name="generator" content="Gramps 3.2.0-0.SVN12859M http://gramps-project.org/" />
|
2009-11-10 10:58:35 +05:30
|
|
|
<meta name="author" content="" />
|
|
|
|
{% endblock %}
|
2009-11-11 21:48:01 +05:30
|
|
|
<link href="/images/favicon2.ico" type="image/x-icon" rel="shortcut icon" />
|
2009-11-10 10:58:35 +05:30
|
|
|
{% block css %}
|
2010-08-18 08:06:26 +05:30
|
|
|
<link media="screen" href="/styles/css/{{css_theme}}" type="text/css" rel="stylesheet" />
|
|
|
|
<link media="print" href="/styles/css/Web_Print-Default.css" type="text/css" rel="stylesheet" />
|
|
|
|
<link type="text/css" href="/styles/css/swanky-purse/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
|
2012-04-29 02:05:16 +05:30
|
|
|
<script type="text/javascript" src="/styles/javascript/jquery-1.3.2.min.js"></script>
|
|
|
|
<script type="text/javascript" src="/styles/javascript/jquery-ui-1.7.2.custom.min.js"></script>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endblock %}
|
2012-05-17 22:06:21 +05:30
|
|
|
|
|
|
|
<style>
|
|
|
|
table td {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
padding: 0px 0px 10px;
|
|
|
|
}
|
|
|
|
#subtitle {
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
border-top: 1px solid;
|
|
|
|
}
|
|
|
|
td.ColumnAttribute {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
{% ifequal action "edit" %}
|
|
|
|
{% else %}
|
|
|
|
#rowspace {
|
|
|
|
height: 3px;
|
|
|
|
}
|
|
|
|
#data {
|
|
|
|
border: 1px solid;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
{% endifequal %}
|
|
|
|
</style
|
|
|
|
|
2009-11-10 10:58:35 +05:30
|
|
|
</head>
|
2012-05-16 01:51:45 +05:30
|
|
|
<body onload="if (document.getElementById('get_focus')) {document.getElementById('get_focus').focus();}">
|
2012-05-17 20:16:22 +05:30
|
|
|
<div id="header" style="padding-top: 1em; background-position:0px -32px;">
|
2012-05-19 01:35:07 +05:30
|
|
|
<h1 id="SiteTitle" style="margin-left: 0em;">{% block heading %}{{sitename}}{% endblock %}</h1>
|
2009-11-10 10:58:35 +05:30
|
|
|
</div>
|
2012-05-17 22:06:21 +05:30
|
|
|
|
2012-04-29 02:05:16 +05:30
|
|
|
<div class="wrapper" role="navigation" id="nav">
|
2009-11-10 10:58:35 +05:30
|
|
|
{% block navigation %}
|
2012-04-29 02:05:16 +05:30
|
|
|
<div class="container">
|
|
|
|
<ul class="menu" id="dropmenu">
|
2011-10-13 05:43:00 +05:30
|
|
|
<li {{ tview|currentSection:"home" }}><a href="/">Home</a></li>
|
2011-10-16 22:30:32 +05:30
|
|
|
{% for title in menu %}
|
|
|
|
{# (<Nice name>, /<path>/, <Model> | None, Need authentication ) #}
|
|
|
|
{% if title.3 %}
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<li {{tview|currentSection:title.1 }}>
|
|
|
|
{% if title.1 %}
|
|
|
|
<a href="/{{title.1}}/">{{title.0}}</a></li>
|
|
|
|
{% else %}
|
|
|
|
<a href="/">{{title.0}}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{# don't show #}
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
<li {{tview|currentSection:title.1 }}>
|
|
|
|
{% if title.1 %}
|
|
|
|
<a href="/{{title.1}}/">{{title.0}}</a></li>
|
|
|
|
{% else %}
|
|
|
|
<a href="/">{{title.0}}</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endfor %}
|
|
|
|
{% if user.is_authenticated %}
|
2010-01-02 07:39:09 +05:30
|
|
|
{% if next %}
|
|
|
|
<li><a href="/logout/?next={{next}}">Logout</a></li>
|
|
|
|
{% else %}
|
2009-11-10 10:58:35 +05:30
|
|
|
<li><a href="/logout">Logout</a></li>
|
2011-10-12 22:02:31 +05:30
|
|
|
{% endif %}
|
2009-11-10 10:58:35 +05:30
|
|
|
{% if user.is_superuser %}
|
|
|
|
<li><a href="/admin">Admin</a></li>
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
2010-01-01 20:46:20 +05:30
|
|
|
{% if next %}
|
|
|
|
<li><a href="/login/?next={{next}}">Login</a></li>
|
|
|
|
{% else %}
|
2009-11-10 10:58:35 +05:30
|
|
|
<li><a href="/login/">Login</a></li>
|
2010-01-01 20:46:20 +05:30
|
|
|
{% endif %}
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|
2012-04-29 02:05:16 +05:30
|
|
|
</div>
|
2009-11-10 10:58:35 +05:30
|
|
|
</div>
|
|
|
|
<div class="grampsweb">
|
2011-10-16 09:28:56 +05:30
|
|
|
{% for message in messages %}
|
|
|
|
<font color="red">{{message}}</font>
|
|
|
|
{% endfor %}
|
2009-11-10 10:58:35 +05:30
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
2011-10-16 09:28:56 +05:30
|
|
|
<div class="content">
|
2009-11-10 10:58:35 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
2009-11-11 04:12:27 +05:30
|
|
|
{% block footer %}
|
|
|
|
<p id="createdate">
|
2011-10-13 06:11:27 +05:30
|
|
|
Gramps Connect, version {{gramps_version}}.
|
2009-11-11 04:12:27 +05:30
|
|
|
</p>
|
2012-05-17 20:16:22 +05:30
|
|
|
<p id="copyright">© 2009-2012 <a href="http://www.gramps-project.org/">www.gramps-project.org</a>
|
2009-11-11 04:12:27 +05:30
|
|
|
</p>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|