Changeset 3148

Show
Ignore:
Timestamp:
06/25/07 14:41:00 (1 year ago)
Author:
carndt
Message:

- Fix amazon book buy ad
- deprecation note on donwload page
- explanation on filelist page
- Restructure community links and add some more resources
- tooltips for navbar links
- no "home" link on startpage
- refactor sidebar with py:def blocks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • website/newdocs/about/index.html

    r3147 r3148  
    1212    <h1>Create great web apps faster</h1> 
    1313 
    14     <p>That's it. That's the goal of TurboGears. That and to make it easier. The two goals are to create web apps faster and easier. And more fun. The three goals are to...</p> 
     14    <p>That's it. That's the goal of TurboGears. That and to make it easier. 
     15    The two goals are to create web apps faster and easier. And more fun. 
     16    The three goals are to...</p> 
    1517 
    1618    <p>How does TurboGears do it?</p> 
    1719 
    1820    <ul> 
    19         <li>By making it as easy as writing a method to expose functionality to the web</li> 
    20         <li>By allowing you to seamlessly provide nice HTML <em>or</em> an API for JavaScript to work with</li> 
     21      <li>By making it as easy as writing a method to expose functionality 
     22      to the web</li> 
    2123 
    22         <li>By giving your designers room to work with any XHTML tool to create great layouts</li> 
     24      <li>By allowing you to seamlessly provide nice HTML <em>or</em> an API 
     25      for JavaScript to work with</li> 
    2326 
    24         <li>By letting you use your database without writing SQL</li> 
     27      <li>By giving your designers room to work with any XHTML tool to 
     28      create great layouts</li> 
    2529 
    26         <li>By filling in gaps in JavaScript, so that you'll actually enjoy writing it!</li> 
     30      <li>By letting you use your database without writing SQL</li> 
    2731 
    28         <li>By using a language that is clear, concise and dynamic</li> 
    29     </ul> 
    30     <h2>More than the sum...</h2> 
    31     <img src="turbogearsparts.png" style="float:left; padding-right: 0.5em"/> 
    32     <p>More than the sum of its parts!</p> 
    33     <p>TurboGears takes the best components available and combines them into one easy-to-install, documented whole. TurboGears includes parts that join the pieces together and make them work together seamlessly, but doesn't obscure each included project. This allows you to take advantage of all existing documentation, articles, mailing lists and other resources that have built up in the communities for each project.</p> 
    34     <p><b>From frontend to backend:</b></p> 
    35     <ul> 
    36       <li><a href="mochikit.html" class="more">MochiKit</a> is a clean and powerful JavaScript library</li> 
    37       <li><a href="kid.html" class="more">Kid</a> is a designer- <em>and</em> programmer-friendly template system</li> 
    38       <li><a href="cherrypy.html" class="more">CherryPy</a> makes doing web input/output as easy as writing a Python function!</li> 
    39       <li><a href="sqlobject.html" class="more">SQLObject</a> lets you access your database as you would normal Python classes, without obscuring the database itself.</li> 
     32      <li>By filling in gaps in JavaScript, so that you'll actually enjoy 
     33      writing it!</li> 
     34 
     35      <li>By using a language that is clear, concise and dynamic</li> 
    4036    </ul> 
    4137 
    42     <p>Now that you know a bit about the parts of TurboGears, read more about <a href="turbogears.html">how TurboGears ties it all together</a>.</p> 
     38    <h2>More than the sum...</h2> 
     39 
     40    <img src="turbogearsparts.png" style="float:left; padding-right: 0.5em"/> 
     41 
     42    <p>More than the sum of its parts!</p> 
     43 
     44    <p>TurboGears takes the best components available and combines them 
     45    into one easy-to-install, documented whole. TurboGears includes parts 
     46    that join the pieces together and make them work together seamlessly, 
     47    but doesn't obscure each included project. This allows you to take 
     48    advantage of all existing documentation, articles, mailing lists and 
     49    other resources that have built up in the communities for each 
     50    project.</p> 
     51 
     52    <p><b>From frontend to backend:</b></p> 
     53 
     54    <ul> 
     55      <li><a href="mochikit.html" class="more">MochiKit</a> is a clean and 
     56      powerful JavaScript library</li> 
     57 
     58      <li><a href="kid.html" class="more">Kid</a> is a designer- <em>and</em> 
     59      programmer-friendly template system</li> 
     60 
     61      <li><a href="cherrypy.html" class="more">CherryPy</a> makes doing web 
     62      input/output as easy as writing a Python function!</li> 
     63 
     64      <li><a href="sqlobject.html" class="more">SQLObject</a> lets you access 
     65      your database as you would normal Python classes, without obscuring the 
     66      database itself.</li> 
     67    </ul> 
     68 
     69    <p>Now that you know a bit about the parts of TurboGears, read more 
     70    about <a href="turbogears.html">how TurboGears ties it all 
     71    together</a>.</p> 
    4372 
    4473    <p>But, wait! There's more!</p> 
    4574 
    46     <p>If TurboGears were a movie and the four projects above were the main actors, we'd still need key grips, caterers and the like. Here are some of the other bits of infrastructure needed for TurboGears:</p> 
     75    <p>If TurboGears were a movie and the four projects above were the main 
     76    actors, we'd still need key grips, caterers and the like. Here are some 
     77    of the other bits of infrastructure needed for TurboGears:</p> 
    4778 
    4879    <ul> 
    49         <li><a href="extras.html#elementtree" class="more">ElementTree</a> is an easy-to-use and blazingly fast XML library.</li> 
    50         <li><a href="extras.html#formencode" class="more">FormEncode</a> provides a simple and extensible validation framework.</li> 
    51         <li><a href="extras.html#nose" class="more">Nose</a> extends standard Python unittest features to make running your tests easier.</li> 
    52         <li><a href="extras.html#json" class="more">json-py</a> does round trip conversions between Python and the <a href="http://json.org" target="_blank">JSON</a> format.</li> 
     80      <li><a href="extras.html#elementtree" class="more">ElementTree</a> 
     81      is an easy-to-use and blazingly fast XML library.</li> 
     82 
     83      <li><a href="extras.html#formencode" class="more">FormEncode</a> 
     84      provides a simple and extensible validation framework.</li> 
     85 
     86      <li><a href="extras.html#nose" class="more">Nose</a> extends standard 
     87      Python unittest features to make running your tests easier.</li> 
     88 
     89      <li><a href="extras.html#json" class="more">json-py</a> does round trip 
     90      conversions between Python and the <a href="http://json.org" 
     91      target="_blank">JSON</a> format.</li> 
    5392    </ul> 
    5493 
    5594    <h2>Plays well with others!</h2> 
    5695 
    57     <p>The TurboGears <a href="http://docs.turbogears.org/1.0/Philosophy">Project Philosophy</a> is all about building on the work of great open source projects, not replacing or supplanting them.</p> 
     96    <p>The TurboGears <a href="http://docs.turbogears.org/1.0/Philosophy" 
     97    >Project Philosophy</a> is all about building on the work of great open 
     98    source projects, not replacing or supplanting them.</p> 
    5899 
    59     <p>All parts of TurboGears are released under <b>liberal open source licenses</b> that allow for use in both non-commercial <em>and</em> commercial projects. Whether your work is open source or closed source, TurboGears is free for your use.</p> 
     100    <p>All parts of TurboGears are released under <b>liberal open source 
     101    licenses</b> that allow for use in both non-commercial <em>and</em> 
     102    commercial projects. Whether your work is open source or closed source, 
     103    TurboGears is free for your use.</p> 
    60104 
    61     <p>The complete detail is on the <a href="http://docs.turbogears.org/1.0/License">license page</a>.</p> 
     105    <p>The complete detail is on the <a 
     106    href="http://docs.turbogears.org/1.0/License">license page</a>.</p> 
    62107 
    63108    <h2>1.0 is released</h2> 
    64109 
    65     <p>The recommended release of TurboGears is the 1.0. <a href="http://docs.turbogears.org/1.0/DevStatus">Read more about the development status</a>.</p> 
     110    <p>The recommended release of TurboGears is the 1.0. <a 
     111    href="http://docs.turbogears.org/1.0/DevStatus">Read more about 
     112    the development status</a>.</p> 
    66113  </div> 
    67114</body> 
  • website/newdocs/base.html

    r3147 r3148  
    99  <li py:if="destfile != 'index.html'"><a href="${root}index.html">Home</a></li> 
    1010 
    11   <li><a href="${root}about/">About</a></li> 
    12  
    13   <li><a href="http://docs.turbogears.org/1.0">Documentation</a></li> 
    14  
    15   <li><a href="/cogbin/">The CogBin</a></li> 
    16  
    17   <li><a href="http://docs.turbogears.org/1.0/Install">Install</a></li> 
     11  <li><a href="${root}about/" title="Learn more about TurboGears." 
     12    >About</a></li> 
     13 
     14  <li><a href="http://docs.turbogears.org/1.0" 
     15    title="Go to the TurboGears documentation site.">Documentation</a></li> 
     16 
     17  <li><a href="http://docs.turbogears.org/1.0/Install" 
     18    title="Read the download &amp; installation instructions for TurboGears." 
     19    >Install</a></li> 
     20 
     21  <li><a href="/cogbin/" title="Find TurboGears Extensions and Plugins." 
     22    >The CogBin</a></li> 
    1823 
    1924  <li><a href="http://docs.turbogears.org/1.0/Contributing" 
     25    title="Want to contribute or try a development snapshot?" 
    2026    >Development</a></li> 
    2127 
    22   <li><a href="http://docs.turbogears.org/News">News</a></li> 
     28  <li><a href="http://docs.turbogears.org/News" 
     29    title="Read what's happing in the TurboGears world.">News</a></li> 
    2330</ul> 
    2431<!-- end navbar --> 
     
    4249<!-- end header --> 
    4350 
     51<!-- start print_version header --> 
    4452<div py:def="header_print()" id="header-print"> 
    4553    <img src="${root}static/images/logo-print.png" alt="TurboGears" title="" /> 
    4654</div> 
     55<!-- end print_version header --> 
    4756 
    4857<!-- start footer --> 
     
    5059  <!--! 
    5160  <ul id="footer-menu"> 
    52     <li><a href="${root}index.html">Home</a></li> 
     61    <li py:if="destfile != 'index.html'"><a href="${root}index.html" 
     62      >Home</a></li> 
    5363 
    5464    <li><a href="${root}about/">About</a></li> 
     
    5666    <li><a href="http://docs.turbogears.org/1.0">Documentation</a></li> 
    5767 
    58     <li><a href="http://docs.turbogears.org/1.0/Install">Get 
    59       TurboGears</a></li> 
     68    <li><a href="http://docs.turbogears.org/1.0/Install">Install</a></li> 
    6069  </ul> 
    6170  --> 
     
    7180<!-- start side bar --> 
    7281<div id="secondary-content" py:def="secondary"> 
    73   <!--! start download block --> 
     82  <div py:replace="download()" /> 
     83 
     84  <div py:replace="community()" /> 
     85 
     86  <div py:replace="merchandise()" /> 
     87 
     88  <div py:replace="bookad()" /> 
     89 
     90  <div py:replace="hostingad()" /> 
     91 
     92  <div py:replace="meta()" /> 
     93</div> 
     94<!-- end side bar --> 
     95 
     96<!-- start download block --> 
     97<div py:def="download" py:strip=""> 
    7498  <h3>Download</h3> 
    7599 
     
    81105    <p><strong>New:</strong> now with <strong>Python 2.5 
    82106      support</strong>, improved i18n, numerous fixes, and much 
    83       more (See full <a href="http://trac.turbogears.org/wiki/ChangeLog" 
     107      more (see full <a href="http://trac.turbogears.org/wiki/ChangeLog" 
    84108      >change log</a>)</p> 
    85109 
    86     <p><a href="http://docs.turbogears.org/1.0/Install"><img 
     110    <a href="http://docs.turbogears.org/1.0/Install"><img 
    87111      src="${root}static/images/buttons/download.png" 
    88112      alt="Download now button" /></a> 
    89113      <a href="${root}download/upgrade.html"><img 
    90114      src="${root}static/images/buttons/upgrade.png" 
    91       alt="Upgrade instructions button" /></a></p> 
    92   </div> 
    93   <!--! end download block --> 
    94  
    95   <!--! start community links block --> 
     115      alt="Upgrade instructions button" /></a> 
     116  </div> 
     117</div> 
     118<!-- end download block --> 
     119 
     120<!-- start community links block --> 
     121<div py:def="community" py:strip=""> 
    96122  <h3>Community</h3> 
    97123 
    98124  <div id="community"> 
    99125 
    100    <strong>Blog Aggregator:</strong> <a 
    101      href="http://planet.turbogears.org/">Planet TurboGears</a> 
    102  
    103     <form name="mlform1" id="mlform1" 
     126  <h4>Mailing lists:</h4> 
     127 
     128  <p><a href="http://groups.google.com/group/turbogears" 
     129    title="High-traffic discussion about using and making the most of TurboGears." 
     130    >General discussion list</a> 
     131    (<a href="http://groups.google.com/group/turbogears/subscribe" 
     132    title="Click here to subscribe to the general TurboGears mailing list." 
     133    >signup now</a>)</p> 
     134 
     135  <p><a href="http://groups.google.com/group/turbogears" 
     136    title="Low-traffic way to stay up-to-date.">Announcements list</a> 
     137    (<a href="http://groups.google.com/group/turbogears-announce/subscribe" 
     138    title="Click here to subscribe to the TurboGears announcement list." 
     139    >signup now</a>)</p> 
     140 
     141  <p><strong>IRC channel:</strong> 
     142    <a href="irc://irc.freenode.net/turbogears"><em>#turbogears</em> on 
     143    freenode</a></p> 
     144 
     145  <p><strong>Blog aggregator:</strong> 
     146    <a href="http://planet.turbogears.org/">Planet TurboGears</a> 
     147    <a href="http://planet.turbogears.org/rss20.xml" 
     148    title="RSS 2.0 feed from Planet TurboGears"><img width="12" height="12" 
     149    src="${root}static/images/feed.png" border="0" align="bottom" /></a></p> 
     150 
     151  <p><strong>Bug reports:</strong> 
     152    <a href="http://trac.turbogears.org/query">TurboGears trac</a></p> 
     153<!--! 
     154  <form name="mlform1" id="mlform1" 
    104155      action="http://groups.google.com/group/turbogears/boxsubscribe"> 
    105156      <label for="discussion-email"><a 
     
    124175      Low-traffic way to stay up-to-date. 
    125176    </form> 
    126   </div> 
    127   <!--! end community links block --> 
    128  
    129   <!--! start merchandise block --> 
     177--> 
     178  </div> 
     179</div> 
     180<!-- end community links block --> 
     181 
     182<!-- start merchandise block --> 
     183<div py:def="merchandise" py:strip=""> 
    130184  <h3>Order the DVD and more!</h3> 
    131185 
    132186  <div> 
    133     <a href="/ultimate.html"><img alt="Ultimate DVD case" 
     187    <a href="${root}ultimate.html"><img alt="Ultimate DVD case" 
    134188      src="${root}static/images/DVD-Sample.png" 
    135189      style="width:75px;height:65px;float:left;padding:0.5em;border:none" 
     
    144198    for. 
    145199  </div> 
    146   <!--! start merchandise block --> 
    147  
    148   <!--! start book advertisment block --> 
     200</div> 
     201<!-- start merchandise block --> 
     202 
     203<!-- start book advertisment block --> 
     204<div py:def="bookad" py:strip=""> 
    149205  <h3>Book available <em>now</em>!</h3> 
    150206 
     207<style type="text/css"> 
     208#amazon a, #amazon a:visited { 
     209  color:#0000ff; 
     210} 
     211#amazon a img { 
     212  border:none; 
     213} 
     214#amazon { 
     215  background-color:#ffffff; 
     216  color:#000000; 
     217  border:1px solid #ffffff; 
     218  margin:0px; 
     219  padding:0px; 
     220  width:118px; 
     221  height:238px; 
     222  text-align:center; 
     223  font-family:'Arial', sans-serif; 
     224  font-size:10px; 
     225  position:relative; 
     226  overflow:hidden; 
     227} 
     228#amazon #image { 
     229  height:110px; 
     230  margin:2px 0px; 
     231  padding-top:0px; 
     232} 
     233#amazon p, #amazon p#title { 
     234  margin: 0px 0px; 
     235  padding: 0px; 
     236} 
     237#amazon p#prices { 
     238  white-space:nowrap; 
     239} 
     240#amazon form { 
     241  margin:3px 0px; 
     242} 
     243#amazon p#privacy { 
     244  position:absolute; 
     245  margin:0px auto; 
     246  left:0px; 
     247  bottom:0px; 
     248  width:118px; 
     249  background-color:#ffffff; 
     250} 
     251#amazon p#privacy a, #amazon p#privacy a:visited { 
     252  color:#a1a1a1; 
     253} 
     254#amazon span.price { 
     255  color:#990000; 
     256} 
     257</style> 
     258 
     259  <div id="amazon"> 
     260    <div id="image"> 
     261      <a href="http://www.amazon.com/dp/0132433885?tag=blueskyonmars-20&amp;camp=14573&amp;creative=327641&amp;linkCode=as1&amp;creativeASIN=0132433885&amp;adid=15MJ52KNC3RHPW1TMTQ6&amp;" 
     262      target="_blank"><img 
     263      src="http://rcm-images.amazon.com/images/I/113nLvcSW1L._SL110_.jpg" /></a> 
     264    </div> 
     265    <p id="title"><a href= 
     266"http://www.amazon.com/dp/0132433885?tag=blueskyonmars-20&amp;camp=14573&amp;creative=327641&amp;linkCode=as1&amp;creativeASIN=0132433885&amp;adid=15MJ52KNC3RHPW1TMTQ6&amp;" 
     267      target="_blank">Rapid Web Applications with TurboGea...</a></p> 
     268    <p>Mark Ramm, Kevin D...</p> 
     269    <p id="prices">&nbsp; Buy New <span class="price">$29.69</span></p> 
     270    <form method="get" action= 
     271      "http://www.amazon.com/gp/aws/cart/add.html" target="_blank"> 
     272      <input type="hidden" name="SubscriptionId" value= 
     273        "D68HUNXKLHS4J" /> <input type="hidden" name="AssociateTag" value= 
     274        "blueskyonmars-20" /> <input type="hidden" name="ASIN.1" value= 
     275        "0132433885" /> <input type="hidden" name="Quantity.1" value= 
     276        "1" /> <input type="hidden" name="adid" value= 
     277        "15MJ52KNC3RHPW1TMTQ6" /><input type="hidden" name="linkCode" 
     278        value="as1" /> <input type="hidden" name="OfferListingId.1" value= 
     279"ZG%2F0oeFIuVGF1%2BDnIQjlw1EevhTY8MqdXoQZ4dHHS2E6rrPwqHnMPwA4JZp5luoKOZghQgTQYg%2FDlDntW8Lb6A%3D%3D" /> 
     280      <input type="image" name="submit.add" value="Buy from Amazon.com" 
     281        alt="Buy from Amazon.com" src= 
     282        "http://rcm-images.amazon.com/images/G/01/buttons/buy-from-tan.gif" /> 
     283    </form> 
     284    <p id="privacy"><a href="http://rcm.amazon.com/e/cm/privacy-policy.html?o=1" 
     285      target="_blank">Privacy Information</a></p> 
     286  </div> 
     287 
     288<!--! Does not work, because &amp; gets expanded 
    151289  <iframe src="http://rcm.amazon.com/e/cm?t=blueskyonmars-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=0132433885&amp;nou=1&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;lc1=0000ff&amp;bc1=ffffff&amp;bg1=ffffff&amp;f=ifr" 
    152290    style="width:120px;height:240px;" scrolling="no" marginwidth="0" 
    153291    marginheight="0" frameborder="0"></iframe> 
    154   <!--! end book advertisment block --> 
    155  
    156   <!--! start hosting advertisment block --> 
     292--> 
     293</div> 
     294<!-- end book advertisment block --> 
     295 
     296<!-- start hosting advertisment block --> 
     297<div py:def="hostingad" py:strip=""> 
    157298  <h3>Hosting Options</h3> 
    158299 
     
    166307    out</a> 
    167308  </div> 
    168   <!--! end hosting advertisment block --> 
    169  
    170   <!--! start comment link --> 
     309</div> 
     310<!-- end hosting advertisment block --> 
     311 
     312<!-- start page meta data / feedback link --> 
     313<div py:def="meta" py:strip=""> 
    171314  <?python 
    172315  import urllib 
     
    179322    Comment on this page</a> 
    180323  </div> 
    181   <!--! end comment link --> 
    182 </div> 
    183 <!-- end side bar --> 
    184  
     324</div> 
     325<!-- end page meta data / feedback link --> 
    185326 
    186327</html> 
  • website/newdocs/download/filelist.html

    r3147 r3148  
    1212    <h1>TurboGears Downloads File List</h1> 
    1313 
     14    <p>This is a list of packages required by TurboGears for different 
     15    versions and platforms. This page can be used by the <a 
     16    href="${root}download/tgsetup.py">tgsetup.py</a> script or to download a 
     17    particular package manually. If you just want to install TurboGears, 
     18    please look at the <a href="http://docs.turbogears.org/1.0/Install" 
     19    >installation instructions</a>.</p> 
     20 
    1421    <ul> 
    1522      <li py:for="egg in eggs"><a href="http://files.turbogears.org/eggs/${egg}">${egg}</a></li> 
  • website/newdocs/download/index.html

    r2996 r3148  
    99 
    1010<body> 
     11  <div id="page"> 
    1112        <h1>Easy Install TurboGears</h1> 
    12          
    13         <p>If you already have <a href="http://www.python.org">Python</a> installed, there're only 2 steps to install TurboGears:</p> 
    14     <ol> 
    15         <li>Download the <a href="tgsetup.py" target="_blank">tgsetup.py</a> script.</li> 
    16         <li><code>Run tgsetup.py</code> on Windows, or run <code>python tgsetup.py</code> on *nix or Mac.</li> 
    17     </ol> 
    1813 
    19     <p>There are some additional install instructions. Choose the instructions that match your setup:</p> 
    20     <ul> 
    21                 <li><a href="http://docs.turbogears.org/1.0/InstallNix">Unix-like systems</a></li> 
    22         <li><a href="http://docs.turbogears.org/1.0/InstallWindows">Windows</a></li> 
    23         <li><a href="http://docs.turbogears.org/1.0/InstallMac">Mac OS X</a></li> 
    24                 <li><a href="http://docs.turbogears.org/1.0/OfflineInstall">Offline Install</a></li> 
    25                 <li><a href="http://docs.turbogears.org/1.0/InstallTroubleshooting">Installation Troubleshooting</a></li> 
    26                 <li><a href="upgrade.html">Upgrading from a previous version</a></li> 
    27     </ul> 
    28          
     14        <p>The instructions for downloading and installing TurboGears have been 
     15      moved to the TurboGears <a href="http://docs.turbogears.org" 
     16      >documentation wiki</a>. This page is only kept here so that 
     17      <a href="${root}download/tgsetup.py">tgsetup.py</a> finds the 
     18      installation packages.</p> 
     19 
     20    <p>Head over to the <a href="http://docs.turbogears.org/1.0/Install" 
     21     >installation instructions</a> here.</p> 
     22 
    2923    <h2>Where are the download files?</h2> 
    3024 
     
    3731      <li><a href="http://svn.formencode.org/FormEncode/trunk#egg=FormEncode-dev">FormEncode-dev</a></li> 
    3832    </ul> 
     33  </div> 
    3934</body> 
    4035</html> 
  • website/newdocs/index.html

    r3147 r3148  
    138138      started!</p> 
    139139 
    140     <p><a href="download/index.html" class="moreSolution">try it 
    141     today...</a></p> 
     140    <p><a href="http://docs.turbogears.org/1.0/Install" class="moreSolution" 
     141      >Download and try TurboGears  today&hellip;</a></p> 
    142142  </div> 
    143143 
  • website/newdocs/previewdone.html

    r3147 r3148  
    1616    graduated to become the official release 1.0.</p> 
    1717 
    18     <p>You can <a href="/">continue on to the main site</a> or 
    19     <a href="/download/">go straight to the download page</a>.</p> 
     18    <p>You can <a href="${root}index.html">continue on to the main site</a> or 
     19    <a href="http:/docs.turbogears.org/1.0/Install">go straight to the 
     20    download and installation page</a>.</p> 
    2021  </div> 
    2122</body>