Mercurial > hg > discussions
view discusssions/templates/start.html @ 0:c904249afb04
initial commit of discussions
author | k0s <k0scist@gmail.com> |
---|---|
date | Sat, 02 Jan 2010 13:36:23 -0500 |
parents | |
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>