Permalink
Browse files

"se elimina el paquete en desuso"

  • Loading branch information...
1 parent 00a0c6b commit 9fb13f8d16b3cc55d8e75f9d67869804e492cf57 @hvelarde committed Jul 19, 2011
Showing with 0 additions and 3,269 deletions.
  1. +0 −2 src/cienciasalud.theme/MANIFEST.in
  2. +0 −4 src/cienciasalud.theme/README.txt
  3. +0 −1 src/cienciasalud.theme/cienciasalud.theme-configure.zcml
  4. +0 −6 src/cienciasalud.theme/cienciasalud/__init__.py
  5. +0 −4 src/cienciasalud.theme/cienciasalud/theme/__init__.py
  6. +0 −1 src/cienciasalud.theme/cienciasalud/theme/browser/__init__.py
  7. +0 −81 src/cienciasalud.theme/cienciasalud/theme/browser/configure.zcml
  8. +0 −14 src/cienciasalud.theme/cienciasalud/theme/browser/image.pt
  9. +0 −56 src/cienciasalud.theme/cienciasalud/theme/browser/images/README.txt
  10. BIN src/cienciasalud.theme/cienciasalud/theme/browser/images/bullet.gif
  11. BIN src/cienciasalud.theme/cienciasalud/theme/browser/images/searchbg.gif
  12. BIN src/cienciasalud.theme/cienciasalud/theme/browser/images/topicsbg.gif
  13. +0 −6 src/cienciasalud.theme/cienciasalud/theme/browser/interfaces.py
  14. +0 −18 src/cienciasalud.theme/cienciasalud/theme/browser/main-story.pt
  15. +0 −13 src/cienciasalud.theme/cienciasalud/theme/browser/newsitem.py
  16. +0 −17 src/cienciasalud.theme/cienciasalud/theme/browser/story.pt
  17. +0 −61 src/cienciasalud.theme/cienciasalud/theme/browser/stylesheets/README.txt
  18. +0 −135 src/cienciasalud.theme/cienciasalud/theme/browser/stylesheets/main.css
  19. +0 −25 src/cienciasalud.theme/cienciasalud/theme/browser/templates/ad.pt
  20. +0 −41 src/cienciasalud.theme/cienciasalud/theme/browser/templates/news.bak
  21. +0 −32 src/cienciasalud.theme/cienciasalud/theme/browser/templates/news.pt
  22. +0 −1 src/cienciasalud.theme/cienciasalud/theme/browser/viewlet.pt
  23. +0 −2 src/cienciasalud.theme/cienciasalud/theme/browser/viewlets.py
  24. +0 −14 src/cienciasalud.theme/cienciasalud/theme/configure.zcml
  25. +0 −11 src/cienciasalud.theme/cienciasalud/theme/locales/README.txt
  26. +0 −22 src/cienciasalud.theme/cienciasalud/theme/profiles.zcml
  27. +0 −1 src/cienciasalud.theme/cienciasalud/theme/profiles/default/cienciasalud.theme_various.txt
  28. +0 −10 src/cienciasalud.theme/cienciasalud/theme/profiles/default/cssregistry.xml
  29. +0 −4 src/cienciasalud.theme/cienciasalud/theme/profiles/default/jsregistry.xml
  30. +0 −4 src/cienciasalud.theme/cienciasalud/theme/profiles/default/metadata.xml
  31. +0 −12 src/cienciasalud.theme/cienciasalud/theme/profiles/default/portlets.xml
  32. +0 −24 src/cienciasalud.theme/cienciasalud/theme/profiles/default/skins.xml
  33. +0 −28 src/cienciasalud.theme/cienciasalud/theme/profiles/default/viewlets.xml
  34. +0 −11 src/cienciasalud.theme/cienciasalud/theme/setuphandlers.py
  35. +0 −11 src/cienciasalud.theme/cienciasalud/theme/skins.zcml
  36. +0 −3 src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_custom_images/CONTENT.txt
  37. BIN src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_custom_images/bg.gif
  38. BIN src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_custom_images/corner.gif
  39. BIN src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_custom_images/logo.png
  40. +0 −3 src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_custom_templates/CONTENT.txt
  41. +0 −10 src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_styles/CONTENT.txt
  42. +0 −47 src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_styles/base_properties.props
  43. +0 −2,000 src/cienciasalud.theme/cienciasalud/theme/skins/cienciasalud_theme_styles/public.css
  44. +0 −37 src/cienciasalud.theme/cienciasalud/theme/tests/base.py
  45. +0 −41 src/cienciasalud.theme/cienciasalud/theme/tests/test_setup.py
  46. +0 −1 src/cienciasalud.theme/cienciasalud/theme/version.txt
  47. +0 −7 src/cienciasalud.theme/docs/HISTORY.txt
  48. +0 −52 src/cienciasalud.theme/docs/INSTALL.txt
  49. +0 −339 src/cienciasalud.theme/docs/LICENSE.GPL
  50. +0 −16 src/cienciasalud.theme/docs/LICENSE.txt
  51. +0 −3 src/cienciasalud.theme/setup.cfg
  52. +0 −38 src/cienciasalud.theme/setup.py
