diff options
author | Palaparthy Adityachandra | 2020-03-17 15:06:18 +0530 |
---|---|---|
committer | GitHub | 2020-03-17 15:06:18 +0530 |
commit | 15ce39acb70056bdfb9820efa634d704a963cb84 (patch) | |
tree | b54a2d7493be2ba3e9249ae4412c9c231ffaef6b /yaksh/templates | |
parent | a5e2fb409beebdc33fdb7c230dd50559509fd4c0 (diff) | |
parent | a2186d263aa8927a47fdb9f3a23ad39841b64b33 (diff) | |
download | online_test-15ce39acb70056bdfb9820efa634d704a963cb84.tar.gz online_test-15ce39acb70056bdfb9820efa634d704a963cb84.tar.bz2 online_test-15ce39acb70056bdfb9820efa634d704a963cb84.zip |
Merge pull request #660 from adityacp/fix_course_progress_download_csv
Add a button to download course progress in a CSV
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/course_progress.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/course_progress.html b/yaksh/templates/yaksh/course_progress.html index a833c92..826f84b 100644 --- a/yaksh/templates/yaksh/course_progress.html +++ b/yaksh/templates/yaksh/course_progress.html @@ -4,10 +4,19 @@ {% if student_details %} <div class="text-center"> <h3>Course Progress</h3> - <div class="col"> - Number Of Students: {{ students_no }} + <br> + <div class="row"> + <div class="col"> + Number Of Students: {{ students_no }} + </div> + <div class="col"> + <a href="{% url 'yaksh:download_course_progress' course.id %}" class="btn btn-info"> + <i class="fa fa-download"></i> Download Data + </a> + </div> </div> </div> + <br> {% include "yaksh/paginator.html" %} <table class="tablesorter table table-bordered table-responsive-sm" id="course_table" data-sortlist="[0,0]"> <thead> |