diff --git a/browser/liquid/base.css b/browser/liquid/base.css index 8939c32..3d9eabf 100644 --- a/browser/liquid/base.css +++ b/browser/liquid/base.css @@ -76,5 +76,9 @@ table.listing th { border-bottom-width: 2px; } +pre { + background-color: #f4f4f4; +} + #footer { border-bottom: none; } diff --git a/browser/main.pt b/browser/main.pt index 4263fb4..26070f5 100644 --- a/browser/main.pt +++ b/browser/main.pt @@ -28,7 +28,7 @@ - + diff --git a/typology/interfaces.py b/typology/interfaces.py index 4282903..a27eafb 100644 --- a/typology/interfaces.py +++ b/typology/interfaces.py @@ -73,9 +73,11 @@ class IType(Interface): 'to the type. Note that this object need not ' 'provide the IType interface itself but it ' 'should be adaptable to ITypeProvider') - options = schema.Dict(title=u'Options', - description=u'A mapping of optional settings to be used for ' + options = schema.List(title=u'Options', + description=u'A list of optional settings to be used for ' 'application or environment specific purposes') + optionsDict = Attribute('The options transformed to a dictionary') + # possible extensions: # subTypes # parentTypes diff --git a/typology/type.py b/typology/type.py index 36176bc..6e07290 100644 --- a/typology/type.py +++ b/typology/type.py @@ -32,7 +32,6 @@ class BaseType(object): def __init__(self, context): self.context = context - self.options = {} def __eq__(self, other): return IType.providedBy(other) and self.token == other.token @@ -53,6 +52,10 @@ class BaseType(object): viewName = '' typeProvider = None + @property + def options(self): + return [] + class TypeManager(object):