1. Hudarsono Hu
  2. meblog

Source

meblog / templates / admin / postlist.html

Hudarsono 32c463b 


Hudarsono fabd23c 
Hudarsono 00f1e4d 


Hudarsono 32c463b 


Hudarsono fabd23c 

Hudarsono bd8b62c 

Hudarsono fabd23c 
Hudarsono 32c463b 


Hudarsono 00f1e4d 
Hudarsono 32c463b 

Hudarsono bd8b62c 

Hudarsono fabd23c 
Hudarsono bd8b62c 

Hudarsono 32c463b 



Hudarsono Hu 914bd8a 
Hudarsono 32c463b 


Hudarsono bd8b62c 

Hudarsono 32c463b 
{% extends 'admin/base.html' %}

{% block content %}
	<h3>Posts</h3>
    
    <a class="tablemenu" href="/post/new/">New Post</a>
    <div class="clear"></div>
	<table>
		<thead>
			<tr>
				<th class="first menu">Action</th>
				<th class="title">Title</th>
				<th>Category</th>
				<th>Tags</th>
				<th class="last date">Created</th>
			</tr>
		</thead>
		<tbody>
		{% if posts %}
			{% for p in posts %}
				<tr>
					<td><a href="{{ p.get_delete_url }}"><img src="/resources/img/small/trash.png" border="0" title="Delete"></a> |
						<a href="{{ p.get_edit_url }}"><img src="/resources/img/small/edit.png" border="0" title="Edit"></a></td>
					<td class="left">{{ p.title }}</td>
					<td class="left">{{ p.category }}</td>
					<td class="left">{{ p.tags|join:"," }}</td>
					<td>{{ p.pub_date.year }}-{{ p.pub_date.month }}-{{ p.pub_date.day }}</td>
				</tr>
			{% endfor %}
		{% else %}
			<tr><td colspan="5" style="text-align:left;font-size:15">No Post</td></tr>
		{% endif %}
		</tbody>
	</table>
	{% if paging.prev %}<a href="/posts/?page={{ paging.prev }}">Prev Posts</a> &nbsp;&nbsp;{% endif %}
	{% if paging.next %}<a href="/posts/?page={{ paging.next }}">More Post</a>{% endif %}
{% endblock %}