39 lines
		
	
	
		
			826 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			826 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% extends "gramps-base.html" %}
 | |
| {% load my_tags %}
 | |
| 
 | |
| {% block title %}{{sitename}}{% endblock %}
 | |
| {% block heading %}{{sitename}}{% endblock %}
 | |
| 
 | |
| {% block content %} 
 | |
| 
 | |
| <p>   </p>
 | |
| 
 | |
| <p id="description">Welcome to <b>{{sitename}}</b>, 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 surname">
 | |
| <tr>
 | |
| <th>Item</th>
 | |
| <th>Count</th>
 | |
| </tr>
 | |
| {% for view in views %}
 | |
|    <tr class="{% cycle odd,even %}">
 | |
|        {% if view.2 %}
 | |
|           <td align="left"><a href="/{{view.1}}">{{view.0}}</a></td> 
 | |
|           <td align="left"><a href="/{{view.1}}">{{view.1|table_count}}</td>
 | |
|        {% endif %}
 | |
|    </tr>
 | |
| {% endfor %}
 | |
| </table>
 | |
| 
 | |
| {% endblock %}
 | |
| 
 |