summaryrefslogtreecommitdiffstats
path: root/webapp/django/contrib/databrowse/templates/databrowse/homepage.html
blob: 718e5774168db4138bbb631ce0776ed4b2f070c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "databrowse/base_site.html" %}

{% block title %}Databrowse{% endblock %}

{% block bodyid %}homepage{% endblock %}

{% block content %}

{% for model in model_list %}
  <div class="modelgroup {% cycle 'even' 'odd' %}">
	  <h2><a href="{{ model.url }}">{{ model.verbose_name_plural|capfirst }}</a></h2>
		<p>
		{% for object in model.sample_objects %}
			<a href="{{ object.url }}">{{ object|escape }}</a>, 
		{% endfor %}
			<a class="more" href="{{ model.url }}">More &rarr;</a>
		</p>
  </div>
{% endfor %}

{% endblock %}