Changeset 79

Show
Ignore:
Timestamp:
09/26/07 15:43:18 (6 years ago)
Author:
mgalloy
Message:

Added favicon; added header/footers; improved appearance.

Location:
trunk/idldoc/src
Files:
3 added
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/idldoc/src/doc_system__define.pro

    r76 r79  
    2626    'n_dirs' : return, self.directories->count() 
    2727    'dirs' : return, self.directories->get(/all) 
     28    'idldoc_header_location' : return, filepath('idldoc-header.tt', $ 
     29                                                subdir=['templates'], $ 
     30                                                root=self.sourceLocation)     
     31    'idldoc_footer_location' : return, filepath('idldoc-footer.tt', $ 
     32                                                subdir=['templates'], $ 
     33                                                root=self.sourceLocation) 
    2834    else: begin 
    2935        found = 0B 
  • trunk/idldoc/src/resources/listing.css

    r72 r79  
    11body { font-family: Helvetica, sans-serif; font-size: 9pt; margin: 0; } 
    22 
    3 a:hover { background: yellow; } 
     3a { text-decoration: none; } 
     4a:link, a:visited { color: #0000FF; } 
     5a:hover, a:focus { background: yellow; } 
    46 
    57h1 { font-size: 100%; margin-bottom: 0.5em; padding-left: 0.5em; } 
  • trunk/idldoc/src/resources/main.css

    r60 r79  
    1 body { font-family: Helvetica, sans-serif; font-size: 9pt; } 
     1a { text-decoration: none; } 
     2a:link, a:visited { color: #0000FF; } 
     3a:hover, a:focus { background: yellow; border-bottom: 1px dotted #303099; } 
     4 
     5body { font-family: Helvetica, sans-serif; font-size: 10pt; margin: 0; padding: 0; } 
     6 
     7div.content { padding: 1em; } 
     8div.content h1, div.content h2 { font-weight:normal; color: darkred; } 
     9 
     10.center { margin-left: auto; margin-right: auto; } 
    211 
    312/* An attribute table is a vertical list of name-value pairs. */ 
    413table.attribute {  
     14  font-size: 90%;  
    515  background: #EFEFEF;  
    616  padding: 0.5em;  
    717  border: 1px #9F9F9F dotted;  
    8   margin-left: auto;   /* centers table */ 
    9   margin-right: auto;  
    1018} 
    1119table.attribute td.name { font-weight: bold; padding-right: 1em; } 
     20 
     21/* header styles */ 
     22div.header { padding: 2em 2em 0 2em; background: #FDD; border-bottom: 1px #CAA dotted; } 
     23div.header h1 { margin:0; font-weight: normal; } 
     24div.header h2 { margin-top: 0; font-weight: normal; font-style: italic; font-size: 100%; } 
     25 
     26/* footer styles */ 
     27div.footer { padding: 0.5em 1em 0.5em 1em; background: #EFEFEF; border-top: 1px #AAA dotted; } 
     28div.footer table { font-size: 80%; width: 100%; } 
     29div.footer td.left {} 
     30div.footer td.right { text-align: right; } 
  • trunk/idldoc/src/templates/overview.tt

    r75 r79  
    2525     
    2626  <body onload="setTitle();"> 
    27     <h1>Overview</h1> 
     27    [% INCLUDE_TEMPLATE idldoc_header_location %] 
    2828     
    29       <table> 
    30         [% FOREACH d IN dirs %][% SCOPE d %] 
    31         <tr> 
    32           <td><a href="[% url %]dir-overview.html">[% location %]</a></td> 
    33           <td></td> 
    34         </tr> 
    35         [% END %][% END %] 
    36       </table> 
     29    <div class="content"> 
     30      <h1>Overview</h1> 
     31     
     32      <h2>Directories</h2> 
     33     
     34        <table class="attribute"> 
     35          [% FOREACH d IN dirs %][% SCOPE d %] 
     36          <tr> 
     37            <td><a href="[% url %]dir-overview.html">[% location %]</a></td> 
     38            <td></td> 
     39          </tr> 
     40          [% END %][% END %] 
     41        </table> 
    3742           
     43      <h2>Statistics</h2> 
     44       
     45    </div> 
     46     
     47    [% INCLUDE_TEMPLATE idldoc_footer_location %] 
    3848  </body> 
    3949</html> 
  • trunk/idldoc/src/templates/savefile.tt

    r60 r79  
    3131  <body onload="setTitle();"> 
    3232   
    33     <table class="attribute"> 
     33    <table class="attribute center"> 
    3434      <tr> 
    3535        <td class="name">Filename:</td>