diff options
author | ankitjavalkar | 2020-04-03 12:25:03 +0530 |
---|---|---|
committer | GitHub | 2020-04-03 12:25:03 +0530 |
commit | 1ef1835c1adf24193cf4b58ccc4c1598f0565c43 (patch) | |
tree | 3b2794b34e965b8fb3cdb93f3149020efe613c10 /yaksh/templates | |
parent | d749a166c86db15f580b9e07eb65fe3344d9881a (diff) | |
parent | fbeb3428426691c29d4dd3f38b2245f21b5673ef (diff) | |
download | online_test-1ef1835c1adf24193cf4b58ccc4c1598f0565c43.tar.gz online_test-1ef1835c1adf24193cf4b58ccc4c1598f0565c43.tar.bz2 online_test-1ef1835c1adf24193cf4b58ccc4c1598f0565c43.zip |
Merge pull request #671 from ankitjavalkar/fix-stdio
Allow stdio expected input to be optional and miscellanous UI fixes
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/add_question.html | 30 | ||||
-rw-r--r-- | yaksh/templates/yaksh/showquestions.html | 2 |
2 files changed, 18 insertions, 14 deletions
diff --git a/yaksh/templates/yaksh/add_question.html b/yaksh/templates/yaksh/add_question.html index 17cdcfe..0c846d0 100644 --- a/yaksh/templates/yaksh/add_question.html +++ b/yaksh/templates/yaksh/add_question.html @@ -74,18 +74,6 @@ </div> </td> </tr> - {% if question %} - <tr><td>Add Test Case:</td> - <td> - <select id="case_type" class="form-control" name="case_type" onchange="frm.submit()"> - <option value="" selected="selected">Select Testcase</option> - {% for key, value in testcase_options %} - <option value="{{key}}">{{value}}</option> - {% endfor %} - </select> - </td> - </tr> - {% endif %} </table> {% if uploaded_files %} <div class="card"> @@ -127,6 +115,22 @@ <h3>Test Cases</h3> </div> <div class="card-body"> + {% if question %} + <div class="row"> + <div class="col pb-4"> + <tr><td>Add Test Case:</td> + <td> + <select id="case_type" class="form-control" name="case_type" onchange="frm.submit()"> + <option value="" selected="selected">Select Testcase</option> + {% for key, value in testcase_options %} + <option value="{{key}}">{{value}}</option> + {% endfor %} + </select> + </td> + </tr> + </div> + </div> + {% endif %} {% for formset in formsets %} {{ formset.management_form }} <div id="accordion"> @@ -141,7 +145,7 @@ </div> <div class="ml-auto"> <a class="card-link" data-toggle="collapse" href="#collapse{{form.instance.id}}"> - <i class="fa fa-toggle-down"></i> + Details <i class="fa fa-angle-down"></i></i> </a> </div> </div> diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html index fdfcc60..e0cd529 100644 --- a/yaksh/templates/yaksh/showquestions.html +++ b/yaksh/templates/yaksh/showquestions.html @@ -122,7 +122,7 @@ </div> <input type="text" name="question_tags" id="question_tags" class="form-control" type="search" placeholder="Search using comma separated Tags"> <span class="input-group-append"> - <a class="btn btn-outline-secondary" type="submit"><i class="fa fa-search yakshred"></i></a> + <button class="btn btn-outline-secondary" type="submit"><i class="fa fa-search"></i></button> </span> </div> </div> |