{% extends "base.html" %} {% load custom_tags %} {% block styling %} {% load static %} .statistic:not(.last-stat){ border-right: 1px solid #e0e1e2 ; } .statistics th:not(.last-th){ border-right: 1px solid #dddddd; } {% endblock %} {% block content %}
{{ current_round.roundNo }}

Current Round
{{ current_round.endDate }}

Last date
{{ unappliedPositions|length }}

Available Positions
{{ appliedPositions|length }}

Submitted Applications
{% if applicationDetails.alloted_project %}Alloted{% else %} Not alloted {% endif %}

Status

Time remaining for Round {{ current_round.roundNo }}
{% get_remaining_days current_round.endDate %}
{% if applicationDetails.alloted_project %}
CONGRATULATIONS {{ applicationDetails.student.get_full_name }} !!!
  • You are alloted to {{ applicationDetails.alloted_project.title }}
  • You will be working with Prof. {{ applicationDetails.alloted_project.faculty.get_full_name }}
{% endif %}


Personal Details

Student Name
:
{{ request.user.get_full_name }}
Email ID
:
{{ request.user.email }}
Qualities
:
{{ applicationDetails.qualities }}
Resume of the applicant
{% if ResumeDetails %} {% with 'resume-uploads/'|add:'/'|add:ResumeDetails.file.file.name as image_static %} {% endwith %} {% else %}
You have not uploaded the Resume.
{% endif %}


Applicant Details

Project Details

PROJECT TITLE
PROGRAMMING LANGUAGES
DESCRIPTION
GITHUB
{% for project in projectDetails %}
{{ project.title }}
{% for language in project.languages %} {{ language }} {% endfor %}
{{ project.description }}
{% endfor %}

Educational Details

EXAMINATION
BOARD
PERCENTAGE or CGPA
YEAR
{% for education in educationDetails %}
{{ education.exam }}
{{ education.board }}
{{ education.year }}
{% endfor %}


{% endblock %} {% block modals %} {% for position in unappliedPositions %} {% endfor %} {% for position in appliedPositions %} {% endfor %} {% endblock %} {% block scripts %} $(document).ready(function() { window.projectDetailformInst = $('.projectDetail-row:last').clone(true).get(0); window.educationDetailformInst = $('.educationDetail-row:last').clone(true).get(0); $('#time-progress').progress(); $(".rating").rating('disable'); $('.menu .item').tab(); $('.ui.calendar').calendar({ type: 'date' }); $( function() { $( "#sortable" ).sortable(); $( "#sortable" ).disableSelection(); }); $('#example').DataTable({ columnDefs: [ { orderable: false, targets: [4] } ], }); $('.ui.dropdown').dropdown(); FilePond.setOptions({ server: { url: 'http://127.0.0.1:8000/fp', process: '/process/', patch: '/patch/', revert: '/revert/', fetch: '/fetch/?target=', load: '/load/?id=' } }); window.pond = FilePond.create( document.querySelector('input[type="file"]') , { maxFiles: 1, files: [ {% if ResumeDetails %} { // the server file reference source: '{{ ResumeDetails.file.upload_id }}', // set type to local to indicate an already uploaded file options: { type: 'local' } } {% endif %} ] } ); sync_total_forms(); {% if messages %} {% for message in messages %} $('body') .toast({ class: "error", title: "Error logging in", displayTime: 5000, closeIcon: true, position: "top center", showIcon: "exclamation", message: "{{ message }}", }); {% endfor %} {% endif %} } ); function show_project_detail(id){ $(".modals #application-"+id).modal('show'); } function edit_student_detail(){ $(".modals #application-details").modal('show'); } function sync_total_forms(){ $('#id_projects-TOTAL_FORMS').val($('.projectDetail-row').length); $('#id_education-TOTAL_FORMS').val($('.educationDetail-row').length); } function addProjectDetailForm(){ var row = $(window.projectDetailformInst).clone(true); projectDetailCount = $('#id_projects-TOTAL_FORMS').val(); if(projectDetailCount == 0){ $('#projectDetail-rows').html(row); } else{ $(row).attr('id','projectDetail-'+String(projectDetailCount)).attr('class','item projectDetail-row').insertAfter($('.projectDetail-row:last')); var forms = $('.projectDetail-row'); } $(row).find('.ui.dropdown').dropdown(); updateProjectDetailIndex(); $('#id_projects-TOTAL_FORMS').val(parseInt(projectDetailCount)+1); return false; } function updateProjectDetailIndex(){ $('.projectDetail-row').each(function(index){ $(this).attr('id','projectDetail-'+String(index)); inputs = $(this).find('input'); inputs[0].id = 'id_projects-'+String(index)+'-title'; inputs[0].name = 'projects-'+String(index)+'-title'; inputs[2].id = 'id_projects-'+String(index)+'-link'; inputs[2].name = 'projects-'+String(index)+'-link'; $(this).find('textarea').attr('id','id_projects-'+String(index)+'-description'); $(this).find('textarea').attr('name','projects-'+String(index)+'-description'); $(this).find('select').attr('name','projects-'+String(index)+'-languages'); options = $(this).find('option'); for (i = 0; i < options.length; i++){ if(options[i].id != ""){ options[i].name = 'projects-'+String(index)+'-languages"'; } } hidden_inputs = $(this).find('input[type=hidden]'); if(hidden_inputs.length !=0){ hidden_inputs[0].id = 'id_projects-'+String(index)+'-student'; hidden_inputs[0].name = 'projects-'+String(index)+'-student'; hidden_inputs[1].id = 'id_projects-'+String(index)+'-id'; hidden_inputs[1].name = 'projects-'+String(index)+'-id'; } }); } function deleteProjectDetailForm(btn,filled_row){ $(btn).parents('.projectDetail-row').remove(); if(filled_row){ count = $('#id_projects-INITIAL_FORMS').val(); $('#id_projects-INITIAL_FORMS').val(parseInt(count)-1); } var forms = $('.projectDetail-row'); $(forms).each(function(index){ $(this).attr('id','projectDetail-'+String(index)); }); projectDetailCount = $('#id_projects-TOTAL_FORMS').val(); $('#id_projects-TOTAL_FORMS').val(parseInt(projectDetailCount)-1); updateProjectDetailIndex(); return false; } function addEducationDetailForm(){ var row = $(window.educationDetailformInst).clone(true); educationDetailFormCount = $('#id_education-TOTAL_FORMS').val(); if(educationDetailFormCount == 0){ $('#educationDetail-rows').html(row); } else{ $(row).attr('id','educationDetail-'+String(educationDetailFormCount)).attr('class','item educationDetail-row').insertAfter($('.educationDetail-row:last')); var forms = $('.educationDetail-row'); } $('#id_education-TOTAL_FORMS').val(parseInt(educationDetailFormCount)+1); updateEducationDetailIndex(); return false; } function updateEducationDetailIndex(){ $('.educationDetail-row').each(function(index){ $(this).attr('id','educationDetail-'+String(index)); inputs = $(this).find('input'); inputs[0].id = 'id_education-'+String(index)+'-board'; inputs[0].name = 'education-'+String(index)+'-board'; inputs[1].id = 'id_education-'+String(index)+'-cgpa'; inputs[1].name = 'education-'+String(index)+'-cgpa'; inputs[2].id = 'id_education-'+String(index)+'-year'; inputs[2].name = 'education-'+String(index)+'-year'; $(this).find('select').attr('id','id_education-'+String(index)+'-exam'); $(this).find('select').attr('name','education-'+String(index)+'-exam'); hidden_inputs = $(this).find('input[type=hidden]'); if(hidden_inputs.length !=0){ hidden_inputs[0].id = 'id_education-'+String(index)+'-student'; hidden_inputs[0].name = 'education-'+String(index)+'-student'; hidden_inputs[1].id = 'id_education-'+String(index)+'-id'; hidden_inputs[1].name = 'education-'+String(index)+'-id'; } }); } function deleteEducationDetailForm(btn,filled_row){ $(btn).parents('.educationDetail-row').remove(); if(filled_row){ count = $('#id_education-INITIAL_FORMS').val(); $('#id_education-INITIAL_FORMS').val(parseInt(count)-1); } educationDetailFormCount = $('#id_education-TOTAL_FORMS').val(); $('#id_education-TOTAL_FORMS').val(parseInt(educationDetailFormCount)-1); updateEducationDetailIndex(); return false; } function submit_priorities(){ } {% endblock %}