padmatexts/padmaTexts/templates/text_list.html

38 lines
684 B
HTML
Raw Normal View History

2010-11-11 06:04:17 +05:30
<!DOCTYPE html>
<html>
<head>
2011-02-21 10:14:16 +00:00
<title>Padma Essays</title>
2010-12-30 18:14:57 +05:30
<link rel="stylesheet" type="text/css" href="/static/css/text.css" />
<style>
p {
margin-top: 8px;
}
h1 {
margin-bottom: 8px;
}
2010-12-30 18:22:17 +05:30
.text {
margin-bottom: 8px;
2011-02-21 10:14:16 +00:00
margin-left: 8px;
2010-12-30 18:22:17 +05:30
}
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 18:14:57 +05:30
</style>
2010-11-11 06:04:17 +05:30
</head>
2010-12-30 18:14:57 +05:30
<body>
2011-02-21 10:14:16 +00:00
<h1>Padma Essays</h1>
2010-11-11 06:04:17 +05:30
{% for t in texts %}
2010-12-30 18:22:17 +05:30
<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 18:14:57 +05:30
{{ t.abstract|safe }}
</div>
2010-11-11 06:04:17 +05:30
{% endfor %}
</body>
</html>