Compare commits

...

10 Commits

Author SHA1 Message Date
Vangipuram Nitin 6a46dc0dcd
changed django.yml 2024-07-19 15:07:12 +05:30
NitinVangipuram 9990cdfa5a changes 2024-07-19 14:48:31 +05:30
NitinVangipuram 280d4a599f Merge branch 'vnitin' of https://github.com/CDC-IITDH/cdc-placement-website-backend into vnitin 2024-07-19 14:29:56 +05:30
NitinVangipuram 1ac94e4faf Merge branch 'main' of https://github.com/CDC-IITDH/cdc-placement-website-backend into vnitin 2024-07-19 12:31:08 +05:30
NitinVangipuram 32a52f9567 changes 2024-07-19 11:56:33 +05:30
Jaya Surya P e7c6249734
Merge pull request #195 from CDC-IITDH/vasu
templates
2024-07-06 12:05:20 +05:30
Sreenivasu Akella 0e64af83a4 templates 2024-07-06 12:04:21 +05:30
Jaya Surya P 390e582075
Merge pull request #196 from CDC-IITDH/downloadResume
Added admin view to zip and download resumes for a particular application
2024-07-06 12:03:51 +05:30
Eshwar dcb85afea4 Changed it so that only selected student's resumes get downloaded 2024-06-19 22:34:06 +05:30
Eshwar 0be1a6c56e Added admin view to zip and download resumes for a particular application 2024-06-19 22:22:41 +05:30
33 changed files with 1497 additions and 808 deletions

Binary file not shown.

View File

