diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-06-10 19:08:49 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-06-10 19:08:49 +0200 |
| commit | 15ba20bc0eb18cb2f6098347ddf0a624054a8350 (patch) | |
| tree | b71f51b614740d5fd074a5886aee3138e4f9029d /templates/index.html | |
| parent | 052e4966c77ff4a47a99296ca1bbb39a8b11e8e9 (diff) | |
| download | jokevote-15ba20bc0eb18cb2f6098347ddf0a624054a8350.tar.gz jokevote-15ba20bc0eb18cb2f6098347ddf0a624054a8350.zip | |
implement simple filtering
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 6957d21..f3a268a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -49,6 +49,12 @@ </div> {% endif %} {% endwith %} + {% if tag %} + <div class="chip"> + {{ tag }} + <a href="/"><i class="material-icons">close</i></a> + </div> + {% endif %} <ul class="collection"> {% for joke in jokes[currentpage*perpage:(currentpage+1)*perpage] %} <li class="collection-item row valign-wrapper"> |
