annotate discusssions/templates/start.html @ 3:f09ba04b2e29 default tip

adding notes about -> collaborative documents
author Jeff Hammel <k0scist@gmail.com>
date Fri, 26 Mar 2010 14:03:44 -0700
parents c904249afb04
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
1 <html>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
2 <!DOCTYPE html
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
3 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
5 <html xmlns="http://www.w3.org/1999/xhtml"
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
6 xmlns:py="http://genshi.edgewall.org/"
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
7 xmlns:xi="http://www.w3.org/2001/XInclude">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
8 <head>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
9
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
10 </head>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
11
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
12 <body>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
13 <h1>Start a Discussion</h1>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
14
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
15 <form method="post" action="${location}">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
16
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
17 <div id="who">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
18 <label for="query">Who do you want to talk to?</label>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
19 <input id="query" type="text" name="query"/>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
20
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
21 <div py:if="discussions" class="list">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
22 <ul>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
23 <li py:for="discussion in discussion">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
24 <a href="${discussion['path']}"><img py:if="'image' in discussion" />${discussion[subject']}</a>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
25 </li>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
26 </ul>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
27 </div>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
28
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
29 <div py:if="members">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
30 <ul>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
31 <li py:for="member in members">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
32 <a href="${member['path']}"><img py:if="'image' in member"/>${member['name']}</a>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
33 </li>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
34 </ul>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
35 </div>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
36
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
37 </div><!-- who -->
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
38
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
39 <div id="options">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
40 <py:for each="option in options">
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
41 <!--
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
42 TODO : different types of widgets for options;
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
43 also, sorting based on option groups
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
44 options from above should be either not displayed or grayed out,
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
45 or just the settings display
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
46 -->
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
47 </py:for>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
48
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
49 <input type="submit"/>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
50
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
51 </form>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
52
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
53 </body>
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
54 </html>