diff options
Diffstat (limited to 'static/website/templates')
-rw-r--r-- | static/website/templates/ajax-keyword-search.html | 11 | ||||
-rw-r--r-- | static/website/templates/index.html | 10 |
2 files changed, 12 insertions, 9 deletions
diff --git a/static/website/templates/ajax-keyword-search.html b/static/website/templates/ajax-keyword-search.html index 414ae81..6200d95 100644 --- a/static/website/templates/ajax-keyword-search.html +++ b/static/website/templates/ajax-keyword-search.html @@ -1,17 +1,19 @@ {% load helpers %} + +{{ quesions }} + + {% if questions %} <br> <table class="table table-striped table-bordered table-hover"> <th> FOSS </th> - <th> Tutorial</th> - <th> Min </th> - <th> Sec </th> <th> Question</th> <th> Date</th> <th> Views</th> <th> Answers</th> <th> User</th> + {% for question in questions %} <tr> <td> @@ -23,6 +25,7 @@ </a> </td> + <!-- <td> <span class="tutorial" data-toggle="tooltip" data-placement="top" title="{{ question.tutorial}}"> {{ question.tutorial|truncatechars:12 }} @@ -46,7 +49,7 @@ {{ question.second_range }} </a> </span> - </td> + </td> --> <td> <span class="title" data-toggle="tooltip" data-placement="top" title="{{ question.title }}"> diff --git a/static/website/templates/index.html b/static/website/templates/index.html index fa076b9..fcdf8cb 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -34,18 +34,18 @@ <div class="row"> <form class ="" id="filter-form" action="" role="form"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> - <a class="btn btn-block btn-primary" href="{% url 'website:questions' %}" style="margin-top: 30px;">View all previous questions.</a> + <a class="btn btn-block btn-primary" href="{% url 'website:questions' %}" style="margin-top: 18px;">View all previous questions.</a> </div> <!-- /.col --> </form> <div class="col-lg-6 col-md-6 col-sm-6"> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> - <h3 align="center"><strong>{% total_question_count %}</strong></h3> - <h3 align="center" text-color="#7395d9" >Questions</h3> + <h3 style="font-size: 18px" align="center"><strong>{% total_question_count %}</strong></h3> + <h3 style="font-size: 18px" align="center" style="margin-top:0px " text-color="#7395d9" >Questions</h3> </div> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> - <h3 align="center"><strong>{% total_answer_count %}</strong></h3> - <h3 align="center">Answers</h3> + <h3 style="font-size: 18px" align="center"><strong>{% total_answer_count %}</strong></h3> + <h3 style="font-size: 18px" align="center">Answers</h3> </div> </div> </div> |