[Checkins] SVN: zope.release/branches/3.4/templates/ make all pages share the same navigation. separate out intro and front page.
Paul Carduner
paulcarduner at gmail.com
Tue Jan 27 07:53:09 EST 2009
Log message for revision 95161:
make all pages share the same navigation. separate out intro and front page.
Changed:
U zope.release/branches/3.4/templates/VERSION/ANNOUNCEMENTS.html
U zope.release/branches/3.4/templates/VERSION/CHANGES.html
U zope.release/branches/3.4/templates/index.html
A zope.release/branches/3.4/templates/intro.html
U zope.release/branches/3.4/templates/master.pt
U zope.release/branches/3.4/templates/resources/style.css
-=-
Modified: zope.release/branches/3.4/templates/VERSION/ANNOUNCEMENTS.html
===================================================================
--- zope.release/branches/3.4/templates/VERSION/ANNOUNCEMENTS.html 2009-01-27 12:53:08 UTC (rev 95160)
+++ zope.release/branches/3.4/templates/VERSION/ANNOUNCEMENTS.html 2009-01-27 12:53:09 UTC (rev 95161)
@@ -5,7 +5,6 @@
</head>
<body>
<div metal:fill-slot="divider"><a href="..">Go back to the Home Page</a></div>
- <div metal:fill-slot="left-nav"></div>
<div metal:fill-slot="content">
<h1 id="content-header">Version <span tal:replace="version/name"/> Announcement</h1>
<div tal:replace="structure version/announcement/html"/>
Modified: zope.release/branches/3.4/templates/VERSION/CHANGES.html
===================================================================
--- zope.release/branches/3.4/templates/VERSION/CHANGES.html 2009-01-27 12:53:08 UTC (rev 95160)
+++ zope.release/branches/3.4/templates/VERSION/CHANGES.html 2009-01-27 12:53:09 UTC (rev 95161)
@@ -5,7 +5,6 @@
</head>
<body>
<div metal:fill-slot="divider"><a href="..">Go back to the Home Page</a></div>
- <div metal:fill-slot="left-nav"></div>
<div metal:fill-slot="content">
<h1 id="content-header">Version <span tal:replace="version/name"/> Change Log</h1>
<div tal:replace="structure version/changelog/html"/>
Modified: zope.release/branches/3.4/templates/index.html
===================================================================
--- zope.release/branches/3.4/templates/index.html 2009-01-27 12:53:08 UTC (rev 95160)
+++ zope.release/branches/3.4/templates/index.html 2009-01-27 12:53:09 UTC (rev 95161)
@@ -22,119 +22,16 @@
Changes
</a>
</div>
- <div metal:fill-slot="left-nav">
- <h1>Versions</h1>
- <ul class="level-one">
- <li tal:repeat="version versions">
- <a href="#"><span tal:replace="version/name">3.4.0</span></a>
- (<span tal:replace="version/date"/>)
- <ul class="level-two" style="display: none;">
- <li tal:condition="version/announcement/url">
- <a href="#"
- tal:attributes="href version/announcement/url">Announcement</a>
- </li>
- <li tal:condition="version/changelog/url">
- <a href="#"
- tal:attributes="href version/changelog/url">Changelog</a>
- </li>
- <li tal:repeat="feature version/features">
- <a href="#"
- tal:attributes="href feature/url"
- tal:content="feature/title">Feature 1</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="intro.html">KGS Introduction</a>
- </li>
- </ul>
- </div>
<div metal:fill-slot="content">
- <h1 id="content-header">Known Good Sets</h1>
+ <h1 id="content-header">
+ <span tal:replace="title" />
+ <span tal:replace="latest/name"/> Has Been Released!
+ </h1>
- <h2>Usage</h2>
+ <div tal:content="structure latest/announcement/html"/>
+ <div tal:content="structure latest/changelog/html"/>
- <p>
- This KGS was designed to work with many of the tools developed to
- manage and install Python pacakges. The following sub-sections will
- explain its use in more detail.
- </p>
-
- <h3>The Index</h3>
-
- <p>
- You can use the index directly. It then behaves exactly like
- <a href="http://pypi.python.org/simple">http://pypi.python.org/simple</a>,
- except that only the good versions of the controlled packages are
- available. The advantage of using the KGS as an index is that you get
- bug fixes automatically.
- </p>
-
- <ul>
- <li>
- <div>In <strong>Buildout</strong> you can set this index in your <code>buildout.cfg</code> file:</div>
- <pre>
-[buildout]
-index = http://download.project.org/kgs
-...</pre>
- </li>
- <li>
- <div>With <strong>SetupTools</strong> you can specify the index as a command line option to the <code>easy_install</code> command:</div>
- <pre>$ easy_install -i http://download.project.org/kgs mypackage</pre>
- </li>
- </ul>
-
- <h3>Nailed or Pinned Versions</h3>
-
- <p>
- When deploying an application, it is often important to nail or pin down
- the versions of all used packages, so that it can be guaranteed that the
- setup is identical all the time.
- </p>
-
- <ul>
- <li>
- <div>In <strong>Buildout</strong>, the versions can be specified in the <code>buildout.cfg</code> file like this by either copying the contents of <code>versions-*.cfg</code> or referencing it with the <code>extends</code> option:</div>
- <pre>
-[buildout]
-versions = versions
-...
-[version]
-zope.interface = 3.4.0
-<copy the contents of versions-*.cfg here></pre>
- or
- <pre>
-[buildout]
-extends = http://download.project.org/kgs/versions-1.0.0.cfg</pre>
- </li>
- <li>
- <div><strong>SetupTools</strong> itself cannot use the <code>version.cfg</code>
- file.</div>
- </li>
- </ul>
-
- <h3>Find Links</h3>
-
- <p>
- The way of providing the installation tools with additional locations to
- look for packages is via find links. Those URLs are expected to be an
- HTML page with links to files or files directly.
- </p>
-
- <ul>
- <li>
- <div>Buildout, <code>buildout.cfg</code>:</div>
- <pre>
-[buildout]
-find-links = http://download.project.org/kgs/links.html
-...</pre>
- </li>
- <li>
- <div>Setup Tools, <code>easy_install</code></div>
- <pre>$ easy_install -f http://download.project.org/kgs/links.html mypackage</pre>
- </li>
- </ul>
</div>
</body>
</html>
Added: zope.release/branches/3.4/templates/intro.html
===================================================================
--- zope.release/branches/3.4/templates/intro.html (rev 0)
+++ zope.release/branches/3.4/templates/intro.html 2009-01-27 12:53:09 UTC (rev 95161)
@@ -0,0 +1,113 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
+ metal:use-macro="templates/master.pt/macros/page">
+ <head>
+ <title metal:fill-slot="page-title">Zope 3 Known Good Sets</title>
+ </head>
+ <body>
+ <div metal:fill-slot="divider">
+ Check out the latest version
+ (<span tal:replace="latest/name"
+ tal:condition="not:latest/announcement/url">
+ </span><a href="#"
+ tal:attributes="href latest/announcement/url"
+ tal:condition="latest/announcement/url"
+ tal:content="latest/name">
+ 3.4.0
+ </a>)
+ released on <span tal:content="latest/date"/>:
+ <a href="#"
+ tal:attributes="href latest/changelog/url"
+ tal:condition="latest/changelog/url">
+ Changes
+ </a>
+ </div>
+
+ <div metal:fill-slot="content">
+ <h1 id="content-header">Known Good Sets</h1>
+
+ <h2>Usage</h2>
+
+ <p>
+ This KGS was designed to work with many of the tools developed to
+ manage and install Python pacakges. The following sub-sections will
+ explain its use in more detail.
+ </p>
+
+ <h3>The Index</h3>
+
+ <p>
+ You can use the index directly. It then behaves exactly like
+ <a href="http://pypi.python.org/simple">http://pypi.python.org/simple</a>,
+ except that only the good versions of the controlled packages are
+ available. The advantage of using the KGS as an index is that you get
+ bug fixes automatically.
+ </p>
+
+ <ul>
+ <li>
+ <div>In <strong>Buildout</strong> you can set this index in your <code>buildout.cfg</code> file:</div>
+ <pre>
+[buildout]
+index = http://download.project.org/kgs
+...</pre>
+ </li>
+ <li>
+ <div>With <strong>SetupTools</strong> you can specify the index as a command line option to the <code>easy_install</code> command:</div>
+ <pre>$ easy_install -i http://download.project.org/kgs mypackage</pre>
+ </li>
+ </ul>
+
+ <h3>Nailed or Pinned Versions</h3>
+
+ <p>
+ When deploying an application, it is often important to nail or pin down
+ the versions of all used packages, so that it can be guaranteed that the
+ setup is identical all the time.
+ </p>
+
+ <ul>
+ <li>
+ <div>In <strong>Buildout</strong>, the versions can be specified in the <code>buildout.cfg</code> file like this by either copying the contents of <code>versions-*.cfg</code> or referencing it with the <code>extends</code> option:</div>
+ <pre>
+[buildout]
+versions = versions
+...
+[version]
+zope.interface = 3.4.0
+<copy the contents of versions-*.cfg here></pre>
+ or
+ <pre>
+[buildout]
+extends = http://download.project.org/kgs/versions-1.0.0.cfg</pre>
+ </li>
+ <li>
+ <div><strong>SetupTools</strong> itself cannot use the <code>version.cfg</code>
+ file.</div>
+ </li>
+ </ul>
+
+ <h3>Find Links</h3>
+
+ <p>
+ The way of providing the installation tools with additional locations to
+ look for packages is via find links. Those URLs are expected to be an
+ HTML page with links to files or files directly.
+ </p>
+
+ <ul>
+ <li>
+ <div>Buildout, <code>buildout.cfg</code>:</div>
+ <pre>
+[buildout]
+find-links = http://download.project.org/kgs/links.html
+...</pre>
+ </li>
+ <li>
+ <div>Setup Tools, <code>easy_install</code></div>
+ <pre>$ easy_install -f http://download.project.org/kgs/links.html mypackage</pre>
+ </li>
+ </ul>
+ </div>
+ </body>
+</html>
Property changes on: zope.release/branches/3.4/templates/intro.html
___________________________________________________________________
Added: svn:eol-style
+ native
Modified: zope.release/branches/3.4/templates/master.pt
===================================================================
--- zope.release/branches/3.4/templates/master.pt 2009-01-27 12:53:08 UTC (rev 95160)
+++ zope.release/branches/3.4/templates/master.pt 2009-01-27 12:53:09 UTC (rev 95161)
@@ -4,7 +4,7 @@
<head>
<title metal:define-slot="page-title">Introduction to the KGS</title>
<link rel="stylesheet" type="text/css" href="resources/style.css"
- tal:attributes="href string:${resourceDir}/style.css"/>
+ tal:attributes="href string:${siteRoot}resources/style.css"/>
<script type="text/javascript" language="Javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript" language="Javascript">
@@ -29,7 +29,7 @@
<div id="header">
<a href="http://new.zope.org" accesskey="1" id="logo">
<img height="36" width="110" title="" alt=""
- tal:attributes="src string:${resourceDir}/logo.png"/>
+ tal:attributes="src string:${siteRoot}resources/logo.png"/>
</a>
<div metal:define-slot="page-header"></div>
</div>
@@ -51,41 +51,30 @@
<div id="left-nav-wrapper">
<div class="left-nav">
<div metal:define-slot="left-nav">
- <h1>Navigation Header</h1>
+ <h1>Versions</h1>
<ul class="level-one">
- <li>
- <a href="#">Version 2</a>
- <ul class="level-two">
- <li>
- <a href="#">Feature 1</a>
+ <li tal:repeat="version versions">
+ <span tal:replace="version/name">3.4.0</span>
+ (<span tal:replace="version/date"/>)
+ <ul class="level-two" style="display: none;">
+ <li tal:condition="version/announcement/url">
+ <a href="#"
+ tal:attributes="href string:${siteRoot}${version/announcement/url}">Announcement</a>
</li>
- <li>
- <a href="#">Feature 2</a>
+ <li tal:condition="version/changelog/url">
+ <a href="#"
+ tal:attributes="href string:${siteRoot}${version/changelog/url}">Changelog</a>
</li>
- <li>
- <a href="#">Feature 3</a>
+ <li tal:repeat="feature version/features">
+ <a href="#"
+ tal:attributes="href string:${siteRoot}${feature/url}"
+ tal:content="feature/title">Feature 1</a>
</li>
- <li>
- <a href="#">Feature 4</a>
- </li>
</ul>
</li>
<li>
- <a href="#">Version 1</a>
- <ul class="level-two" style="display: none;">
- <li>
- <a href="#">Feature 1</a>
- </li>
- <li>
- <a href="#">Feature 2</a>
- </li>
- <li>
- <a href="#">Feature 3</a>
- </li>
- <li>
- <a href="#">Feature 4</a>
- </li>
- </ul>
+ <a href="intro.html"
+ tal:attributes="href string:${siteRoot}intro.html">KGS Introduction</a>
</li>
</ul>
</div>
Modified: zope.release/branches/3.4/templates/resources/style.css
===================================================================
--- zope.release/branches/3.4/templates/resources/style.css 2009-01-27 12:53:08 UTC (rev 95160)
+++ zope.release/branches/3.4/templates/resources/style.css 2009-01-27 12:53:09 UTC (rev 95161)
@@ -112,6 +112,10 @@
list-style: inside url(document_icon.gif);
}
+.left-nav li{
+ cursor: pointer;
+}
+
.left-nav li a{
margin-left: -10px;
}
More information about the Checkins
mailing list