padmatexts/padmaTexts/templates/text_list.html

40 lines
805 B
HTML
Raw Normal View History

2010-11-11 00:34:17 +00:00
<!DOCTYPE html>
<html>
<head>
2011-03-14 00:06:28 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="/favicon.ico" />
2011-02-21 10:14:16 +00:00
<title>Padma Essays</title>
2010-12-30 12:44:57 +00:00
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
<style>
p {
margin-top: 8px;
}
h1 {
margin-bottom: 8px;
}
2010-12-30 12:52:17 +00:00
.text {
margin-bottom: 8px;
2011-02-21 10:14:16 +00:00
margin-left: 8px;
2010-12-30 12:52:17 +00:00
}
2011-02-21 10:14:16 +00:00
a, a:active {
text-decoration: none;
color: #000;
}
a:hover {
text-decoration: underline;
color: #000;
}
2010-12-30 12:44:57 +00:00
</style>
2010-11-11 00:34:17 +00:00
</head>
2010-12-30 12:44:57 +00:00
<body>
2011-02-21 10:14:16 +00:00
<h1>Padma Essays</h1>
2010-11-11 00:34:17 +00:00
{% for t in texts %}
2010-12-30 12:52:17 +00:00
<div class="text">
2011-02-21 10:14:16 +00:00
<a href="{{t.get_absolute_url}}" title="{{t.title}}"><b>{{ t.title }}</b></a><br />
by {{ t.author }}, {{t.date|date:"F Y"}}
2010-12-30 12:44:57 +00:00
{{ t.abstract|safe }}
</div>
2010-11-11 00:34:17 +00:00
{% endfor %}
</body>
</html>