[Checkins] SVN: zope.release/branches/3.4/templates/ more styling and some dynamic content now.
Paul Carduner
paulcarduner at gmail.com
Tue Jan 27 04:56:59 EST 2009
Log message for revision 95100:
more styling and some dynamic content now.
Changed:
A zope.release/branches/3.4/templates/index.html
U zope.release/branches/3.4/templates/master.pt
A zope.release/branches/3.4/templates/resources/pre_bg.png
U zope.release/branches/3.4/templates/resources/style.css
-=-
Added: zope.release/branches/3.4/templates/index.html
===================================================================
--- zope.release/branches/3.4/templates/index.html (rev 0)
+++ zope.release/branches/3.4/templates/index.html 2009-01-27 09:56:58 UTC (rev 95100)
@@ -0,0 +1,114 @@
+<!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="left-nav">
+ <h1>Versions</h1>
+ <ul class="level-one">
+ <li tal:repeat="version self/data/versions">
+ <a href="#">Version <span tal:replace="version/name">1</span></a>
+ <ul class="level-two" style="display: none;">
+ <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>
+
+ <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/index.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 09:55:20 UTC (rev 95099)
+++ zope.release/branches/3.4/templates/master.pt 2009-01-27 09:56:58 UTC (rev 95100)
@@ -1,7 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 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"
- xmlns:metal="http://namespaces.zope.org/metal"
- xmlns:tal="http://namespaces.zope.org/tal"
metal:define-macro="page">
<head>
<title metal:define-slot="page-title">Introduction to the KGS</title>
@@ -51,43 +49,45 @@
</div>
<div id="left-nav-wrapper">
<div class="left-nav">
- <h1>Navigation Header</h1>
- <ul class="level-one">
- <li>
- <a href="#">Version 2</a>
- <ul class="level-two">
- <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>
- </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>
- </li>
- </ul>
+ <div metal:define-slot="left-nav">
+ <h1>Navigation Header</h1>
+ <ul class="level-one">
+ <li>
+ <a href="#">Version 2</a>
+ <ul class="level-two">
+ <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>
+ </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>
+ </li>
+ </ul>
+ </div>
</div>
</div>
<div id="footer-wrapper">
Added: zope.release/branches/3.4/templates/resources/pre_bg.png
===================================================================
(Binary files differ)
Property changes on: zope.release/branches/3.4/templates/resources/pre_bg.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
Modified: zope.release/branches/3.4/templates/resources/style.css
===================================================================
--- zope.release/branches/3.4/templates/resources/style.css 2009-01-27 09:55:20 UTC (rev 95099)
+++ zope.release/branches/3.4/templates/resources/style.css 2009-01-27 09:56:58 UTC (rev 95100)
@@ -18,6 +18,26 @@
color:#86C81B;
}
+pre {
+ background-color:#F9F9F9;
+ border:1px solid #D3D3D3;
+ color:#333333;
+ font-family:Monaco,"Courier New",Courier,monospace;
+ font-size:100%;
+ overflow:auto;
+ padding:1em;
+}
+
+pre {
+ background: #626264 url(pre_bg.png) repeat-x;
+ color: #86C81B;
+ font-weight: bold;
+}
+code {
+ color: black;
+ font-weight: bold;
+}
+
#page-wrapper {
background:#FFFFFF none repeat scroll 0 0;
margin:0 auto 1em;
@@ -55,7 +75,7 @@
}
#left-nav-wrapper {
- width: 158px;
+ width: 178px;
padding: 32px 0px 32px 32px;
}
@@ -77,6 +97,7 @@
border-top: 0;
margin: 0;
padding: 12px;
+ padding-right: 0px;
}
.left-nav ul.level-two{
@@ -102,7 +123,7 @@
#content-wrapper {
padding: 35px;
float: right;
- width: 738px;
+ width: 718px;
}
#content-header {
More information about the Checkins
mailing list