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 %}
|
2012-12-02 03:43:30 +05:30
|
|
|
<link href="/images/ped24.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" />
|
2015-09-08 03:42:25 +05:30
|
|
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
|
|
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
|
2012-06-20 16:43:11 +05:30
|
|
|
<script type="text/javascript" src="/styles/jhtmlarea/scripts/jHtmlArea-0.7.0.js"></script>
|
|
|
|
<link rel="Stylesheet" type="text/css" href="/styles/jhtmlarea/style/jHtmlArea.css" />
|
2012-08-01 02:19:19 +05:30
|
|
|
<script type="text/javascript" src="/styles/javascript/jquery.flexbox.min.js"></script>
|
|
|
|
<link type="text/css" rel="stylesheet" href="/styles/css/jquery.flexbox.css" />
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endblock %}
|
2012-05-17 22:06:21 +05:30
|
|
|
|
2012-05-28 22:47:15 +05:30
|
|
|
<style type="text/css">
|
2012-05-17 22:06:21 +05:30
|
|
|
table td {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2012-06-15 16:19:46 +05:30
|
|
|
div.content {
|
2012-06-16 21:35:42 +05:30
|
|
|
background: none;
|
2012-06-15 16:19:46 +05:30
|
|
|
}
|
2012-05-17 22:06:21 +05:30
|
|
|
.content {
|
|
|
|
padding: 0px 0px 10px;
|
|
|
|
}
|
2012-05-30 08:22:33 +05:30
|
|
|
.browsecell {
|
|
|
|
display: block;
|
|
|
|
}
|
2012-05-17 22:06:21 +05:30
|
|
|
#subtitle {
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
border-top: 1px solid;
|
|
|
|
}
|
|
|
|
td.ColumnAttribute {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2012-05-21 00:52:30 +05:30
|
|
|
#error {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
{% if action == "edit" or action == "add" %}
|
2012-05-17 22:06:21 +05:30
|
|
|
{% else %}
|
|
|
|
#rowspace {
|
|
|
|
height: 3px;
|
|
|
|
}
|
|
|
|
#data {
|
|
|
|
border: 1px solid;
|
|
|
|
background-color: white;
|
2012-06-01 21:30:24 +05:30
|
|
|
color: brown;
|
2012-05-17 22:06:21 +05:30
|
|
|
}
|
2012-05-21 00:52:30 +05:30
|
|
|
{% endif %}
|
2012-06-15 16:19:46 +05:30
|
|
|
|
|
|
|
/* Component containers */
|
|
|
|
.ui-widget {
|
|
|
|
font-family: Georgia,serif;
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
|
|
|
|
font-family: Georgia,serif;
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
.ui-widget-content {
|
|
|
|
border: 1px solid #7D5925;
|
|
|
|
color: #7D5925;
|
|
|
|
float: left;
|
2012-06-20 16:43:11 +05:30
|
|
|
width: 98%;
|
2012-06-15 16:19:46 +05:30
|
|
|
}
|
|
|
|
.ui-widget-content a {
|
|
|
|
color: #7D5925;
|
|
|
|
}
|
|
|
|
.ui-widget-header {
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
.ui-widget-header a {
|
|
|
|
color: #7D5925;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Overlays */
|
|
|
|
.ui-widget-overlay {
|
|
|
|
background: #aaaaaa;
|
|
|
|
opacity: .30;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-widget-shadow {
|
|
|
|
margin: -8px 0 0 -8px;
|
|
|
|
padding: 8px;
|
|
|
|
opacity: .30;
|
|
|
|
-webkit-border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Interaction states */
|
|
|
|
.ui-state-default {
|
|
|
|
border: 1px solid #7D5925;
|
|
|
|
background: #FFF2C6;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #7D5925;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
|
|
|
|
color: #7D5925;
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.ui-state-hover, .ui-state-focus {
|
|
|
|
border: 1px solid #f5ad66;
|
|
|
|
background: #f5f0e5;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #a46313;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.ui-state-hover a, .ui-state-hover a:hover {
|
|
|
|
color: #a46313;
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.ui-state-active {
|
|
|
|
border: 1px solid #7D5925;
|
|
|
|
background: #f4f0ec;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #b85700;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
|
|
|
|
color: #b85700;
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Interaction Cues */
|
|
|
|
.ui-state-highlight {
|
|
|
|
border: 1px solid #d9bb73;
|
|
|
|
background: #f5f5b5;
|
|
|
|
color: #060200;
|
|
|
|
}
|
|
|
|
.ui-state-highlight a {
|
|
|
|
color: #060200;
|
|
|
|
}
|
|
|
|
.ui-state-error {
|
|
|
|
border: 1px solid #f8893f;
|
|
|
|
background: #fee4bd;
|
|
|
|
color: #dd4e2c;
|
|
|
|
}
|
|
|
|
.ui-state-error a {
|
|
|
|
color: #dd4e2c;
|
|
|
|
}
|
|
|
|
.ui-state-error-text {
|
|
|
|
color: #dd4e2c;
|
|
|
|
}
|
|
|
|
.ui-state-disabled {
|
|
|
|
opacity: .35;
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
.ui-priority-primary {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.ui-priority-secondary {
|
|
|
|
opacity: .7;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tabs */
|
|
|
|
.ui-tabs {
|
|
|
|
padding: .2em;
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-nav {
|
|
|
|
list-style: none;
|
|
|
|
position: relative;
|
|
|
|
padding: .2em .2em 0;
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-nav li {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
margin: .2em .2em -1px 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-nav li a {
|
|
|
|
float: left;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: .5em 1em;
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
|
|
|
|
padding-bottom: 1px;
|
|
|
|
border-bottom-width: 0;
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a {
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
|
|
|
|
cursor: pointer;
|
|
|
|
} /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
|
|
|
.ui-tabs .ui-tabs-panel {
|
|
|
|
padding: 1em 1.4em;
|
|
|
|
display: block;
|
|
|
|
border-width: 0;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-hide {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
</style>
|
2012-05-17 22:06:21 +05:30
|
|
|
|
2012-07-22 21:00:28 +05:30
|
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
|
|
<!--
|
|
|
|
var timerId=0 ;
|
|
|
|
|
|
|
|
function clearTimer() {
|
|
|
|
if (timerId!=0) {
|
|
|
|
clearTimeout(timerId); timerId=0; }}
|
|
|
|
|
|
|
|
function startTimer() {
|
|
|
|
clearTimer(); timerId=setTimeout('timerId=0;hideMenus()',200);
|
|
|
|
}
|
|
|
|
|
|
|
|
function showMenu(menuNum) {
|
|
|
|
clearTimer(); hideMenus();
|
|
|
|
document.getElementById('menu_'+menuNum).style.display="";
|
|
|
|
}
|
|
|
|
|
|
|
|
function hideMenus() {
|
|
|
|
document.getElementById('menu_browse').style.display="none";
|
|
|
|
}
|
|
|
|
|
|
|
|
function hiLite(theOption) {
|
|
|
|
clearTimer();
|
|
|
|
document.getElementById('opt_'+theOption).style.background='#9090FF';
|
|
|
|
}
|
|
|
|
|
|
|
|
function unLite(theOption) {
|
|
|
|
startTimer();
|
|
|
|
document.getElementById('opt_'+theOption).style.background='#D0D0FF';
|
|
|
|
}
|
|
|
|
|
|
|
|
function optClick(theOption) {
|
|
|
|
document.location.href=theOption;
|
|
|
|
}
|
2012-07-27 20:27:49 +05:30
|
|
|
|
2012-08-01 02:19:19 +05:30
|
|
|
function setHasData(classname, value) {
|
2012-07-27 20:27:49 +05:30
|
|
|
var elems = document.getElementsByTagName('*'), i;
|
|
|
|
for (i in elems) {
|
|
|
|
if((" " + elems[i].className + " ").indexOf(" " + classname + " ") > -1) {
|
|
|
|
if (value) {
|
|
|
|
elems[i].style.fontWeight = "bold";
|
|
|
|
elems[i].style.fontStyle = "italic";
|
|
|
|
} else {
|
|
|
|
elems[i].style.fontWeight = "";
|
|
|
|
elems[i].style.fontStyle = "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-08-01 02:19:19 +05:30
|
|
|
|
|
|
|
function setReturnValues() {
|
|
|
|
var elems = document.getElementsByTagName('*'), i;
|
|
|
|
for (i in elems) {
|
|
|
|
if ((" " + elems[i].name + " ").indexOf("_return ") > -1) {
|
|
|
|
var pos = (" " + elems[i].name + " ").indexOf("_return ");
|
|
|
|
var s = elems[i].name.substring(0, pos - 1);
|
|
|
|
var v = document.getElementsByName(s)[0];
|
|
|
|
elems[i].value = v.value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-12-02 03:43:30 +05:30
|
|
|
|
|
|
|
function buttonOver(button) {
|
|
|
|
button.style.backgroundColor = "white";
|
|
|
|
button.style.border = "1px solid gray";
|
|
|
|
}
|
|
|
|
|
|
|
|
function buttonOut(button) {
|
|
|
|
button.style.backgroundColor = "lightgray";
|
|
|
|
button.style.border = "1px solid lightgray";
|
|
|
|
}
|
2012-07-22 21:00:28 +05:30
|
|
|
//-->
|
|
|
|
</SCRIPT>
|
|
|
|
|
|
|
|
<STYLE TYPE="text/css">
|
|
|
|
<!--
|
|
|
|
.popupMenu {
|
|
|
|
// font-family : Verdana,Tahoma,Helvetica,sans-serif;
|
|
|
|
// font-size : 12px;
|
|
|
|
color : #111111;
|
|
|
|
position : absolute;
|
|
|
|
// top : 72px;
|
|
|
|
border : 1px;
|
|
|
|
padding : 3px;
|
|
|
|
z-index : 16;
|
|
|
|
background-color: #D0D0FF;
|
|
|
|
cursor : pointer; }
|
|
|
|
-->
|
|
|
|
</STYLE>
|
2009-11-10 10:58:35 +05:30
|
|
|
</head>
|
2012-08-01 02:19:19 +05:30
|
|
|
<body onclick="hideMenus()"
|
|
|
|
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 %}
|
2012-07-22 21:00:28 +05:30
|
|
|
<a href="/{{title.1}}/">{{title.0}}</a>
|
|
|
|
</li>
|
2011-10-16 22:30:32 +05:30
|
|
|
{% else %}
|
2012-07-22 21:00:28 +05:30
|
|
|
<a href="/">{{title.0}}</a>
|
|
|
|
</li>
|
2011-10-16 22:30:32 +05:30
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{# don't show #}
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
<li {{tview|currentSection:title.1 }}>
|
|
|
|
{% if title.1 %}
|
2012-07-22 21:00:28 +05:30
|
|
|
<a href="/{{title.1}}/"
|
|
|
|
onmouseover="showMenu('{{title.1}}')"
|
|
|
|
onmouseout="startTimer()"
|
|
|
|
style="cursor:pointer"
|
|
|
|
href="/browse/">{{title.0}}</a>
|
|
|
|
<DIV CLASS="popupMenu" ID="menu_browse" STYLE="display:none;">
|
|
|
|
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
|
|
|
|
<TR ID="opt_person"><TD><A ONMOUSEOVER="hiLite('person')" ONMOUSEOUT="unLite('person')" ONCLICK="optClick('/person/')">People</A></TD></TR>
|
|
|
|
<TR ID="opt_family"><TD><A ONMOUSEOVER="hiLite('family')" ONMOUSEOUT="unLite('family')" ONCLICK="optClick('/family/')">Families</A></TD></TR>
|
|
|
|
<TR ID="opt_event"><TD><A ONMOUSEOVER="hiLite('event')" ONMOUSEOUT="unLite('event')" ONCLICK="optClick('/event/')">Events</A></TD></TR>
|
|
|
|
<TR ID="opt_note"><TD><A ONMOUSEOVER="hiLite('note')" ONMOUSEOUT="unLite('note')" ONCLICK="optClick('/note/')">Note</A></TD></TR>
|
|
|
|
<TR ID="opt_media"><TD><A ONMOUSEOVER="hiLite('media')" ONMOUSEOUT="unLite('media')" ONCLICK="optClick('/media/')">Media</A></TD></TR>
|
|
|
|
<TR ID="opt_citation"><TD><A ONMOUSEOVER="hiLite('citation')" ONMOUSEOUT="unLite('citation')" ONCLICK="optClick('/citation/')">Citations</A></TD></TR>
|
|
|
|
<TR ID="opt_source"><TD><A ONMOUSEOVER="hiLite('source')" ONMOUSEOUT="unLite('source')" ONCLICK="optClick('/source/')">Sources</A></TD></TR>
|
|
|
|
<TR ID="opt_place"><TD><A ONMOUSEOVER="hiLite('place')" ONMOUSEOUT="unLite('place')" ONCLICK="optClick('/place/')">Places</A></TD></TR>
|
|
|
|
<TR ID="opt_repository"><TD><A ONMOUSEOVER="hiLite('repsoitory')" ONMOUSEOUT="unLite('repository')" ONCLICK="optClick('/repository/')">Repository</A></TD></TR>
|
|
|
|
<TR ID="opt_tag"><TD><A ONMOUSEOVER="hiLite('tag')" ONMOUSEOUT="unLite('tag')" ONCLICK="optClick('/tag/')">Tags</A></TD></TR>
|
|
|
|
</TABLE>
|
|
|
|
</DIV>
|
|
|
|
</li>
|
2011-10-16 22:30:32 +05:30
|
|
|
{% 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 %}
|
2012-08-01 02:19:19 +05:30
|
|
|
<font color="red">{{message}}</font><br/>
|
2011-10-16 09:28:56 +05:30
|
|
|
{% endfor %}
|
2012-06-07 23:07:33 +05:30
|
|
|
{% if message %}
|
|
|
|
<div id="system_message" class="{{ message_type }}">
|
2012-08-01 02:19:19 +05:30
|
|
|
<font color="red">{{message}}</font><br/>
|
2012-06-07 23:07:33 +05:30
|
|
|
</div>
|
|
|
|
{% endif %}
|
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">
|
2012-08-01 02:19:19 +05:30
|
|
|
<a href="http://www.gramps-project.org/wiki/index.php?title=Gramps-Connect">Gramps-Connect, version {{gramps_version}}</a>.
|
2009-11-11 04:12:27 +05:30
|
|
|
</p>
|
2015-05-10 19:26:26 +05:30
|
|
|
<p id="copyright">© 2009-2015 <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>
|
2012-08-01 02:19:19 +05:30
|
|
|
|
2009-11-10 10:58:35 +05:30
|
|
|
</body>
|
|
|
|
</html>
|