view discusssions/templates/start.html @ 2:910fa7e781b9

update whitepaper
author k0s <k0scist@gmail.com>
date Tue, 02 Feb 2010 16:39:08 -0500
parents c904249afb04
children
line wrap: on
line source

<html>
<!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"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<head>

</head>

<body>
<h1>Start a Discussion</h1>

<form method="post" action="${location}">

<div id="who">
<label for="query">Who do you want to talk to?</label>
<input id="query" type="text" name="query"/>

<div py:if="discussions" class="list">
<ul>
<li py:for="discussion in discussion">
<a href="${discussion['path']}"><img py:if="'image' in discussion" />${discussion[subject']}</a>
</li>
</ul>
</div>

<div py:if="members">
<ul>
<li py:for="member in members">
<a href="${member['path']}"><img py:if="'image' in member"/>${member['name']}</a>
</li>
</ul>
</div>

</div><!-- who -->

<div id="options">
<py:for each="option in options">
<!-- 
TODO : different types of widgets for options;
also, sorting based on option groups
options from above should be either not displayed or grayed out,
or just the settings display
-->
</py:for>

<input type="submit"/>

</form>

</body>
</html>