meetbot/ircmeeting/template.html
Richard Darst 7c094f8ef8 Big rename and split into python modules
Ignore-this: 68006fd9b6602ad039904427e7b33daf
* Rename the supybot plugin: MeetBot -> Meeting
* Split the non-supybot specif parts into the `ircmeeting` Python
  module.
* Code changes to support these changes.
* This is a big change so it's expected to be a little bit messy.
  This patch may depend on others until things get sorted out.

darcs-hash:20101129040316-82ea9-e8ce7671c5b765551b98444dc082a9be6011dc4f.gz
2010-11-28 20:03:16 -08:00

103 lines
2.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:py="http://genshi.edgewall.org/">
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"/>
<title>${meeting.title}</title>
<style type="text/css">
/* This is for the .html in the HTML2 writer */
body {
font-family: Helvetica, sans-serif;
font-size:14px;
}
h1 {
text-align: center;
}
a {
color:navy;
text-decoration: none;
border-bottom:1px dotted navy;
}
a:hover {
text-decoration:none;
border-bottom: 0;
color:#0000B9;
}
hr {
border: 1px solid #ccc;
}
/* The (nick, time) item pairs, and other body text things. */
.details {
font-size: 12px;
font-weight:bold;
}
/* The 'AGREED:', 'IDEA', etc, prefix to lines. */
.itemtype {
font-style: normal; /* un-italics it */
font-weight: bold;
}
/* Example: change single item types. Capitalized command name.
/* .TOPIC { color:navy; } */
/* .AGREED { color:lime; } */
</style>
</head>
<body>
<h1>${meeting.title}</h1>
<span class="details"> Meeting started by ${meeting.owner} at ${time.start} ${time.timezone} (<a href="${meeting.logs}">full logs</a>).</span>
<h3>Meeting summary</h3>
<ol>
<li py:for="item in agenda">
<b class="TOPIC">${item.topic.topic}</b> <span py:if="item.topic.nick" class="details">(<a href='${meeting.logs}#${item.topic.anchor}'>${item.topic.nick}</a>, ${item.topic.time})</span>
<ol type="a">
<py:if test="len(item.notes) > 0">
<li py:for="note in item.notes">
<i class="itemtype">${note.itemtype}</i>:
<py:choose>
<py:when test="note.itemtype == 'LINK'">
<span class="${note.itemtype}">
<a href="${note.url}">
<py:choose>
<py:when test="note.line">${note.line}</py:when>
<py:otherwise>${note.url}</py:otherwise>
</py:choose>
</a>
</span>
</py:when>
<py:otherwise>
<span class="${note.itemtype}">${note.line}</span>
</py:otherwise>
</py:choose>
<span class="details">(<a href='${meeting.logs}#${note.anchor}'>${note.nick}</a>, ${note.time})</span>
</li>
</py:if>
</ol>
</li>
</ol>
<span class="details">Meeting ended at ${time.end} ${time.timezone} (<a href="${meeting.logs}">full logs</a>).</span>
<h3>Action items</h3>
<ol>
<li py:for="action in actions">${action}</li>
</ol>
<h3>Action items, by person</h3>
<ol>
<li py:for="attendee in actions_person">${attendee.nick}
<ol>
<li py:for="action in attendee.actions">${action}</li>
</ol>
</li>
</ol>
<h3>People present (lines said)</h3>
<ol>
<li py:for="attendee in attendees">${attendee.nick} (${attendee.count})</li>
</ol>
<span class="details">Generated by <a href="${meetbot.url}">MeetBot</a> ${meetbot.version}.</span>
</body>
</html>