@ -13,6 +13,7 @@ urlpatterns = [
path('getApplications/', adminViews.getApplications, name="Get Applications"), path('getApplications/', adminViews.getApplications, name="Get Applications"),
path("submitApplication/", adminViews.submitApplication, name="Submit Application"), path("submitApplication/", adminViews.submitApplication, name="Submit Application"),
path('generateCSV/', adminViews.generateCSV, name="Generate CSV"), path('generateCSV/', adminViews.generateCSV, name="Generate CSV"),
path('downloadResume/', adminViews.downloadResume, name="Download Resume"),
path('addPPO/', adminViews.addPPO, name="Add PPO"), path('addPPO/', adminViews.addPPO, name="Add PPO"),
path('getStudentApplication/', adminViews.getStudentApplication, name="Get student application"), path('getStudentApplication/', adminViews.getStudentApplication, name="Get student application"),
path('getStats/', adminViews.getStats, name="Get Stats"), path('getStats/', adminViews.getStats, name="Get Stats"),

View File

@ -1,4 +1,5 @@
import csv import csv
import zipfile
from rest_framework.decorators import api_view from rest_framework.decorators import api_view
@ -458,6 +459,43 @@ def generateCSV(request, id, email, user_type):
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
@api_view(['POST'])
@isAuthorized(allowed_users=[ADMIN])
@precheck(required_data=[OPENING_ID])
def downloadResume(request, id, email, user_type):
try:
data = request.data
if OPENING_TYPE in data:
opening_type= data[OPENING_TYPE]
else:
opening_type= "Placement"
if opening_type == "Internship":
opening = get_object_or_404(Internship, id=data[OPENING_ID])
applications = InternshipApplication.objects.filter(internship=opening)
else:
opening = get_object_or_404(Placement, id=data[OPENING_ID])
applications = PlacementApplication.objects.filter(placement=opening)
zip_filename = generateRandomString() + ".zip"
if not os.path.isdir(STORAGE_DESTINATION_RESUME_ZIP):
os.makedirs(STORAGE_DESTINATION_RESUME_ZIP, exist_ok=True)
resumes = {}
for apl in applications:
if apl.selected:
resumes[apl.student.roll_no] = STORAGE_DESTINATION_RESUMES + apl.student.id + '/' + apl.resume # Check if the folder name is student id or user id
with zipfile.ZipFile(STORAGE_DESTINATION_RESUME_ZIP + zip_filename, 'w', zipfile.ZIP_DEFLATED) as zip_file:
for student_roll_no, resume_path in resumes.items():
zip_file.write(resume_path, os.path.basename(str(student_roll_no) + ".pdf"))
file_path = LINK_TO_RESUMES_ZIP + urllib.parse.quote_plus(zip_filename)
return Response({'action': "Download resumes", 'message': "Resumes zip created", 'file': file_path},
status=status.HTTP_200_OK)
except:
logger.warning("Create csv: " + str(sys.exc_info()))
return Response({'action': "Create csv", 'message': "Something Went Wrong"},
status=status.HTTP_400_BAD_REQUEST)
@api_view(['POST']) @api_view(['POST'])
@isAuthorized(allowed_users=[ADMIN]) @isAuthorized(allowed_users=[ADMIN])
@precheck(required_data=[COMPANY_NAME, COMPENSATION_GROSS, OFFER_ACCEPTED, STUDENT_ID, DESIGNATION, TIER]) @precheck(required_data=[COMPANY_NAME, COMPENSATION_GROSS, OFFER_ACCEPTED, STUDENT_ID, DESIGNATION, TIER])

View File

@ -7,14 +7,14 @@ logger = logging.getLogger('db')
@api_view(['POST']) @api_view(['POST'])
# @precheck([COMPANY_NAME, ADDRESS, COMPANY_TYPE, NATURE_OF_BUSINESS, TYPE_OF_ORGANISATION, WEBSITE, COMPANY_DETAILS, @precheck([COMPANY_NAME, ADDRESS, COMPANY_TYPE, NATURE_OF_BUSINESS, TYPE_OF_ORGANISATION, WEBSITE, COMPANY_DETAILS,
# IS_COMPANY_DETAILS_PDF, CONTACT_PERSON_NAME, PHONE_NUMBER, EMAIL, CITY, STATE, COUNTRY, PINCODE, DESIGNATION, IS_COMPANY_DETAILS_PDF, CONTACT_PERSON_NAME, PHONE_NUMBER, EMAIL, CITY, STATE, COUNTRY, PINCODE, DESIGNATION,
# DESCRIPTION, DESCRIPTION,
# IS_DESCRIPTION_PDF, COMPENSATION_CTC, COMPENSATION_GROSS, COMPENSATION_TAKE_HOME, COMPENSATION_BONUS, IS_DESCRIPTION_PDF, COMPENSATION_CTC, COMPENSATION_GROSS, COMPENSATION_TAKE_HOME, COMPENSATION_BONUS,
# IS_COMPENSATION_DETAILS_PDF, ALLOWED_BRANCH, RS_ELIGIBLE, SELECTION_PROCEDURE_ROUNDS, IS_COMPENSATION_DETAILS_PDF, ALLOWED_BRANCH, ELIGIBLESTUDENTS, SELECTION_PROCEDURE_ROUNDS,
# SELECTION_PROCEDURE_DETAILS, SELECTION_PROCEDURE_DETAILS,
# IS_SELECTION_PROCEDURE_DETAILS_PDF, TENTATIVE_DATE_OF_JOINING, TENTATIVE_NO_OF_OFFERS, OTHER_REQUIREMENTS, IS_SELECTION_PROCEDURE_DETAILS_PDF, TENTATIVE_DATE_OF_JOINING, TENTATIVE_NO_OF_OFFERS, OTHER_REQUIREMENTS,
# RECAPTCHA_VALUE, JOB_LOCATION,PSYCHOMETRIC_TEST,MEDICAL_TEST,COMPANY_TURNOVER,NUMBER_OF_EMPLOYEES,BACKLOG_ELIGIBLE,PWD_ELIGIBLE,CPI ,COMPANY_TURNOVER,ESTABLISHMENT_DATE ,EXPECTED_NO_OF_OFFERS]) RECAPTCHA_VALUE, JOB_LOCATION,PSYCHOMETRIC_TEST,MEDICAL_TEST,COMPANY_TURNOVER,NUMBER_OF_EMPLOYEES,BACKLOG_ELIGIBLE,PWD_ELIGIBLE,CPI ,COMPANY_TURNOVER,ESTABLISHMENT_DATE ,EXPECTED_NO_OF_OFFERS])
def addPlacement(request): def addPlacement(request):
logger.info("JNF filled by " + str(request.data['email'])) logger.info("JNF filled by " + str(request.data['email']))
@ -40,6 +40,14 @@ def addPlacement(request):
# opening.rs_eligible = True # opening.rs_eligible = True
# else: # else:
# opening.rs_eligible = False # opening.rs_eligible = False
print(data[ELIGIBLESTUDENTS])
if data[ELIGIBLESTUDENTS] is None:
raise ValueError('Eligible Students cannot be empty')
elif set(json.loads(data[ELIGIBLESTUDENTS])).issubset(ELIGIBLE):
opening.eligiblestudents = json.loads(data[ELIGIBLESTUDENTS])
else:
raise ValueError('Allowed Branch must be a subset of ' + str(ELIGIBLE))
print(opening.eligiblestudents)
if data[PWD_ELIGIBLE] == 'Yes': if data[PWD_ELIGIBLE] == 'Yes':
opening.pwd_eligible = True opening.pwd_eligible = True
else: else:
@ -270,20 +278,19 @@ def addPlacement(request):
except ValueError as e: except ValueError as e:
store_all_files(request) store_all_files(request)
#exception_email(data)
logger.warning("ValueError in addPlacement: " + str(e)) logger.warning("ValueError in addPlacement: " + str(e))
logger.warning(traceback.format_exc()) logger.warning(traceback.format_exc())
return Response({'action': "Add Placement", 'message': str(e)}, return Response({'action': "Add Placement", 'message': str(e)},
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
except: except Exception as e:
store_all_files(request) store_all_files(request)
#exception_email(data) logger.warning("Add New Placement: " + str(e))
logger.warning("Add New Placement: " + str(sys.exc_info()))
logger.warning(traceback.format_exc()) logger.warning(traceback.format_exc())
return Response({'action': "Add Placement", 'message': "Something went wrong"}, return Response({'action': "Add Placement", 'message': "Something went wrong: " + str(e)},
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
@api_view(['POST']) @api_view(['POST'])
@precheck([TOKEN]) @precheck([TOKEN])
def verifyEmail(request): def verifyEmail(request):
@ -381,13 +388,13 @@ def autoFillInf(request):
@api_view(['POST']) @api_view(['POST'])
# @precheck([COMPANY_NAME, WEBSITE, IS_COMPANY_DETAILS_PDF, COMPANY_DETAILS, ADDRESS, @precheck([COMPANY_NAME, WEBSITE, IS_COMPANY_DETAILS_PDF, COMPANY_DETAILS, ADDRESS,
# CITY, STATE, COUNTRY, PINCODE, COMPANY_TYPE, NATURE_OF_BUSINESS, IS_DESCRIPTION_PDF, CITY, STATE, COUNTRY, PINCODE, COMPANY_TYPE, NATURE_OF_BUSINESS, IS_DESCRIPTION_PDF,
# DESIGNATION, INTERNSHIP_LOCATION, DESCRIPTION, SEASON, START_DATE, END_DATE, WORK_TYPE, DESIGNATION, INTERNSHIP_LOCATION, DESCRIPTION, SEASON, START_DATE, END_DATE, WORK_TYPE,
# ALLOWED_BRANCH, SOPHOMORES_ELIIGIBLE, RS_ELIGIBLE, NUM_OFFERS, IS_STIPEND_DETAILS_PDF, STIPEND, ALLOWED_BRANCH, ELIGIBLESTUDENTS, NUM_OFFERS, IS_STIPEND_DETAILS_PDF, STIPEND,
# FACILITIES, OTHER_FACILITIES, SELECTION_PROCEDURE_ROUNDS, SELECTION_PROCEDURE_DETAILS, IS_SELECTION_PROCEDURE_DETAILS_PDF, FACILITIES, OTHER_FACILITIES, SELECTION_PROCEDURE_ROUNDS, SELECTION_PROCEDURE_DETAILS, IS_SELECTION_PROCEDURE_DETAILS_PDF,
# SELECTION_PROCEDURE_DETAILS, OTHER_REQUIREMENTS, SELECTION_PROCEDURE_DETAILS, OTHER_REQUIREMENTS,
# CONTACT_PERSON_NAME, PHONE_NUMBER, EMAIL, RECAPTCHA_VALUE]) CONTACT_PERSON_NAME, PHONE_NUMBER, EMAIL, RECAPTCHA_VALUE ,ESTABLISHMENT_DATE,PWD_ELIGIBLE,BACKLOG_ELIGIBLE,PSYCHOMETRIC_TEST,MEDICAL_TEST,CPI,EXPECTED_NO_OF_OFFERS,NUMBER_OF_EMPLOYEES,COMPANY_TURNOVER])
def addInternship(request): def addInternship(request):
logger.info("INF filled by " + str(request.data['email'])) logger.info("INF filled by " + str(request.data['email']))
logger.info(request.data) logger.info(request.data)
@ -473,10 +480,13 @@ def addInternship(request):
# internship.sophomore_eligible = True # internship.sophomore_eligible = True
# else: # else:
# internship.sophomore_eligible = False # internship.sophomore_eligible = False
# if data[RS_ELIGIBLE] == 'Yes': if data[ELIGIBLESTUDENTS] is None:
# internship.rs_eligible = True raise ValueError('Eligible Students cannot be empty')
# else: elif set(json.loads(data[ELIGIBLESTUDENTS])).issubset(ELIGIBLE):
# internship.rs_eligible = False internship.eligiblestudents = json.loads(data[ELIGIBLESTUDENTS])
else:
raise ValueError('Allowed Branch must be a subset of ' + str(ELIGIBLE))
print(internship.eligiblestudents)
if data[PWD_ELIGIBLE] == 'Yes': if data[PWD_ELIGIBLE] == 'Yes':
internship.pwd_eligible = True internship.pwd_eligible = True
else: else:
@ -598,15 +608,15 @@ def addInternship(request):
status=status.HTTP_200_OK) status=status.HTTP_200_OK)
except ValueError as e: except ValueError as e:
store_all_files(request) store_all_files(request)
# exception_email(data)
logger.warning("ValueError in addInternship: " + str(e)) logger.warning("ValueError in addInternship: " + str(e))
logger.warning(traceback.format_exc()) logger.warning(traceback.format_exc())
return Response({'action': "Add Internship", 'message': str(e)}, return Response({'action': "Add Internship", 'message': str(e)},
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
except: except Exception as e:
store_all_files(request) store_all_files(request)
# exception_email(data) logger.warning("Add New Internship: " + str(e))
logger.warning("Add New Internship: " + str(sys.exc_info()))
logger.warning(traceback.format_exc()) logger.warning(traceback.format_exc())
return Response({'action': "Add Internship", 'message': "Something went wrong"}, return Response({'action': "Add Internship", 'message': "Something went wrong: " + str(e)},
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)

View File

@ -12,6 +12,12 @@ BRANCH_CHOICES = [
['CHEMICAL', 'CHEMICAL'], ['CHEMICAL', 'CHEMICAL'],
['BSMS', 'BSMS'], ['BSMS', 'BSMS'],
] ]
ELIGIBLE_CHOICES = [
["Btech", "Btech"],
["MS", "MS"],
["MTech", "MTech"],
["PHD", "PHD"],
]
BRANCHES = [ BRANCHES = [
"CSE", "CSE",
"EE", "EE",
@ -21,6 +27,12 @@ BRANCHES = [
"CHEMICAL", "CHEMICAL",
"BSMS", "BSMS",
] ]
ELIGIBLE =[
"Btech",
"MS",
"MTech",
"PHD",
]
BATCHES = [ #change it accordingly BATCHES = [ #change it accordingly
"2023", "2023",
"2022", "2022",
@ -88,6 +100,7 @@ PLACEMENT_OPENING_URL = "https://cdc.iitdh.ac.in/portal/student/dashboard/placem
LINK_TO_STORAGE_COMPANY_ATTACHMENT = "https://cdc.iitdh.ac.in/storage/Company_Attachments/" LINK_TO_STORAGE_COMPANY_ATTACHMENT = "https://cdc.iitdh.ac.in/storage/Company_Attachments/"
LINK_TO_STORAGE_RESUME = "https://cdc.iitdh.ac.in/storage/Resumes/" LINK_TO_STORAGE_RESUME = "https://cdc.iitdh.ac.in/storage/Resumes/"
LINK_TO_APPLICATIONS_CSV = "https://cdc.iitdh.ac.in/storage/Application_CSV/" LINK_TO_APPLICATIONS_CSV = "https://cdc.iitdh.ac.in/storage/Application_CSV/"
LINK_TO_RESUMES_ZIP = "https://cdc.iitdh.ac.in/storage/Resume_Zips/"
LINK_TO_EMAIl_VERIFICATION_API = "https://cdc.iitdh.ac.in/portal/company/verifyEmail?token={token}" LINK_TO_EMAIl_VERIFICATION_API = "https://cdc.iitdh.ac.in/portal/company/verifyEmail?token={token}"
PDF_FILES_SERVING_ENDPOINT = 'https://cdc.iitdh.ac.in/storage/Company_Attachments/' # TODO: Change this to actual URL PDF_FILES_SERVING_ENDPOINT = 'https://cdc.iitdh.ac.in/storage/Company_Attachments/' # TODO: Change this to actual URL
@ -115,6 +128,7 @@ JNF_SMALLTEXT_MAX_CHARACTER_COUNT = 50
STORAGE_DESTINATION_RESUMES = "./Storage/Resumes/" STORAGE_DESTINATION_RESUMES = "./Storage/Resumes/"
STORAGE_DESTINATION_COMPANY_ATTACHMENTS = './Storage/Company_Attachments/' STORAGE_DESTINATION_COMPANY_ATTACHMENTS = './Storage/Company_Attachments/'
STORAGE_DESTINATION_APPLICATION_CSV = './Storage/Application_CSV/' STORAGE_DESTINATION_APPLICATION_CSV = './Storage/Application_CSV/'
STORAGE_DESTINATION_RESUME_ZIP = './Storage/Resume_Zips/'
TOKEN = 'token' TOKEN = 'token'
RESUME_FILE_NAME = 'resume_file_name' RESUME_FILE_NAME = 'resume_file_name'
@ -164,7 +178,8 @@ COMPENSATION_DETAILS_PDF_NAMES = 'compensation_details_pdf_names'
IS_COMPENSATION_DETAILS_PDF = 'is_compensation_details_pdf' IS_COMPENSATION_DETAILS_PDF = 'is_compensation_details_pdf'
ALLOWED_BATCH = 'allowed_batch' ALLOWED_BATCH = 'allowed_batch'
ALLOWED_BRANCH = 'allowed_branch' ALLOWED_BRANCH = 'allowed_branch'
RS_ELIGIBLE = 'rs_eligible' # RS_ELIGIBLE = 'rs_eligible' removed
ELIGIBLESTUDENTS= 'eligiblestudents'# newly adde field
PWD_ELIGIBLE = 'pwd_eligible' # newly added field PWD_ELIGIBLE = 'pwd_eligible' # newly added field
BACKLOG_ELIGIBLE = 'backlog_eligible' # newly added field BACKLOG_ELIGIBLE = 'backlog_eligible' # newly added field
PSYCHOMETRIC_TEST = 'pyschometric_test' # newly added field PSYCHOMETRIC_TEST = 'pyschometric_test' # newly added field

View File

@ -142,6 +142,11 @@ class Placement(models.Model):
expected_no_of_offers = models.IntegerField(blank=False , default=None , null=True) # newly added expected_no_of_offers = models.IntegerField(blank=False , default=None , null=True) # newly added
number_of_employees = models.IntegerField(blank=False, default=None, null=True) # newly added field number_of_employees = models.IntegerField(blank=False, default=None, null=True) # newly added field
rs_eligible = models.BooleanField(blank=True, default=False) # needs to be deleted rs_eligible = models.BooleanField(blank=True, default=False) # needs to be deleted
eligiblestudents = ArrayField(
models.CharField(choices=ELIGIBLE_CHOICES, blank=False, max_length=10),
size=10,
default=list
)
pwd_eligible = models.BooleanField(blank=True, default=False) #newly added field pwd_eligible = models.BooleanField(blank=True, default=False) #newly added field
backlog_eligible = models.BooleanField(blank=True, default=False) #newly added field backlog_eligible = models.BooleanField(blank=True, default=False) #newly added field
psychometric_test = models.BooleanField(blank=True, default=False) #newly added field psychometric_test = models.BooleanField(blank=True, default=False) #newly added field
@ -334,7 +339,12 @@ class Internship(models.Model):
default=list default=list
) )
sophomore_eligible = models.BooleanField(blank=False, default=False) sophomore_eligible = models.BooleanField(blank=False, default=False)
rs_eligible = models.BooleanField(blank=False, default=False) rs_eligible = models.BooleanField(blank=False, default=False) # needs to be deleted
eligiblestudents = ArrayField(
models.CharField(choices=ELIGIBLE_CHOICES, blank=False, max_length=10),
size=10,
default=list
)
tentative_no_of_offers = models.IntegerField(blank=False, default=None, null=True) tentative_no_of_offers = models.IntegerField(blank=False, default=None, null=True)
company_turnover = models.IntegerField(blank=True, default=None, null=True) # newly added field company_turnover = models.IntegerField(blank=True, default=None, null=True) # newly added field
establishment_date = models.DateField(blank=True, default=None, null=True) # newly added field establishment_date = models.DateField(blank=True, default=None, null=True) # newly added field

View File

@ -81,22 +81,22 @@ def precheck(required_data=None):
request_data = request.data request_data = request.data
if not len(request_data): if not len(request_data):
request_data = request.POST request_data = request.POST
if len(request_data):
if request_data and len(request_data):
for i in required_data: for i in required_data:
# print(i)
if i not in request_data: if i not in request_data:
return Response({'action': "Pre check", 'message': str(i) + " Not Found"}, return Response({'action': "Pre check", 'message': str(i) + " Not Found"},
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
else: else:
return Response({'action': "Pre check", 'message': "Message Data not Found"}, return Response({'action': "Pre check", 'message': "Message Data not Found"},
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
# print("Pre check: " + str(request_data))
return view_func(request, *args, **kwargs) return view_func(request, *args, **kwargs)
except:
# print what exception is except Exception as e:
print(traceback.format_exc()) # Log the full traceback for debugging purposes
logger.warning("Pre check: " + str(sys.exc_info())) logger.error("Pre check error: %s", traceback.format_exc())
return Response({'action': "Pre check", 'message': "Something went wrong"}, return Response({'action': "Pre check", 'message': "Something went wrong: " + str(e)},
status=status.HTTP_400_BAD_REQUEST) status=status.HTTP_400_BAD_REQUEST)
return wrapper_func return wrapper_func

View File

@ -1,90 +1,137 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="x-apple-disable-message-reformatting"> <meta name="x-apple-disable-message-reformatting">
<title></title> <title>Email Template</title>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]-->
<link rel="preconnect" href="https://fonts.gstatic.com"> <link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<tr> <table role="presentation" class="email-container">
<td align="center" style="padding:0;"> <tr>
<table role="presentation" <td>
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <div class="email-header">
<tr> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> </div>
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="inner-container">
style="height:auto;display:block;"/> <div class="email-body">
</td>
</tr> <img src="./images/Approved.png" alt="verify Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<tr> <h2 style="text-align: center;">Verification Required</h2>
<td style="padding:36px 30px 42px 30px;"> <p style="text-align: center;">We have received your <strong>{{opening_type}}</strong> Notification for <strong>{{designation}}</strong>.
<table role="presentation" Please verify your email by clicking the button below:</p>
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> <p style="text-align: center;">
<tr> <a href="{{one_time_link}}" style="display: inline-block; padding: 12px 24px; margin: 20px 0; font-size: 16px; color: #ffffff; background-color: #ff7350; text-decoration: none; border-radius: 50px; font-weight: 500;">Verify Email</a>
<td style="padding:0 0 36px 0;color:#153643;"> </p>
</div>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> </div>
We have received your {{opening_type}} Notification for {{ designation }}. Kindly verify your email by clicking <a <div class="email-footer">
href="{{ one_time_link }}">here</a>. <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
</p>
</td> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
</tr> <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
<tr> </a>
<td style="padding:0;"> <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
<table role="presentation" <img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> </a>
<tr> <a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
<td style="width:260px;padding:0;vertical-align:top;color:#334878;"> <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
</a>
<p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</td>
</tr> </div>
</table>
</td>
</tr> </td>
</table> </tr>
</td> </table>
</tr> </div>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2021<br/>
</p>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -5,69 +5,188 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<style> <style>
#details_table tr:nth-child(even) { body, table, td, div, p, h1 {
background: #FFF font-family: 'Roboto', sans-serif;
} }
body {
#details_table tr:nth-child(odd) { margin: 0;
background: #bfe3f3 padding: 0;
background-color: #e1e4e8; /* Outer background color */
} }
.email-wrapper {
#details_table td { padding: 20px;
padding: 10px; background-color: #e1e4e8; /* Outer background color */
width: 50%; }
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
} }
#details_table { #details_table {
border: #334878 1px solid; width: 100%;
border-collapse: collapse; border-collapse: collapse;
width: 80%; margin: 20px auto;
margin: auto; font-size: 16px;
}
#details_table th, #details_table td {
padding: 10px;
border: 1px solid #dddddd;
text-align: left;
}
#details_table th {
background-color: #ff7350;
color: #ffffff;
}
#details_table tr:nth-child(even) {
background-color: #f2f2f2;
}
#details_table tr:nth-child(odd) {
background-color: #ffffff;
}
#details_table ul {
padding-left: 20px;
margin: 0;
}
#details_table a {
color: #334878;
text-decoration: none;
}
.social-icons img {
width: 24px;
height: 24px;
margin: 0 5px;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
} }
</style> </style>
<title>Document</title> <title>Notification</title>
</head> </head>
<body style="margin: 0;font-family: sans-serif;"> <body>
<header style="background-color: #334878;"><img style="height: 3cm; margin: auto; display: block; padding: 0.5cm;" <div class="email-wrapper">
src='{{ imgpath }}' alt="cdc logo"></header> <div class="email-container">
<h1 style="text-align: center;"> {{type}} Notification Form Response</h1>
<table id="details_table">
{% for key, value in data.items %}
<tr>
<td>
{{ key }}
</td>
<td>
{% if 'list' in value.type %}
{% for item in value.details %} <div class="email-header">
<li> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
{% if 'link' in value.type and value.link %} </div>
<a href="{{ value.link|add:item}}">{{ item|slice:"16:" }}</a>
{% elif 'link' in value.type %}
<a href="{{ item }}">{{ item }}</a>
{% else %}
{{ item }}
{% endif %}
</li>
{% endfor %}
{% else %}
{% if 'link' in value.type %}
<a href="{{ value.details }}">{{ value.details }}</a>
{% else %}
{{ value }}
{% endif %}
{% endif %}
</td> <div class="inner-container">
</tr> <div class="email-body">
{% endfor %} <img src="./images/email_2058176.png" alt="Notification Logo" style="width: 20%; height: auto; display: block; margin: 0 auto;" />
</table> <h2 style="text-align: center;">{{type}} Notification Form Response</h2>
<p style="margin-left: 10%;">In case of any descripency regarding above details, please contact <a <p style="text-align: center;">
href="mailto:cdc@iitdh.ac.in">cdc@iitdh.ac.in</a> <table id="details_table">
<thead>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody>
{% for key, value in data.items %}
<tr>
<td>{{ key }}</td>
<td>
{% if 'list' in value.type %}
<ul>
{% for item in value.details %}
<li>
{% if 'link' in value.type and value.link %}
<a href="{{ value.link|add:item }}" target="_blank">{{ item|slice:"16:" }}</a>
{% elif 'link' in value.type %}
<a href="{{ item }}" target="_blank">{{ item }}</a>
{% else %}
{{ item }}
{% endif %}
</li>
{% endfor %}
</ul>
{% else %}
{% if 'link' in value.type %}
<a href="{{ value.details }}" target="_blank">{{ value.details }}</a>
{% else %}
{{ value }}
{% endif %}
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
In case of any discrepancy regarding the above details, please contact <a href="mailto:cdc@iitdh.ac.in">cdc@iitdh.ac.in</a>.
</p>
</div>
</div>
</p> <div class="email-footer">
<p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
<div class="social-icons">
<a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
<img src="./images/twitter.png" alt="Twitter">
</a>
<a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff">
<img src="./images/Instagram_icon.png" alt="Instagram">
</a>
<a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in" style="margin-right: 10px; color: #eff7ff">
<img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn">
</a>
</div>
<p style="color: #555555;">&copy; 2024 CDC, all rights reserved</p>
</div>
</div>
</div>
</body> </body>
</html> </html>

