[Pypi-checkins] r748 - branches/tarek-pep-345-support/templates
tarek.ziade
python-checkins at python.org
Sun Mar 21 00:00:25 CET 2010
Author: tarek.ziade
Date: Sun Mar 21 00:00:25 2010
New Revision: 748
Modified:
branches/tarek-pep-345-support/templates/display.pt
branches/tarek-pep-345-support/templates/standard_template.pt
Log:
removed trailing spaces
Modified: branches/tarek-pep-345-support/templates/display.pt
==============================================================================
--- branches/tarek-pep-345-support/templates/display.pt (original)
+++ branches/tarek-pep-345-support/templates/display.pt Sun Mar 21 00:00:25 2010
@@ -157,6 +157,7 @@
</li>
+
<li tal:condition="data/requires_dist | nothing">
<strong>Requires</strong>
<ul class="nodot">
@@ -177,6 +178,8 @@
</ul>
</li>
+
+
<li tal:condition="data/roles/Owner | nothing">
<strong>Package Index Owner:</strong>
<span tal:content="python:', '.join(data['roles']['Owner'])" />
Modified: branches/tarek-pep-345-support/templates/standard_template.pt
==============================================================================
--- branches/tarek-pep-345-support/templates/standard_template.pt (original)
+++ branches/tarek-pep-345-support/templates/standard_template.pt Sun Mar 21 00:00:25 2010
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<metal:macro define-macro="page"
- xmlns="http://www.w3.org/1999/xhtml"
+ xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
@@ -20,7 +20,7 @@
<link media="screen" tal:attributes="href string:${app/config/pydotorg}styles/largestyles.css" type="text/css" rel="alternate stylesheet" title="large text" />
<link media="screen" tal:attributes="href string:${app/config/pydotorg}styles/defaultfonts.css" type="text/css" rel="alternate stylesheet" title="default fonts" />
<link rel="stylesheet" media="screen" href="/css/docutils.css" type="text/css"/>
-
+
<metal:slot define-slot="head" />
<style type="text/css" rel="stylesheet">
@@ -74,7 +74,7 @@
-moz-border-radius-topleft: 12px;
-moz-border-radius-bottomright: 12px;
}
-
+
#document-project-url ul
{
list-style: none;
@@ -86,31 +86,31 @@
background: none;
width: auto;
font-size: 103%;
- font-family: Verdana, Geneva, "Bitstream Vera Sans", Helvetica, sans-serif;
+ font-family: Verdana, Geneva, "Bitstream Vera Sans", Helvetica, sans-serif;
}
-
- #document-project-url a:link, #document-project-url a:visited
+
+ #document-project-url a:link, #document-project-url a:visited
{
color:#3C4B6B;
text-decoration: none;
}
-
+
#document-project-url a:hover
{
color: #000000;
text-decoration: underline;
}
-
+
#document-project-url h4 a:link, #document-project-url h4 a:visited
{
color: #FFFFFF;
}
-
+
#document-project-url h4 a:hover
{
color: #FFFFFF;
-
+
}
#document-project-url form {
margin:12px;
@@ -146,15 +146,15 @@
<!-- XXX: reinstate this <div id="screen-switcher"></div> -->
</div>
<div id="left-hand-navigation">
-
+
<!-- Main Menu NEED LEVEL TWO HEADER AND FOOTER -->
<div id="menu">
- <ul class="level-one">
+ <ul class="level-one">
<li class="selected">
<a class="selected" tal:attributes="href app/url_path">Package Index</a>
-
+
<ul class="level-two">
-
+
<tal:for-nav repeat="link app/navlinks_html">
<span tal:replace="structure link"/>
</tal:for-nav>
@@ -173,13 +173,13 @@
</li>
-
+
<li class=""><a href="http://www.python.org/about" class="" title="About The Python Language">About</a>
</li><li class=""><a href="http://www.python.org/news" class="" title="">News</a>
</li><li class=""><a href="http://www.python.org/doc" class="" title="">Documentation</a>
</li><li class=""><a href="http://www.python.org/download" title="">Download</a>
-
+
</li><li class=""><a href="http://www.python.org/community" class="" title="">Community</a>
</li><li class=""><a href="http://www.python.org/psf" class="" title="Python Software Foundation">Foundation</a>
@@ -188,7 +188,7 @@
</li>
</ul>
</div>
-
+
</div>
<div id="content-body">
<div id="body-main">
@@ -197,10 +197,10 @@
<div id="breadcrumb">
<a tal:attributes="href app/url_path">Package Index</a>
<tal:block condition="exists:data/version">
- <span class="breadcrumb-separator">></span>
+ <span class="breadcrumb-separator">></span>
<a tal:content="data/title" tal:attributes="href python:app.packageURL(data['name'], data['version'])"></a>
</tal:block>
-
+
</div>
<div id="document-floating" class="floating-box">
@@ -222,22 +222,22 @@
</tal:block>
</li>
</ul>
-
+
</tal:if-not-user>
-
+
<tal:if-user condition="app/loggedin">
<h4>Welcome <span tal:replace="app/username"/></h4>
<li>
<a tal:attributes="href python:app.link_action('user_form')">Your details</a>
</li>
-
+
<tal:let define="packages python:app.store.user_packages(app.username)">
<tal:if-packages condition="packages">
<li>
Your packages:
</li>
- <ul>
+ <ul>
<li>
<tal:block repeat="pkg_info packages">
<a tal:attributes="href python: app.link_action('pkg_edit', name=pkg_info[0])"
@@ -252,16 +252,16 @@
<a tal:attributes="href python:app.link_action('logout')">Logout</a>
</li>
</tal:if-user>
-
+
</div>
<tal:block condition="data/project_url | nothing">
<div id="document-project-url" class="floating-box">
- <h4>Project-URL</h4>
+ <h4>Project Links</h4>
<ul>
<tal:block tal:repeat="project data/project_url">
- <li>
- <a tal:content="python:project[0]" tal:attributes="href python:project[1]"></a>
+ <li>
+ <a tal:content="python:project[0]" tal:attributes="href python:project[1]"></a>
</li>
</tal:block>
</ul>
@@ -275,18 +275,18 @@
<h1 tal:content="data/title"></h1>
<metal:slot define-slot="body">
-
+
This template has not replaced its body slot.
-
+
</metal:slot>
-
+
</div>
</div>
<div id="footer"><div id="credits">
<a href="http://www.python.org/about/website">Website maintained by the Python community</a><br />
- <a href="http://www.xs4all.com/" title="Web and email hosting provided by xs4all, Netherlands">hosting by xs4all</a> /
+ <a href="http://www.xs4all.com/" title="Web and email hosting provided by xs4all, Netherlands">hosting by xs4all</a> /
<a href="http://www.pollenation.net/" title="Design and content management system by Pollenation Internet, Yorkshire">design by pollenation</a>
</div>
Copyright © 1990-2010, <a href="http://www.python.org/psf">Python Software Foundation</a><br />
More information about the Pypi-checkins
mailing list