source: trunk/SRC/Documentation/idldoc/templates/overview.tt @ 191

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

debug + new xxx

File size: 3.4 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<!-- Template needs structure with the following fields:
6       version : IDLdoc version
7       date : string containing date of file creation
8       embed : 0 for link to CSS, 1 for embed CSS
9       css_location : if embed then string filename of CSS file location, o/w href to CSS file
10       overview_comments : general comments in the overview file, if any
11       ndirs : number of directories
12       dirs : array of structures with fields { name:'', url:'', parity:'', comment:'' }
13       navbar_filename : filename of navbar template
14       footer : filename of footer file to include
15       tagline_filename : filename of tagline template
16     Plus fields needed by the templates: navbar, tagline
17-->
18
19<!-- Generated by IDLdoc [% version %] on [% date %] -->
20
21<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
22  <head>
23    <title>Library Overview ([% title %])</title>
24
25    [% IF embed %]
26    <style type="text/css" media="all">
27         [% INCLUDE css_location %]
28    </style>   
29    <style type="text/css" media="print">
30         [% INCLUDE print_css_location %]
31    </style>
32    [% ELSE %]
33    <link rel="stylesheet" type="text/css" href="[% root %]/main_files.css" media="all"/>
34    <link rel="stylesheet" type="text/css" href="[% root %]/main_files_print.css" media="print"/>
35    [% END %]
36   
37    <script type="text/javascript">
38      function setTitle() {
39        parent.document.title="Library Overview ([% title %])";
40      }
41    </script>
42  </head>
43
44  <body onload="setTitle();">
45
46    [% INCLUDE_TEMPLATE navbar_filename %]
47
48    <div id="container">
49
50      [% IF ~user %]
51      <div class="toc right">
52        <ol class="toc">
53          <li><a href="idldoc-warnings.html">Warnings</a></li>
54          <ol>
55            <li><a href="idldoc-warnings.html#todo">Todo items</a></li>
56            <li><a href="idldoc-warnings.html#bugs">Known bugs</a></li>
57            <li><a href="idldoc-warnings.html#undoc">Undocumented routines</a></li>
58            <li><a href="idldoc-warnings.html#obsolete">Obsolete routines</a></li>
59            <li><a href="idldoc-warnings.html#statistics">Routine statistics warnings</a></li>
60          </ol>
61      </div>
62      [% END %]
63
64      <h1>Overview</h1>
65
66      [% overview_comments %]
67
68      [% IF ndirs gt 0 %]
69      <div class="overview">
70        <h2>Directories</h2>
71        <table>
72          [% FOREACH dir IN dirs %]
73          <tr class="[% dir.parity %]">
74            <td class="dir"><a href="[% dir.url %]" target="file_frame">[% dir.name %]</a></td>
75            <td>[% dir.comment %]</td>
76          </tr>
77          [% END %]
78        </table>
79      </div>
80      [% END %]
81
82      <h2>Summary statistics</h2>
83
84      <table id="sav_attr" cellspacing="0">
85        <tr>
86          <td>Directories</td>
87          <td class="value">[% ndirs %]</td>
88        </tr>
89        <tr>
90          <td>PRO files</td>
91          <td class="value">[% nprofiles %]</td>
92        </tr>
93        <tr>
94          <td>SAV files</td>
95          <td class="value">[% nsavfiles %]</td>
96        </tr>
97        <tr>
98          <td>Class definitions</td>
99          <td class="value">[% nclasses %]</td>
100        </tr>
101        <tr>
102          <td>Routines/methods</td>
103          <td class="value">[% nroutines %]</td>
104        </tr>
105        <tr>
106          <td>Lines of code</td>
107          <td class="value">[% nlines %]</td>
108        </tr>
109      </table>
110
111      [% IF footer NE '' %]<div id="footer">[% INCLUDE footer %]</div>[% END %]
112
113      [% INCLUDE_TEMPLATE tagline_filename %]
114       
115    </div>
116   
117  </body>
118</html>
Note: See TracBrowser for help on using the repository browser.