Edgewall Software

Ticket #1051: index.cs

File index.cs, 1.2 KB (added by jason@…, 7 years ago)

My sample index template

Line 
1<!DOCTYPE html
2    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 <head>
6  <link rel="icon" href="<?cs var:template.html_common?>/trac.ico" type="image/x-icon" />
7  <title>Trac - Available Projects</title>
8  <style type="text/css">
9   @import url(<?cs var:template.html_common?>/css/trac.css);
10   @import url(<?cs var:template.html_common?>/css/wiki.css);
11  </style>
12  <script src="<?cs var:template.html_common?>/js/trac.js" type="text/javascript"></script>
13 </head>
14<body>
15
16<div id="banner">
17
18<div id="header">
19  <img src="<?cs var:template.html_common?>/trac_banner.png"
20      width="236" height="73"
21      alt="Trac" style="margin-bottom: 0px;"/>
22  <hr />
23</div>
24
25 <div>
26 </div>
27
28
29</div>
30
31<!--
32<div id="mainnav" class="nav">
33</div>
34-->
35
36
37<div id="main">
38
39<div id="ctxtnav" class="nav">
40</div>
41
42
43
44<div id="content" class="wiki">
45<h1>Available Projects:</h1>
46<p>
47<ul>
48    <?cs each:a = projects?>
49        <li><a href="<?cs var:a.uri?>"><?cs var:a.name?></a> - <?cs var:a.descr?></li>
50    <?cs /each ?>
51</ul>
52</p>
53</div>
54
55</div>
56
57
58
59<div id="footer">
60 <hr />
61</div>
62</body>
63</html>