2012-09-17 19:28:47 -07:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% load pagination_tags %}
|
|
|
|
|
2013-01-12 09:45:20 -08:00
|
|
|
{% block page-title %}/ Stats / Account - {{ block.super }}{% endblock %}
|
2012-09-17 19:28:47 -07:00
|
|
|
|
|
|
|
{% block body-class %}{{ block.super }} static stats{% endblock %}
|
|
|
|
|
|
|
|
{% block breadcrumb %}
|
2013-01-12 09:45:20 -08:00
|
|
|
<li><a href="/account/">Account</a></li>
|
|
|
|
<span class="prompt">/</span> <li><a href="/account/stats/">Stats</a></li>
|
2012-09-17 19:28:47 -07:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2013-05-08 19:06:15 -07:00
|
|
|
<section class="snipts" id="snipts"></section>
|
2012-09-17 19:28:47 -07:00
|
|
|
<div class="static-box">
|
|
|
|
{% autopaginate snipts 100 %}
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2019-01-21 15:21:25 -08:00
|
|
|
<th>Snippet</th>
|
2012-09-17 19:28:47 -07:00
|
|
|
<th>Views</th>
|
|
|
|
<th>Favs</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for snipt in snipts %}
|
|
|
|
<tr>
|
2012-09-18 07:34:05 -07:00
|
|
|
<td><a href="{{ snipt.get_absolute_url }}">{% firstof snipt.title 'Untitled' %}</a></td>
|
2012-09-17 19:28:47 -07:00
|
|
|
<td>{{ snipt.views }}</td>
|
|
|
|
<td>{{ snipt.favs }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% paginate %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|