View File

@ -18,118 +18,146 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, h1, p {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
#details_table tr:nth-child(even) { body {
background: #FFF margin: 0;
padding: 0;
} }
#details_table tr:nth-child(odd) { .email-wrapper {
background: #f9f9f9 width: 100%;
background-color: #ffffff;
padding: 0;
margin: 0;
} }
#details_table td { .email-container {
padding: 10px max-width: 600px;
width: 100%;
margin: 0 auto;
border: 8 px;
border-collapse: collapse;
background-color: #eff7ff;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
}
.email-header img {
width: 200px;
height: auto;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px 42px 30px;
}
.inner-container .email-body h2 {
font-size: 24px;
margin: 0 0 20px 0;
color: #153643;
}
.inner-container .email-body p {
margin: 0 0 12px 0;
font-size: 16px;
line-height: 24px;
color: #153643;
} }
#details_table { #details_table {
border: #334878 1px solid; width: 100%;
border: 1px solid #334878;
border-collapse: collapse; border-collapse: collapse;
} }
#details_table td {
padding: 10px;
color: #153643;
border: 1px solid #334878;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<tr> <table role="presentation" class="email-container">
<td align="center" style="padding:0;"> <tr>
<table role="presentation" <td>
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <div class="email-header">
<tr> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> </div>
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="inner-container">
style="height:auto;display:block;"/> <div class="email-body">
</td>
</tr> <img src="./images/Confirmed.png" alt="verify Logo" style="width: 30%; height: auto; display: block; margin: 0 auto;" />
<tr> <h2 style="text-align: center;">Thank You For Filling The Form</h2>
<td style="padding:36px 30px 42px 30px;"> <p style="text-align: center;">We have received your <b>{{ opening_type }}</b> notification for a <b>{{ designation }}</b> offer at <b>{{ company_name }}</b>.
<table role="presentation" We will keep you informed with the updates. If you have any queries, please feel free to write to <nobr><u>cdc@iitdh.ac.in</u></nobr>.</p>
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> <!-- <table id="details_table">
<tr> {% for key, value in data.items %}
<td style="padding:0 0 36px 0;color:#153643;"> <tr>
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif; <td>{{ key }}</td>
">Thank You for filling the form</h1> <td>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> {% if 'list' in value.type %}
We have received your <b>{{ opening_type }}</b> notification for a <ul>
<b>{{ designation }}</b> offer at <b> {% for item in value.details %}
{{ company_name }}</b>. <li>{% if 'link' in value.type and value.link %}<a href="{{ value.link|add:item}}">{{ item }}</a>{% elif 'link' in value.type %}<a href="{{ item }}">{{ item }}</a>{% else %}{{ item }}{% endif %}</li>
</p>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;">
We will keep you informed with the updates. If you have any queries, please
feel to
write to
<nobr><u>cdc@iitdh.ac.in</u></nobr>
</p>
<table id="details_table">
{% for key, value in data.items %}
<tr>
<td>
{{ key }}
</td>
<td>
{% if 'list' in value.type %}
{% for item in value.details %}
<li>
{% if 'link' in value.type and value.link %}
<a href="{{ value.link|add:item}}">{{ item }}</a>
{% elif 'link' in value.type %}
<a href="{{ item }}">{{ item }}</a>
{% else %}
{{ item }}
{% endif %}
</li>
{% endfor %}
{% else %}
{% if 'link' in value.type %}
<a href="{{ value.details }}">{{ value.details }}</a>
{% else %}
{{ value }}
{% endif %}
{% endif %}
</td>
</tr>
{% endfor %} {% endfor %}
</table> </ul>
</td> {% else %}
</tr> {% if 'link' in value.type %}<a href="{{ value.details }}">{{ value.details }}</a>{% else %}{{ value }}{% endif %}
{% endif %}
</table> </td>
</td> </tr>
</tr> {% endfor %}
<tr> </table> -->
<td style="padding:30px;background:#334878;"> </div>
<table role="presentation" </div>
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;"> <div class="email-footer">
<tr> <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;"> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
&reg; CDC,IIT Dharwad,2021<br/> <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
</p> </a>
</td> <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
<img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
</a>
</tr> <a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
</table> <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
</td> </a>
</tr> <p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</table>
</td> </div>
</tr> </td>
</table> </tr>
</table>
</div>
</body> </body>
</html> </html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -18,70 +18,133 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body class="email-wrapper">
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <table role="presentation" class="email-container">
<tr> <tr>
<td align="center" style="padding:0;"> <td>
<table role="presentation"
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <div class="email-header">
<tr> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> </div>
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="inner-container">
style="height:auto;display:block;"/> <div class="email-body">
</td> <img src="./images/notification.png" alt="verify Logo" style="width: 30%; height: auto; display: block; margin: 0 auto;" />
</tr> <h2 style="text-align: center;">{{ opening_type }} Opportunity at {{ company_name }}</h2>
<tr> <p style="text-align: center;">
<td style="padding:36px 30px 42px 30px;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td style="padding:0 0 36px 0;color:#153643;">
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif;
">{{ opening_type }} Opportunity at {{ company_name }}</h1>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;">
Greetings of the day. Hope you are fine and doing well ! Greetings of the day. Hope you are fine and doing well !
</p>
<p style="text-indent: 4ch; margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;">
CDC is excited to announce that <b>{{ company_name }}</b> is interested in CDC is excited to announce that <b>{{ company_name }}</b> is interested in
recruiting <b>{{ designation }}</b> from IIT Dharwad. recruiting <b>{{ designation }}</b> from IIT Dharwad.
More details can be found in the CDC Web Portal. More details can be found in the CDC Web Portal.
Interested students can apply before <b>{{ deadline }}</b> in the CDC-Web Portal</p>
<p style="text-align: center;">
<a
href="{{ link }}" style="display: inline-block; padding: 12px 24px; margin: 20px 0; font-size: 16px; color: #ffffff; background-color: #ff7350; text-decoration: none; border-radius: 50px; font-weight: 500;">CDC Web Portal</a>.
</p> </p>
</div>
</div>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> <div class="email-footer">
Interested students can apply before <b>{{ deadline }}</b> in the <a <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
href="{{ link }}">CDC-Web Portal</a>.
</p> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
<img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
</a>
<a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
<img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
</a>
<a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
<img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
</a>
<p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</div>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2022<br/>
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -18,100 +18,145 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<table role="presentation" class="email-container">
<tr> <tr>
<td align="center" style="padding:0;"> <td >
<table role="presentation" <div class="email-header">
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<tr> </div>
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> <div class="inner-container">
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="email-body">
style="height:auto;display:block;"/> <img src="./images/tracking.png" alt="verify Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
</td> <h1 style="text-align: center;">Hello, Folks</h1>
</tr> <p style="text-align: center;">
<tr> We have received a issue regarding a <b>{{ application_type }}</b> opening at
<td style="padding:36px 30px 42px 30px;"> <b>
<table role="presentation" {{ company_name }}</b> From {{name}}.
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> {% if additional_info %}
<tr> We received these additional details
<td style="padding:0 0 36px 0;color:#153643;"> <br>
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif;
">Hello, Folks</h1> <!-- <table style="border:solid 1px; margin: auto; text-align: center;width: 80%;
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> border-radius:15px; background-color: #e0e3ee"> -->
We have received a issue regarding a <b>{{ application_type }}</b> opening at
<b> {% for i,j in additional_info.items %}
{{ company_name }}</b> From {{name}}.
{% if additional_info %} <!-- <tr>
We received these additional details <td style="padding:8px 10px;color:#153643; ">{{ i }}:</td>
<br> <td style="padding:8px 10px;color:#153643;">{{ j }}</td>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: </tr> -->
'Roboto', sans-serif;text-align: center"> {% endfor %}
<!-- </table> -->
{% endif %}
<table style="border:solid 1px; margin: auto; text-align: center;width: 80%; please look into it and take necessary actions.
border-radius:15px; background-color: #e0e3ee"> get in touch with the student at <nobr><u>{{ email }}</u></nobr>
{% for i,j in additional_info.items %} <!-- </p> -->
</p></div></div>
<tr> <div class="email-footer">
<td style="padding:8px 10px;color:#153643; ">{{ i }}:</td> <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
<td style="padding:8px 10px;color:#153643;">{{ j }}</td>
</tr> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
{% endfor %} <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
</table> </a>
{% endif %} <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
<img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
</p> </a>
</p> <a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
please look into it and take necessary actions. </a>
get in touch with the student at at <nobr><u>{{ email }}</u></nobr> <p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</p> </div>
</td>
</tr>
<tr>
<td style="padding:0;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td style="width:260px;padding:0;vertical-align:top;color:#334878;">
</td>
</tr>
</table>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2021<br/>
</p>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -18,69 +18,126 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<table role="presentation" class="email-container">
<tr> <tr>
<td align="center" style="padding:0;"> <td>
<table role="presentation" <div class="email-header">
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<tr> </div>
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> <div class="inner-container">
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="email-body">
style="height:auto;display:block;"/> <img src="./images/Rejected.png" alt="rejection Logo" style="width: 30%; height: auto; display: block; margin: 0 auto;" />
</td> <h2 style="text-align: center;">Hey, {{ student_name }}</h2>
</tr> <p style="text-align: center;">
<tr>
<td style="padding:36px 30px 42px 30px;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td style="padding:0 0 36px 0;color:#153643;">
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif;
">Hey, {{ student_name }}</h1>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;">
We regret to inform you that you have not been selected for We regret to inform you that you have not been selected for
<b>{{ designation }}</b> role at <b>{{ company_name }}</b>. <b>{{ designation }}</b> role at <b>{{ company_name }}</b>.
CDC will keep bringing more such opportunities for you in the future. CDC will keep bringing more such opportunities for you in the future.
</td>
</tr>
<tr> </p></div></div>
<td style="padding:0;"> <div class="email-footer">
<table role="presentation" <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
<td style="width:260px;padding:0;vertical-align:top;color:#334878;"> <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
</td> </a>
</tr> <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
</table> <img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
</a>
<a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
<img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
</a>
<p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</div>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2021<br/>
</p>
</td>
</tr>
</table>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -18,68 +18,122 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<table role="presentation" class="email-container">
<tr> <tr>
<td align="center" style="padding:0;"> <td>
<table role="presentation" <div class="email-header">
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<tr> </div>
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> <div class="inner-container">
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="email-body">
style="height:auto;display:block;"/> <img src="./images/Confirmed.png" alt="approved Logo" style="width: 30%; height: auto; display: block; margin: 0 auto;" />
</td> <h2 style="text-align: center;">Hey, {{ student_name }}</h2>
</tr> <p style="text-align: center;">
<tr> Congratulations, You have been selected for the <b>{{ designation }}</b> at
<td style="padding:36px 30px 42px 30px;"> <b>{{ company_name }}</b>.<br></p></div></div>
<table role="presentation" <div class="email-footer">
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
<tr>
<td style="padding:0 0 36px 0;color:#153643;"> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif; <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
">Hey, {{ student_name }}</h1> </a>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
Congratulations, You have been selected for the <b>{{ designation }}</b> at <img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
<b>{{ company_name }}</b>.<br> </a>
</td> <a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
</tr> <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
<tr> </a>
<td style="padding:0;"> <p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> </div>
<tr>
<td style="width:260px;padding:0;vertical-align:top;color:#334878;">
</td>
</tr>
</table>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2021<br/>
</p>
</td>
</tr>
</table>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -18,101 +18,146 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<table role="presentation" class="email-container">
<tr> <tr>
<td align="center" style="padding:0;"> <td >
<table role="presentation" <div class="email-header">
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<tr> </div>
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> <div class="inner-container">
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="email-body">
style="height:auto;display:block;"/> <img src="./images/message.png" alt="verify Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
</td> <h2 style="text-align: center;">Hello, {{ name }}</h2>
</tr> <p style="text-align: center;">
<tr>
<td style="padding:36px 30px 42px 30px;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td style="padding:0 0 36px 0;color:#153643;">
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif;
">Hello, {{ name }}</h1>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;">
We have received your application for a <b>{{ application_type }}</b> offer at We have received your application for a <b>{{ application_type }}</b> offer at
<b> <b>
{{ company_name }}</b>. {{ company_name }}</b>.
{% if additional_info_items %} {% if additional_info_items %}
We received these additional details We received these additional details
<br> <br>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family:
'Roboto', sans-serif;text-align: center">
<table style="border:solid 1px; margin: auto; text-align: center;width: 80%; <!-- <table style="border:solid 1px; margin: auto; text-align: center;width: 80%;
border-radius:15px; background-color: #e0e3ee"> border-radius:15px; background-color: #e0e3ee"> -->
{% for i,j in additional_info.items %} {% for i,j in additional_info.items %}
<tr> <!-- <tr> -->
<td style="padding:8px 10px;color:#153643; ">{{ i }}:</td> <!-- <td style="padding:8px 10px;color:#153643; ">{{ i }}:</td> -->
<td style="padding:8px 10px;color:#153643;">{{ j }}</td> <!-- <td style="padding:8px 10px;color:#153643;">{{ j }}</td> -->
</tr> <!-- </tr> -->
{% endfor %} {% endfor %}
</table> <!-- </table> -->
{% endif %} {% endif %}
</p>
</p>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;">
We will keep you informed with the updates. If you have any queries, please We will keep you informed with the updates. If you have any queries, please
feel to feel to
write to write to
<nobr><u>cdc.support@iitdh.ac.in</u></nobr> <nobr><u>cdc.support@iitdh.ac.in</u></nobr>
</p>
</td> </p></div></div>
</tr> <div class="email-footer">
<tr> <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
<td style="padding:0;">
<table role="presentation" <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
<tr> </a>
<td style="width:260px;padding:0;vertical-align:top;color:#334878;"> <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
<img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
</a>
</td> <a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
</tr> <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
</table> </a>
<p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</div>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2021<br/>
</p>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -18,107 +18,152 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<table role="presentation" class="email-container">
<tr> <tr>
<td align="center" style="padding:0;"> <td >
<table role="presentation" <div class="email-header">
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<tr> </div>
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> <div class="inner-container">
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="email-body">
style="height:auto;display:block;"/> <img src="./images/mobile.png" alt="verify Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
</td> <h2 style="text-align: center;">Hello, {{ name }}</h2>
</tr> <p style="text-align: center;">
<tr> We have received some update in your application for a <b>{{ application_type }}</b> offer at
<td style="padding:36px 30px 42px 30px;"> <b>
<table role="presentation" {{ company_name }}</b>.
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> <!-- <table style="border:solid 1px; margin: auto; text-align: center;width: 80%;
<tr> border-radius:15px; background-color: #e0e3ee">
<td style="padding:0 0 36px 0;color:#153643;"> <tr>
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif; <td style="padding:8px 10px;color:#153643; "> resume:</td>
">Hello, {{ name }}</h1> <td style="padding:8px 10px;color:#153643;">{{ resume }}</td>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> </tr>
We have received some update in your application for a <b>{{ application_type }}</b> offer at </table>
<b> -->
{{ company_name }}</b>. <!-- {% if additional_info_items %} -->
<table style="border:solid 1px; margin: auto; text-align: center;width: 80%; <!-- We received these additional details -->
border-radius:15px; background-color: #e0e3ee"> <!-- <br> -->
<tr> <!-- <p style="text-align: center;"> -->
<td style="padding:8px 10px;color:#153643; "> resume:</td> <!-- {% for i,j in additional_info_items.items %} -->
<td style="padding:8px 10px;color:#153643;">{{ resume }}</td>
</tr> <!-- <tr>
</table> <td style="padding:8px 10px;color:#153643; ">{{ i }}:</td>
<td style="padding:8px 10px;color:#153643;">{{ j }}</td>
</tr> -->
<!-- {% endfor %} -->
<!-- </table> -->
<!-- {% endif %} -->
{% if additional_info_items %} We will keep you informed with the updates. If you have any queries, please
We received these additional details feel to
<br> write to
<table style="border:solid 1px; margin: auto; text-align: center;width: 80%; <nobr><u>cdc.support@iitdh.ac.in</u></nobr>
border-radius:15px; background-color: #e0e3ee">
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family:
'Roboto', sans-serif;text-align: center"> </p></div></div>
{% for i,j in additional_info_items.items %} <div class="email-footer">
<p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
<tr>
<td style="padding:8px 10px;color:#153643; ">{{ i }}:</td> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
<td style="padding:8px 10px;color:#153643;">{{ j }}</td> <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
</tr> </a>
{% endfor %} <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
</table> <img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
{% endif %} </a>
<a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
</p> <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
</p> </a>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> <p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
We will keep you informed with the updates. If you have any queries, please
feel to </div>
write to
<nobr><u>cdc.support@iitdh.ac.in</u></nobr>
</p>
</td>
</tr>
<tr>
<td style="padding:0;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td style="width:260px;padding:0;vertical-align:top;color:#334878;">
</td>
</tr>
</table>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2021<br/>
</p>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -18,101 +18,145 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h2 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<table role="presentation" class="email-container">
<tr> <tr>
<td align="center" style="padding:0;"> <td >
<table role="presentation" <div class="email-header">
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;"> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
<tr> </div>
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> <div class="inner-container">
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="email-body">
style="height:auto;display:block;"/> <img src="./images/tracking.png" alt="verify Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
</td> <h2 style="text-align: center;"
</tr> >Hello, {{ name }}</h1>
<tr> <p style="text-align:center;">
<td style="padding:36px 30px 42px 30px;"> We have received your issue regarding a <b>{{ application_type }}</b> opening at
<table role="presentation" <b>
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> {{ company_name }}</b>.
<tr> {% if additional_info %}
<td style="padding:0 0 36px 0;color:#153643;"> We received these additional details
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif; <br>
">Hello, {{ name }}</h1>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> <!-- <table style="border:solid 1px; margin: auto; text-align: center;width: 80%;
We have received your issue regarding a <b>{{ application_type }}</b> opening at border-radius:15px; background-color: #e0e3ee"> -->
<b>
{{ company_name }}</b>. {% for i,j in additional_info.items %}
{% if additional_info %}
We received these additional details <!-- <tr>
<br> <td style="padding:8px 10px;color:#153643; ">{{ i }}:</td>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: <td style="padding:8px 10px;color:#153643;">{{ j }}</td>
'Roboto', sans-serif;text-align: center"> </tr> -->
{% endfor %}
<table style="border:solid 1px; margin: auto; text-align: center;width: 80%; <!-- </table> -->
border-radius:15px; background-color: #e0e3ee"> {% endif %}
We will get back to you if we find it legitimate. If you have any queries, please
{% for i,j in additional_info.items %} feel to
write to
<tr> <nobr><u>cdc.support@iitdh.ac.in</u></nobr>
<td style="padding:8px 10px;color:#153643; ">{{ i }}:</td> </p></div></div>
<td style="padding:8px 10px;color:#153643;">{{ j }}</td> <div class="email-footer">
</tr> <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
{% endfor %}
</table> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
{% endif %} <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
</a>
</p> <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
</p> <img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;"> </a>
We will get back to you if we find it legitimate. If you have any queries, please <a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
feel to <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
write to </a>
<nobr><u>cdc.support@iitdh.ac.in</u></nobr> <p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</p>
</td> </div>
</tr>
<tr>
<td style="padding:0;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
<tr>
<td style="width:260px;padding:0;vertical-align:top;color:#334878;">
</td>
</tr>
</table>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
<tr>
<td style="padding:30px;background:#334878;">
<table role="presentation"
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;">
<tr>
<td style="padding:0;width:50%;" align="left">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;">
&reg; CDC,IIT Dharwad,2021<br/>
</p>
</td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body> </body>
</html> </html>

