diff options
author | ashwinishinde | 2015-03-24 16:01:35 +0530 |
---|---|---|
committer | ashwinishinde | 2015-03-24 16:01:35 +0530 |
commit | af6409ed6b3c24bc865a3bc1b1ac5c73898d5485 (patch) | |
tree | b6ce4b498e7ff43c2ad013f26f5ebad2037fbc9d /static/website/templates/questions.html | |
parent | 54bd70b5d4338f9d2737c4403352ce45c111216e (diff) | |
download | FOSSEE-Forum-af6409ed6b3c24bc865a3bc1b1ac5c73898d5485.tar.gz FOSSEE-Forum-af6409ed6b3c24bc865a3bc1b1ac5c73898d5485.tar.bz2 FOSSEE-Forum-af6409ed6b3c24bc865a3bc1b1ac5c73898d5485.zip |
Subject:Resolved View all questions and validate ask new answer
Description:
1) display view all questions.
2) validate all the fields in ask new answer.
3) validate submit answer.
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> |