1234567891011121314151617181920212223242526272829303132 |
- {% extends "base.html" %}
- {% block title_extra%} | Ricerca | Pagina {{pagination.page}} {% endblock %}
- {% block content %}
- <style>
- .post-hidden { font-size: 70%; }
- .post-hidden a { color: gray; }
- .result .author { font-style: italic; font-size: 85%;}
- </style>
- <table class="table table-striped">
- <thead>
- <th>ID</th>
- <th>Data</th>
- <th>Titolo</th>
- <th>Autore</th>
- </thead>
- <tbody>
- {% for r in results %}
- <tr class="result post-display--{{r.display}} {% if r.display == 'f' %}post-hidden{%endif%}"
- >
- <td>
- <a href="{{url_for('news_by_nid', nid=r.nid)}}">{{r.nid}}</a>
- </td>
- <td> <time>{{r.published_datetime.strftime('%d/%m/%Y')}}</time> </td>
- <td> {{r.title}} </td>
- <td class="author">{{r.author}}</td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {{pagination.links}}
- {% endblock content %}
|