cdc-placement-website-backend/CDC_Backend/templates/company_jnf_response.html

74 lines
2.3 KiB
HTML
Raw Permalink Normal View History

<!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 {
border: #334878 1px solid;
border-collapse: collapse;
width: 80%;
2022-05-02 17:16:56 +05:30
margin: auto;
}
</style>
<title>Document</title>
</head>
<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>
2023-07-25 12:36:59 +05:30
<h1 style="text-align: center;"> {{type}} Notification Form Response</h1>
2022-05-02 17:16:56 +05:30
<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|slice:"16:" }}</a>
2022-05-02 17:16:56 +05:30
{% elif 'link' in value.type %}
<a href="{{ item }}">{{ item }}</a>
{% else %}
{{ item }}
2022-05-02 17:16:56 +05:30
{% endif %}
</li>
{% endfor %}
{% else %}
{% if 'link' in value.type %}
<a href="{{ value.details }}">{{ value.details }}</a>
2022-05-02 17:16:56 +05:30
{% else %}
{{ value }}
2022-05-02 17:16:56 +05:30
{% endif %}
{% 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>
</body>
</html>