Added context_processor to handle contexts for every template; refer to favion2; some visual polish
svn: r13559
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
<meta name="generator" content="GRAMPS 3.2.0-0.SVN12859M http://gramps-project.org/" />
|
||||
<meta name="author" content="" />
|
||||
{% endblock %}
|
||||
<link href="/images/favicon.ico" type="image/x-icon" rel="shortcut icon" />
|
||||
<link href="/images/favicon2.ico" type="image/x-icon" rel="shortcut icon" />
|
||||
{% block css %}
|
||||
<link media="screen" href="/styles/behaviour.css" type="text/css" rel="stylesheet" />
|
||||
<link media="screen" href="/styles/Web_Alphabet-Horizontal.css" type="text/css" rel="stylesheet" />
|
||||
<link media="screen" href="/styles/Web_Mainz.css" type="text/css" rel="stylesheet" />
|
||||
<link media="screen" href="/styles/{{css_theme}}" type="text/css" rel="stylesheet" />
|
||||
<link media="print" href="/styles/Web_Print-Default.css" type="text/css" rel="stylesheet" />
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
@@ -16,13 +16,19 @@
|
||||
</p>
|
||||
|
||||
<p id="description">
|
||||
Database information:
|
||||
<ul>
|
||||
Database information:</p>
|
||||
|
||||
<table class="infolist">
|
||||
<tr>
|
||||
<th>Item</th>
|
||||
<th>Count</th>
|
||||
</tr>
|
||||
{% for view in views %}
|
||||
<li><a href="/{{view.1}}">{{view.0}}</a> ({{view.2}} records)</li>
|
||||
<tr><td align="left"><a href="/{{view.1}}">{{view.0}}</a></td>
|
||||
<td align="right"><a href="/{{view.1}}">{{view.2.objects.count}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</p>
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user