Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
97 lines (89 sloc) 3.42 KB
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" media="screen" href="css/popup.css" />
<style type="text/css">
html, body { margin: 0; padding: 0; width: 100%; overflow: hidden; min-height: 120px; }
.border, .rounded { border: 0; margin-top: 0; }
.indicator { border-radius: 0; border: none; }
.address {
background-image: -webkit-gradient(linear,
left bottom,
left top,
color-stop(0.1, #79B),
color-stop(0.8, #7090B0)
);
}
.address div {
width: 100%;
text-align: center;
}
.address div a {
color: White;
font-weight: bold;
font-size: 100%;
}
.hiddenSummaryActions {
position: absolute;
bottom: 0;
right: 0;
width: 100%;
float: right;
}
.summary {
opacity: 1;
}
a { cursor: pointer; }
}
</style>
<script type="text/javascript" src="src/date.js"></script>
<script type="text/javascript" src="src/jquery-1.4.2.js"></script>
<script type="text/javascript" src="src/template-engine.js"></script>
<script type="text/javascript" src="src/mailaccount.class.js"></script>
<script src="src/notify.js" type="text/javascript"></script>
<script type="text/javascript" src="src/i18n.js"></script>
</head>
<body id="body">
<!-- Template for a mail !-->
<script id="MailTemplate" type="text/html">
<div class="indicator i<#= account.id % 4 #>">
<div id="inbox_<#= account.id #>" class="vbox rounded">
<div class="vbox" id="<#= mail.id #>">
<div class="hbox address padded">
<div><a class="inboxLink" title="<#= account.getInboxLink() #>"><#= account.getAddress() #></a></div>
</div>
<div class="hbox sender">
<div class="hbox wide padded">
<a class="author" href="mailto:<#= mail.authorMail #>" title="<#= mail.authorMail #>"><#= mail.authorName #></a>
</div>
<div class="hbox padded">
<label><#= formatDateTime(mail.issued, i18n.selected_lang.months) #></label>
</div>
</div>
<div class="hbox title">
<div class="hbox wide padded">
<a class="starLink imageLink" mailId="<#= mail.id #>" href="#" title="<#= i18n.get('starLinkTitle') #>"><img src="img/star.png" /></a>
<a class="openLink" mailId="<#= mail.id #>" href="#" title="<#= mail.title #>"><#= mail.shortTitle #></a>
</div>
</div>
<div class="hbox">
<div class="hbox wide border-top padded summary" mailId="<#= mail.id #>">
<#= mail.summary #>
</div>
</div>
<div class="hbox padded hiddenSummaryActions">
<a class="readLink" mailId="<#= mail.id #>" title="<#= i18n.get('readLinkTitle') #>"><#= i18n.get('readLink') #></a>
&nbsp;
<a class="deleteLink" mailId="<#= mail.id #>" title="<#= i18n.get('deleteLinkTitle') #>"><#= i18n.get('deleteLink') #></a>
&nbsp;
<a class="spamLink" mailId="<#= mail.id #>" title="<#= i18n.get('spamLinkTitle') #>"><#= i18n.get('spamLink') #></a>
&nbsp;
<a class="archiveLink" mailId="<#= mail.id #>" title="<#= i18n.get('archiveLinkTitle') #>"><#= i18n.get('archiveLink') #></a>
</div>
</div>
</div>
</div>
</script>
</body>
</html>