[CMF-checkins] CVS: Products/CMFDecor/skins/zpt_generic - breadcrumbs.py:1.1 actions_box.pt:1.6 content_byline.pt:1.5 discussion_reply_form.pt:1.5 discussion_reply_preview.pt:1.3 folder_add.pt:1.3 folder_contents.pt:1.7 folder_factories.pt:1.4 folder_filter_form.pt:1.3 folder_rename_form.pt:1.3 index_html.pt:1.4 join_form.pt:1.6 logged_in.pt:1.4 logged_out.pt:1.3 login_form.pt:1.3 mail_password_form.pt:1.3 mail_password_response.pt:1.3 main_template.pt:1.9 metadata_help.pt:1.3 news_box.pt:1.4 password_form.pt:1.3 personalize_form.pt:1.3 recent_news.pt:1.4 reconfig_form.pt:1.3 registered.pt:1.3 roster.pt:1.3 rssDisabled.pt:1.3 search.pt:1.7 search_form.pt:1.5 simple_metadata.pt:1.3 stxmethod_view.pt:1.2 talkback_tree.pt:1.3 viewThreadsAtBottom.pt:1.4 zpt_stylesheet.css:1.8
Andrew Sawyers
andrew@digicool.com
Tue, 28 Aug 2001 16:59:35 -0400
Update of /cvs-repository/Products/CMFDecor/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv8862/skins/zpt_generic
Modified Files:
actions_box.pt content_byline.pt discussion_reply_form.pt
discussion_reply_preview.pt folder_add.pt folder_contents.pt
folder_factories.pt folder_filter_form.pt
folder_rename_form.pt index_html.pt join_form.pt logged_in.pt
logged_out.pt login_form.pt mail_password_form.pt
mail_password_response.pt main_template.pt metadata_help.pt
news_box.pt password_form.pt personalize_form.pt
recent_news.pt reconfig_form.pt registered.pt roster.pt
rssDisabled.pt search.pt search_form.pt simple_metadata.pt
stxmethod_view.pt talkback_tree.pt viewThreadsAtBottom.pt
zpt_stylesheet.css
Added Files:
breadcrumbs.py
Log Message:
*LOTS of improvements (I hope)
=== Added File Products/CMFDecor/skins/zpt_generic/breadcrumbs.py ===
## Script (Python) "breadcrumbs.py $Revision: 1.1 $"
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=return breadcrumbs
##
from string import split, join, upper
from Products.PythonScripts.standard import url_quote, html_quote
portal_url = context.portal_url
path = portal_url.getRelativeUrl(context)
if not path:
return ''
PATTERN = (
'<a href="%(url)s">%(title)s</a>'
)
LASTPATTERN = (
'%(title)s >'
)
JOINER = (
'<font color="#666666"> > </font>'
)
url = portal_url()
steps = split(path,'/')
breadcrumbs = []
last = steps.pop() # Remove last element
last = context.Title()
# Add the home link:
breadcrumbs.append( PATTERN % { 'url' : url,
'title': 'Home', } )
for step in steps:
url = '%s/%s' % (url,url_quote(step))
breadcrumbs.append( PATTERN % { 'url' : url,
'title': html_quote(step), } )
if last:
breadcrumbs.append(LASTPATTERN % { 'title': html_quote(upper(last)) })
return join(breadcrumbs, JOINER)
=== Products/CMFDecor/skins/zpt_generic/actions_box.pt 1.5 => 1.6 ===
<tr class=""
tal:attributes="class AuthClass">
- <td tal:define="review_state python:here.portal_workflow.getInfoFor(here, 'review_state', '')">
+ <td tal:define="review_state python:here.portal_workflow.getInfoFor(here, 'review_state', '')">
<span tal:condition="review_state">Status: <span tal:replace="review_state">Private</span><br></span>
<span tal:repeat="action object_actions"><a href="" tal:attributes="href action/url" tal:content="action/name">Action</a><br></span>
</td>
@@ -48,3 +48,4 @@
</table>
</div>
</div>
+
=== Products/CMFDecor/skins/zpt_generic/content_byline.pt 1.4 => 1.5 ===
Last modified on <span tal:content="here/ModificationDate">Today</span>
</span>
- </div>
\ No newline at end of file
+ </div>
=== Products/CMFDecor/skins/zpt_generic/discussion_reply_form.pt 1.4 => 1.5 ===
</html>
+
=== Products/CMFDecor/skins/zpt_generic/discussion_reply_preview.pt 1.2 => 1.3 ===
</html>
+
=== Products/CMFDecor/skins/zpt_generic/folder_add.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/folder_contents.pt 1.6 => 1.7 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/folder_factories.pt 1.3 => 1.4 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/folder_filter_form.pt 1.2 => 1.3 ===
<input type="submit" name="open_filter_form" value="Set View Filter">
</span>
-</form>
\ No newline at end of file
+</form>
=== Products/CMFDecor/skins/zpt_generic/folder_rename_form.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/index_html.pt 1.3 => 1.4 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/join_form.pt 1.5 => 1.6 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/logged_in.pt 1.3 => 1.4 ===
</html>
+
=== Products/CMFDecor/skins/zpt_generic/logged_out.pt 1.2 => 1.3 ===
</div>
</body>
-</html>
\ No newline at end of file
+</html>
=== Products/CMFDecor/skins/zpt_generic/login_form.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/mail_password_form.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/mail_password_response.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/main_template.pt 1.8 => 1.9 ===
<head>
- <title tal:define="ob_title here/Title; global portal_title container/title" tal:content="string:${portal_title}: ${ob_title}">The title</title>
+ <title tal:define="ob_title here/Title; portal_title here/title" tal:content="string:${portal_title}: ${ob_title}">The title</title>
<link rel="stylesheet" href="zpt_stylesheet.css" type="text/css"
tal:attributes="href here/zpt_stylesheet/absolute_url">
@@ -23,7 +23,7 @@
</td>
<td class="PortalTitle" width="43%" align="left" valign="middle" height="32">
- <span tal:content="portal_title">Site
+ <span tal:define="portal_title here/title" tal:content="string:${portal_title}">Site
Title</span> </td>
<td class="NavBar" align="right" valign="middle" width="50%" wrap="no" height="32" NOWRAP>
@@ -54,7 +54,7 @@
UserName
</td>
<td class="MemberActionsList" align="right">
- <span tal:repeat="action user_actions"><a href="" tal:attributes="href action/url" tal:content="action/name">Action List</a> | </span>
+ <span tal:repeat="action user_actions"><a href="" tal:attributes="href action/url" tal:content="action/name">Login</a> | </span>
</td>
</tr>
</table>
@@ -82,7 +82,7 @@
<td class="Desktop" colspan="" width="84%" valign="top" tal:attributes="colspan python: not isAnon and '2' or '3'">
<table cellpadding="5">
<tr>
- <td class="Desktop" width="100%" valign="top">
+ <td width="100%">
<p tal:condition="request/portal_status_message|nothing" tal:content="request/portal_status_message" class="DesktopStatusBar"></p>
<div metal:define-slot="main"/>
</td>
@@ -93,3 +93,4 @@
</table>
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/metadata_help.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/news_box.pt 1.3 => 1.4 ===
</tbody>
</table>
+
=== Products/CMFDecor/skins/zpt_generic/password_form.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/personalize_form.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/recent_news.pt 1.3 => 1.4 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/reconfig_form.pt 1.2 => 1.3 ===
</div>
</body>
-</html>
\ No newline at end of file
+</html>
=== Products/CMFDecor/skins/zpt_generic/registered.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/roster.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/rssDisabled.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/search.pt 1.6 => 1.7 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/search_form.pt 1.4 => 1.5 ===
+
=== Products/CMFDecor/skins/zpt_generic/simple_metadata.pt 1.2 => 1.3 ===
</html>
+
=== Products/CMFDecor/skins/zpt_generic/stxmethod_view.pt 1.1 => 1.2 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/talkback_tree.pt 1.2 => 1.3 ===
</body>
</html>
+
=== Products/CMFDecor/skins/zpt_generic/viewThreadsAtBottom.pt 1.3 => 1.4 ===
</div>
</div>
+
=== Products/CMFDecor/skins/zpt_generic/zpt_stylesheet.css 1.7 => 1.8 === (814/914 lines abridged)
- background-color: #FFFFFF;
- color: #000000;
- font-family: Verdana, Helvetica, sans-serif;
- font-size: 80%;
- margin-top: 0;
- margin-left:0;
- margin-right:0;
- margin-bottom:0;
-}
-
-a:link {
- text-decoration: none;
- color: #FFFFFF;
-}
-
-a:visited {
- text-decoration: none;
- color: #FFFFFF;
-}
-
-a:active {
- color: #FFFFFF;
- text-decoration: none;
-}
-
-a:hover {
- text-decoration: none;
- color: #000066;
-}
-
-p {
- font-size: 80%;
- background-color: #FFFFFF;
- color: #000000;
-}
-
-td {
- font-size: 100%;
- font-family: Verdana, Helvetica, sans-serif;
- color: #000000;
-}
-
-h1 {
- font-size: 120%;
- font-weight: bold;
- color: #000000;
-}
-
-h2 {
- font-size: 115%;
[-=- -=- -=- 814 lines omitted -=- -=- -=-]
+ background-color: #336699;
+}
+
+td.NewsListing {
+ background-color: #336699;
+ color: #FFFFFF;
+ font-size: 80%;
+ font-weight: bold;
+}
+
+td.NewsByLine {
+ background-color: #CCCCCC;
+ color: #336699;
+ font-size: 80%;
+ text-align: left;
+ vertical-align: top;
+}
+
+.NewsLeadin {
+ background-color: #FFFFFF;
+ color: #336699;
+}
+
+.NewsByLine {
+ background-color: #336699;
+ color: #FFFFFF;
+}
+
+.NewsDateline {
+ background-color: #336699;
+ color: #FFFFFF;
+}
+
+td.NewsTitle {
+ background-color: #336699;
+ color: #FFFFFF;
+ text-align: center;
+ font-size: 90%;
+ font-weight: bold;
+}
+
+tr.NewsItemRow td {
+ background-color: #AAAAAA;
+ font-size: 70%;
+}
+
+p.NewsHeadline {
+ background-color: #336699;
+}
+