diff options
author | Jayaram Pai | 2013-12-17 12:02:11 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-12-17 12:02:11 +0530 |
commit | 2dbeb37d3b4ff113a2bfb881b5d1df6787bc8157 (patch) | |
tree | c3dc0f2b632f5be704a3ecf4d0d2bcc1cce6e849 /static/website/templates/ajax-time-search.html | |
parent | 3a680b5d2442268ab117c0f98f21a039d4544bd8 (diff) | |
download | FOSSEE-Forum-2dbeb37d3b4ff113a2bfb881b5d1df6787bc8157.tar.gz FOSSEE-Forum-2dbeb37d3b4ff113a2bfb881b5d1df6787bc8157.tar.bz2 FOSSEE-Forum-2dbeb37d3b4ff113a2bfb881b5d1df6787bc8157.zip |
basic keyword/time search implemented
Diffstat (limited to 'static/website/templates/ajax-time-search.html')
-rw-r--r-- | static/website/templates/ajax-time-search.html | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/static/website/templates/ajax-time-search.html b/static/website/templates/ajax-time-search.html new file mode 100644 index 0000000..7d38a42 --- /dev/null +++ b/static/website/templates/ajax-time-search.html @@ -0,0 +1,55 @@ +{% if questions %} + {% for question in questions %} + <div class="question"> + <div class="title"> + <a href="{% url 'website:get_question' question.id %}">{{ question.title }}</a> + </div> + <br> + <span class="category"> + <small> + <a href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> + {{ question.category }} + </a> + </small> + </span> + + <span class="tutorial"> + <small> + <a href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}"> + {{ question.tutorial}} + </a> + </small> + </span> + + <span class="minute_range"> + <small> + <a href="{% url 'website:filter' question.category question.tutorial question.minute_range %}?qid={{ question.id }}"> + {{ question.minute_range }} min + </a> + </small> + </span> + + <span class="second_range"> + <small> + <a href="{% url 'website:filter' question.category question.tutorial question.minute_range question.second_range%}?qid={{ question.id }}"> + {{ question.second_range }} sec + </a> + </small> + </span> + + <span class="meta"> + <small> + <i> + {{ question.date_created }} + </i> + </small> + + <span class="user"> + {{ question.user }} + </span> + </span> + </div> <!-- /.question --> + {% endfor %} +{% else %} +<h4>No results found . . .</h4> +{% endif %} |