2011-03-01 09:59:06 -05:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
2022-01-12 11:58:28 -05:00
|
|
|
{% load utils_tags tz %}
|
2011-03-01 09:59:06 -05:00
|
|
|
|
2022-09-11 21:54:06 -04:00
|
|
|
{% block bodyclass %}NB-body-status NB-static{% endblock %}
|
2012-12-21 16:52:30 -08:00
|
|
|
|
2011-03-01 09:59:06 -05:00
|
|
|
{% block content %}
|
|
|
|
|
2015-07-29 16:34:48 -07:00
|
|
|
<div class="NB-module">
|
|
|
|
|
2022-01-12 11:58:28 -05:00
|
|
|
<div class="queues">
|
|
|
|
Tasked: {{ queues.tasked_feeds }}, Queued: {{ queues.queued_feeds }}, Scheduled: {{ queues.scheduled_updates }}
|
|
|
|
</div>
|
|
|
|
|
2011-03-01 09:59:06 -05:00
|
|
|
<table class="NB-status">
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Title</th>
|
2022-01-12 11:58:28 -05:00
|
|
|
<th>Min since<br>last update</th>
|
|
|
|
<th style="white-space: nowrap">Last Update<br>Next Update</th>
|
|
|
|
<th>Min to<br>next update</th>
|
2011-03-01 09:59:06 -05:00
|
|
|
<th>Decay</th>
|
2022-09-11 21:54:06 -04:00
|
|
|
<th>Last fetch</th>
|
2011-03-01 09:59:06 -05:00
|
|
|
<th>Subs</th>
|
|
|
|
<th>Active</th>
|
|
|
|
<th>Premium</th>
|
2022-01-12 11:58:28 -05:00
|
|
|
<th>Archive</th>
|
|
|
|
<th>Pro</th>
|
2012-12-21 18:22:26 -08:00
|
|
|
<th>Act. Prem</th>
|
2011-03-01 09:59:06 -05:00
|
|
|
<th>Per Month</th>
|
2015-07-29 16:34:48 -07:00
|
|
|
<th>Last Month</th>
|
2022-09-11 21:54:06 -04:00
|
|
|
<th>In Archive</th>
|
|
|
|
<th>File size (b)</th>
|
2011-03-01 09:59:06 -05:00
|
|
|
</tr>
|
|
|
|
{% for feed in feeds %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ feed.pk }}</td>
|
2022-09-11 21:54:06 -04:00
|
|
|
<td title="{{ feed.feed_address }}"><img class="NB-favicon" src="/rss_feeds/icon/{{ feed.pk }}" /> {{ feed.feed_title|truncatewords:4 }}</td>
|
2022-01-12 11:58:28 -05:00
|
|
|
<td>{{ feed.last_update|smooth_timedelta }}</td>
|
|
|
|
<td class="NB-status-update" style="white-space: nowrap">
|
|
|
|
{% localdatetime feed.last_update "%b %d, %Y %H:%M:%S" %}
|
2011-03-01 09:59:06 -05:00
|
|
|
<br>
|
2022-01-12 11:58:28 -05:00
|
|
|
{% localdatetime feed.next_scheduled_update "%b %d, %Y %H:%M:%S" %}
|
2011-03-01 09:59:06 -05:00
|
|
|
</td>
|
2022-01-12 11:58:28 -05:00
|
|
|
<td>{{ feed.next_scheduled_update|smooth_timedelta }}</td>
|
2011-03-01 09:59:06 -05:00
|
|
|
<td>{{ feed.min_to_decay }}</td>
|
2022-09-11 21:54:06 -04:00
|
|
|
<td>{{ feed.last_load_time }}</td>
|
2011-03-01 09:59:06 -05:00
|
|
|
<td>{{ feed.num_subscribers }}</td>
|
2015-07-29 16:34:48 -07:00
|
|
|
<td style="color: {% if feed.active_subscribers == 0 %}lightgrey{% else %}darkblue{% endif %}">{{ feed.active_subscribers }}</td>
|
|
|
|
<td style="color: {% if feed.premium_subscribers == 0 %}lightgrey{% else %}darkblue{% endif %}">{{ feed.premium_subscribers }}</td>
|
2022-01-12 11:58:28 -05:00
|
|
|
<td style="color: {% if feed.premium_subscribers == 0 %}lightgrey{% else %}darkblue{% endif %}">{{ feed.archive_subscribers }}</td>
|
|
|
|
<td style="color: {% if feed.premium_subscribers == 0 %}lightgrey{% else %}darkblue{% endif %}">{{ feed.pro_subscribers }}</td>
|
2015-07-29 16:34:48 -07:00
|
|
|
<td style="color: {% if feed.active_premium_subscribers == 0 %}lightgrey{% else %}darkblue{% endif %}">{{ feed.active_premium_subscribers }}</td>
|
|
|
|
<td style="color: {% if feed.average_stories_per_month == 0 %}lightgrey{% else %}{% endif %}">{{ feed.average_stories_per_month }}</td>
|
|
|
|
<td style="color: {% if feed.stories_last_month == 0 %}lightgrey{% else %}{% endif %}">{{ feed.stories_last_month }}</td>
|
2022-09-11 21:54:06 -04:00
|
|
|
<td style="color: {% if feed.archive_count == 0 %}lightgrey{% else %}{% endif %}">{{ feed.archive_count }}</td>
|
|
|
|
<td style="color: {% if feed.fs_size_bytes == 0 %}lightgrey{% else %}{% endif %}">{{ feed.fs_size_bytes|commify }}</td>
|
2011-03-01 09:59:06 -05:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2015-07-29 16:34:48 -07:00
|
|
|
</div>
|
|
|
|
|
2022-01-12 11:58:28 -05:00
|
|
|
{% endblock content %}
|