Changeset 1151

Show
Ignore:
Timestamp:
04/18/06 11:48:55 (3 years ago)
Author:
kevin
Message:

print template update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/LICENSE.txt

    r353 r1151  
    22http://www.opensource.org/licenses/mit-license.php 
    33 
    4 Copyright (c) 2005 Kevin Dangoor and contributors. TurboGears is a trademark of Kevin Dangoor. 
     4Copyright (c) 2005, 2006 Kevin Dangoor and contributors. TurboGears is a trademark of Kevin Dangoor. 
    55 
    66Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 
  • trunk/newdocs/base.html

    r1038 r1151  
    33 
    44<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> 
     5 
    56<div py:def="header()" id="header"> 
    67     
     
    2122     
    2223</div> <!-- /header --> 
     24 
     25<div py:def="header_print()" id="header-print"> 
     26    <img src="${root}static/images/logo-print.png" alt="TurboGears" title="" /> 
     27</div> 
     28 
    2329<div py:def="footer()" id="footer"> 
    2430     
     
    3036    </ul> 
    3137     
    32     Copyright © 2005 Kevin Dangoor.<br /> 
     38    Copyright © 2005, 2006 Kevin Dangoor.<br /> 
    3339    TurboGears is a trademark of Kevin Dangoor.<br /> 
    3440    Sponsored by <a href="http://www.blazingthings.com/">Blazing Things, LLC</a>. 
  • trunk/newdocs/static/css/master.css

    r1042 r1151  
    6969    right: 35px; 
    7070    top: 2px; 
     71} 
     72 
     73/** header-print  **/ 
     74 
     75#header-print { 
     76    display: none; 
    7177} 
    7278 
  • trunk/newdocs/static/css/print.css

    r1146 r1151  
    4141#header { 
    4242    display:none !important;  
     43} 
     44 
     45/** header-print **/ 
     46 
     47#header-print { 
     48   display: block !important; 
     49   width: 100% !important; 
     50   margin-bottom: 10px; 
     51   border-bottom: 1px solid; 
    4352} 
    4453 
  • trunk/newdocs/template.html

    r1138 r1151  
    2626        <div py:replace="header()"/> 
    2727 
     28        <div py:replace="header_print()"/> 
     29         
    2830        <div class="primary-content" py:content="item[:]"> 
    2931