source: trunk/Documentation/idldoc/templates/full-index-begin.tt @ 69

Last change on this file since 69 was 69, checked in by smasson, 18 years ago

debug + new xxx

File size: 2.8 KB
Line 
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<!-- full-index-begin.tt needs structure with the following fields:
6       letters : array of structures { letter:'', url:'' }
7       version : IDLdoc version
8       date : string containing date of file creation
9       embed : 0 for link to CSS, 1 for embed CSS
10       css_location : if embed then string filename of CSS file location, o/w href to CSS file
11       overview_comments : general comments in the overview file, if any
12       ndirs : number of directories
13       dirs : array of structures with fields { name:'', url:'', parity:'', comment:'' }
14       navbar_filename : filename of navbar template
15       footer : filename of footer file to include
16       tagline_filename : filename of tagline template
17     Plus fields needed by the templates: navbar, tagline
18-->
19
20<!-- full-index-letter.tt needs structure with the following fields:
21       letter : letter as a string
22       items : array of structure { name:'', url:'', description:'' }
23-->
24
25<!-- full-index-end.tt needs structure with the following fields:
26       version : IDLdoc version
27       date : string containing date of file creation
28       embed : 0 for link to CSS, 1 for embed CSS
29       css_location : if embed then string filename of CSS file location, o/w href to CSS file
30       overview_comments : general comments in the overview file, if any
31       ndirs : number of directories
32       dirs : array of structures with fields { name:'', url:'', parity:'', comment:'' }
33       navbar_filename : filename of navbar template
34       footer : filename of footer file to include
35       tagline_filename : filename of tagline template
36     Plus fields needed by the templates: navbar, tagline
37-->
38
39<!-- Generated by IDLdoc [% version %] on [% date %] -->
40
41<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
42  <head>
43    <title>Index ([% title %])</title>
44
45    [% IF embed %]
46    <style type="text/css" media="all">
47         [% INCLUDE css_location %]
48    </style>   
49    <style type="text/css" media="print">
50         [% INCLUDE print_css_location %]
51    </style>
52    [% ELSE %]
53    <link rel="stylesheet" type="text/css" href="[% root %]/main_files.css" media="all"/>
54    <link rel="stylesheet" type="text/css" href="[% root %]/main_files_print.css" media="print"/>
55    [% END %]
56
57    <script type="text/javascript">
58      function setTitle() {
59        parent.document.title="Index ([% title %])";
60      }
61    </script>
62  </head>
63
64  <body onload="setTitle();">
65
66    [% INCLUDE_TEMPLATE navbar_filename %]
67
68    <div id="container">
69
70      <h1>Index</h1>
71
72      [% FOREACH l IN letters %]
73      <a href="[% l.url %]">[% l.letter %]</a>
74      [% END %]
Note: See TracBrowser for help on using the repository browser.