This is all the code after a week and a bit hacking on this project. It's in a rather experimental state but should work with a little effort.
17 lines
610 B
HTML
17 lines
610 B
HTML
{% extends 'layout.html' %}
|
|
{% block content %}
|
|
<div class="hide" style="margin-bottom:20px">
|
|
<input autofocus="autofocus" style="width:100%" type="text" class="filter-list input-medium search-query" placeholder="Type here to filter">
|
|
</div>
|
|
<div style="-moz-column-count:4; -webkit-column-count:4; column-count:4;">
|
|
{%- for key,facts_list in facts_dict %}
|
|
<span class='label label-success'>{{key}}</span>
|
|
<ul class="searchable">
|
|
{%- for fact in facts_list %}
|
|
<li><a href="{{url_for('fact', fact=fact)}}">{{fact}}</a></li>
|
|
{%- endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock content %}
|