cybertools/browser/liquid
helmutm d16ee0b16f use Arial as standard font
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@4214 fd906abe-77d9-0310-91a1-e0d9ade77398
2011-04-09 12:50:06 +00:00
..
__init__.py updated skin definition to avoid deprecation warnings 2007-12-11 18:42:00 +00:00
base.css use Arial as standard font 2011-04-09 12:50:06 +00:00
body.pt don't hide right portlets for anonymous 2009-10-14 13:06:48 +00:00
configure.zcml merged Dojo 1.0 branch 2008-02-10 09:56:27 +00:00
controller.py merged Dojo 1.0 branch 2008-02-10 09:56:27 +00:00
custom.css clean-up of cybertools.browser 2006-03-24 13:21:20 +00:00
popup.css added elements for popup forms 2007-12-23 15:08:52 +00:00
popup.pt added elements for popup forms 2007-12-23 15:08:52 +00:00
presentation.css provide check for authenticated on base view; minor CSS improvements 2009-04-20 06:37:45 +00:00
print.css decrease font size for printing 2009-07-22 07:37:36 +00:00
README.txt View controller now basically functional, with macro registries for CSS and JS resources 2006-03-26 16:43:43 +00:00
view_macros.pt finished new-style skin template structure with main.pt and body.pt 2006-08-17 16:55:45 +00:00
zope3_tablelayout.css fix for Dojo 1.4: remove padding for input fields 2009-12-14 15:45:06 +00:00

The Liquid Skin and Related Stuff
=================================

We first set up a test and working environment:

    >>> from zope.app import zapi
    >>> from zope.app.testing import ztapi
    >>> from zope.app.component import site, interfaces

    >>> from zope.testbrowser import Browser
    >>> browser = Browser()
    >>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')

We can now open a page using the Liquid skin:
    
    >>> browser.addHeader('Accept-Language', 'en-US')
    >>> browser.open('http://localhost/++skin++Liquid')
    >>> print browser.headers
    Status: 200 Ok...
    
    >>> browser.url
    'http://localhost/++skin++Liquid'