View File

@ -18,60 +18,128 @@
<link rel="shortcut icon" href="favicon.ico"/> <link rel="shortcut icon" href="favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap" rel="stylesheet">
<style> <style>
table, td, div, h1, p { body, table, td, div, p, h1 {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
} }
body {
margin: 0;
padding: 0;
background-color: #e1e4e8; /* Outer background color */
}
.email-wrapper {
padding: 20px;
background-color: #e1e4e8; /* Outer background color */
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #eff7ff; /* Outer box background color */
border-radius: 8px;
overflow: hidden;
}
.email-header, .email-footer {
padding: 40px 0;
text-align: center;
color: #ffffff;
}
.email-header img {
width: 150px;
height: auto;
margin-bottom: 20px;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 500;
}
.inner-container {
background-color: #ffffff; /* Inner box background color */
border-radius: 8px;
margin: 0 20px;
}
.inner-container .email-body {
padding: 36px 30px;
}
.inner-container .email-body h4 {
margin-bottom: 24px;
font-size: 24px;
color: black;
font-weight: 500;
}
.inner-container .email-body p {
margin-bottom: 16px;
font-size: 16px;
line-height: 24px;
color: #555555;
}
.email-footer {
padding: 20px 30px;
text-align: center;
color: #ffffff;
}
.email-footer p {
margin: 0;
font-size: 14px;
line-height: 20px;
}
.button {
display: inline-block;
padding: 12px 24px;
margin: 20px 0;
font-size: 16px;
color: #ffffff;
background-color: #ff7350;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
}
@media only screen and (max-width: 600px) {
.inner-container .email-body, .email-footer {
padding: 20px !important;
}
}
</style> </style>
</head> </head>
<body style="margin:0;padding:0;"> <body>
<table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;"> <div class="email-wrapper">
<tr> <table role="presentation" class="email-container">
<td align="center" style="padding:0;">
<table role="presentation"
style="width:602px;border-collapse:collapse;border:1px solid #334878;border-spacing:0;text-align:left;">
<tr> <tr>
<td align="center" style="padding:40px 0 30px 0;background:#334878;"> <td>
<img src="https://drive.google.com/uc?id=1QTA6dB7jnsZfU1kzyUqfD_2V5xODpWFt" alt="" width="200" <div class="email-header">
style="height:auto;display:block;"/> <img src="./images/CDC-Logo.png" alt="CDC Logo" style="width: 35%; height: auto; display: block; margin: 0 auto;" />
</td> </div>
</tr> <div class="inner-container">
<tr> <div class="email-body">
<td style="padding:36px 30px 42px 30px;"> <img src="./images/reminder.png" alt="verify Logo" style="width: 25%; height: auto; display: block; margin: 0 auto;" />
<table role="presentation" <h4 style="text-align: center;">{{ opening_type }} Opportunity at {{ company_name }}</h3>
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;"> <p style="text-align: center;">
<tr>
<td style="padding:0 0 36px 0;color:#153643;">
<h1 style="font-size:24px;margin:0 0 20px 0;font-family: 'Roboto', sans-serif;
">{{ opening_type }} Opportunity at {{ company_name }}</h1>
<p style="margin:0 0 12px 0;font-size:16px;line-height:24px;font-family: 'Roboto', sans-serif;">
Gentle reminder to fill out the application form. Gentle reminder to fill out the application form.
Interested students can apply before <b>{{ deadline }}</b> in the <a Interested students can apply before <b>{{ deadline }}</b> in the CDC-webportal</p>
href="{{ link }}">CDC-webportal</a>. <p style="text-align: center;"> <a
href="{{ link }}" style="display: inline-block; padding: 12px 24px; margin: 20px 0; font-size: 16px; color: #ffffff; background-color: #ff7350; text-decoration: none; border-radius: 50px; font-weight: 500;">CDC web portal</a>.
</p> </p>
</td> </div></div>
</tr>
<div class="email-footer">
</table> <p style="margin-bottom: 16px; color: #555555;">Follow us on:</p>
</td>
</tr> <a href="https://twitter.com/cdc_iitdh" style="margin-right: 10px; color: #eff7ff">
<tr> <img src="./images/twitter.png" alt="Twitter" style="width: 24px; height: 24px;">
<td style="padding:30px;background:#334878;"> </a>
<table role="presentation" <a href="https://www.instagram.com/cdc.iitdh/?hl=en" style="margin-right: 10px; color: #eff7ff;">
style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family: 'Roboto', sans-serif;"> <img src="./images/Instagram_icon.png" alt="Instagram" style="width: 24px; height: 24px;">
<tr> </a>
<td style="padding:0;width:50%;" align="left"> <a href="https://www.linkedin.com/company/cdciitdharwad/?originalSubdomain=in">
<p style="margin:0;font-size:14px;line-height:16px;font-family: 'Roboto', sans-serif;color:#ffffff;"> <img src="./images/LinkedIn_logo_initials.png" alt="LinkedIn" style="width: 24px; height: 24px;">
&reg; CDC,IIT Dharwad,2022<br/> </a>
</p> <p style="color: #555555;">copy right &copy; 2024 CDC, all rights reserved</p>
</td>
</tr> </div>
</table>
</td> </td>
</tr> </tr>
</table> </table>
</td> </div>
</tr>
</table>
</body> </body>
</html> </html>