mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-02-02 01:44:40 +00:00
Add rss img into templates
This commit is contained in:
parent
cb2e5eec10
commit
70b7585e54
@ -1,5 +1,10 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block header %}
|
||||||
|
<h3>All active hosts in I2P
|
||||||
|
<a href={% url browse-rss %}><img src="/static/rss-grey-18.png" border="0" width="18" height="18" alt="rss"></a></h3>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<table>
|
<table>
|
||||||
<tr><td>Host</td><td>Last seen</td><td>Date added</td><td>Description</td></tr>
|
<tr><td>Host</td><td>Last seen</td><td>Date added</td><td>Description</td></tr>
|
||||||
@ -12,4 +17,5 @@
|
|||||||
{% if is_paginated %}
|
{% if is_paginated %}
|
||||||
{% load paginator %}{% paginator 3 %}
|
{% load paginator %}{% paginator 3 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{% extends "browse.html" %}
|
{% extends "browse.html" %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<h3>Latest {{ hosts_count }} hosts added in {{ day_count }} days</h3>
|
<h3>Latest {{ hosts_count }} hosts added in {{ day_count }} days
|
||||||
|
<a href={% url latest-rss %}><img src="/static/rss-grey-18.png" border="0" width="18" height="18" alt="rss"></a></h3>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user