source: trac/trunk/templates/attachment.cs @ 2985

Revision 2581, 1.4 KB checked in by moschny, 8 years ago (diff)

Importing inital 0.8 version.

Line 
1<?cs set:html.stylesheet = 'css/code.css' ?>
2<?cs include "header.cs" ?>
3<?cs include "macros.cs" ?>
4
5<div id="ctxtnav" class="nav"></div>
6
7<div id="content" class="attachment">
8
9 <h3>Add Attachment to <a href="<?cs
10   var:file.attachment_parent_href?>"><?cs var:file.attachment_parent?></a></h3>
11 <form id="attachment" method="post" enctype="multipart/form-data" action="<?cs
12   var:cgi_location ?>">
13  <div class="field">
14   <label for="file">File:</label>
15   <input type="file" id="file" name="attachment" />
16  </div>
17  <fieldset>
18   <legend>Attachment Info</legend>
19   <div class="field">
20    <label for="author">Your email or username:</label><br />
21    <input type="text" id="author" name="author" class="textwidget" size="30"
22        value="<?cs var:attachment.author?>" />
23   </div>
24   <div class="field">
25    <label for="description">Description of the file (optional):</label><br />
26    <input type="text" id="description" name="description" class="textwidget"
27        size="60" />
28   </div><br />
29  </fieldset>
30  <div class="buttons">
31   <input type="hidden" name="mode" value="attachment" />
32   <input type="hidden" name="type" value="<?cs var:attachment.type ?>" />
33   <input type="hidden" name="id" value="<?cs var:attachment.id ?>" />
34   <input type="submit" value="Add Attachment" />
35   <input type="submit" name="cancel" value="Cancel" />
36  </div>
37 </form>
38
39</div>
40<?cs include "footer.cs"?>
Note: See TracBrowser for help on using the repository browser.