This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #14106 - Fallback to Simile Exhibit 2.2
- Update Simile Exhibit 2.2 Map Extenstion to use Google Maps v3 - Force Simile Exhibit 2.2 if browser is Internet Explorer as Simile Exhibit 3.0 is not stable for IE - Added Simile Exhibit section within Daviz Visualization Control Panel and allow Plone admins to select which version of Simile Exhibit to use (2.2.0 or 3.0.0. Default 3.0.0)
- Loading branch information
Showing
15 changed files
with
2,590 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
""" Controlpanel | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<configure xmlns="http://namespaces.zope.org/zope"> | ||
|
||
<utility | ||
name="eea.exhibit.controlpanel.ExhibitSection" | ||
factory=".controlpanel.ExhibitSection" /> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
""" Googlecharts Control Panel Section | ||
""" | ||
from zope.interface import implements | ||
from eea.app.visualization.controlpanel.interfaces import IDavizSection | ||
from zope.formlib.form import FormFields | ||
from zope import schema | ||
from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm | ||
from eea.googlecharts.config import EEAMessageFactory as _ | ||
|
||
class ExhibitSection(object): | ||
""" Simile Exhibit Settings Section | ||
""" | ||
implements(IDavizSection) | ||
|
||
prefix = 'exhibit' | ||
title = 'Simile Exhibit Settings' | ||
form_fields = FormFields( | ||
schema.Choice( | ||
__name__='exhibit.framework', | ||
title=_(u'Version'), | ||
description=_(u"use the following version of Simile Exhibit " | ||
"Framework"), | ||
required=True, | ||
default=3, | ||
vocabulary=SimpleVocabulary([ | ||
SimpleTerm(2, 2, u"2.2.0"), | ||
SimpleTerm(3, 3, u"3.0.0"), | ||
]) | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.