Changeset 3248

Show
Ignore:
Timestamp:
07/10/07 20:54:26 (1 year ago)
Author:
carndt
Message:

- match site header with main site
- packages are sorted
- table of contents with package sections
- internal template refactoring

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • website/dynamic

    • Property svn:ignore set to
      build
      dist

  • website/dynamic/setup.py

    r1906 r3248  
    88    name="TurboGears.org Dynamic Bits", 
    99    version=version, 
    10      
     10 
    1111    # uncomment the following lines if you fill them out in release.py 
    12     #description=description, 
    13     #author=author, 
    14     #author_email=email, 
    15     #download_url=download_url, 
    16     #license=license, 
    17      
     12    description=description, 
     13    author=author, 
     14    author_email=email, 
     15    download_url=download_url, 
     16    license=license, 
     17 
    1818    install_requires = ["TurboGears >= 0.9a2dev-r1012"], 
    1919    scripts = ["start-tgorg.py"], 
     
    2323                                     package='tgorg'), 
    2424    classifiers = [ 
    25         'Development Status :: 3 - Alpha', 
     25        'Development Status :: 4 - Production/Stable', 
     26        'Environment :: Web Environment', 
     27        'Framework :: TurboGears', 
     28        'Framework :: TurboGears :: Applications', 
     29        'License :: OSI Approved :: MIT License' 
    2630        'Operating System :: OS Independent', 
    2731        'Programming Language :: Python', 
    2832        'Topic :: Software Development :: Libraries :: Python Modules' 
    2933    ], 
     34    keywords = ["turbogears.app"], 
    3035    test_suite = 'nose.collector', 
    3136    ) 
    32      
     37 
  • website/dynamic/tgorg/release.py

    r2578 r3248  
    11# Release information about tgorg 
    22 
    3 version = "0.1.7
     3version = "0.1.8
    44 
    5 description = "Features for TurboGears.org" 
    6 author = "Kevin dangoor" 
     5description = """\ 
     6Dynamic parts of the TurboGears.org website. 
     7 
     8Provides, among other things, the CogBin (http://www.turbogears.org/cogbin) 
     9service. 
     10""" 
     11 
     12author = "Kevin Dangoor" 
    713email = "dangoor+tgorg@gmail.com" 
    8 copyright = "Copyright 2006 Kevin Dangoor" 
     14copyright = "Copyright 2006-2007 Kevin Dangoor" 
    915 
    1016# if it's open source, you might want to specify these 
    11 # download_url = "http://yourcool.site/download" 
    12 # license = "MIT" 
     17download_url = "http://trac.turbogears.org/browser/website/dynamic" 
     18#download_url = "http://cheeseshop.python.org/pypi/TurboGears.org_DynamicBits" 
     19license = "MIT" 
  • website/dynamic/tgorg/templates/cogbin.kid

    r2729 r3248  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> 
     2 
     3<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" 
     4  py:extends="'master.kid'"> 
    35 
    46<head> 
    5     <title>TurboGears CogBin</title> 
    6    
    7     <link rel="stylesheet" href="${root}static/css/master.css" type="text/css" media="all" charset="utf-8"/> 
    8     <link rel="stylesheet" href="static/css/print.css" type="text/css"  
    9         media="print" charset="utf-8"  
    10         py:attrs="href=root+'static/css/print.css'" /> 
    11     <script type="text/javascript" src="${root}sleight.js"></script> 
    12     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
     7  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 
     8 
     9  <title>TurboGears CogBin</title> 
     10 
     11  <link rel="stylesheet" href="static/css/print.css" type="text/css" 
     12    media="print" charset="utf-8" py:attrs="href=root+'static/css/print.css'" /> 
     13 
    1314</head> 
    1415<body> 
    15     <div id="page"> 
    16          
    17         <div id="header"> 
    18              
    19             <h1>TurboGears</h1> 
    20             <h2>The rapid web development megaframework you've been looking for.</h2> 
    21             <a href="#primary-content" id="skip_link" title="Go straight to the main content">Skip to content</a> 
    22             <a href="${root}"><img src="${root}static/images/header_inner.png" alt="TurboGears header" title="" border="0" width="850" height="80"/></a> 
    2316 
    24             <ul id="menu"> 
    25                 <li><a href="${root}index.html">Home</a></li> 
    26                 <li><a href="${root}about/">Learn</a></li> 
    27                 <li><a href="${root}docs/1.0">Documentation</a></li> 
    28                 <li><a href="/cogbin/">The CogBin</a></li> 
    29                 <li><a href="${root}download/">Download</a></li> 
    30                 <!-- 
    31                 <li><a href="">Dashboard</a></li> 
    32             --> 
    33             </ul> 
    34              
    35         </div> <!-- /header --> 
    36                                       
     17  <h1>The CogBin</h1> 
    3718 
    38         <div id="primary-content"> 
    39              
    40 <h1>The CogBin</h1> 
     19  <p>Get an even faster start on your project using these pre-existing 
     20    parts!</p> 
    4121 
    42 <p>Get an even faster start on your project using these pre-existing 
    43     parts!</p> 
    44 <p>Contents</p> 
    45 <ul> 
    46   <li py:for="category, packages in cogs['categories'].items()"><a href="${category}" py:content="category">FirstCategory</a></li> 
    47 </ul> 
    48 <div py:for="category, packages in cogs['categories'].items()"> 
    49     <h2 py:content="category">First Category</h2><a name="${category}" id="${category}"></a> 
     22  <p>Contents</p> 
     23 
     24  <ul> 
     25    <li py:for="category, packages in cogs['categories'].items()"><a href="#${category}" py:content="category">FirstCategory</a></li> 
     26  </ul> 
     27 
     28  <div py:for="category, packages in cogs['categories'].items()"> 
     29    <a name="${category}" id="${category}"></a> 
     30    <h2 py:content="category">First Category</h2> 
    5031 
    5132    <table width="100%"> 
    52         <tr><th>Project Name</th><th>Summary</th><th>Version</th></tr> 
    53         <tr valign="top" py:for="cogname, cog in sorted(packages.items())"> 
    54             <td><a href="http://cheeseshop.python.org/pypi/${cogname}/${cog.get('version', '')}"> 
    55                 ${cogname}</a></td> 
    56             <td>${cog.get("summary", "")}</td> 
    57             <td>${cog.get("version", "")}</td> 
    58         </tr> 
     33      <tr> 
     34        <th>Project Name</th> 
     35        <th>Summary</th> 
     36        <th>Version</th> 
     37      </tr> 
     38      <tr valign="top" py:for="cogname, cog in sorted(packages.items())"> 
     39        <td><a href="http://cheeseshop.python.org/pypi/${cogname}/${cog.get('version', '')}" 
     40          >${cogname}</a></td> 
     41        <td>${cog.get("summary", "")}</td> 
     42        <td>${cog.get("version", "")}</td> 
     43      </tr> 
    5944    </table> 
    60 </div> 
    61         </div> <!-- /primary-content --> 
    62                                        
     45  </div> 
    6346 
    64         <div id="secondary-content"> 
    65  
    66             <h3>Get your project in the CogBin!</h3> 
    67             <p> 
    68                 <strong>It's easy!</strong> 
    69             </p> 
    70             <p> 
    71                 TurboGears packages added to the Python  
    72                 <a href="http://cheeseshop.python.org">Cheese Shop</a> 
    73                 will automatically appear in the CogBin! 
    74             </p> 
    75             <p>When you quickstart a TurboGears project, the setup.py 
    76                 file already contains the metadata you need. It's just 
    77                 commented out. Choose the right keywords for the 
    78                 kind of project you're releasing, and you're all set. 
    79                 The table below has the keywords you should use as well: 
    80             </p> 
    81             <table> 
    82                 <tr> 
    83                     <th>Kind of thing you're registering</th> 
    84                     <th>Keyword</th> 
    85                 </tr> 
    86                 <tr py:for="category in category_list"> 
    87                     <td>${category.name}</td> 
    88                     <td>${category.keyword}</td> 
    89                 </tr> 
    90             </table> 
    91              
    92         </div> <!-- /secondary-content --> 
    93                                   
    94  
    95         <div id="footer"> 
    96             <!--> 
    97             <ul> 
    98                 <li><a href="">Contact</a></li> 
    99                 <li><a href="">Feeds</a></li> 
    100                 <li><a href="">Press</a></li> 
    101             </ul> 
    102         --> 
    103              
    104             Copyright © 2006 Kevin Dangoor.<br/> 
    105             TurboGears is a trademark of Kevin Dangoor.<br/> 
    106             Sponsored by <a href="http://www.blazingthings.com/">Blazing Things, LLC</a>.<br/> 
    107             Design by <a href="http://koorb.co.uk/">Richard Standbrook</a>. 
    108                  
    109         </div> <!-- /footer --> 
    110          
    111     </div> 
    112 </body></html> 
     47</body> 
     48</html> 
  • website/dynamic/tgorg/templates/master.kid

    r1906 r3248  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    22    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     3<?python import sitetemplate ?> 
     4<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" 
     5  py:extends="sitetemplate"> 
     6<head py:match="item.tag == '{http://www.w3.org/1999/xhtml}head'"> 
     7  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" 
     8    py:replace="item[:]" /> 
    39 
    4 <?python import sitetemplate ?> 
    5 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate"> 
    6 <head py:match="item.tag == '{http://www.w3.org/1999/xhtml}head'"> 
    7     <title py:replace="''">TurboGears: Front-to-Back Web Development</title> 
    8     <link rel="stylesheet" href="static/css/master.css" type="text/css"  
    9         media="all" charset="utf-8"  
    10         py:attrs="href=root+'static/css/master.css'" /> 
    11     <script type="text/javascript" src="static/javascript/sleight.js" 
    12     py:attrs="src=root+'sleight.js'"> 
    13     </script> 
    14     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" 
    15      py:replace="item[:]" /> 
     10  <title py:replace="''">TurboGears: Front-to-Back Web Development</title> 
     11 
     12  <link rel="stylesheet" href="static/css/master.css" type="text/css" 
     13    media="all" charset="utf-8" 
     14    py:attrs="href=root+'static/css/master.css'" /> 
     15  <script type="text/javascript" src="static/javascript/sleight.js" 
     16    py:attrs="src=root+'sleight.js'"></script> 
    1617</head> 
    1718 
    1819<body py:match="item.tag == '{http://www.w3.org/1999/xhtml}body'"> 
    19     <div py:def="header()" id="header"> 
     20  <div py:def="header()" id="header"> 
    2021 
    21         <h1>TurboGears</h1> 
    22         <h3>The rapid web development megaframework you've been looking for.</h3> 
    23          
    24         <div class="logo"> 
    25             <img src="${root}static/images/g-gear.png" class="fixme"  
    26                 alt="TurboGears" title="" /> 
    27         </div> 
     22    <h1>TurboGears</h1> 
    2823 
    29         <ul id="main-menu"> 
    30             <li><a href="index.html" py:attrs="href=root+'index.html'">Home</a></li> 
    31             <li><a href="/about/index.html" py:attrs="href=root+'about/index.html'">Learn</a></li> 
    32             <li><a href="/docs/index.html" py:attrs="href=root+'docs/index.html'">Documentation</a></li> 
    33             <li><a href="/download/index.html" py:attrs="href=root+'download/index.html'">Download</a></li> 
    34         </ul> 
     24    <h2>The rapid web development megaframework you've been looking for.</h2> 
    3525 
    36     </div> <!-- /header --> 
    37     <div py:def="footer()" id="footer"> 
     26    <a href="#primary-content" id="skip_link" 
     27      title="Go straight to the main content" 
     28      name="skip_link">Skip to content</a> 
     29    <a href="${root}"><img src="${root}static/images/header_inner.png" 
     30      alt="TurboGears header" title="" border="0" width="850" height="80" 
     31      /></a> 
    3832 
    39         <ul id="footer-menu"> 
    40             <li><a href="/index.html" py:attrs="href=root+'index.html'">Home</a></li> 
    41             <li><a href="/docs/index.html" py:attrs="href=root+'docs/index.html'">Learn</a></li> 
    42             <li><a href="/docs/index.html" py:attrs="href=root+'docs/index.html'">Documentation</a></li> 
    43             <li><a href="/download/index.html" py:attrs="href=root+'download/index.html'">Download</a></li> 
    44         </ul> 
     33    <!-- start navbar --> 
     34    <ul id="menu"> 
     35      <li><a href="${root}index.html">Home</a></li> 
    4536 
    46         Copyright © 2005 Kevin Dangoor.<br /> 
    47         TurboGears is a trademark of Kevin Dangoor.<br /> 
    48         Sponsored by <a href="http://www.blazingthings.com/">Blazing Things, LLC</a>. 
     37      <li><a href="${root}about/" title="Learn more about TurboGears." 
     38        >About</a></li> 
    4939 
    50     </div> <!-- /footer --> 
    51     <div id="page"> 
    52          
    53         <div py:replace="header()"/> 
     40      <li><a href="http://docs.turbogears.org/1.0" 
     41        title="Go to the TurboGears documentation site.">Documentation</a></li> 
    5442 
    55         <div id="primary-content" py:content="item[:]"> 
    56              
    57             <h2>1,000 members!</h2> 
    58             <h3>The community continues to grow.</h3> 
    59             <p> 
    60                 The <a href="http://groups.google.com/group/turbogears">googlegroup</a> has just passed 1,000 members! Why not head over there for support and the latest development chat. Summaries from the mailing list and other community happenings can be found on the new <a href="/dashboard">Dashboard</a> page. 
    61             </p> 
     43      <li><a href="http://docs.turbogears.org/1.0/Install" 
     44        title="Read the download &amp; installation instructions for TurboGears." 
     45        >Install</a></li> 
    6246 
    63             <h2>New article at O'Reilly Net</h2> 
    64             <h3>What Is TurboGears?</h3> 
    65             <p> 
    66                 MacDevCenter, part of O'Reilly Net, has a feature article about <a href="http://www.macdevcenter.com/pub/a/mac/2005/11/08/turbogears.html">TurboGears: What Is TurboGears</a>. Matthew Russell gives a quick introduction to TurboGears and the article also includes an interview with Kevin Dangoor, project leader. 
    67             </p> 
    68              
    69         </div> <!-- /primary-content --> 
    70                                        
     47      <li><a href="${root}cogbin/" 
     48        title="Find TurboGears Extensions and Plugins.">The CogBin</a></li> 
    7149 
    72         <div id="secondary-content"> 
    73              
    74             <h3>Get your project in the CogBin!</h3> 
    75             <p> 
    76                 <strong>It's easy!</strong> 
    77             </p> 
    78             <p> 
    79                 TurboGears packages added to the Python  
    80                 <a href="http://cheeseshop.python.org">Cheese Shop</a> 
    81                 will automatically appear in the CogBin! 
    82             </p> 
    83             <p>When you quickstart a TurboGears project, the setup.py 
    84                 file already contains the metadata you need. It's just 
    85                 commented out. Choose the right keywords for the 
    86                 kind of project you're releasing, and you're all set. 
    87                 The table below has the keywords you should use as well: 
    88             </p> 
    89             <table> 
    90                 <tr> 
    91                     <th>Kind of thing you're registering</th> 
    92                     <th>Keyword</th> 
    93                 </tr> 
    94                 <tr> 
    95                     <td>Widgets</td> 
    96                     <td>turbogears.widgets</td> 
    97                 </tr> 
    98             </table> 
    99              
    100         </div> <!-- /secondary-content --> 
    101                                   
    102         <div py:replace="footer()"/> 
     50      <li><a href="http://docs.turbogears.org/1.0/Contributing" 
     51        title="Want to contribute or try a development snapshot?" 
     52        >Development</a></li> 
     53 
     54      <li><a href="http://docs.turbogears.org/News" 
     55        title="Read what's happing in the TurboGears world.">News</a></li> 
     56    </ul> 
     57 
     58  </div> 
     59  <!-- /header --> 
     60 
     61  <div py:def="footer()" id="footer"> 
     62 
     63    <!-- 
     64    <ul id="footer-menu"> 
     65      <li><a href="${root}index.html">Home</a></li> 
     66 
     67      <li><a href="${root}about/">About</a></li> 
     68 
     69      <li><a href="http://docs.turbogears.org/1.0">Documentation</a></li> 
     70 
     71      <li><a href="http://docs.turbogears.org/1.0/Install">Get 
     72        TurboGears</a></li> 
     73    </ul> 
     74    --> 
     75 
     76    Copyright © 2005-2007 Kevin Dangoor. TurboGears is a trademark of Kevin 
     77    Dangoor.<br /> 
     78    Sponsored by <a href="http://www.blazingthings.com/">Blazing Things, 
     79    LLC</a>. Design by <a href="http://koorb.co.uk/">Richard 
     80    Standbrook</a>. 
     81 
     82  </div> 
     83  <!-- /footer --> 
     84 
     85  <div id="page"> 
     86 
     87    <div py:replace="header()" /> 
     88 
     89    <div id="primary-content" py:content="item[:]"> 
     90 
     91      <h2>1,000 members!</h2> 
     92 
     93      <h3>The community continues to grow.</h3> 
     94 
     95      <p>The <a href="http://groups.google.com/group/turbogears" 
     96        >googlegroup</a> has just passed 1,000 members! Why not head over 
     97        there for support and the latest development chat. Summaries from 
     98        the mailing list and other community happenings can be found on 
     99        the new <a href="/dashboard">Dashboard</a> page.</p> 
     100 
     101      <h2>New article at O'Reilly Net</h2> 
     102 
     103      <h3>What Is TurboGears?</h3> 
     104 
     105      <p>MacDevCenter, part of O'Reilly Net, has a feature article about <a 
     106        href="http://www.macdevcenter.com/pub/a/mac/2005/11/08/turbogears.html" 
     107        >TurboGears: What Is TurboGears</a>. Matthew Russell gives a quick 
     108        introduction to TurboGears and the article also includes an interview 
     109        with Kevin Dangoor, project leader.</p> 
     110 
    103111    </div> 
     112    <!-- /primary-content --> 
     113 
     114 
     115    <div id="secondary-content"> 
     116 
     117      <h3>Get your project in the CogBin!</h3> 
     118 
     119      <p><strong>It's easy!</strong></p> 
     120 
     121      <p>TurboGears packages added to the Python <a 
     122        href="http://cheeseshop.python.org">Cheese Shop</a> 
     123        will automatically appear in the CogBin!</p> 
     124 
     125      <p>When you quickstart a TurboGears project, the setup.py 
     126        file already contains the metadata you need. It's just 
     127        commented out. Choose the right keywords for the 
     128        kind of project you're releasing, and you're all set. 
     129        The table below has the keywords you should use as well:</p> 
     130 
     131      <table> 
     132        <tr> 
     133          <th>Kind of thing you're registering</th> 
     134          <th>Keyword</th> 
     135        </tr> 
     136        <tr py:for="category in category_list"> 
     137            <td>${category.name}</td> 
     138            <td>${category.keyword}</td> 
     139        </tr> 
     140      </table> 
     141 
     142    </div> 
     143    <!-- /secondary-content --> 
     144 
     145    <div py:replace="footer()" /> 
     146 
     147  </div> 
    104148</body> 
    105149</html> 
  • website/dynamic/TurboGears.org_Dynamic_Bits.egg-info/PKG-INFO

    r2578 r3248  
    11Metadata-Version: 1.0 
    22Name: TurboGears.org-Dynamic-Bits 
    3 Version: 0.1.7 
    4 Summary: UNKNOWN 
     3Version: 0.1.8 
     4Summary: Dynamic parts of the TurboGears.org website. 
     5 
     6Provides, among other things, the CogBin (http://www.turbogears.org/cogbin) 
     7service. 
     8 
    59Home-page: UNKNOWN 
    6 Author: UNKNOWN 
    7 Author-email: UNKNOWN 
    8 License: UNKNOWN 
     10Author: Kevin Dangoor 
     11Author-email: dangoor+tgorg@gmail.com 
     12License: MIT 
     13Download-URL: http://trac.turbogears.org/browser/website/dynamic 
    914Description: UNKNOWN 
     15Keywords: turbogears.app 
    1016Platform: UNKNOWN 
    11 Classifier: Development Status :: 3 - Alpha 
    12 Classifier: Operating System :: OS Independent 
     17Classifier: Development Status :: 4 - Production/Stable 
     18Classifier: Environment :: Web Environment 
     19Classifier: Framework :: TurboGears 
     20Classifier: Framework :: TurboGears :: Applications 
     21Classifier: License :: OSI Approved :: MIT LicenseOperating System :: OS Independent 
    1322Classifier: Programming Language :: Python 
    1423Classifier: Topic :: Software Development :: Libraries :: Python Modules