summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@slide.com>2009-04-05 21:20:40 -0700
committerR. Tyler Ballance <tyler@slide.com>2009-04-05 21:20:40 -0700
commit8a6ad3b355790a537d27e4f1e80afeb88a5005c9 (patch)
treeee667430e1e1dba0ea23a26fe411e2a02956158f
parent37fc5c46eae0759a49039ffce8dbddf9e33be145 (diff)
downloadpython-cheetah-8a6ad3b355790a537d27e4f1e80afeb88a5005c9.tar.gz
Start building the new site in Markdown and other template magic.
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
-rw-r--r--WikiRoot.tmpl119
-rw-r--r--developers.tmpl14
-rw-r--r--download.tmpl34
-rw-r--r--images/Logo.jpgbin0 -> 16187 bytes
-rw-r--r--images/bg.jpgbin0 -> 437 bytes
-rw-r--r--images/booksmall.gifbin0 -> 1352 bytes
-rw-r--r--images/bullet.jpgbin0 -> 631 bytes
-rw-r--r--images/drop.jpgbin0 -> 4698 bytes
-rw-r--r--images/drop2.jpgbin0 -> 5618 bytes
-rw-r--r--images/menu.gifbin0 -> 1953 bytes
-rw-r--r--images/menuleft.gifbin0 -> 640 bytes
-rw-r--r--images/menuright.gifbin0 -> 1398 bytes
-rw-r--r--images/mountain.jpgbin0 -> 4359 bytes
-rw-r--r--images/n8g.jpgbin0 -> 3472 bytes
-rw-r--r--images/nautica.jpgbin0 -> 694 bytes
-rw-r--r--images/sample.jpgbin0 -> 4613 bytes
-rw-r--r--images/specs_bottom.jpgbin0 -> 871 bytes
-rw-r--r--images/strips_onside.jpgbin0 -> 392 bytes
-rw-r--r--images/top2.jpgbin0 -> 2114 bytes
-rw-r--r--index.tmpl20
-rw-r--r--stylesheet.css305
21 files changed, 476 insertions, 16 deletions
diff --git a/WikiRoot.tmpl b/WikiRoot.tmpl
index 019516b..1adbec2 100644
--- a/WikiRoot.tmpl
+++ b/WikiRoot.tmpl
@@ -1,33 +1,128 @@
-#from Cheetah.Filters import Markdown
#from Cheetah.Template import Template
#extends Template
-#transform Markdown
#implements respond
+#set global $Pages = [
+ ('Home', 'index.html'),
+ ('Download', 'download.html'),
+ ('Issues', 'http://bugs.communitycheetah.org'),
+ ('Developers', 'developers.html'),
+ ('Source', 'http://github.com/rtyler/cheetah/tree/master'),
+ ('Mailing List', 'http://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss'),
+ ]
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
-<head>
-<title>Community Cheetah Wiki - $pagename()</title>
-</head>
-<body>
+ <head>
+ <title>Community Cheetah - $pagename()</title>
+ <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
+ <meta name="keywords" content="#" />
+ <meta name="googlebot" content="index, follow" />
+ <meta name="language" content="en-us, english" />
-$header()
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" media="screen, projection, tv " />
+ </head>
+ <body>
-$content()
+ $header()
-$footer()
+ #if $leftsidebar()
+ <div id="leftcontent">
+ <img style="margin-top:-9px; margin-left:-12px;" src="images/top2.jpg" alt="" />
-</body></html>
+ $leftsidebar()
+
+ <img style="padding-top:2px; margin-left:-12px; margin-bottom:-4px;" src="images/specs_bottom.jpg" alt="" />
+ </div>
+ #end if
+
+ <div id="centercontent">
+ $content()
+ </div>
+
+ <div id="rightcontent">
+ <img style="margin-top:-9px; margin-left: -5px;" src="images/top2.jpg" alt="" />
+
+ $rightsidebar()
+
+ <img style="padding-top:5px; margin-left:-5px; margin-bottom:-4px;" src="images/specs_bottom.jpg" alt="" />
+ </div>
+
+ <br clear="all"/>
+ <br/>
+
+ $footer()
+
+ <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
+ <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/cheetahtemplate.json?callback=twitterCallback2&count=5"></script>
+ </body>
+</html>
#def pagename()
#return "WikiRoot"
#end def
+#def leftsidebar()
+ #return ''
+#end def
+
+#def rightsidebar()
+ <div id="twitter_div">
+ <h2 class="sidebar-title">Twitter Updates</h2>
+ <ul id="twitter_update_list"></ul>
+
+ <a href="http://twitter.com/cheetahtemplate" id="twitter-link" style="display:block;text-align:right;">follow Cheetah on Twitter</a>
+ </div>
+#end def
+
#def header()
- #return ''
+ <div id="blogtitle">
+ <div id="small"><a href="#">Community Cheetah</a> </div>
+ <div id="small2">
+ #for $Name, $Link in $Pages
+ <a href="$Link">$Name</a>&nbsp;|&nbsp;
+ #end for
+ </div>
+ </div>
+
+ <div id="topmenu">
+ <ul class="BLUE">
+ #for $Name, $Link in $Pages
+ <li>
+ <a href="$Link" title="$Name">
+ <span>$Name</span>
+ </a>
+ </li>
+ #end for
+ </ul>
+ </div>
#end def
#def footer()
- #return ''
+ <div id="footer">&copy; 2006 Design by <a href="http://www.studio7designs.com">Studio7designs.com</a>
+
+#*
+
+ <!-- start left boxes -->
+
+ <div class="centercontentleftb">
+ <div class="centercontentleftimg">Sample Box for Products</div>
+ <div class="centercontentrightimg">Sample Box for Products</div>
+ </div>
+
+ <!-- endleft boxes -->
+
+ <!-- start right boxes -->
+
+ <div class="centercontentrightb">
+ <div class="centercontentleftimg">Sample Box for Products</div>
+ <div class="centercontentrightimg">Sample Box for Products</div>
+ </div>
+
+ <!-- end right boxes -->
+
+ <!-- end bottom boxes -->
+*#
+ </div>
#end def
#def content()
diff --git a/developers.tmpl b/developers.tmpl
new file mode 100644
index 0000000..4924fbd
--- /dev/null
+++ b/developers.tmpl
@@ -0,0 +1,14 @@
+#import WikiRoot
+#from Cheetah.Filters import Markdown
+#extends WikiRoot.WikiRoot
+
+#def pagename()
+ #return 'Developers'
+#end def
+
+#def content()
+#transform Markdown
+Contributing to Cheetah
+========================
+
+#end def
diff --git a/download.tmpl b/download.tmpl
new file mode 100644
index 0000000..f010896
--- /dev/null
+++ b/download.tmpl
@@ -0,0 +1,34 @@
+#import WikiRoot
+#from Cheetah.Filters import Markdown
+#extends WikiRoot.WikiRoot
+
+#def pagename()
+ #return 'Downloads'
+#end def
+
+#def content()
+#transform Markdown
+#set currentVersion = 'v2.1.0.1'
+#set releaseDate = 'March 27th, 2009'
+
+Cheetah Downloads
+=================
+
+The most recent *stable* release of Community Cheetah is **Cheetah $currentVersion** which was released
+on $releaseDate. The most recent "mainstream" release of Cheetah (i.e. from SourceForge and the original
+author) was released on November 16th, 2007 (v2.0.1).
+
+Download $currentVersion
+--------------------------
+* [$currentVersion tarball](http://github.com/rtyler/cheetah/tarball/$currentVersion)
+* [$currentVersion zip](http://github.com/rtyler/cheetah/zipball/$currentVersion)
+
+You can keep up to date with release candidates, and other misc downloads provided by Community Cheetah
+by visiting the [GitHub downloads page](http://github.com/rtyler/cheetah/downloads)
+
+
+**Important note to Windows users**: You should install the compiled version of Cheetah's NameMapper.
+It is dramatically faster than the pure Python version! Python 2.4: _namemapper.pyd2.4, Python 2.5: _namemapper.pyd2.5.
+Install it wherever your system puts Cheetah/NameMapper.py. Strip the version numbers off the filename.
+
+#end def
diff --git a/images/Logo.jpg b/images/Logo.jpg
new file mode 100644
index 0000000..21274a4
--- /dev/null
+++ b/images/Logo.jpg
Binary files differ
diff --git a/images/bg.jpg b/images/bg.jpg
new file mode 100644
index 0000000..59fecf0
--- /dev/null
+++ b/images/bg.jpg
Binary files differ
diff --git a/images/booksmall.gif b/images/booksmall.gif
new file mode 100644
index 0000000..7501d65
--- /dev/null
+++ b/images/booksmall.gif
Binary files differ
diff --git a/images/bullet.jpg b/images/bullet.jpg
new file mode 100644
index 0000000..785700c
--- /dev/null
+++ b/images/bullet.jpg
Binary files differ
diff --git a/images/drop.jpg b/images/drop.jpg
new file mode 100644
index 0000000..9d3d1f4
--- /dev/null
+++ b/images/drop.jpg
Binary files differ
diff --git a/images/drop2.jpg b/images/drop2.jpg
new file mode 100644
index 0000000..c4eabf6
--- /dev/null
+++ b/images/drop2.jpg
Binary files differ
diff --git a/images/menu.gif b/images/menu.gif
new file mode 100644
index 0000000..9946e8e
--- /dev/null
+++ b/images/menu.gif
Binary files differ
diff --git a/images/menuleft.gif b/images/menuleft.gif
new file mode 100644
index 0000000..f986ecf
--- /dev/null
+++ b/images/menuleft.gif
Binary files differ
diff --git a/images/menuright.gif b/images/menuright.gif
new file mode 100644
index 0000000..afdd8bd
--- /dev/null
+++ b/images/menuright.gif
Binary files differ
diff --git a/images/mountain.jpg b/images/mountain.jpg
new file mode 100644
index 0000000..04f4f78
--- /dev/null
+++ b/images/mountain.jpg
Binary files differ
diff --git a/images/n8g.jpg b/images/n8g.jpg
new file mode 100644
index 0000000..dfdd6f4
--- /dev/null
+++ b/images/n8g.jpg
Binary files differ
diff --git a/images/nautica.jpg b/images/nautica.jpg
new file mode 100644
index 0000000..e8e4c2f
--- /dev/null
+++ b/images/nautica.jpg
Binary files differ
diff --git a/images/sample.jpg b/images/sample.jpg
new file mode 100644
index 0000000..be82e0b
--- /dev/null
+++ b/images/sample.jpg
Binary files differ
diff --git a/images/specs_bottom.jpg b/images/specs_bottom.jpg
new file mode 100644
index 0000000..b01e2fb
--- /dev/null
+++ b/images/specs_bottom.jpg
Binary files differ
diff --git a/images/strips_onside.jpg b/images/strips_onside.jpg
new file mode 100644
index 0000000..6fc0a3c
--- /dev/null
+++ b/images/strips_onside.jpg
Binary files differ
diff --git a/images/top2.jpg b/images/top2.jpg
new file mode 100644
index 0000000..3f2f354
--- /dev/null
+++ b/images/top2.jpg
Binary files differ
diff --git a/index.tmpl b/index.tmpl
index b066cb1..33773e2 100644
--- a/index.tmpl
+++ b/index.tmpl
@@ -1,4 +1,5 @@
#import WikiRoot
+#from Cheetah.Filters import Markdown
#extends WikiRoot.WikiRoot
#def pagename()
@@ -6,9 +7,20 @@
#end def
#def content()
-Welcome to the Community Cheetah Wiki
--------------------------------------
+#transform Markdown
+Community Cheetah
+=================
-This page was generated via the Cheetah.Filter.Markdown class and the Home.tmpl template
-in the "wiki" branch.
+Community Cheetah is an active fork of the [Cheetah Template](http://www.cheetahtemplate.org/) engine.
+The Cheetah Templating engine is a fully [Python](http://www.python.org)-powered templating engine
+that can output or generate practically **any** text-based format (including Python itself!)
+
+The primary motivations for the Community Cheetah fork is to maintain *active* development outside of
+the currently-stale [Cheetah CVS tree](http://sourceforge.net/scm/?type=cvs&group_id=28961). Community Cheetah
+isn't meant to diverge from the main goals of Cheetah: speed, ease of use and stability, but rather Community
+Cheetah is meant to reinvirgorate the community surrounding Cheetah and provide **monthly** releases incorporating
+patches and improvements to the engine.
+
+Cheetah already has a large and active user community, and there are a number of products built with Cheetah in the
+Fortune 500, as well startups in Silicon Valley (like [reddit](http://www.reddit.com))
#end def
diff --git a/stylesheet.css b/stylesheet.css
new file mode 100644
index 0000000..983b0a4
--- /dev/null
+++ b/stylesheet.css
@@ -0,0 +1,305 @@
+/* This CSS style sheet was developed by www.studio7designs.com for opensourcetemplates.org ... Please email if you have any questions aran@studio7designs.com Have fun! */
+
+
+body {
+background:#ffffff url('images/bg.jpg') top center repeat-x;
+margin:10px 10px 0px 10px;
+padding:0px;
+color:#999999;
+font-family:"Trebuchet MS",arial,sans-serif;
+font-size: 90%;
+
+}
+
+#blogtitle{
+width:100%;
+margin:0px auto;
+padding:0 0 5px 0;
+font-size:1.1em;
+line-height:1.2em;
+
+}
+
+#small{
+positon:relative;
+padding-left: 5px;
+
+}
+
+#small2{
+positon:relative;
+float:right;
+margin-top: -15px;
+
+}
+
+#blogtitle a:link, a:visited{
+color:#b8ce83;
+text-decoration:none;
+}
+
+#blogtitle a:hover, a:active{
+color:#fff;
+text-decoration:none;
+
+}
+
+
+UL.BLUE {
+list-style: url(images/bullet.jpg) disc;
+font-size: 1.1em;
+
+}
+
+#leftcontent {
+position: absolute;
+left:10px;
+top:50px;
+width:200px;
+margin-top: 116px;
+background-image:url("images/strips_onside.jpg");
+background-repeat:repeat-y;
+font-size:1.0em;
+padding-left: 12px;
+padding-top: 8px;
+
+}
+
+#leftcontent p{padding-right:10px; margin-left: 5px; color:#888; font-size:1em;}
+
+#leftcontent a, a:link { color:#888; font-weight:500;}
+
+#leftcontent a:hover, a:active{ color:#FF6666;}
+
+
+#centercontent {
+margin-top: 37px;
+background:#fff;
+margin-left: 199px;
+margin-right:199px;
+color:#000;
+voice-family: "\"}\"";
+voice-family: inherit;
+margin-left: 201px;
+margin-right:201px;
+padding:20px;
+
+}
+
+#centercontent p {color:#888;}
+
+#centercontent a, a:link { color:#006633;}
+
+#centercontent a:hover, a:active{ color:#FF6666;}
+
+
+html>body #centercontent {
+margin-left: 201px;
+margin-right:201px;
+
+}
+
+.centercontentleft {float:left; width:40%; height:200px; background-color:#fff; text-align:left;
+border:dashed 2px #ccc; margin: 4px 10px 5px 10px; padding:6px; font-size:1.1em; color:#666666;}
+
+.centercontentright {float:right; width:30%; height:100px; background-color:#fff; text-align:left;
+border:dashed 2px #ccc; margin: 4px 10px 5px 10px; padding:6px; font-size:1.1em; color:#666666;}
+
+
+#rightcontent {
+position: absolute;
+right:10px;
+top:0px;
+width: 200px;
+font-size:1.1em;
+background-image:url("images/strips_onside.jpg");
+background-repeat:repeat-y;
+margin-top:150px;
+padding-left: 5px;
+padding-right: 8px;
+padding-top: 8px;
+
+}
+
+
+#rightcontent p {color:#888;}
+
+#rightcontent a, a:link { color:#888; font-weight:600;}
+
+#rightcontent a:hover, a:active{ color:#FF6666;}
+
+
+#banner {
+background:#fff;
+height:40px;
+voice-family: "\"}\"";
+voice-family: inherit;
+height:39px;
+
+}
+
+
+html>body #banner {
+height:39px;
+
+}
+
+
+p,h1,pre {
+margin:0px 10px 10px 10px;
+font:Arial, Helvetica, sans-serif;
+font-size:12px;
+line-height: 1.6em;
+text-align:justify;
+text-decoration:none;
+}
+
+h1 {
+font-size:2.5em;
+float:right;
+color:#ccc;
+padding-top:15px;
+
+}
+
+h3 {
+font-size:14px;
+color:#999;
+
+}
+
+#banner h1 {
+font-size:14px;
+padding:10px 10px 0px 10px;
+margin:0px;
+
+}
+
+#rightcontent p {
+font-size:11px
+
+}
+
+.introduction ul, #introduction li {
+text-align:center;
+list-style: none;
+margin: 0;
+padding: 0;
+
+}
+
+.introduction a {
+border-bottom: none;
+color:#999999;
+}
+
+.introduction h3{
+text-align: center;
+position:static;
+
+}
+
+
+/* ~~~~~~~~~ PROPS FOR THE MENU GO OUT TO EXPLODING-BOY.COM ~~~~~~~~~ */
+
+#topmenu {
+position: absolute;
+top: 45px;
+left: 240px;
+width: 600px;
+font-size:100%;
+margin: 0 0 50px 0;;
+line-height:normal;
+height: 35px;
+}
+#topmenu ul {
+margin:0;
+padding:0px 0px 0 0px;
+list-style:none;
+}
+#topmenu li {
+display:inline;
+margin:0;
+padding:0;
+}
+#topmenu a {
+float:left;
+background:url(images/menuleft.gif) no-repeat left top;
+margin:0;
+padding:0 0 0 4px;
+text-decoration:none;
+}
+#topmenu a span {
+float:left;
+display:block;
+background:url(images/menuright.gif) no-repeat right top;
+padding:5px 15px 4px 6px;
+color:#888;
+}
+
+/* Commented Backslash Hack hides rule from IE5-Mac \*/
+#topmenu a span {float:none;}
+/* End IE5-Mac hack */
+#topmenu a:hover span {
+color:#999999;
+}
+#topmenu a:hover {
+background-position:0% -42px;
+}
+#topmenu a:hover span {
+background-position:100% -42px;
+}
+
+/* ~~~~~~~~~ END MENU ~~~~~~~~~ */
+
+
+
+/* ~~~~~~~~~ BEGIN FOOTER ~~~~~~~~~ */
+
+#footer{
+/*height:329px;*/
+background:#000 url('images/bg.jpg') top center repeat-x;
+text-align: center;
+padding-top: 8px;
+clear: both;
+float: none;
+margin-left: -10px;
+margin-right: -10px;
+margin-bottom: -20px;
+
+}
+
+#footer a, a:link {
+color:#999999;
+text-decoration: none;
+
+}
+#footer a:hover {
+color:#A5CE77;
+text-decoration: none;
+
+}
+
+/* ~~~~~~~~~ END FOOTER~~~~~~~~~ */
+
+
+/* ~~~~~~~~~ BOXES AT BOTTOM OF PAGE ~~~~~~~~~ */
+
+.centercontentleftb {float:left; width:45%; height:200px; background-color:#31412c; text-align:left;
+border:dashed 1px #888; margin: 50px 10px 5px 10px; padding:6px; font-size:1.1em; color:#fff;}
+
+
+.centercontentleftimg {float:left; width:45%; height:45%x; background-color:#31412c; text-align:left;
+border:dashed 1px #888; padding:6px; font-size:1.1em; color:#fff;}
+
+.centercontentrightimg {float:right; width:45%; height:45%; background-color:#31412c; text-align:left;
+border:dashed 1px #888; padding:6px; font-size:1.1em; color:#fff;}
+
+.centercontentrightb {float:right; width:45%; height:200px; background-color:#31412c; text-align:left;
+border:dashed 1px #888; margin: 50px 13px 5px 10px; padding:6px; font-size:1.1em; color:#fff;}
+
+.centercontentleftimg {float:left; width:45%; height:45%; background-color:#31412c; text-align:left;
+border:dashed 1px #888; padding:6px; font-size:1.1em; color:#fff;}
+
+.centercontentrightimg {float:right; width:45%; height:45%; background-color:#31412c; text-align:left;
+border:dashed 1px #888; padding:6px; font-size:1.1em; color:#fff;}