gramps/src/data/templates/main_page.html

35 lines
742 B
HTML
Raw Normal View History

{% extends "gramps-base.html" %}
{% block title %}GRAMPS Connect - main page {% endblock %}
{% block heading %}GRAMPS Connect - main page {% endblock %}
{% block content %}
<p> &nbsp; </p>
<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">
Database information:</p>
<table class="infolist">
<tr>
<th>Item</th>
<th>Count</th>
</tr>
{% for view in views %}
<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 %}
</table>
{% endblock %}