Browse Source

Add rss img into templates

pull/1/head
Hidden Z 14 years ago
parent
commit
70b7585e54
  1. 6
      pyi2phosts/templates/browse.html
  2. 3
      pyi2phosts/templates/latest.html

6
pyi2phosts/templates/browse.html

@ -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 %}

3
pyi2phosts/templates/latest.html

@ -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…
Cancel
Save