[2311] | 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><?cs |
---|
| 6 | if:project.name_encoded ?> |
---|
| 7 | <title><?cs if:title ?><?cs var:title ?> - <?cs /if ?><?cs |
---|
| 8 | var:project.name_encoded ?></title><?cs |
---|
| 9 | else ?> |
---|
| 10 | <title>Trac: <?cs var:title ?></title><?cs |
---|
| 11 | /if ?><?cs |
---|
| 12 | if:html.norobots ?> |
---|
| 13 | <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /><?cs |
---|
| 14 | /if ?><?cs |
---|
| 15 | each:rel = chrome.links ?><?cs |
---|
| 16 | each:link = rel ?><link rel="<?cs |
---|
| 17 | var:name(rel) ?>" href="<?cs var:link.href ?>"<?cs |
---|
| 18 | if:link.title ?> title="<?cs var:link.title ?>"<?cs /if ?><?cs |
---|
| 19 | if:link.type ?> type="<?cs var:link.type ?>"<?cs /if ?> /><?cs |
---|
| 20 | /each ?><?cs |
---|
| 21 | /each ?><style type="text/css"><?cs include:"site_css.cs" ?></style><?cs |
---|
| 22 | each:script = chrome.scripts ?> |
---|
| 23 | <script type="<?cs var:script.type ?>" src="<?cs var:script.href ?>"></script><?cs |
---|
| 24 | /each ?> |
---|
| 25 | </head> |
---|
| 26 | <body> |
---|
| 27 | <?cs include "site_header.cs" ?> |
---|
| 28 | <div id="banner"> |
---|
| 29 | |
---|
| 30 | <div id="header"><?cs |
---|
| 31 | if:chrome.logo.src ?><a id="logo" href="<?cs |
---|
| 32 | var:chrome.logo.link ?>"><img src="<?cs var:chrome.logo.src ?>"<?cs |
---|
| 33 | if:chrome.logo.width ?> width="<?cs var:chrome.logo.width ?>"<?cs /if ?><?cs |
---|
| 34 | if:chrome.logo.height ?> height="<?cs var:chrome.logo.height ?>"<?cs |
---|
| 35 | /if ?> alt="<?cs var:chrome.logo.alt ?>" /></a><hr /><?cs |
---|
| 36 | elif:project.name_encoded ?><h1><a href="<?cs var:chrome.logo.link ?>"><?cs |
---|
| 37 | var:project.name_encoded ?></a></h1><?cs |
---|
| 38 | /if ?></div> |
---|
| 39 | |
---|
| 40 | <form id="search" action="<?cs var:trac.href.search ?>" method="get"> |
---|
| 41 | <?cs if:trac.acl.SEARCH_VIEW ?><div> |
---|
| 42 | <label for="proj-search">Search:</label> |
---|
| 43 | <input type="text" id="proj-search" name="q" size="10" accesskey="f" value="" /> |
---|
| 44 | <input type="submit" value="Search" /> |
---|
| 45 | <input type="hidden" name="wiki" value="on" /> |
---|
| 46 | <input type="hidden" name="changeset" value="on" /> |
---|
| 47 | <input type="hidden" name="ticket" value="on" /> |
---|
| 48 | </div><?cs /if ?> |
---|
| 49 | </form> |
---|
| 50 | |
---|
| 51 | <?cs def:nav(items) ?><?cs |
---|
| 52 | if:len(items) ?><ul><?cs |
---|
| 53 | set:idx = 0 ?><?cs |
---|
| 54 | set:max = len(items) - 1 ?><?cs |
---|
| 55 | each:item = items ?><?cs |
---|
| 56 | set:first = idx == 0 ?><?cs |
---|
| 57 | set:last = idx == max ?><li<?cs |
---|
| 58 | if:first || last || item.active ?> class="<?cs |
---|
| 59 | if:item.active ?>active<?cs /if ?><?cs |
---|
| 60 | if:item.active && (first || last) ?> <?cs /if ?><?cs |
---|
| 61 | if:first ?>first<?cs /if ?><?cs |
---|
| 62 | if:(item.active || first) && last ?> <?cs /if ?><?cs |
---|
| 63 | if:last ?>last<?cs /if ?>"<?cs |
---|
| 64 | /if ?>><?cs var:item ?></li><?cs |
---|
| 65 | set:idx = idx + 1 ?><?cs |
---|
| 66 | /each ?></ul><?cs |
---|
| 67 | /if ?><?cs |
---|
| 68 | /def ?> |
---|
| 69 | |
---|
| 70 | <div id="metanav" class="nav"><?cs call:nav(chrome.nav.metanav) ?></div> |
---|
| 71 | </div> |
---|
| 72 | |
---|
| 73 | <div id="mainnav" class="nav"><?cs call:nav(chrome.nav.mainnav) ?></div> |
---|
| 74 | <div id="main"> |
---|