port news to the new system.
parent
3de427b4eb
commit
be23c04af8
@ -0,0 +1,78 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>${title}</title>
|
||||
<meta charset="utf-8">
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: Junicode;
|
||||
font-size: 10pt;
|
||||
line-height: 1;
|
||||
counter-reset: sidenote-counter;
|
||||
}
|
||||
h1 {
|
||||
font-variant: small-caps;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
a::after {
|
||||
counter-increment: sidenote-counter;
|
||||
content: counter(sidenote-counter);
|
||||
font-size: smaller;
|
||||
vertical-align: super;
|
||||
}
|
||||
#twocol {
|
||||
-moz-column-count: 2;
|
||||
-webkit-column-count: 2;
|
||||
column-count: 2;
|
||||
text-align: justify;
|
||||
}
|
||||
#date #article-src {
|
||||
padding-bottom: 10%;
|
||||
font-style: italic;
|
||||
}
|
||||
.footnote {
|
||||
font-size: smaller;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
.footnote svg {
|
||||
width: 50%;
|
||||
height: 50%;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<h1>Yesterday's Tomorrows</h1>
|
||||
<hr />
|
||||
<h6>Semper Contemporarius DATE_HERE</h6>
|
||||
<div id="columns">
|
||||
% for entry in news:
|
||||
<div class="entry">
|
||||
% if entry.img != " ":
|
||||
<img src="${entry.img}" alt="img" />
|
||||
<div class="title">${entry.title}</div>
|
||||
<div class="source">${entry.title}</div>
|
||||
<div class="summary">${entry.title}</div>
|
||||
<div class="barcode">${entry.dbhash}</div>
|
||||
</div>
|
||||
% endfor
|
||||
</div>
|
||||
<div id="email">
|
||||
<h2>Post</h2>
|
||||
<table>
|
||||
|
||||
% for msg in inbox:
|
||||
<tr>
|
||||
<td>${msg.fromname} <${msg.fromaddr}></td>
|
||||
<td>${msg.subject}</td><td>${msg.date}</td>
|
||||
</tr>
|
||||
<tr><td> </td><td>READ</td><td>DELETE</td><td>MARK AS SPAM</td></tr>
|
||||
<tr><td> </td><td>BC-READ</td><td>BC-DELETE</td><td>BC-MARK AS SPAM</td></tr>
|
||||
% endfor
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue