diff options
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/micromanaged.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/monitor.html | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/micromanaged.html b/yaksh/templates/yaksh/micromanaged.html index 5d7e58c..5339d71 100644 --- a/yaksh/templates/yaksh/micromanaged.html +++ b/yaksh/templates/yaksh/micromanaged.html @@ -12,7 +12,7 @@ Start Special Attempt </a> {% else %} - <span class="badge badge-secondary">Exhausted</span> + <span class="badge badge-warning badge-pill">Exhausted</span> {% endif %} </div> {% endif %} diff --git a/yaksh/templates/yaksh/monitor.html b/yaksh/templates/yaksh/monitor.html index 9b10b58..c7755e7 100644 --- a/yaksh/templates/yaksh/monitor.html +++ b/yaksh/templates/yaksh/monitor.html @@ -124,6 +124,22 @@ $(document).ready(function() </div> </div> <br> + <div class="row"> + <div class="col-md-3"> + <b>Select Attempt number:</b> + </div> + <div class="col-md-2"> + <select id="attempt" onchange="window.location.href=this.value" class="custom-select"> + <option selected="">Select</option> + {% for attempt in attempt_numbers %} + <option value="{% url 'yaksh:monitor' quiz.id course.id attempt %}"> + {{attempt}} + </option> + {% endfor %} + </select> + </div> + </div> + <br> <div class="card"> {% if total_papers > 10 %} <div class="table-responsive" style="height: 800px"> |