comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:c904249afb04
1 <html>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml"
6 xmlns:py="http://genshi.edgewall.org/"
7 xmlns:xi="http://www.w3.org/2001/XInclude">
8 <head>
9
10 </head>
11
12 <body>
13 <h1>Start a Discussion</h1>
14
15 <form method="post" action="${location}">
16
17 <div id="who">
18 <label for="query">Who do you want to talk to?</label>
19 <input id="query" type="text" name="query"/>
20
21 <div py:if="discussions" class="list">
22 <ul>
23 <li py:for="discussion in discussion">
24 <a href="${discussion['path']}"><img py:if="'image' in discussion" />${discussion[subject']}</a>
25 </li>
26 </ul>
27 </div>
28
29 <div py:if="members">
30 <ul>
31 <li py:for="member in members">
32 <a href="${member['path']}"><img py:if="'image' in member"/>${member['name']}</a>
33 </li>
34 </ul>
35 </div>
36
37 </div><!-- who -->
38
39 <div id="options">
40 <py:for each="option in options">
41 <!--
42 TODO : different types of widgets for options;
43 also, sorting based on option groups
44 options from above should be either not displayed or grayed out,
45 or just the settings display
46 -->
47 </py:for>
48
49 <input type="submit"/>
50
51 </form>
52
53 </body>
54 </html>