From 304d1606a72f1bb0ec3197e2fb102817dde3881e Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 16 Feb 2017 18:16:45 +0530 Subject: Wrap lines to 80 cols with proper indentation --- yaksh/templates/yaksh/course_detail.html | 229 ++++++++++++++++--------------- 1 file changed, 120 insertions(+), 109 deletions(-) diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index 94b19a9..dc85080 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -17,117 +17,128 @@
  • Enrolled Students
  • Rejected Students
  • - {% if course.active %}Deactivate Course {% else %} Activate Course {% endif %} + + {% if course.active %}Deactivate Course {% else %} Activate Course {% endif %}
  • + -
    -
    -
    -
    Requests

    -{% if course.get_requests %} - Select all -
    - - - - - - - - - -{% csrf_token %} -{% for request in course.get_requests %} - - - - - - - - -{% endfor %} -
    Full NameEmailRoll NumberInstituteDepartmentEnroll/Reject
    {{request.get_full_name}} {{request.email}} {{request.profile.roll_number}} {{request.profile.institute}} {{request.profile.department}} - Enroll Reject -
    - -
    -{% endif %} - -
    -
    -
    -
    Enrolled

    -{% if course.get_enrolled %} - Select all -
    - - - - - - - - - {% for enrolled in course.get_enrolled %} - - {% csrf_token %} - - - - - - - - - - {% endfor %} -
    Full NameEmailRoll NumberInstituteDepartmentReject
    {{ enrolled.get_full_name|title }} {{enrolled.email}} {{enrolled.profile.roll_number}} {{enrolled.profile.institute}} {{enrolled.profile.department}} Reject -
    - -
    -{% endif %} - -
    -
    -
    -
    Rejected

    -{% if course.get_rejected %} - Select all -
    - - - - - - - - -{% for rejected in course.get_rejected %} - -{% csrf_token %} - - - - - - - - - -{% endfor %} -
    Full NameEmailRoll NumberInstituteDepartmentEnroll
    {{rejected.get_full_name|title}} {{rejected.email}} {{rejected.profile.roll_number}} {{rejected.profile.institute}} {{rejected.profile.department}} - Enroll -
    -
    - -
    -{% endif %} - -
    -
    -
    +
    +
    +
    +
    Requests

    + {% if course.get_requests %} +  Select all +
    + + + + + + + + + + {% csrf_token %} + {% for request in course.get_requests %} + + + + + + + + + + {% endfor %} +
    Full NameEmailRoll NumberInstituteDepartmentEnroll/Reject
    {{request.get_full_name}} {{request.email}} {{request.profile.roll_number}} {{request.profile.institute}} {{request.profile.department}} + + Enroll + + Reject +
    + +
    + {% endif %} + +
    +
    +
    +
    Enrolled

    + {% if course.get_enrolled %} +  Select all +
    + + + + + + + + + {% for enrolled in course.get_enrolled %} + + {% csrf_token %} + + + + + + + + + + {% endfor %} +
    Full NameEmailRoll NumberInstituteDepartmentReject
    {{ enrolled.get_full_name|title }} {{enrolled.email}} {{enrolled.profile.roll_number}} {{enrolled.profile.institute}} {{enrolled.profile.department}} + Reject +
    + +
    + {% endif %} + +
    +
    +
    +
    Rejected

    + {% if course.get_rejected %} +  Select all +
    + + + + + + + + + {% for rejected in course.get_rejected %} + + {% csrf_token %} + + + + + + + + + + {% endfor %} +
    Full NameEmailRoll NumberInstituteDepartmentEnroll
    {{rejected.get_full_name|title}} {{rejected.email}} {{rejected.profile.roll_number}} {{rejected.profile.institute}} {{rejected.profile.department}} + + Enroll +
    +
    + +
    + {% endif %} + +
    +
    {% endblock %} -- cgit