summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCruiseDevice2019-12-26 15:10:29 +0530
committerCruiseDevice2020-01-02 16:20:31 +0530
commit122e841eecd8d322eba1c24dadde392617a5c231 (patch)
tree177254aa3f62578a4780a3e7a687f81b91797daa
parent925d616c4137f014f2f55a979b2350ef0409a5b9 (diff)
downloadonline_test-122e841eecd8d322eba1c24dadde392617a5c231.tar.gz
online_test-122e841eecd8d322eba1c24dadde392617a5c231.tar.bz2
online_test-122e841eecd8d322eba1c24dadde392617a5c231.zip
Resolve comments
-rw-r--r--yaksh/templates/yaksh/showquestions.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html
index 3353e4a..d0c33dd 100644
--- a/yaksh/templates/yaksh/showquestions.html
+++ b/yaksh/templates/yaksh/showquestions.html
@@ -59,7 +59,7 @@
</div>
</div>
<h4>And</h4>
- <a class="btn btn-lg btn-success" type="submit" name="upload" value="upload">Upload File</a>
+ <button class="btn btn-lg btn-success" type="submit" name="upload" value="upload">Upload File</button>
</form>
</div>
</div>
@@ -133,13 +133,14 @@
</div>
</div>
<br/>
- <a class="btn btn-lg btn-primary" type="button" onClick='location.replace("{% url 'yaksh:show_questions' %}");'>
+ <a class="btn btn-lg btn-primary" href="{% url 'yaksh:show_questions' %}">
Clear Filters</a>
</div>
</div>
<div id="filtered-questions">
{% if questions %}
<div>
+ <br>
{% include "yaksh/paginator.html" %}
<br>
<h5><input id="checkall" type="checkbox"> Select All </h5>
@@ -174,13 +175,13 @@
{% endif %}
</div>
<center>
- <a class="btn btn-lg btn-primary" type="button" onclick='location.replace("{% url 'yaksh:add_question' %}");'>Add Question</a>
+ <a class="btn btn-lg btn-primary" href="{% url 'yaksh:add_question' %}">Add Question</a>
{% if questions %}
- <a class="btn btn-lg btn-primary" type="submit" name='download' value='download'>Download Selected</a>
- <a class="btn btn-lg btn-primary" type="submit" name="test" value="test">Test Selected</a>
+ <button class="btn btn-lg btn-primary" type="submit" name='download' value='download'>Download Selected</button>
+ <button class="btn btn-lg btn-primary" type="submit" name="test" value="test">Test Selected</button>
{% endif %}
- <a class="btn btn-lg btn-danger" type="submit" onClick="return confirm_delete(frm);" name='delete' value='delete'>Delete Selected</a>
+ <button class="btn btn-lg btn-danger" type="submit" onClick="return confirm_delete(frm);" name='delete' value='delete'>Delete Selected</button>
</center>
</form>
</div>