]> git.mxchange.org Git - fba.git/blobdiff - templates/views/top.html
Continued:
[fba.git] / templates / views / top.html
index 82acd71f94e9fb3526962e3d979b5593f027be22..9b0d1c3309afe77fcee8d9a6c4edc159a54a7ce7 100644 (file)
@@ -5,9 +5,9 @@
 {% block rss %}
     {{ super() }}
     {% if mode == 'domain' %}
-        <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocked domain {{value}}" href="{{base_url}}/rss?domain={{value}}" />
+        <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocked domain {{value}}" href="rss?domain={{value}}" />
     {% elif mode == 'reverse' %}
-        <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocking domain {{value}}" href="{{base_url}}/rss?reverse={{value}}" />
+        <link rel="alternate" type="application/rss+xml" title="RSS Feed for blocking domain {{value}}" href="rss?reverse={{value}}" />
     {% endif %}
 {% endblock %}
 
@@ -24,7 +24,7 @@
 {% block content %}
     {% if amount == found %}
         <div class="notice">
-            <h2>Maximum amount reached!</h2>
+            <h3>Maximum amount reached!</h3>
             <div>
                 Please note that the maximum allowed amount is only returned, the blocker/blocked/reason might be more.
                 Paging support is not finished yet.
@@ -33,9 +33,9 @@
     {% endif %}
 
     {% for block_level in blocklist %}
-        <div class="block_level" id="{{block_level}}">
+        <div class="block_level">
             <h2>{{block_level}} ({{blocklist[block_level]|length}})</h2>
-            <table>
+            <table class="table-with-rows">
                 <thead>
                     <th>Blocker</th>
                     <th>{% if block_level == 'accept' %}Accepted{% else %}Blocked{% endif %}</th>
                     <tr>
                         <td>
                             {% with domain=block['blocker'] %}
-                            {% include "widgets/links.tpl" %}
+                            {% include "widgets/links.html" %}
                             {% endwith %}
                         </td>
                         <td>
                             {% with domain=block['blocked'] %}
-                            {% include "widgets/links.tpl" %}
+                            {% include "widgets/links.html" %}
                             {% endwith %}
                         </td>
                         <td>{{block['reason']}}</td>