Mercurial > p > roundup > code
comparison roundup/templates/classic/html/page @ 987:5643abab70ed
new classic template files
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 30 Aug 2002 08:30:12 +0000 |
| parents | |
| children | 1798d2fa9fec |
comparison
equal
deleted
inserted
replaced
| 986:9ee127a11345 | 987:5643abab70ed |
|---|---|
| 1 <html tal:define="title string:${db/config/INSTANCE_NAME} - ${request/classname}"> | |
| 2 <head> | |
| 3 <title tal:content="title">title goes here</title> | |
| 4 | |
| 5 <link rel="stylesheet" type="text/css" href="_file/style.css"> | |
| 6 | |
| 7 <script tal:replace="structure request/base_javascript"> | |
| 8 </script> | |
| 9 | |
| 10 </head> | |
| 11 <body class="body" marginwidth="0" marginheight="0"> | |
| 12 | |
| 13 <table border=0 cellspacing=0 cellpadding=0> | |
| 14 | |
| 15 <tr> | |
| 16 <td colspan="2" class="page-header"> | |
| 17 <h2 tal:content="title">name</h2> | |
| 18 </td> | |
| 19 </tr> | |
| 20 | |
| 21 <tr> | |
| 22 <td rowspan="2" valign="top" nowrap class="sidebar"> | |
| 23 <div class="classblock" | |
| 24 tal:condition="python:request.user.hasPermission('Edit', 'issue')"> | |
| 25 <a href="issue?:sort=-activity&:group=priority&:filter=status,assignedto&:columns=id,activity,title,creator,assignedto&status=-1,1,2,3,4,5,6,7&assignedto=-1">Unassigned Issues</a><br> | |
| 26 <a href="issue?:sort=-activity&:group=priority&:filter=status&:columns=id,activity,title,creator,assignedto&status=-1,1,2,3,4,5,6,7">All Issues</a><br> | |
| 27 <a href="issue?:template=search">Search Issues</a><br> | |
| 28 <a href="issue?:template=item">New Issue</a><br> | |
| 29 </div> | |
| 30 <div class="classblock" | |
| 31 tal:condition="python:request.user.hasPermission('Edit', None)"> | |
| 32 <a href="home?:template=classlist">Class List</a><br> | |
| 33 <a href="user">User List</a><br> | |
| 34 <a href="user?:template=item">Add User</a><br> | |
| 35 </div> | |
| 36 <hr> | |
| 37 <b tal:content="request/user/username">username</b><br> | |
| 38 <div tal:condition="python:request.user.username=='anonymous'"> | |
| 39 <form method="POST" action=''> | |
| 40 <input size="10" name="__login_name"><br> | |
| 41 <input size="10" type="password" name="__login_password"><br> | |
| 42 <input type="submit" name=":action" value="login"> | |
| 43 <span tal:replace="structure request/indexargs_form" /> | |
| 44 </form> | |
| 45 </div> | |
| 46 <div tal:condition="python:request.user.username!='anonymous'"> | |
| 47 <a tal:attributes="href string:issue?:sort=-activity&:group=priority&:filter=status,assignedto&:columns=id,activity,title,creator,assignedto&status=-1,1,2,3,4,5,6,7&assignedto=${request/user/id}">My Issues</a><br> | |
| 48 <a tal:attributes="href string:user${request/user/id}">My Details</a><br> | |
| 49 <a href="?:action=logout">Logout</a> | |
| 50 </div> | |
| 51 </td> | |
| 52 <td> | |
| 53 <p tal:condition="options/error_message | nothing" class="error-message" | |
| 54 tal:repeat="m options/error_message" tal:content="structure m">error</p> | |
| 55 <p tal:condition="options/ok_message | nothing" class="ok-message" | |
| 56 tal:repeat="m options/ok_message" tal:content="structure m">error</p> | |
| 57 </td> | |
| 58 </tr> | |
| 59 <tr> | |
| 60 <td width="100%" valign="top" tal:content="structure content" class="content"> | |
| 61 The page content goes here. | |
| 62 </td> | |
| 63 </tr> | |
| 64 | |
| 65 </table> | |
| 66 | |
| 67 <pre tal:condition="request/form/debug | nothing" tal:content="request"> | |
| 68 </pre> | |
| 69 | |
| 70 </body> | |
| 71 </html> |