@@ -1,2 +0,0 @@
-recursive-include cienciasalud *
-global-exclude *pyc
@@ -1,4 +0,0 @@
-Introduction
-============
-
-
@@ -1 +0,0 @@
-<include package="cienciasalud.theme" />
@@ -1,6 +0,0 @@
-# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
-try:
- __import__('pkg_resources').declare_namespace(__name__)
-except ImportError:
- from pkgutil import extend_path
- __path__ = extend_path(__path__, __name__)
@@ -1,4 +0,0 @@
- # -*- extra stuff goes here -*-
-
-def initialize(context):
- """Initializer called when used as a Zope 2 product."""
@@ -1,81 +0,0 @@
-<configure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- i18n_domain="cienciasalud.theme">
-
- <!-- 'Ciencia y Salud' Zope 3 browser layer -->
- <interface
- interface=".interfaces.IThemeSpecific"
- type="zope.publisher.interfaces.browser.IBrowserSkinType"
- name="Ciencia y Salud"
- />
-
- <!-- Viewlets registration -->
- <browser:viewlet
- name="cienciasalud.ad"
- manager="plone.app.layout.viewlets.interfaces.IPortalHeader"
- layer=".interfaces.IThemeSpecific"
- template="templates/ad.pt"
- permission="zope2.View"
- />
-
- <browser:viewlet
- name="cienciasalud.news"
- manager="plone.app.layout.viewlets.interfaces.IAboveContent"
- layer=".interfaces.IThemeSpecific"
- template="templates/news.pt"
- permission="zope2.View"
- />
-
- <browser:viewlet
- name="plone.personal_bar"
- manager="plone.app.layout.viewlets.interfaces.IPortalFooter"
- class="plone.app.layout.viewlets.common.PersonalBarViewlet"
- layer=".interfaces.IThemeSpecific"
- permission="zope2.View"
- />
-
- <!-- Zope 3 browser resources -->
-
- <!-- Resource directory for images -->
- <browser:resourceDirectory
- name="cienciasalud.theme.images"
- directory="images"
- layer=".interfaces.IThemeSpecific"
- />
-
- <!-- Resource directory for stylesheets -->
- <browser:resourceDirectory
- name="cienciasalud.theme.stylesheets"
- directory="stylesheets"
- layer=".interfaces.IThemeSpecific"
- />
-
-<browser:page
- name="main-story"
- for="Products.ATContentTypes.content.newsitem.ATNewsItem"
- permission="zope.Public"
- template="main-story.pt"
- class=".newsitem.MainStory"
- layer="Products.Collage.interfaces.ICollageBrowserLayer"
- />
-
-<browser:page
- name="story"
- for="Products.ATContentTypes.content.newsitem.ATNewsItem"
- permission="zope.Public"
- template="story.pt"
- class=".newsitem.Story"
- layer="Products.Collage.interfaces.ICollageBrowserLayer"
- />
-
-<browser:page
- name="image"
- for="Products.ATContentTypes.content.newsitem.ATNewsItem"
- permission="zope.Public"
- template="image.pt"
- class=".newsitem.Image"
- layer="Products.Collage.interfaces.ICollageBrowserLayer"
- />
-
-</configure>
@@ -1,14 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n"
- tal:omit-tag="">
-
- <div class="newsImage">
- <h1 tal:content="context/pretty_title_or_id">Título</h1>
- <a href=""
- tal:attributes="href context/@@plone_context_state/object_url">
- <img tal:replace="structure python: context.tag(scale='mini')" />
- </a>
- <p tal:content="context/Description">Título</p>
- </div>
-</html>
@@ -1,56 +0,0 @@
-README for the 'browser/images/' directory
-==========================================
-
-This folder is a Zope 3 Resource Directory acting as a repository for images.
-
-Its declaration is located in 'browser/configure.zcml':
-
- <!-- Resource directory for images -->
- <browser:resourceDirectory
- name="cienciasalud.theme.images"
- directory="images"
- layer=".interfaces.IThemeSpecific"
- />
-
-An image placed in this directory (e.g. 'logo.png') can be accessed from
-this relative URL:
-
- "++resource++cienciasalud.theme.images/logo.png"
-
-Note that it might be better to register each of these resources separately if
-you want them to be overridable from zcml directives.
-
-The only way to override a resource in a resource directory is to override the
-entire directory (all elements have to be copied over).
-
-A Zope 3 browser resource declared like this in 'browser/configure.zcml':
-
- <browser:resource
- name="logo.png"
- file="images/logo.png"
- layer=".interfaces.IThemeSpecific"
- />
-
-can be accessed from this relative URL:
-
- "++resource++logo.png"
-
-Notes
------
-
-* Whatever the way they are declared (in bulk inside a resource directory or
- as separate resources), images registered as Zope 3 browser resources don't
- have all the attributes that Zope 2 image objects have (i.e. the 'title'
- property and the 'tag()' and 'get_size()' methods).
- This means that if you want the html tag of your image to be auto-generated
- (this is the case by default for the portal logo), you should store it in a
- directory that is located in the 'skins/' folder of your package, registered
- as a File System Directory View in the 'portal_skins' tool, and added to the
- layers of your skin.
-
-* Customizing/overriding images that are originally accessed from the
- 'portal_skins' tool (e.g. Plone default logo and icons) can be done inside
- that tool only. There is no known way to do it with Zope 3 browser
- resources.
- Vice versa, there is no known (easy) way to override a Zope 3 browser
- resource from a skin layer in 'portal_skins'.
@@ -1,6 +0,0 @@
-from plone.theme.interfaces import IDefaultPloneLayer
-
-
-class IThemeSpecific(IDefaultPloneLayer):
- """Marker interface that defines a Zope 3 browser layer.
- """
@@ -1,18 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n"
- tal:omit-tag="">
-
- <div class="newsMainStory">
- <img tal:replace="structure python: context.tag(scale='thumb')" />
- <h1>
- <a href=""
- tal:attributes="href context/@@plone_context_state/object_url">
- <span tal:replace="context/pretty_title_or_id">
- Título
- </span>
- </a>
- </h1>
- <p tal:content="context/Description">Resumen</p>
- </div>
-</html>
@@ -1,13 +0,0 @@
-# This Python file uses the following encoding: utf-8
-
-from Products.Five.browser import BrowserView
-
-class MainStory(BrowserView):
- title = u'Nota principal'
-
-class Story(BrowserView):
- title = u'Nota secundaria'
-
-class Image(BrowserView):
- title = u'Imagen'
-
@@ -1,17 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:tal="http://xml.zope.org/namespaces/tal"
- xmlns:i18n="http://xml.zope.org/namespaces/i18n"
- tal:omit-tag="">
-
- <div class="newsStory">
- <h1>
- <a href=""
- tal:attributes="href context/@@plone_context_state/object_url">
- <span tal:replace="context/pretty_title_or_id">
- Título
- </span>
- </a>
- </h1>
- <p tal:content="context/Description">Resumen</p>
- </div>
-</html>
@@ -1,61 +0,0 @@
-README for the 'browser/stylesheets/' directory
-===============================================
-
-This folder is a Zope 3 Resource Directory acting as a repository for
-stylesheets.
-
-Its declaration is located in 'browser/configure.zcml':
-
- <!-- Resource directory for stylesheets -->
- <browser:resourceDirectory
- name="cienciasalud.theme.stylesheets"
- directory="stylesheets"
- layer=".interfaces.IThemeSpecific"
- />
-
-A stylesheet placed in this directory (e.g. 'main.css') can be accessed from
-this relative URL:
-
- "++resource++cienciasalud.theme.stylesheets/main.css"
-
-Note that it might be better to register each of these resources separately if
-you want them to be overridable from zcml directives.
-
-The only way to override a resource in a resource directory is to override the
-entire directory (all elements have to be copied over).
-
-A Zope 3 browser resource declared like this in 'browser/configure.zcml':
-
- <browser:resource
- name="main.css"
- file="stylesheets/main.css"
- layer=".interfaces.IThemeSpecific"
- />
-
-can be accessed from this relative URL:
-
- "++resource++main.css"
-
-Notes
------
-
-* Stylesheets registered as Zope 3 resources might be flagged as not found in
- the 'portal_css' tool if the layer they are registered for doesn't match the
- default skin set in 'portal_skins'.
- This can be confusing but it must be considered as a minor bug in the CSS
- registry instead of a lack in the way Zope 3 resources are handled in
- Zope 2.
-
-* There might be a way to interpret DTML from a Zope 3 resource view.
- Although, if you need to use DTML for setting values in a stylesheet (the
- same way as in default Plone stylesheets where values are read from
- 'base_properties'), it is much easier to store it in a directory that is
- located in the 'skins/' folder of your package, registered as a File System
- Directory View in the 'portal_skins' tool, and added to the layers of your
- skin.
-
-* Customizing/overriding stylesheets that are originally accessed from the
- 'portal_skins' tool (e.g. Plone default stylesheets) can be done inside that
- tool only. There is no known way to do it with Zope 3 browser resources.
- Vice versa, there is no known way to override a Zope 3 browser resource from
- a skin layer in 'portal_skins'.
Oops, something went wrong.

0 comments on commit 9fb13f8

Please sign in to comment.