[enh] add no-js support

* image results have url, which can be clicked
* preferences full functionable without js
This commit is contained in:
Thomas Pointhuber 2014-11-03 22:18:40 +01:00
parent b4829891f9
commit 25312c53e1
3 changed files with 19 additions and 5 deletions

View file

@ -1,4 +1,4 @@
<a href="#" data-toggle="modal" data-target="#modal-{{ index }}">
<a href="{{ result.img_src }}" data-toggle="modal" data-target="#modal-{{ index }}">
<img src="{{ result.img_src }}" alt="{{ result.title|e }}" class="img-thumbnail">
</a>