|
/
Zope
/
gocept svn checkins
/
Archive
/
2006
/
2006-06
/
SVN: r4145 - in ZopeDeSkin/trunk: . skins/zds_templates
[
SVN: r4127 - in ZopeDeSkin/trunk: . Extensions ... ]
[
SVN: r4161 - in SVGrafZ/trunk: . doc / Thomas ... ]
SVN: r4145 - in ZopeDeSkin/trunk: . skins/zds_templates
Roman Joost <rj(at)gocept.com> |
2006-06-09 10:10:57 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 10:10:53 2006
New Revision: 4145
Added:
ZopeDeSkin/trunk/skins/zds_templates/viewThreadsAtBottom.pt
Modified:
ZopeDeSkin/trunk/config.py
Log:
- added new template from ZODB
Modified: ZopeDeSkin/trunk/config.py
==============================================================================
--- ZopeDeSkin/trunk/config.py (original)
+++ ZopeDeSkin/trunk/config.py Fri Jun 9 10:10:53 2006
(at)(at) -26,6 +26,7 (at)(at)
'zds_styles',
'zds_templates',
'zds_portlets',
+ 'zds_scripts',
'zds_images',]
Added: ZopeDeSkin/trunk/skins/zds_templates/viewThreadsAtBottom.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_templates/viewThreadsAtBottom.pt Fri Jun 9
10:10:53 2006
(at)(at) -0,0 +1,18 (at)(at)
+<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en"
+ i18n:domain="plone">
+
+<body>
+
+<div metal:define-macro="discussionView"
+ class="discussion"
+ tal:define="userHasReplyPermission python:checkPermission('Reply to
item', here);
+ portal_discussion portal/portal_discussion;
+ isDiscussionAllowed
python:portal_discussion.isDiscussionAllowedFor(here);
+ isDiscussionAllowed python: False;
+ ">
+ <tal:allowed condition="isViewTemplate">
+ </tal:allowed>
+</div>
+</body>
+</html>
+
|
SVN: r4146 - ZopeDeSkin/trunk/skins/zds_content
Roman Joost <rj(at)gocept.com> |
2006-06-09 10:14:35 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 10:14:34 2006
New Revision: 4146
Removed:
ZopeDeSkin/trunk/skins/zds_content/getHomeBanners.py
Log:
- removed obsolete python script
|
SVN: r4147 - ZopeDeSkin/trunk/skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-09 10:15:19 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 10:15:18 2006
New Revision: 4147
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
added css def to right float images by default
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Fri Jun 9 10:15:18 2006
(at)(at) -239,6 +239,7 (at)(at)
float: left;
}
+.tileImage,
.image-right {
float: right;
}
|
SVN: r4148 - ZopeDeSkin/trunk/skins/zds_templates
Roman Joost <rj(at)gocept.com> |
2006-06-09 10:19:42 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 10:19:39 2006
New Revision: 4148
Added:
ZopeDeSkin/trunk/skins/zds_templates/plone_groupprefs_panel.pt
Log:
- added pt from ZODB to FS
Added: ZopeDeSkin/trunk/skins/zds_templates/plone_groupprefs_panel.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_templates/plone_groupprefs_panel.pt Fri Jun 9
10:19:39 2006
(at)(at) -0,0 +1,41 (at)(at)
+<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
+ lang="en"
+ metal:use-macro="here/prefs_main_template/macros/master"
+ i18n:domain="plone">
+
+<metal:block fill-slot="top_slot"
+ tal:define="dummy python:request.set('disable_border',1)" />
+
+<body>
+
+ <div metal:fill-slot="prefs_configlet_main"
+ tal:define="mygroups here/check_group_member;
+ workspaces python:
here.restrictedTraverse('redaktion').objectIds()" >
+
+ <h1>Meine Gruppen</h1>
+
+ <div id="description" tal:condition="mygroups">
+ Sie sind Mitglied in folgenden Gruppen:
+ </div>
+ <ul tal:condition="mygroups">
+ <tal:block tal:repeat="group mygroups">
+ <li tal:condition="python: group in workspaces">
+ <a href="" tal:attributes="href string:/redaktion/${group}">
+ <span tal:replace="group" />
+ </a>
+ </li>
+ <li tal:condition="python: not group in workspaces">
+ <span tal:replace="group" />
+ </li>
+ </tal:block>
+ </ul>
+
+ <p tal:condition="python: not mygroups">
+ Bislang sind Sie in keiner Gruppe Mitglied.
+ </p>
+
+ </div>
+
+</body>
+</html>
+
|
SVN: r4149 - in ZopeDeSkin/trunk: . Extensions skins/zds_content skins/zds_images skins/zds_templates
Roman Joost <rj(at)gocept.com> |
2006-06-09 11:21:46 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 11:21:43 2006
New Revision: 4149
Added:
ZopeDeSkin/trunk/skins/zds_content/document_view.pt
ZopeDeSkin/trunk/skins/zds_images/print_icon.png (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/send_icon.png (contents, props changed)
Modified:
ZopeDeSkin/trunk/Extensions/Install.py
ZopeDeSkin/trunk/config.py
ZopeDeSkin/trunk/skins/zds_templates/footer.pt
Log:
- added new action_icons
Modified: ZopeDeSkin/trunk/Extensions/Install.py
==============================================================================
--- ZopeDeSkin/trunk/Extensions/Install.py (original)
+++ ZopeDeSkin/trunk/Extensions/Install.py Fri Jun 9 11:21:43 2006
(at)(at) -25,6 +25,7 (at)(at)
self.installCSS()
self.installSkinSelector()
self.installLayout()
+ self.installIcons()
def getResult(self):
return '\n'.join(self._log)
(at)(at) -108,6 +109,14 (at)(at)
view_methods=layouts,
default_view=layouts[0])
+ def installIcons(self):
+ pai = getToolByName(self.portal, 'portal_actionicons')
+ for action_id, icon_expr in config.action_icons.items():
+ pai.updateActionIcon(category=None,
+ action_id=action_id,
+ icon_expr=icon_expr
+ )
+
def install(self):
installer = Installer(self)
Modified: ZopeDeSkin/trunk/config.py
==============================================================================
--- ZopeDeSkin/trunk/config.py (original)
+++ ZopeDeSkin/trunk/config.py Fri Jun 9 11:21:43 2006
(at)(at) -29,6 +29,8 (at)(at)
'zds_scripts',
'zds_images',]
+action_icons = {'sendto':'send_icon.png',
+ 'print':'print_icon.png'}
zds_stylesheets = [
('zds_style.css', 'screen'),
Added: ZopeDeSkin/trunk/skins/zds_content/document_view.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_content/document_view.pt Fri Jun 9 11:21:43
2006
(at)(at) -0,0 +1,47 (at)(at)
+<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
+ lang="en"
+ metal:use-macro="here/main_template/macros/master"
+ i18n:domain="plone">
+<body>
+
+<metal:main fill-slot="main">
+ <tal:main-macro metal:define-macro="main"
+ tal:define="text python: here.CookedBody(stx_level=2)">
+
+ <h1 tal:content="object_title" class="documentFirstHeading">
+ Title or id
+ </h1>
+
+ <div metal:use-macro="here/document_byline/macros/byline">
+ Get the byline - contains details about author and modification
date.
+ </div>
+
+ <p class="documentDescription"
+ tal:content="here/Description"
+ tal:condition="here/Description">
+ Description
+ </p>
+
+ <p tal:condition="python: not text and is_editable"
+ i18n:translate="no_body_text"
+ class="discreet">
+ This item does not have any body text, click the edit tab to
change it.
+ </p>
+
+ <div class="stx"
+ tal:condition="text"
+ tal:attributes="class python:test(here.Format() in
('text/structured',
+ 'text/x-rst', ), 'stx',
'plain')">
+ <div tal:replace="structure text" />
+ </div>
+
+ <div
metal:use-macro="here/document_relateditems/macros/relatedItems">
+ show related items if they exist
+ </div>
+
+ </tal:main-macro>
+</metal:main>
+
+</body>
+</html>
+
Added: ZopeDeSkin/trunk/skins/zds_images/print_icon.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/send_icon.png
==============================================================================
Binary file. No diff available.
Modified: ZopeDeSkin/trunk/skins/zds_templates/footer.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_templates/footer.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_templates/footer.pt Fri Jun 9 11:21:43 2006
(at)(at) -3,6 +3,10 (at)(at)
<body>
<div id="portal-footer" metal:define-macro="portal_footer"
i18n:domain="plone">
+ <div
metal:use-macro="here/document_actions/macros/document_actions">
+ Document actions (print, sendto etc)
+ </div>
+
</div>
</body>
|
SVN: r4150 - ZopeDeSkin/trunk/Extensions
Roman Joost <rj(at)gocept.com> |
2006-06-09 11:36:19 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 11:36:18 2006
New Revision: 4150
Modified:
ZopeDeSkin/trunk/Extensions/Install.py
Log:
Fixed installIcons method
Modified: ZopeDeSkin/trunk/Extensions/Install.py
==============================================================================
--- ZopeDeSkin/trunk/Extensions/Install.py (original)
+++ ZopeDeSkin/trunk/Extensions/Install.py Fri Jun 9 11:36:18 2006
(at)(at) -112,7 +112,7 (at)(at)
def installIcons(self):
pai = getToolByName(self.portal, 'portal_actionicons')
for action_id, icon_expr in config.action_icons.items():
- pai.updateActionIcon(category=None,
+ pai.updateActionIcon(category='plone',
action_id=action_id,
icon_expr=icon_expr
)
|
SVN: r4151 - ZopeDeSkin/trunk/skins/zds_content
Roman Joost <rj(at)gocept.com> |
2006-06-09 11:37:08 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 11:37:05 2006
New Revision: 4151
Added:
ZopeDeSkin/trunk/skins/zds_content/document_actions.pt
Log:
customized document_actions
Added: ZopeDeSkin/trunk/skins/zds_content/document_actions.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_content/document_actions.pt Fri Jun 9 11:37:05
2006
(at)(at) -0,0 +1,43 (at)(at)
+<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en"
+ i18n:domain="plone">
+
+<body>
+<div metal:define-macro="document_actions"
+ class="documentActions"
+ tal:define="document_actions actions/document_actions|nothing;
+ getIconFor nocall:putils/getIconFor">
+ <tal:docactions tal:condition="document_actions">
+
+ <h5 class="hiddenStructure"
i18n:translate="heading_document_actions">Document Actions</h5>
+
+ <ul>
+ <tal:actions repeat="daction document_actions">
+ <li>
+ <a href=""
+ tal:attributes="href daction/url"
+ tal:define="title daction/name;
+ icon python:getIconFor('plone', daction['id'],
None)"
+ tal:condition="icon">
+
+ <img i18n:attributes="title" src="" alt="" title=""
+ tal:attributes="src string:$portal_url/$icon;
+ title title;
+ alt title;" />
+
+ <span tal:replace="title">
+ </a>
+ </li>
+ </tal:actions>
+
+ </ul>
+ </tal:docactions>
+
+ <tal:lang tal:condition="exists: here/global_languageselector">
+ <metal:lang
use-macro="here/global_languageselector/macros/language">
+ Language selector
+ </metal:lang>
+ </tal:lang>
+
+</div>
+</body>
+</html>
|
SVN: r4152 - in ZopeDeSkin/trunk/skins: zds_content zds_styles zds_templates
Roman Joost <rj(at)gocept.com> |
2006-06-09 12:50:57 |
[ FULL ]
|
Author: roman
Date: Fri Jun 9 12:50:51 2006
New Revision: 4152
Modified:
ZopeDeSkin/trunk/skins/zds_content/document_actions.pt
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
ZopeDeSkin/trunk/skins/zds_templates/colophon.pt
ZopeDeSkin/trunk/skins/zds_templates/footer.pt
Log:
structural and visual changes for footer, colophon
Modified: ZopeDeSkin/trunk/skins/zds_content/document_actions.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/document_actions.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/document_actions.pt Fri Jun 9 12:50:51
2006
(at)(at) -24,7 +24,7 (at)(at)
title title;
alt title;" />
- <span tal:replace="title">
+ <span tal:replace="title" />
</a>
</li>
</tal:actions>
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Fri Jun 9 12:50:51 2006
(at)(at) -1,5 +1,6 (at)(at)
/* stylesheet fuer zope.de */
+#content .documentActions,
#portal-personaltools,
.hiddenStructure {
display: none;
(at)(at) -117,7 +118,6 (at)(at)
}
/* global navigation */
-
div#portal-skinswitcher {
height: 4px;
background-color: #C7CAD3;
(at)(at) -144,10 +144,13 (at)(at)
text-decoration: none;
font-family: Verdana, Helvetica, Sans-serif;
font-size: 11px;
+ padding: 0.3em;
}
+ul#portal-globalnav li.selected a,
ul#portal-globalnav li a:hover {
- color: #99A7C2;
+ color: #325688;
+ background-color: #c4cada;
}
(at)(at) -218,6 +221,18 (at)(at)
padding: 0;
}
+
+#content a {
+ color: #786054;
+}
+
+#content,
+h1, h2, h3, h4, h5, h6,
+h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
+ color: #545760 !important;
+ border-bottom: 0;
+}
+
#content {
padding: 0.2em 1em 0 1em;
margin: 0;
(at)(at) -230,15 +245,6 (at)(at)
background: White;
}
-.documentActions ul {
- float: right;
- list-style-type: none;
- list-style-image: none;
-}
-.documentActions ul li {
- float: left;
-}
-
.tileImage,
.image-right {
float: right;
(at)(at) -271,6 +277,8 (at)(at)
padding: 0.5em;
background-color: #e4e8f4;
}
+
+dd.portletItem a.navTreeCurrentItem,
dd.portletItem .navTreeItem a:hover {
background-color: white;
border: 0;
(at)(at) -279,12 +287,41 (at)(at)
/* footer */
#portal-footer {
background-color: #c5d0e2;
- border-top: 0.2em solid #dee7ec;
- border-bottom: 0.2em solid #dee7ec;
+ border-top: 4px solid white;
+ border-bottom: 4px solid white;
float: none;
line-height: 1.2em;
padding: 0.5em 0em 1em 0em;
text-align: center;
}
+/* colophon */
+#portal-colophon {
+ border-top: 4px solid #dee7ec;
+ text-align: center;
+}
+
+p.copyright {
+ display: block;
+ color: #325688;
+ margin: 0.5em 20em;
+}
+
+.documentActions ul {
+ list-style-type: none;
+ list-style-image: none;
+ margin: 0;
+}
+.documentActions ul li {
+ text-align: center;
+ display: inline;
+ margin-left: 1em;
+}
+
+.documentActions li a {
+ text-decoration: none;
+}
+.documentActions li img {
+ margin: 0.2em;
+}
Modified: ZopeDeSkin/trunk/skins/zds_templates/colophon.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_templates/colophon.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_templates/colophon.pt Fri Jun 9 12:50:51 2006
(at)(at) -7,6 +7,19 (at)(at)
<div id="portal-colophon" metal:define-macro="colophon"
i18n:domain="plone">
+ <div
metal:use-macro="here/document_actions/macros/document_actions">
+ Document actions (print, sendto etc)
+ </div>
+
+ <p class="copyright">
+ Diese Seiten werden mit Hilfe von Plone gepflegt.
+ </p>
+
+ <p class="copyright">
+ Plone Open Source Content Managment System Copyright © 2000-2006
Plone Foundation.
+ Plone und das Plone-Logo sind eingetragene Warenzeichen der Plone
Foundation. Lizensiert unter GPL-Lizenz.
+ </p>
+
</div>
</body>
Modified: ZopeDeSkin/trunk/skins/zds_templates/footer.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_templates/footer.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_templates/footer.pt Fri Jun 9 12:50:51 2006
(at)(at) -3,10 +3,6 (at)(at)
<body>
<div id="portal-footer" metal:define-macro="portal_footer"
i18n:domain="plone">
- <div
metal:use-macro="here/document_actions/macros/document_actions">
- Document actions (print, sendto etc)
- </div>
-
</div>
</body>
|
SVN: r4153 - ZopeDeSkin/trunk/skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-12 06:41:51 |
[ FULL ]
|
Author: roman
Date: Mon Jun 12 06:42:05 2006
New Revision: 4153
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
- added differences made by Kai Mertens
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Mon Jun 12 06:42:05 2006
(at)(at) -23,11 +23,12 (at)(at)
#portal-breadcrumbs,
#portal-columns {
margin: 0 auto;
- width: 980px !important;
+ width: 980px !important;
}
+
#portal-header {
- background-color: white;
+ background-color: #FFF;
}
.visual-siteactions-wrapper {
(at)(at) -38,28 +39,31 (at)(at)
}
.visual-breadcrumbs-wrapper {
background-color: white;
-
-}
+ padding: 0.5em;
+ color: #2B5796;
+ }
+
+
/* global siteactions (contact, accessibility, sitemap) */
ul#portal-siteactions {
background-color: #99A7C2;
list-style-type: none;
list-style-image: none;
color: #F5FCFF;
- height: 3ex;
- padding: 0px 10px 0px 0px;
+ padding: 0.5em 1em 0.5em 0;
}
ul#portal-siteactions li {
background-color: #99A7C2;
float: right;
- height: 3ex;
- line-height: 3ex;
- padding-left: 1em;
+ height: 18px;
+ line-height: 18px;
+ padding-left: 15px;
+ border: 1px solid red;
}
ul#portal-siteactions li a {
- color: #F5FCFF;
+ color: #F5FCFF;
text-decoration: none;
font-family: Verdana, Helvetica, Sans-serif;
font-size: 11px;
(at)(at) -119,7 +123,7 (at)(at)
/* global navigation */
div#portal-skinswitcher {
- height: 4px;
+ height: 3px;
background-color: #C7CAD3;
}
(at)(at) -128,7 +132,7 (at)(at)
list-style-image: none;
color: #F5FCFF;
height: 3ex;
- padding: 0px 10px 0px 0px;
+ padding: 2px 10px 2px 0px;
}
ul#portal-globalnav li {
(at)(at) -157,7 +161,7 (at)(at)
/* searchbox */
div#portal-searchbox {
- height: 5ex;
+ height: 35px;
background-color: #c4cada;
}
(at)(at) -218,7 +222,7 (at)(at)
/* #portal-columns */
#portal-column-two .visualPadding,
#portal-column-one .visualPadding {
- padding: 0;
+ padding: 0px;
}
(at)(at) -234,7 +238,7 (at)(at)
}
#content {
- padding: 0.2em 1em 0 1em;
+ padding: 0px 2px 0px 2px;
margin: 0;
height: 100%;
}
(at)(at) -242,7 +246,7 (at)(at)
.documentContent {
font-size: 110%;
padding: 1em 1em 2ex 1em !important;
- background: White;
+ background: #FFF;
}
.tileImage,
(at)(at) -299,12 +303,15 (at)(at)
#portal-colophon {
border-top: 4px solid #dee7ec;
text-align: center;
+ padding-top: 10px;
}
p.copyright {
display: block;
color: #325688;
- margin: 0.5em 20em;
+ padding: 5px 50px 0px 50px;
+ line-height: 15px;
+ margin: 0px;
}
.documentActions ul {
|
SVN: r4154 - in ZopeDeSkin/trunk: . skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-12 07:21:22 |
[ FULL ]
|
Author: roman
Date: Mon Jun 12 07:21:37 2006
New Revision: 4154
Modified:
ZopeDeSkin/trunk/config.py
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
CSS and config fixes
Modified: ZopeDeSkin/trunk/config.py
==============================================================================
--- ZopeDeSkin/trunk/config.py (original)
+++ ZopeDeSkin/trunk/config.py Mon Jun 12 07:21:37 2006
(at)(at) -42,6 +42,7 (at)(at)
('base.css', ''),
('columns.css', ''),
('presentation.css', ''),
+ ('print.css', ''),
)
stylesheet_dont_change_condition = (
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Mon Jun 12 07:21:37 2006
(at)(at) -6,6 +6,10 (at)(at)
display: none;
}
+p {
+ margin-bottom: 0.5em;
+}
+
body,
#portal-colophon {
background-color: white;
(at)(at) -50,16 +54,15 (at)(at)
list-style-type: none;
list-style-image: none;
color: #F5FCFF;
- padding: 0.5em 1em 0.5em 0;
+ padding: 0.2em 1em 0.2em 0;
+ text-align: right;
}
ul#portal-siteactions li {
+ display: inline;
background-color: #99A7C2;
- float: right;
- height: 18px;
line-height: 18px;
padding-left: 15px;
- border: 1px solid red;
}
ul#portal-siteactions li a {
(at)(at) -235,6 +238,7 (at)(at)
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: #545760 !important;
border-bottom: 0;
+ margin-top: 1em;
}
#content {
(at)(at) -249,15 +253,32 (at)(at)
background: #FFF;
}
+.eventDetails,
.tileImage,
+.newsImageContainer,
.image-right {
float: right;
}
+.alexa,
.image-left {
float: left;
}
+.tileFooter {
+ line-height: 1em;
+ margin-bottom: 1.5em;
+}
+
+.eventDetails {
+ width: 20em;
+ clear: right;
+}
+
+.alexa {
+ margin: 0.3em;
+}
+
/* portlets */
.portletItem {
padding: 0;
|
SVN: r4155 - ZopeDeSkin/trunk/skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-12 07:25:45 |
[ FULL ]
|
Author: roman
Date: Mon Jun 12 07:26:00 2006
New Revision: 4155
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
small CSS fixes
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Mon Jun 12 07:26:00 2006
(at)(at) -234,8 +234,18 (at)(at)
}
#content,
-h1, h2, h3, h4, h5, h6,
-h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
+#content h1,
+#content h2,
+#content h3,
+#content h4,
+#content h5,
+#content h6,
+#content h1 a,
+#content h2 a,
+#content h3 a,
+#content h4 a,
+#content h5 a,
+#content h6 a {
color: #545760 !important;
border-bottom: 0;
margin-top: 1em;
|
SVN: r4156 - ZopeDeSkin/trunk/skins/zds_images
Roman Joost <rj(at)gocept.com> |
2006-06-12 07:31:18 |
[ FULL ]
|
Author: roman
Date: Mon Jun 12 07:31:33 2006
New Revision: 4156
Added:
ZopeDeSkin/trunk/skins/zds_images/news_generic.png (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/news_linux.png (contents, props changed)
Log:
added news images for testing purposes
Added: ZopeDeSkin/trunk/skins/zds_images/news_generic.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/news_linux.png
==============================================================================
Binary file. No diff available.
|
SVN: r4157 - in ZopeDeSkin/trunk/skins: zds_portlets zds_scripts zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-12 14:25:27 |
[ FULL ]
|
Author: roman
Date: Mon Jun 12 14:25:46 2006
New Revision: 4157
Added:
ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
Modified:
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
added script for selecting images related to the set topic as well as small css
fixes
Modified: ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt Mon Jun 12 14:25:46
2006
(at)(at) -26,11 +26,10 (at)(at)
<tal:newsitems tal:repeat="obj results">
<dd tal:define="oddrow repeat/obj/odd"
tal:attributes="class python:test(oddrow, 'portletItem even',
'portletItem odd')">
-
+ <img tal:replace="structure python:here.getNewsImage(obj)"
/>
<a href=""
tal:attributes="href obj/getURL;
title obj/Description">
- <tal:block replace="structure here/newsitem_icon.gif"/>
<span tal:replace="obj/pretty_title_or_id">
Plone 2.1 announced!
</span>
Added: ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py Mon Jun 12 14:25:46 2006
(at)(at) -0,0 +1,21 (at)(at)
+## Script (Python) "getNewsImage"
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
+##parameters=brain
+##title=Returns an image object dependend to the documents keywords
+##
+keywords = brain.Subject
+kw = keywords[0].lower()
+generic_image = getattr(context, 'news_generic.png')
+
+# strip all whitespaces from a keyword
+def normalize(str):
+ l = str.split()
+ return ''.join(l)
+
+# if we're not able to acquire an image by name, we return a generic newsimage
+image = "news_%s" % normalize(kw)
+return getattr(context, image, generic_image)
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Mon Jun 12 14:25:46 2006
(at)(at) -219,9 +219,24 (at)(at)
.frontpage .portletItem a {
margin: 0 15em;
+ padding: 1em 0;
background-color: transparent;
}
+.frontpage #portlet-news .portletItem img {
+ clear: left;
+ margin-left: 15em;
+}
+
+/* sitemap */
+#portal-sitemap .navTreeLevel2 {
+ border-left: 5px solid #e9ecf5;
+ margin-left: 0.5em;
+}
+#portal-sitemap li {
+ padding-left: 0.5em;
+}
+
/* #portal-columns */
#portal-column-two .visualPadding,
#portal-column-one .visualPadding {
(at)(at) -248,7 +263,7 (at)(at)
#content h6 a {
color: #545760 !important;
border-bottom: 0;
- margin-top: 1em;
+ margin-top: 2em;
}
#content {
(at)(at) -270,7 +285,6 (at)(at)
float: right;
}
-.alexa,
.image-left {
float: left;
}
(at)(at) -285,9 +299,15 (at)(at)
clear: right;
}
+.newsImageContainer,
.alexa {
+ width: 20em;
margin: 0.3em;
}
+.newsImageContainer p.discreet {
+ width: 20em;
+ font-size: 80%;
+}
/* portlets */
.portletItem {
(at)(at) -318,6 +338,23 (at)(at)
background-color: white;
border: 0;
}
+#portlet-news .portletItem {
+ background-color: #e4e8f4;
+}
+#portlet-news .portletItem a {
+ background-color: transparent;
+ font-weight: bold;
+}
+#portlet-news .portletItem span {
+ font-weight: normal;
+ font-size: 80%;
+}
+
+#portlet-news .portletItem img {
+ float: left;
+ margin-top: 0.5em;
+ margin-right: 0.3em;
+}
/* footer */
#portal-footer {
|
SVN: r4158 - ZopeDeSkin/trunk/skins/zds_scripts
Roman Joost <rj(at)gocept.com> |
2006-06-12 14:30:38 |
[ FULL ]
|
Author: roman
Date: Mon Jun 12 14:30:58 2006
New Revision: 4158
Modified:
ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
Log:
fixed problem if article hasn't any keywords set
Modified: ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py (original)
+++ ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py Mon Jun 12 14:30:58 2006
(at)(at) -7,15 +7,18 (at)(at)
##parameters=brain
##title=Returns an image object dependend to the documents keywords
##
-keywords = brain.Subject
-kw = keywords[0].lower()
-generic_image = getattr(context, 'news_generic.png')
-
-# strip all whitespaces from a keyword
def normalize(str):
l = str.split()
return ''.join(l)
+keywords = brain.Subject
+if not keywords:
+ kw = 'generic.png'
+else:
+ kw = keywords[0].lower()
+
+generic_image = getattr(context, 'news_generic.png')
+
# if we're not able to acquire an image by name, we return a generic newsimage
image = "news_%s" % normalize(kw)
return getattr(context, image, generic_image)
|
SVN: r4159 - ZopeDeSkin/trunk/skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-13 09:02:53 |
[ FULL ]
|
Author: roman
Date: Tue Jun 13 06:53:54 2006
New Revision: 4159
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
added last CSS fixes
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Tue Jun 13 06:53:54 2006
(at)(at) -1,5 +1,6 (at)(at)
/* stylesheet fuer zope.de */
+#content .link-parent,
#content .documentActions,
#portal-personaltools,
.hiddenStructure {
(at)(at) -272,6 +273,17 (at)(at)
height: 100%;
}
+#content .documentFirstHeading,
+#content .documentDescription {
+ padding-top: 1em;
+ margin: 0;
+ background-color: #e9ecf5;
+ color: #32558b !important;
+}
+#content .documentFirstHeading {
+ font-weight: bold;
+}
+
.documentContent {
font-size: 110%;
padding: 1em 1em 2ex 1em !important;
(at)(at) -299,9 +311,9 (at)(at)
clear: right;
}
-.newsImageContainer,
+.newsImageContainer img,
.alexa {
- width: 20em;
+ float: left;
margin: 0.3em;
}
.newsImageContainer p.discreet {
|
SVN: r4160 - in ZopeDeSkin/trunk/skins: zds_content zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-13 09:19:32 |
[ FULL ]
|
Author: roman
Date: Tue Jun 13 08:19:02 2006
New Revision: 4160
Added:
ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
a few CSS fixes
Added: ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt Tue Jun 13 08:19:02
2006
(at)(at) -0,0 +1,48 (at)(at)
+<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="de"
+ lang="de"
+ metal:use-macro="here/main_template/macros/master">
+ <body>
+
+ <div metal:fill-slot="main"
+ tal:define="region request/region|nothing;
+ region python:test(region=='none',None,region);
+ regions python:test(region and [region] or
context.anbieter_plzbereiche)">
+
+ <link rel="Stylesheet" type="text/css" tal:attributes="href
string:$portal_url/anbieterStyles.css" />
+ <h1 class="documentFirstHeading">Zope Dienstleister im
deutschsprachigen Raum</h1>
+ <div class="documentDescription"
+ tal:content="here/Description"></div>
+ <div class="anbieterVisualWrapper">
+ <form name="region-form" tal:attributes="action
string:${here/absolute_url}/anbieter_alle">
+ <label for="region-filter">Region:
+ <select id="region-filter" name="region"
onchange="document.forms.region-form.submit()">
+ <option value="none">Alle Regionen</option>
+ <option tal:repeat="item context/anbieter_plzbereiche"
+ tal:attributes="value item; selected python:region == item"
+ tal:content="structure item"/>
+ </select>
+ </label>
+ <noscript><input type="submit"
value="Filtern"/></noscript>
+ </form>
+
+ <p>Sortierung erfolgt nach Regionen und anschließend nach
Firmennamen. <a tal:attributes="href
string:/redaktion/dzug/anbieterliste-information">Weitere
Informationen</a>.</p>
+
+ <div class="anbieter-plz-bereich"
+ tal:condition="regions"
+ tal:repeat="item regions">
+ <tal:def tal:define="plz_anbieter python:
context.anbieter_for_plzbereich(item)">
+ <tal:loop condition="plz_anbieter" repeat="anbieter
plz_anbieter">
+ <div
metal:use-macro="context/anbieter_macros/macros/anbieter"/>
+ </tal:loop>
+ <p tal:condition="python: region and not plz_anbieter">
+ Für diesen PLZ Bereich sind zurzeit keine Dienstleister
eingetragen.
+ </p>
+ </tal:def>
+ </div>
+ <hr/>
+ <b>Ansprechpartner:</b> Andreas Jung (ajung at dzug.org)
+ </div>
+ </div>
+ </body>
+</html>
+
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Tue Jun 13 08:19:02 2006
(at)(at) -2,6 +2,7 (at)(at)
#content .link-parent,
#content .documentActions,
+#content .documentByLine,
#portal-personaltools,
.hiddenStructure {
display: none;
(at)(at) -275,21 +276,41 (at)(at)
#content .documentFirstHeading,
#content .documentDescription {
- padding-top: 1em;
+ padding: 1em 1em 2ex 1em;
margin: 0;
- background-color: #e9ecf5;
+ background-color: #e4e8f4;
color: #32558b !important;
}
#content .documentFirstHeading {
font-weight: bold;
}
+#content p,
+#content .section,
+#content ul,
+#content .anbieter-plz-bereich,
+#content .anbieterVisualWrapper,
+.overviewWithSubsections {
+ padding: 0 1em 2ex 1em;
+}
+
+#content h1,
+#content h2,
+#content h3,
+#content h4,
+#content h5,
+#content h6 {
+ padding: 0;
+ margin-left: 0.8em;
+}
+
.documentContent {
font-size: 110%;
- padding: 1em 1em 2ex 1em !important;
+ padding: 0;
background: #FFF;
}
+
.eventDetails,
.tileImage,
.newsImageContainer,
|
SVN: r4163 - in ZopeDeSkin/trunk/skins: zds_content zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-14 07:57:50 |
[ FULL ]
|
Author: roman
Date: Wed Jun 14 07:58:26 2006
New Revision: 4163
Added:
ZopeDeSkin/trunk/skins/zds_content/link_view.pt
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
added customized link_view and CSS fixes
Added: ZopeDeSkin/trunk/skins/zds_content/link_view.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_content/link_view.pt Wed Jun 14 07:58:26 2006
(at)(at) -0,0 +1,52 (at)(at)
+<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
+ lang="en"
+ metal:use-macro="here/main_template/macros/master"
+ i18n:domain="plone">
+
+<body>
+
+<div metal:fill-slot="main" class="linkView">
+ <tal:main-macro metal:define-macro="main">
+
+ <div
metal:use-macro="here/document_actions/macros/document_actions">
+ Document actions (print, sendto etc)
+ </div>
+
+ <h1 tal:content="object_title" class="documentFirstHeading">
+ Title or id
+ </h1>
+
+ <div class="newsImageContainer">
+ <a href="#" tal:attributes="href here/remote_url">
+ <img tal:replace="structure python:here.tag(size='large')"
src="" alt="" />
+ </a>
+ </div>
+
+
+ <p class="documentDescription"
+ tal:content="here/Description"
+ tal:condition="here/Description">
+ Description
+ </p>
+
+ <p>
+ <span i18n:translate="link_address">The link address
is:</span>
+ <a href="#" tal:attributes="href here/remote_url"
+ tal:content="here/remote_url">remote url</a>
+ </p>
+
+ <div
metal:use-macro="here/document_relateditems/macros/relatedItems">
+ show related items if they exist
+ </div>
+
+ <div metal:use-macro="here/document_byline/macros/byline">
+ Get the byline - contains details about author and modification
date.
+ </div>
+ <div class="visualClear"></div>
+
+ </tal:main-macro>
+</div>
+
+</body>
+</html>
+
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Wed Jun 14 07:58:26 2006
(at)(at) -2,7 +2,6 (at)(at)
#content .link-parent,
#content .documentActions,
-#content .documentByLine,
#portal-personaltools,
.hiddenStructure {
display: none;
(at)(at) -15,6 +14,7 (at)(at)
body,
#portal-colophon {
background-color: white;
+ font-size: 80%;
}
#visual-portal-wrapper {
(at)(at) -71,7 +71,6 (at)(at)
color: #F5FCFF;
text-decoration: none;
font-family: Verdana, Helvetica, Sans-serif;
- font-size: 11px;
}
ul#portal-siteactions li a:hover {
(at)(at) -136,24 +135,22 (at)(at)
list-style-type: none;
list-style-image: none;
color: #F5FCFF;
- height: 3ex;
- padding: 2px 10px 2px 0px;
+ text-align: left;
+ padding: 0.1em 0 0.1em 0;
}
ul#portal-globalnav li {
background-color: #2B5796;
- float: left;
line-height: 3ex;
- height: 3ex;
padding-left: 1em;
+ display: inline;
}
ul#portal-globalnav li a {
color: #F5FCFF;
text-decoration: none;
font-family: Verdana, Helvetica, Sans-serif;
- font-size: 11px;
- padding: 0.3em;
+ padding: 0.4em;
}
ul#portal-globalnav li.selected a,
(at)(at) -182,7 +179,6 (at)(at)
line-height: 3ex;
padding-left: 1em;
font-family: Verdana, Helvetica, Sans-serif;
- font-size: 11px;
color: #556074;
}
(at)(at) -204,7 +200,7 (at)(at)
div.homepage-banner {
display: inline;
- margin: 0.2em;
+ margin: 2px;
}
/* frontpage */
(at)(at) -220,7 +216,7 (at)(at)
}
.frontpage .portletItem a {
- margin: 0 15em;
+ margin: 0 20em;
padding: 1em 0;
background-color: transparent;
}
(at)(at) -229,6 +225,14 (at)(at)
clear: left;
margin-left: 15em;
}
+.frontpage #portlet-news .portletItemDetails {
+ color: #325688;
+}
+
+.frontpage #portlet-news {
+ width: 982px;
+ margin: 0 auto;
+}
/* sitemap */
#portal-sitemap .navTreeLevel2 {
(at)(at) -251,7 +255,6 (at)(at)
}
#content,
-#content h1,
#content h2,
#content h3,
#content h4,
(at)(at) -274,14 +277,22 (at)(at)
height: 100%;
}
+#content .documentByLine,
#content .documentFirstHeading,
#content .documentDescription {
- padding: 1em 1em 2ex 1em;
+ padding: 0 1em 2ex 1em;
margin: 0;
background-color: #e4e8f4;
color: #32558b !important;
}
+
+#content .documentByLine {
+ font-size: 80%;
+}
+
#content .documentFirstHeading {
+ padding: 0;
+ padding: 1ex 0.5em 0.5ex 0.5em;
font-weight: bold;
}
(at)(at) -290,8 +301,12 (at)(at)
#content ul,
#content .anbieter-plz-bereich,
#content .anbieterVisualWrapper,
+#content .faq_question,
+#content .faqfooter,
+#content .FAQFolder div,
+#content .FAQFolder ul,
.overviewWithSubsections {
- padding: 0 1em 2ex 1em;
+ padding: 1ex 1em;
}
#content h1,
(at)(at) -304,9 +319,14 (at)(at)
margin-left: 0.8em;
}
+#content h1 {
+ border: 0;
+}
+
.documentContent {
font-size: 110%;
padding: 0;
+ padding-bottom: 1ex;
background: #FFF;
}
(at)(at) -318,6 +338,7 (at)(at)
float: right;
}
+.linkView .alexa,
.image-left {
float: left;
}
(at)(at) -334,9 +355,9 (at)(at)
.newsImageContainer img,
.alexa {
- float: left;
margin: 0.3em;
}
+
.newsImageContainer p.discreet {
width: 20em;
font-size: 80%;
(at)(at) -380,7 +401,6 (at)(at)
}
#portlet-news .portletItem span {
font-weight: normal;
- font-size: 80%;
}
#portlet-news .portletItem img {
(at)(at) -433,3 +453,26 (at)(at)
.documentActions li img {
margin: 0.2em;
}
+
+/* events table */
+.eventDetails table {
+ background-color: white;
+ margin-left: 0.5em;
+ border-collapse: collapse;
+}
+
+.eventDetails table th {
+ text-align: right;
+ padding: 0.5em 1em 0.5em 0;
+}
+
+.eventDetails table th,
+.eventDetails table td {
+ border-bottom: 1px dotted #e9ecf5;
+}
+
+/* FAQ */
+#content .FAQEntry h2 {
+ margin-top: 0;
+ padding-top: 1em;
+}
|
SVN: r4164 - ZopeDeSkin/trunk/skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-14 08:02:15 |
[ FULL ]
|
Author: roman
Date: Wed Jun 14 08:02:54 2006
New Revision: 4164
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
added livesearch stylesx
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Wed Jun 14 08:02:54 2006
(at)(at) -476,3 +476,96 (at)(at)
margin-top: 0;
padding-top: 1em;
}
+
+/* livesearch styles */
+.LSResult {
+ position:relative;
+ display: block;
+ text-align:right;
+ padding-top: 5px;
+ margin: 0;
+ left: 3px;
+ z-index: 3;
+}
+
+.LSShadow {
+ position:relative;
+ text-align:right;
+}
+
+.livesearchContainer {
+ background-color: #fdfdfd;
+ margin-top: 0;
+ padding: 0 !important;
+ position: absolute;
+ right:0px;
+ /* Currently exposes a rendering bug in Mozilla */
+ top: -17px;
+ white-space: normal;
+ visibility: visible;
+ text-align:left;
+ background-color: transparent;
+ border: 1px solid black;
+ width:300px;
+ text-transform: none;
+}
+
+
+/* Workaround for Internet Explorer's broken z-index implementation */
+.LSIEFix {
+ background-color: #fdfdfd;
+ padding: 0.5em !important;
+ z-index: 20;
+}
+
+.LSBox {
+ clear: left;
+ float: left;
+ text-align: right;
+ padding-right: 1px;
+ display:block;
+}
+
+#LSNothingFound {
+ text-align: center;
+ padding: 2px;
+}
+
+.LSRes {
+ visibility: visible;
+ vertical-align: middle;
+ display:block;
+ list-style-image: none;
+ list-style-type: none;
+ text-align: left;
+ min-width: 16.5em;
+ text-transform: none;
+ margin-left: 0;
+ line-height: 1.1em;
+}
+
+#LSHighlight {
+ background-color: #ded2bd;
+ border: 1px solid #635942;
+ color: #635942;
+}
+
+.LSRow {
+ white-space: normal;
+ padding:0;
+ margin: 0;
+ list-style-image: none;
+ list-style-type: none;
+}
+
+.LSRow a {
+ text-decoration: none;
+ font-weight:bold;
+ white-space:nowrap
+}
+
+.LSDescr {
+ padding-left:2.1em;
+ margin-top:-0.1em;
+}
+
|
SVN: r4165 - ZopeDeSkin/trunk/skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-14 08:52:19 |
[ FULL ]
|
Author: roman
Date: Wed Jun 14 08:52:58 2006
New Revision: 4165
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
style fixes
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Wed Jun 14 08:52:58 2006
(at)(at) -349,7 +349,7 (at)(at)
}
.eventDetails {
- width: 20em;
+ width: 25em;
clear: right;
}
(at)(at) -373,6 +373,8 (at)(at)
background-color: white;
border: 0;
padding: 0.3em;
+ text-transform: none;
+ font-weight: bold;
}
.portletHeader a {
color: #365584;
|
SVN: r4166 - ZopeDeSkin/trunk/skins/zds_images
Roman Joost <rj(at)gocept.com> |
2006-06-15 05:45:19 |
[ FULL ]
|
Author: roman
Date: Thu Jun 15 05:46:06 2006
New Revision: 4166
Added:
ZopeDeSkin/trunk/skins/zds_images/business.jpg (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/dokumentation.jpg (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/maus.jpg (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/plone.gif (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/tutorial.jpg (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/zope2.jpg (contents, props changed)
Log:
added new icons for zope.de news
Added: ZopeDeSkin/trunk/skins/zds_images/business.jpg
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/dokumentation.jpg
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/maus.jpg
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/plone.gif
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/tutorial.jpg
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/zope2.jpg
==============================================================================
Binary file. No diff available.
|
SVN: r4168 - ZopeDeSkin/trunk/skins/zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-19 10:16:08 |
[ FULL ]
|
Author: roman
Date: Mon Jun 19 08:21:58 2006
New Revision: 4168
Modified:
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
minor CSS fixes
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Mon Jun 19 08:21:58 2006
(at)(at) -175,8 +175,7 (at)(at)
}
div#portal-breadcrumbs {
- height: 3ex;
- line-height: 3ex;
+ font-size: 80%;
padding-left: 1em;
font-family: Verdana, Helvetica, Sans-serif;
color: #556074;
|
SVN: r4169 - ZopeDeSkin/trunk/skins/zds_images
Roman Joost <rj(at)gocept.com> |
2006-06-19 10:20:17 |
[ FULL ]
|
Author: roman
Date: Mon Jun 19 08:26:06 2006
New Revision: 4169
Added:
ZopeDeSkin/trunk/skins/zds_images/business.png (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/dokumentation.png (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/maus.png (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/tutorial.png (contents, props changed)
ZopeDeSkin/trunk/skins/zds_images/zope2.png (contents, props changed)
Removed:
ZopeDeSkin/trunk/skins/zds_images/business.jpg
ZopeDeSkin/trunk/skins/zds_images/dokumentation.jpg
ZopeDeSkin/trunk/skins/zds_images/maus.jpg
ZopeDeSkin/trunk/skins/zds_images/tutorial.jpg
ZopeDeSkin/trunk/skins/zds_images/zope2.jpg
Log:
- changed imageformat
Added: ZopeDeSkin/trunk/skins/zds_images/business.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/dokumentation.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/maus.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/tutorial.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/zope2.png
==============================================================================
Binary file. No diff available.
|
SVN: r4170 - ZopeDeSkin/trunk/skins/zds_scripts
Roman Joost <rj(at)gocept.com> |
2006-06-19 10:23:00 |
[ FULL ]
|
Author: roman
Date: Mon Jun 19 08:28:50 2006
New Revision: 4170
Modified:
ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
Log:
lookup the image by filename id
Modified: ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py (original)
+++ ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py Mon Jun 19 08:28:50 2006
(at)(at) -20,5 +20,5 (at)(at)
generic_image = getattr(context, 'news_generic.png')
# if we're not able to acquire an image by name, we return a generic newsimage
-image = "news_%s" % normalize(kw)
+image = "news_%s.png" % normalize(kw)
return getattr(context, image, generic_image)
|
SVN: r4172 - in ZopeDeSkin/trunk/skins: zds_content zds_scripts zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-21 09:52:42 |
[ FULL ]
|
Author: roman
Date: Wed Jun 21 07:58:54 2006
New Revision: 4172
Modified:
ZopeDeSkin/trunk/skins/zds_content/link_view.pt
ZopeDeSkin/trunk/skins/zds_scripts/check_group_member.py
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
minor bugfixes and css fixes
Modified: ZopeDeSkin/trunk/skins/zds_content/link_view.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/link_view.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/link_view.pt Wed Jun 21 07:58:54 2006
(at)(at) -28,13 +28,6 (at)(at)
tal:condition="here/Description">
Description
</p>
-
- <p>
- <span i18n:translate="link_address">The link address
is:</span>
- <a href="#" tal:attributes="href here/remote_url"
- tal:content="here/remote_url">remote url</a>
- </p>
-
<div
metal:use-macro="here/document_relateditems/macros/relatedItems">
show related items if they exist
</div>
(at)(at) -42,6 +35,13 (at)(at)
<div metal:use-macro="here/document_byline/macros/byline">
Get the byline - contains details about author and modification
date.
</div>
+
+ <p>
+ <span i18n:translate="link_address">The link address
is:</span>
+ <a href="#" tal:attributes="href here/remote_url"
+ tal:content="here/remote_url">remote url</a>
+ </p>
+
<div class="visualClear"></div>
</tal:main-macro>
Modified: ZopeDeSkin/trunk/skins/zds_scripts/check_group_member.py
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_scripts/check_group_member.py (original)
+++ ZopeDeSkin/trunk/skins/zds_scripts/check_group_member.py Wed Jun 21
07:58:54 2006
(at)(at) -3,7 +3,6 (at)(at)
##bind context=context
##bind namespace=
##bind script=script
-##bind state=state
##bind subpath=traverse_subpath
##parameters=
##title=check my groups
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Wed Jun 21 07:58:54 2006
(at)(at) -267,7 +267,8 (at)(at)
#content h6 a {
color: #545760 !important;
border-bottom: 0;
- margin-top: 2em;
+ margin-top: 1em;
+ margin-bottom: 1em;
}
#content {
(at)(at) -322,6 +323,12 (at)(at)
border: 0;
}
+#content h2.sectionTitle {
+ font-size: 80%;
+ background-color: #e4e8f4;
+ margin: 0;
+ padding: 0.5em 2em;
+}
.documentContent {
font-size: 110%;
padding: 0;
(at)(at) -380,6 +387,9 (at)(at)
}
/* navigation tree */
+.navTreeLevel1 {
+ margin-left: 0;
+}
.portletItem a,
dd.portletItem .navTreeItem a {
border: 0;
(at)(at) -393,6 +403,10 (at)(at)
background-color: white;
border: 0;
}
+dd ul.navTreeLevel1 .navTreeItem a {
+ padding-left: 1.5em;
+}
+
#portlet-news .portletItem {
background-color: #e4e8f4;
}
|
SVN: r4173 - in ZopeDeSkin/trunk/skins: zds_images zds_scripts
Roman Joost <rj(at)gocept.com> |
2006-06-21 10:04:29 |
[ FULL ]
|
Author: roman
Date: Wed Jun 21 08:10:42 2006
New Revision: 4173
Added:
ZopeDeSkin/trunk/skins/zds_images/news_dzugev_small.png (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/news_generic_small.png (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/news_linux_small.png (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/news_plone_small.png (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/news_tagung_small.png (contents, props
changed)
ZopeDeSkin/trunk/skins/zds_images/news_zopeammontag_small.png (contents,
props changed)
Modified:
ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
Log:
added small news images
Added: ZopeDeSkin/trunk/skins/zds_images/news_dzugev_small.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/news_generic_small.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/news_linux_small.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/news_plone_small.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/news_tagung_small.png
==============================================================================
Binary file. No diff available.
Added: ZopeDeSkin/trunk/skins/zds_images/news_zopeammontag_small.png
==============================================================================
Binary file. No diff available.
Modified: ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py (original)
+++ ZopeDeSkin/trunk/skins/zds_scripts/getNewsImage.py Wed Jun 21 08:10:42 2006
(at)(at) -4,7 +4,7 (at)(at)
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
-##parameters=brain
+##parameters=brain, size=''
##title=Returns an image object dependend to the documents keywords
##
def normalize(str):
(at)(at) -20,5 +20,9 (at)(at)
generic_image = getattr(context, 'news_generic.png')
# if we're not able to acquire an image by name, we return a generic newsimage
-image = "news_%s.png" % normalize(kw)
+# if the parameter 'size' is omitted, we return the normal sized images
+if size:
+ size = "_%s" % size
+
+image = "news_%s%s.png" % (normalize(kw), size)
return getattr(context, image, generic_image)
|
SVN: r4175 - ZopeDeSkin/trunk/i18n
Roman Joost <rj(at)gocept.com> |
2006-06-23 09:21:19 |
[ FULL ]
|
Author: roman
Date: Fri Jun 23 09:21:18 2006
New Revision: 4175
Added:
ZopeDeSkin/trunk/i18n/
Log:
added
|
SVN: r4182 - in ZopeDeSkin/trunk/skins: zds_content zds_portlets zds_styles zds_templates
Roman Joost <rj(at)gocept.com> |
2006-06-23 16:06:11 |
[ FULL ]
|
Author: roman
Date: Fri Jun 23 16:06:08 2006
New Revision: 4182
Added:
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news_frontpage.pt
ZopeDeSkin/trunk/skins/zds_templates/topic_sections_macros.pt
Modified:
ZopeDeSkin/trunk/skins/zds_content/frontpage.pt
ZopeDeSkin/trunk/skins/zds_content/link_view.pt
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
CSS and template fixes
Modified: ZopeDeSkin/trunk/skins/zds_content/frontpage.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/frontpage.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/frontpage.pt Fri Jun 23 16:06:08 2006
(at)(at) -44,7 +44,7 (at)(at)
</metal:main-macro>
- <div metal:use-macro="here/portlet_news/macros/portlet" />
+ <div metal:use-macro="here/portlet_news_frontpage/macros/portlet"
/>
</div>
</body>
Modified: ZopeDeSkin/trunk/skins/zds_content/link_view.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/link_view.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/link_view.pt Fri Jun 23 16:06:08 2006
(at)(at) -28,9 +28,6 (at)(at)
tal:condition="here/Description">
Description
</p>
- <div
metal:use-macro="here/document_relateditems/macros/relatedItems">
- show related items if they exist
- </div>
<div metal:use-macro="here/document_byline/macros/byline">
Get the byline - contains details about author and modification
date.
(at)(at) -41,6 +38,10 (at)(at)
<a href="#" tal:attributes="href here/remote_url"
tal:content="here/remote_url">remote url</a>
</p>
+
+ <div
metal:use-macro="here/document_relateditems/macros/relatedItems">
+ show related items if they exist
+ </div>
<div class="visualClear"></div>
Modified: ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt Fri Jun 23 16:06:08
2006
(at)(at) -26,7 +26,7 (at)(at)
<tal:newsitems tal:repeat="obj results">
<dd tal:define="oddrow repeat/obj/odd"
tal:attributes="class python:test(oddrow, 'portletItem even',
'portletItem odd')">
- <img tal:replace="structure python:here.getNewsImage(obj)"
/>
+ <img tal:replace="structure python:here.getNewsImage(obj,
size='small')" />
<a href=""
tal:attributes="href obj/getURL;
title obj/Description">
Added: ZopeDeSkin/trunk/skins/zds_portlets/portlet_news_frontpage.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_portlets/portlet_news_frontpage.pt Fri Jun 23
16:06:08 2006
(at)(at) -0,0 +1,67 (at)(at)
+<html xmlns:tal="http://xml.zope.org/namespaces/tal"
+ xmlns:metal="http://xml.zope.org/namespaces/metal"
+ i18n:domain="plone">
+<body>
+<div metal:define-macro="portlet"
+ tal:define="results python:request.get('news',
+ here.portal_catalog.searchResults(portal_type='News Item',
+ sort_on='Date',
+ sort_order='reverse',
+
review_state='published')[:3]);"
+ tal:condition="python:test(template.getId()!='news' and results, 1,
0)">
+
+ <dl class="portlet" id="portlet-news">
+
+ <dt class="portletHeader">
+ <a href="#"
+ tal:condition="python:'news' in portal.contentIds()"
+ tal:attributes="href string:${utool}/news"
+ i18n:translate="box_news">News</a>
+ <a href="#"
+ tal:condition="python:'news' not in portal.contentIds()"
+ tal:attributes="href string:${utool}/news_listing"
+ i18n:translate="box_news">News</a>
+ </dt>
+
+ <tal:newsitems tal:repeat="obj results">
+ <dd tal:define="oddrow repeat/obj/odd"
+ tal:attributes="class python:test(oddrow, 'portletItem even',
'portletItem odd')">
+ <img tal:replace="structure python:here.getNewsImage(obj)"
/>
+ <a href=""
+ tal:attributes="href obj/getURL;
+ title obj/Description">
+ <span tal:replace="obj/pretty_title_or_id">
+ Plone 2.1 announced!
+ </span>
+ <span class="portletItemDetails"
+ tal:content="python:
here.cropText(obj.Description,80)">Dolle Sache auch</span>
+ <span class="portletItemDetails"
+
tal:content="python:here.toLocalizedTime(obj.Date)">May 5</span>
+ </a>
+ </dd>
+ </tal:newsitems>
+
+ <dd class="portletFooter">
+
+ <a href=""
+ tal:condition="python:'news' in portal.contentIds()"
+ tal:attributes="href string:${utool}/news"
+ i18n:translate="box_more_news_link"
+ >
+ More news…
+ </a>
+
+ <a href=""
+ tal:condition="python:'news' not in portal.contentIds()"
+ tal:attributes="href string:${utool}/news_listing"
+ i18n:translate="box_more_news_link"
+ >
+ More news…
+ </a>
+ </dd>
+ </dl>
+
+</div>
+</body>
+</html>
+
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Fri Jun 23 16:06:08 2006
(at)(at) -255,7 +255,6 (at)(at)
#content,
#content h2,
-#content h3,
#content h4,
#content h5,
#content h6,
(at)(at) -268,19 +267,19 (at)(at)
color: #545760 !important;
border-bottom: 0;
margin-top: 1em;
- margin-bottom: 1em;
+ margin-bottom: 0.3em;
}
-
#content {
padding: 0px 2px 0px 2px;
margin: 0;
height: 100%;
}
+#content .jobangebot_long_view h3,
#content .documentByLine,
#content .documentFirstHeading,
#content .documentDescription {
- padding: 0 1em 2ex 1em;
+ padding: 0 1em 2ex 0.8em;
margin: 0;
background-color: #e4e8f4;
color: #32558b !important;
(at)(at) -288,26 +287,38 (at)(at)
#content .documentByLine {
font-size: 80%;
+ padding-left: 1.2em;
}
+#content .jobangebot_long_view h3,
#content .documentFirstHeading {
padding: 0;
padding: 1ex 0.5em 0.5ex 0.5em;
font-weight: bold;
}
-#content p,
+#content div.discreet,
#content .section,
#content ul,
#content .anbieter-plz-bereich,
#content .anbieterVisualWrapper,
+#content .anbieterVisualWrapper form,
#content .faq_question,
#content .faqfooter,
#content .FAQFolder div,
#content .FAQFolder ul,
-.overviewWithSubsections {
+#content table.listing,
+#content .jobangebot_content,
+#relatedItems {
padding: 1ex 1em;
}
+#content p {
+ padding: 0 1em;
+}
+
+#content .tileItem {
+ padding-right: 1em;
+}
#content h1,
#content h2,
(at)(at) -316,7 +327,7 (at)(at)
#content h5,
#content h6 {
padding: 0;
- margin-left: 0.8em;
+ margin-left: 0.6em;
}
#content h1 {
(at)(at) -330,7 +341,6 (at)(at)
padding: 0.5em 2em;
}
.documentContent {
- font-size: 110%;
padding: 0;
padding-bottom: 1ex;
background: #FFF;
(at)(at) -353,6 +363,9 (at)(at)
line-height: 1em;
margin-bottom: 1.5em;
}
+.tileFooter ul {
+ margin-left: 1.5em;
+}
.eventDetails {
width: 25em;
(at)(at) -385,9 +398,12 (at)(at)
.portletHeader a {
color: #365584;
}
-
+dd.portletFooter {
+ border: 0;
+}
/* navigation tree */
-.navTreeLevel1 {
+.navTreeLevel1,
+.navTreeLevel2 {
margin-left: 0;
}
.portletItem a,
(at)(at) -406,7 +422,9 (at)(at)
dd ul.navTreeLevel1 .navTreeItem a {
padding-left: 1.5em;
}
-
+dd ul.navTreeLevel2 .navTreeItem a {
+ padding-left: 2.5em;
+}
#portlet-news .portletItem {
background-color: #e4e8f4;
}
Added: ZopeDeSkin/trunk/skins/zds_templates/topic_sections_macros.pt
==============================================================================
--- (empty file)
+++ ZopeDeSkin/trunk/skins/zds_templates/topic_sections_macros.pt Fri Jun 23
16:06:08 2006
(at)(at) -0,0 +1,104 (at)(at)
+<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
+ lang="en"
+ i18n:domain="plone">
+
+ <!--
+ Expects environment:
+ section ... Topic object for a section of news items
+ -->
+
+<metal:block define-macro="section"
+ tal:define="items section/queryCatalog;
+ use_view_action site_properties/typesUseViewActionInListings;
+ mainArticleObjects python:items[:mainArticles];
+ otherArticleObjects
python:items[mainArticles:totalArticles]">
+
+ <div class="overviewWithSubsections">
+
+ <!-- Main articles -->
+ <tal:block tal:condition="python:mainArticleObjects or
otherArticleObjects">
+
+ <h2 class="sectionTitle"
+ tal:content="section/Title"
+ tal:condition="showHeading|nothing"/>
+
+ <div class="tileItem visualIEFloatFix"
+ tal:repeat="item mainArticleObjects">
+ <tal:block tal:define="item_url item/getURL;
+ item_id item/getId|item/id;
+ item_title_or_id item/pretty_title_or_id;
+ item_description item/Description;
+ item_type item/portal_type;
+ item_type_title item/Type;
+ item_modified item/ModificationDate;
+ item_created item/CreationDate;
+ item_type_class python: 'contenttype-' +
putils.normalizeString(item_type);
+ item_wf_state item/review_state|python:
wtool.getInfoFor(item, 'review_state', '');
+ item_wf_state_class python:'state-' +
putils.normalizeString(item_wf_state);
+ item_creator item/Creator;
+ item_start item/start/ISO|item/StartDate|nothing;
+ item_end item/end/ISO|item/EndDate|nothing;
+ item_object item/getObject;">
+
+ <h2 class="tileHeadline"
+ metal:use-macro="here/folder_summary_view/macros/listitem"/>
+
+ <a href="#"
+ tal:condition="python:item_type != 'Link'"
+ tal:attributes="href python:test(item_type in use_view_action,
item_url+'/view', item_url+'/');">
+ <img src="" alt=""
+ tal:condition="item_object/image_thumb|nothing"
+ tal:replace="structure python:
item_object.tag(scale='thumb', css_class='tileImage')" />
+ </a>
+
+ <a href="#"
+ tal:condition="python:item_type == 'Link'"
+ tal:attributes="href python:test(item_type in use_view_action,
item_url+'/view', item_url+'/');">
+ <img src="" alt=""
+ tal:condition="item_object/image_thumb|nothing"
+ tal:replace="structure python:
item_object.tag(scale='thumb', css_class='tileImage')" />
+ </a>
+
+ <p class="tileBody">
+ <span tal:omit-tag=""
tal:condition="not:item_description">
+
+ </span>
+ <span tal:omit-tag="" tal:content="item_description">
+ description
+ </span>
+ </p>
+
+ <div class="tileFooter">
+ <p>
+ <a href=""
+ tal:attributes="href python:test(item_type in
use_view_action, item_url+'/view', item_url+'/');"
+ i18n:translate="read_more">
+ Read more…
+ </a>
+ </p>
+
+ <div class="visualClear"><!-- --></div>
+
+ <!-- XXX For some reason repeat/item/last breaks with brains.
-->
+ <tal:block
condition="python:repeat['item'].number()==len(mainArticleObjects)">
+ <!-- Other articles -->
+ <ul>
+ <li tal:repeat="item otherArticleObjects">
+ <a href=""
+ tal:define="item_type item/portal_type;
+ item_url item/getURL|item/absolute_url"
+ tal:attributes="href python:test(item_type in
use_view_action, item_url+'/view', item_url+'/');"
+ tal:content="item/pretty_title_or_id"></a>
+ </li>
+ </ul>
+ </tal:block>
+ </div>
+
+ <div class="visualClear"><!-- --></div>
+
+ </tal:block>
+ </div>
+ </tal:block>
+ </div>
+</metal:block>
+</html>
|
SVN: r4183 - LeuBsm/trunk/skins/leu_templates
Christian Zagrodnick <cz(at)gocept.com> |
2006-06-23 17:27:09 |
[ FULL ]
|
Author: zagy
Date: Fri Jun 23 17:27:07 2006
New Revision: 4183
Modified:
LeuBsm/trunk/skins/leu_templates/js_search_result.pt
Log:
show reslut for niveau
Modified: LeuBsm/trunk/skins/leu_templates/js_search_result.pt
==============================================================================
--- LeuBsm/trunk/skins/leu_templates/js_search_result.pt (original)
+++ LeuBsm/trunk/skins/leu_templates/js_search_result.pt Fri Jun 23 17:27:07
2006
(at)(at) -79,7 +79,12 (at)(at)
</dt>
<dd tal:define="it result/getObject">
+ <tal:example condition="python:it.portal_type ==
'Example'">
<metal:block
use-macro="here/examples_macros/macros/shortview"/>
+ </tal:example>
+ <tal:niveau condition="python:it.portal_type ==
'Niveau'">
+ <metal:block
use-macro="here/niveaus_macros/macros/shortview"/>
+ </tal:niveau>
</dd>
</tal:entry>
|
SVN: r4184 - in ZopeDeSkin/trunk/skins: zds_content zds_portlets
Roman Joost <rj(at)gocept.com> |
2006-06-26 10:44:19 |
[ FULL ]
|
Author: roman
Date: Mon Jun 26 10:44:17 2006
New Revision: 4184
Added:
ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt
- copied unchanged from r4182,
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news_frontpage.pt
Removed:
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news_frontpage.pt
Log:
moved portlet into content folder, because this folder is also used by default
plone themes
|
SVN: r4186 - ZopeDeSkin/trunk/skins/zds_content
Roman Joost <rj(at)gocept.com> |
2006-06-26 16:31:14 |
[ FULL ]
|
Author: roman
Date: Mon Jun 26 16:31:12 2006
New Revision: 4186
Modified:
ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt
Log:
fixes
Modified: ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt Mon Jun 26 16:31:12
2006
(at)(at) -4,9 +4,7 (at)(at)
<body>
<div metal:fill-slot="main"
- tal:define="region request/region|nothing;
- region python:test(region=='none',None,region);
- regions python:test(region and [region] or
context.anbieter_plzbereiche)">
+ tal:define="region request/region|nothing">
<link rel="Stylesheet" type="text/css" tal:attributes="href
string:$portal_url/anbieterStyles.css" />
<h1 class="documentFirstHeading">Zope Dienstleister im
deutschsprachigen Raum</h1>
(at)(at) -28,9 +26,16 (at)(at)
<p>Sortierung erfolgt nach Regionen und anschließend nach
Firmennamen. <a tal:attributes="href
string:/redaktion/dzug/anbieterliste-information">Weitere
Informationen</a>.</p>
<div class="anbieter-plz-bereich"
- tal:condition="regions"
- tal:repeat="item regions">
- <tal:def tal:define="plz_anbieter python:
context.anbieter_for_plzbereich(item)">
+ tal:condition="not: region">
+
+ <tal:loop repeat="anbieter context/anbieter_all_sorted">
+ <div
metal:use-macro="context/anbieter_macros/macros/anbieter"/>
+ </tal:loop>
+ </div>
+
+ <div class="anbieter-plz-bereich"
+ tal:condition="region">
+ <tal:def tal:define="plz_anbieter python:
context.anbieter_for_plzbereich(region)">
<tal:loop condition="plz_anbieter" repeat="anbieter
plz_anbieter">
<div
metal:use-macro="context/anbieter_macros/macros/anbieter"/>
</tal:loop>
|
SVN: r4187 - in ZopeDeSkin/trunk/skins: zds_content zds_portlets zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-26 17:29:54 |
[ FULL ]
|
Author: roman
Date: Mon Jun 26 17:29:51 2006
New Revision: 4187
Added:
ZopeDeSkin/trunk/skins/zds_content/portlet_news.pt
- copied, changed from r4182,
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt
Removed:
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt
Modified:
ZopeDeSkin/trunk/skins/zds_content/frontpage.pt
ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
style fixes
Modified: ZopeDeSkin/trunk/skins/zds_content/frontpage.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/frontpage.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/frontpage.pt Mon Jun 26 17:29:51 2006
(at)(at) -30,7 +30,7 (at)(at)
</a>
</div>
- <div class="homepage-banner"
+ <div class="homepage-banner hpb-right"
tal:define="banner banners/right">
<a href=""
tal:attributes="href banner/url;
Copied: ZopeDeSkin/trunk/skins/zds_content/portlet_news.pt (from r4182,
ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt)
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_portlets/portlet_news.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/portlet_news.pt Mon Jun 26 17:29:51 2006
(at)(at) -26,17 +26,14 (at)(at)
<tal:newsitems tal:repeat="obj results">
<dd tal:define="oddrow repeat/obj/odd"
tal:attributes="class python:test(oddrow, 'portletItem even',
'portletItem odd')">
- <img tal:replace="structure python:here.getNewsImage(obj,
size='small')" />
+ <img tal:replace="structure python:here.getNewsImage(obj)"
/>
<a href=""
tal:attributes="href obj/getURL;
title obj/Description">
- <span tal:replace="obj/pretty_title_or_id">
- Plone 2.1 announced!
- </span>
+ <span class="portletItemDetails itemDate"
+
tal:content="python:here.toLocalizedTime(obj.Date)">May 5</span>
<span class="portletItemDetails"
tal:content="python:
here.cropText(obj.Description,80)">Dolle Sache auch</span>
- <span class="portletItemDetails"
-
tal:content="python:here.toLocalizedTime(obj.Date)">May 5</span>
</a>
</dd>
</tal:newsitems>
Modified: ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt Mon Jun 26
17:29:51 2006
(at)(at) -10,38 +10,25 (at)(at)
review_state='published')[:3]);"
tal:condition="python:test(template.getId()!='news' and results, 1,
0)">
- <dl class="portlet" id="portlet-news">
-
- <dt class="portletHeader">
- <a href="#"
- tal:condition="python:'news' in portal.contentIds()"
- tal:attributes="href string:${utool}/news"
- i18n:translate="box_news">News</a>
- <a href="#"
- tal:condition="python:'news' not in portal.contentIds()"
- tal:attributes="href string:${utool}/news_listing"
- i18n:translate="box_news">News</a>
- </dt>
+ <span class="portlet" id="portlet-news">
<tal:newsitems tal:repeat="obj results">
- <dd tal:define="oddrow repeat/obj/odd"
- tal:attributes="class python:test(oddrow, 'portletItem even',
'portletItem odd')">
- <img tal:replace="structure python:here.getNewsImage(obj)"
/>
+ <img tal:replace="structure python:here.getNewsImage(obj)" />
+ <p tal:define="oddrow repeat/obj/odd;
+ lastrow repeat/obj/end"
+ tal:attributes="class python:test(lastrow, 'portletItem
lastPortletItem', 'portletItem')">
<a href=""
tal:attributes="href obj/getURL;
title obj/Description">
- <span tal:replace="obj/pretty_title_or_id">
- Plone 2.1 announced!
- </span>
- <span class="portletItemDetails"
- tal:content="python:
here.cropText(obj.Description,80)">Dolle Sache auch</span>
- <span class="portletItemDetails"
+ <span class="itemDate"
tal:content="python:here.toLocalizedTime(obj.Date)">May 5</span>
+ <span class="portletItemDetails"
+ tal:content="python:here.cropText(obj.Description,
250)">Dolle Sache auch</span>
</a>
- </dd>
+ </p>
</tal:newsitems>
- <dd class="portletFooter">
+ <!-- <p class="portletFooter">
<a href=""
tal:condition="python:'news' in portal.contentIds()"
(at)(at) -58,8 +45,8 (at)(at)
>
More news…
</a>
- </dd>
- </dl>
+ </p> -->
+ </span>
</div>
</body>
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Mon Jun 26 17:29:51 2006
(at)(at) -170,7 +170,6 (at)(at)
div#portal-searchbox form {
padding-top: 1ex;
padding-bottom: 1ex;
- padding-right: 1em;
float: right;
}
(at)(at) -191,6 +190,10 (at)(at)
}
/* frontpage */
+.frontpage {
+ width: 980px;
+ margin: 0 auto;
+}
div#homepage-banners {
white-space: nowrap;
margin-bottom: 0.5ex;
(at)(at) -199,40 +202,46 (at)(at)
div.homepage-banner {
display: inline;
- margin: 2px;
}
-
-/* frontpage */
-.frontpage .portletHeader {
- text-align: center;
- font-weight: bold;
- color: #325688;
+div.hpb-middle {
+ margin: 0 2px;
}
.frontpage .portletItem {
background-color: #e4e8f4;
- margin-bottom: 1px;
+ border-bottom: 5px solid white;
+ height: 72px;
}
-.frontpage .portletItem a {
- margin: 0 20em;
- padding: 1em 0;
- background-color: transparent;
+.frontpage .portletItem.lastPortletItem {
+ border-bottom: 0;
+}
+
+.frontpage #portlet-news {
+ margin: 0 auto;
+}
+
+.frontpage #portlet-news .portletItem a {
+ text-decoration: none;
+ margin-right: 20em;
}
-.frontpage #portlet-news .portletItem img {
+.frontpage #portlet-news img {
+ margin: 0;
+ margin-left: 16em;
+ margin-right: 1em;
+ float: left;
clear: left;
- margin-left: 15em;
}
.frontpage #portlet-news .portletItemDetails {
color: #325688;
+ display: inline;
}
-.frontpage #portlet-news {
- width: 982px;
- margin: 0 auto;
+.frontpage #portlet-news .itemDate {
+ display: inline;
+ font-weight: bold;
}
-
/* sitemap */
#portal-sitemap .navTreeLevel2 {
border-left: 5px solid #e9ecf5;
(at)(at) -425,15 +434,17 (at)(at)
dd ul.navTreeLevel2 .navTreeItem a {
padding-left: 2.5em;
}
+
+/* news portlet */
+#portlet-news .portletFooter,
#portlet-news .portletItem {
background-color: #e4e8f4;
-}
-#portlet-news .portletItem a {
- background-color: transparent;
- font-weight: bold;
+ font-size: 80%;
}
#portlet-news .portletItem span {
font-weight: normal;
+ display: inline;
+ color: #325688;
}
#portlet-news .portletItem img {
(at)(at) -442,6 +453,12 (at)(at)
margin-right: 0.3em;
}
+#portlet-news .portletItem .itemDate {
+ font-weight: bold;
+ text-align: left;
+ display: block;
+}
+
/* footer */
#portal-footer {
background-color: #c5d0e2;
(at)(at) -465,7 +482,7 (at)(at)
color: #325688;
padding: 5px 50px 0px 50px;
line-height: 15px;
- margin: 0px;
+ margin: 0 15em;
}
.documentActions ul {
|
SVN: r4191 - ZopeDeSkin/trunk/skins/zds_content
Roman Joost <rj(at)gocept.com> |
2006-06-27 12:44:52 |
[ FULL ]
|
Author: roman
Date: Tue Jun 27 12:44:50 2006
New Revision: 4191
Modified:
ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt
Log:
fix
Modified: ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/anbieter_alle.pt Tue Jun 27 12:44:50
2006
(at)(at) -14,7 +14,7 (at)(at)
<form name="region-form" tal:attributes="action
string:${here/absolute_url}/anbieter_alle">
<label for="region-filter">Region:
<select id="region-filter" name="region"
onchange="document.forms.region-form.submit()">
- <option value="none">Alle Regionen</option>
+ <option value="">Alle Regionen</option>
<option tal:repeat="item context/anbieter_plzbereiche"
tal:attributes="value item; selected python:region == item"
tal:content="structure item"/>
|
SVN: r4192 - in ZopeDeSkin/trunk/skins: zds_content zds_styles
Roman Joost <rj(at)gocept.com> |
2006-06-27 13:07:00 |
[ FULL ]
|
Author: roman
Date: Tue Jun 27 13:06:56 2006
New Revision: 4192
Modified:
ZopeDeSkin/trunk/skins/zds_content/portlet_news.pt
ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt
ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
Log:
CSS fixes
Modified: ZopeDeSkin/trunk/skins/zds_content/portlet_news.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/portlet_news.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/portlet_news.pt Tue Jun 27 13:06:56 2006
(at)(at) -33,7 +33,7 (at)(at)
<span class="portletItemDetails itemDate"
tal:content="python:here.toLocalizedTime(obj.Date)">May 5</span>
<span class="portletItemDetails"
- tal:content="python:
here.cropText(obj.Description,80)">Dolle Sache auch</span>
+ tal:content="python:
here.cropText(obj.Description,120)">Dolle Sache auch</span>
</a>
</dd>
</tal:newsitems>
Modified: ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt (original)
+++ ZopeDeSkin/trunk/skins/zds_content/portlet_news_frontpage.pt Tue Jun 27
13:06:56 2006
(at)(at) -11,22 +11,25 (at)(at)
tal:condition="python:test(template.getId()!='news' and results, 1,
0)">
<span class="portlet" id="portlet-news">
-
- <tal:newsitems tal:repeat="obj results">
+
+ <tal:repeat repeat="obj results">
+ <div class="visualWrapper"
+ tal:define="oddrow repeat/obj/odd;
+ lastrow repeat/obj/end"
+ tal:attributes="class python:test(lastrow, 'visualWrapper
lastPortletItem', 'visualWrapper')">
<img tal:replace="structure python:here.getNewsImage(obj)" />
- <p tal:define="oddrow repeat/obj/odd;
- lastrow repeat/obj/end"
- tal:attributes="class python:test(lastrow, 'portletItem
lastPortletItem', 'portletItem')">
+ <p class="portletItem">
<a href=""
tal:attributes="href obj/getURL;
title obj/Description">
<span class="itemDate"
tal:content="python:here.toLocalizedTime(obj.Date)">May 5</span>
<span class="portletItemDetails"
- tal:content="python:here.cropText(obj.Description,
250)">Dolle Sache auch</span>
+ tal:content="python:here.cropText(obj.Description,
230)">Dolle Sache auch</span>
</a>
</p>
- </tal:newsitems>
+ </div>
+ </tal:repeat>
<!-- <p class="portletFooter">
Modified: ZopeDeSkin/trunk/skins/zds_styles/zds_style.css
==============================================================================
--- ZopeDeSkin/trunk/skins/zds_styles/zds_style.css (original)
+++ ZopeDeSkin/trunk/skins/zds_styles/zds_style.css Tue Jun 27 13:06:56 2006
(at)(at) -191,7 +191,6 (at)(at)
/* frontpage */
.frontpage {
- width: 980px;
margin: 0 auto;
}
div#homepage-banners {
(at)(at) -207,20 +206,17 (at)(at)
margin: 0 2px;
}
-.frontpage .portletItem {
+.frontpage .visualWrapper {
background-color: #e4e8f4;
border-bottom: 5px solid white;
height: 72px;
+ margin: 0 2px;
}
-.frontpage .portletItem.lastPortletItem {
+.frontpage .visualWrapper.lastPortletItem {
border-bottom: 0;
}
-.frontpage #portlet-news {
- margin: 0 auto;
-}
-
.frontpage #portlet-news .portletItem a {
text-decoration: none;
margin-right: 20em;
(at)(at) -255,6 +251,7 (at)(at)
#portal-column-two .visualPadding,
#portal-column-one .visualPadding {
padding: 0px;
+ padding-top: 1px;
}
(at)(at) -453,12 +450,21 (at)(at)
margin-right: 0.3em;
}
+#portlet-news dd.portletItem a {
+ /* size of the left aligned icon */
+ margin-left: 75px;
+}
+
#portlet-news .portletItem .itemDate {
font-weight: bold;
text-align: left;
display: block;
}
+#portal-column-two #portlet-news .portletItem {
+ border-bottom: 1px solid #c5cbdb;
+}
+
/* footer */
#portal-footer {
background-color: #c5d0e2;
|
|