mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
new: parameters module refactored. The API is more simple now, there is no need to provide a module name anymore, this last is automatically guessed. Also, a new 'label' field can be provide when declaring a new parameter. It will be used instead of the name. new: email parsing refactored. My first attempt was really ugly. I did not really studied the various RFC describing how messages are formatted or what IMAP fetch queries can do. Now, I hope this new code will face better unknown types. At least, It will be simpler to update.
55 lines
1.3 KiB
HTML
55 lines
1.3 KiB
HTML
{% load i18n %}
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head profile="http://www.w3.org/2005/10/profile">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/box.css" />
|
|
|
|
<style type="text/css">
|
|
body {
|
|
margin: 5px;
|
|
}
|
|
#mailcontent {
|
|
width: 100%;
|
|
border: 0px transparent none;
|
|
margin: 0;
|
|
}
|
|
table#emailheaders {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 10px;
|
|
}
|
|
#emailheaders td,
|
|
#emailheaders th {
|
|
height: 22px;
|
|
text-align: left;
|
|
padding-left: 10px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
#emailheaders td {
|
|
font-size: 1em;
|
|
}
|
|
#emailheaders th {
|
|
background: #F7F9Fb;
|
|
}
|
|
#emailheaders a, #emailheaders a:visited {
|
|
color: blue;
|
|
text-decoration: none;
|
|
}
|
|
#emailheaders a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
pre {
|
|
font-size: medium;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="table-container">
|
|
{{ headers }}
|
|
</div>
|
|
{{ mailbody|safe }}
|
|
</body>
|
|
</html>
|