diff options
Diffstat (limited to 'static/website/templates/questions.html')
-rw-r--r-- | static/website/templates/questions.html | 44 |
1 files changed, 9 insertions, 35 deletions
diff --git a/static/website/templates/questions.html b/static/website/templates/questions.html index 5242236..98d016d 100644 --- a/static/website/templates/questions.html +++ b/static/website/templates/questions.html @@ -10,10 +10,7 @@ </h4> <table class="table table-bordered table-hover"> <th> FOSS </th> - <!--<th> Tutorial</th>--> - <th> Min </th> - <th> Sec </th> - <th> Question <span class="glyphicon glyphicon-link"></span></th> + <th> Question <span class="glyphicon glyphicon-link"></span></th> <th> Date</th> <th> Views</th> <th> Answers</th> @@ -21,41 +18,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 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> - <a class="pull-right" href="{% url 'website:filter' question.category %}?qid={{ question.id }}"> - <span class="glyphicon glyphicon-search"></span> - </a> </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> - <a href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}"> - {{ question.minute_range }} - </a> - </span> - </td> - - <td> - <span> - <a href="{% url 'website:filter' question.category question.tutorial %}?qid={{ question.id }}"> - {{ question.second_range }} - </a> - </span> - </td>--> - - <td> - <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> + <span class="question" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> <a href="{% url 'website:get_question' question.id %}">{{ question.title|truncatechars:40 }}</a> </span> </td> |