summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-keyword-search.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/ajax-keyword-search.html')
-rw-r--r--static/website/templates/ajax-keyword-search.html49
1 files changed, 11 insertions, 38 deletions
diff --git a/static/website/templates/ajax-keyword-search.html b/static/website/templates/ajax-keyword-search.html
index 6200d95..a8e98aa 100644
--- a/static/website/templates/ajax-keyword-search.html
+++ b/static/website/templates/ajax-keyword-search.html
@@ -8,7 +8,7 @@
<br>
<table class="table table-striped table-bordered table-hover">
<th> FOSS </th>
- <th> Question</th>
+ <th> Question<span class="glyphicon glyphicon-link"></span></th>
<th> Date</th>
<th> Views</th>
<th> Answers</th>
@@ -17,45 +17,18 @@
{% for question in questions %}
<tr>
<td>
- <span href="#" class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category}}">
- {{ question.category|truncatechars:12 }}
- </span>
- <a class="pull-right" href="{% url 'website:filter' question.category %}?qid={{ question.id }}">
- <span class="glyphicon glyphicon-search"></span>
- </a>
- </td>
+ <span class="category" data-toggle="tooltip" data-placement="top" title="{{ question.category }}">
+ <a class="pull-left" href="{% url 'website:filter' question.category %}?qid={{ question.id }}">
+ {{ question.category|truncatechars:12 }} </a>
+ </span>
+ </td>
- <!--
- <td>
- <span class="tutorial" data-toggle="tooltip" data-placement="top" title="{{ question.tutorial}}">
- {{ question.tutorial|truncatechars:12 }}
- </span>
- <a class="pull-right" href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}">
- <span class="glyphicon glyphicon-search"></span>
- </a>
- </td>
+ <td>
+ <span class="question" data-toggle="tooltip" data-placement="top" title="{{ question.title }}">
+ <a href="{% url 'website:get_question' question.id %}{% prettify question.title %}">{{ question.title|truncatechars:40 }}</a>
+ </span>
+ </td>
- <td>
- <span>
- <a href="{% url 'website:filter' question.category question.tutorial question.minute_range %}?qid={{ question.id }}">
- {{ question.minute_range }}
- </a>
- </span>
- </td>
-
- <td>
- <span>
- <a href="{% url 'website:filter' question.category question.tutorial question.minute_range question.second_range%}?qid={{ question.id }}">
- {{ question.second_range }}
- </a>
- </span>
- </td> -->
-
- <td>
- <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}">
- <a href="{% url 'website:get_question' question.id %}{% prettify question.title %}">{{ question.title|truncatechars:40 }}</a>
- </span>
- </td>
<td>
<span>