2022-05-02 12:43:26 +05:30
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<style>
|
2022-05-02 17:16:56 +05:30
|
|
|
#details_table tr:nth-child(even) {
|
|
|
|
background: #FFF
|
|
|
|
}
|
|
|
|
|
|
|
|
#details_table tr:nth-child(odd) {
|
|
|
|
background: #bfe3f3
|
|
|
|
}
|
|
|
|
|
|
|
|
#details_table td {
|
|
|
|
padding: 10px;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#details_table {
|
2022-05-02 12:43:26 +05:30
|
|
|
border: #334878 1px solid;
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 80%;
|
2022-05-02 17:16:56 +05:30
|
|
|
margin: auto;
|
2022-05-02 12:43:26 +05:30
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<title>Document</title>
|
|
|
|
</head>
|
2022-05-24 15:07:32 +05:30
|
|
|
<body style="margin: 0;font-family: sans-serif;">
|
2022-05-02 17:16:56 +05:30
|
|
|
|
|
|
|
<header style="background-color: #334878;"><img style="height: 3cm; margin: auto; display: block; padding: 0.5cm;"
|
|
|
|
src='{{ imgpath }}' alt="cdc logo"></header>
|
|
|
|
<h1 style="text-align: center;"> Job 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 %}
|
|
|
|
<li>
|
|
|
|
{% if 'link' in value.type and value.link %}
|
2022-09-12 11:24:50 +05:30
|
|
|
<a href="{{ value.link|add:item}}">{{ item|slice:"16:" }}</a>
|
2022-05-02 17:16:56 +05:30
|
|
|
{% elif 'link' in value.type %}
|
|
|
|
<a href="{{ item }}">{{ item }}</a>
|
|
|
|
{% else %}
|
2022-05-02 12:43:26 +05:30
|
|
|
{{ item }}
|
2022-05-02 17:16:56 +05:30
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{% if 'link' in value.type %}
|
2022-05-02 12:43:26 +05:30
|
|
|
<a href="{{ value.details }}">{{ value.details }}</a>
|
2022-05-02 17:16:56 +05:30
|
|
|
{% else %}
|
2022-05-02 12:43:26 +05:30
|
|
|
{{ value }}
|
2022-05-02 17:16:56 +05:30
|
|
|
{% endif %}
|
2022-05-02 12:43:26 +05:30
|
|
|
{% endif %}
|
2022-05-02 17:16:56 +05:30
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
<p style="margin-left: 10%;">In case of any descripency regarding above details, please contact <a
|
|
|
|
href="mailto:cdc@iitdh.ac.in">cdc@iitdh.ac.in</a>
|
|
|
|
|
|
|
|
</p>
|
2022-05-02 12:43:26 +05:30
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|