2009-11-10 10:58:35 +05:30
|
|
|
{% extends "gramps-base.html" %}
|
|
|
|
|
|
|
|
{% block title %}GRAMPS Connect - main page {% endblock %}
|
2009-11-11 04:12:27 +05:30
|
|
|
{% block heading %}GRAMPS Connect - main page {% endblock %}
|
2009-11-10 10:58:35 +05:30
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2009-11-11 04:12:27 +05:30
|
|
|
<p> </p>
|
|
|
|
|
2009-11-10 10:58:35 +05:30
|
|
|
<p id="description">Welcome to GRAMPS Connect, a new web-based collaboration tool.
|
|
|
|
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
You are now logged in
|
|
|
|
as <a href="/user/{{user.username}}">{{user.username}}</a>.
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p id="description">
|
2009-11-11 21:48:01 +05:30
|
|
|
Database information:</p>
|
|
|
|
|
|
|
|
<table class="infolist">
|
|
|
|
<tr>
|
|
|
|
<th>Item</th>
|
|
|
|
<th>Count</th>
|
|
|
|
</tr>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% for view in views %}
|
2009-11-11 21:48:01 +05:30
|
|
|
<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>
|
2009-11-10 10:58:35 +05:30
|
|
|
{% endfor %}
|
2009-11-11 21:48:01 +05:30
|
|
|
</table>
|
2009-11-10 10:58:35 +05:30
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|