Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move to using collective.ptg.supersized

  • Loading branch information...
commit 472d7ccbbd47b3e89c5ab7a22ce0f739b8147e9d 1 parent d61e45c
@vangheem vangheem authored
Showing with 11 additions and 534 deletions.
  1. +9 −6 README.txt
  2. +0 −49 collective/plonetruegallery/browser/files/s3slider/style.css
  3. BIN  collective/plonetruegallery/browser/files/supersized/back.png
  4. BIN  collective/plonetruegallery/browser/files/supersized/bg-black.png
  5. BIN  collective/plonetruegallery/browser/files/supersized/bg-hover.png
  6. BIN  collective/plonetruegallery/browser/files/supersized/button-tray-down.png
  7. BIN  collective/plonetruegallery/browser/files/supersized/button-tray-up.png
  8. BIN  collective/plonetruegallery/browser/files/supersized/forward.png
  9. BIN  collective/plonetruegallery/browser/files/supersized/nav-bg.png
  10. BIN  collective/plonetruegallery/browser/files/supersized/nav-dot.png
  11. BIN  collective/plonetruegallery/browser/files/supersized/pause.png
  12. BIN  collective/plonetruegallery/browser/files/supersized/play.png
  13. BIN  collective/plonetruegallery/browser/files/supersized/progress-back.png
  14. BIN  collective/plonetruegallery/browser/files/supersized/progress-bar.png
  15. BIN  collective/plonetruegallery/browser/files/supersized/progress.gif
  16. +0 −60 collective/plonetruegallery/browser/files/supersized/style.css
  17. BIN  collective/plonetruegallery/browser/files/supersized/thumb-back.png
  18. BIN  collective/plonetruegallery/browser/files/supersized/thumb-forward.png
  19. +0 −28 collective/plonetruegallery/browser/views/configure.zcml
  20. +0 −175 collective/plonetruegallery/browser/views/display.py
  21. +0 −21 collective/plonetruegallery/browser/views/templates/s3slider.pt
  22. +0 −45 collective/plonetruegallery/browser/views/templates/supersized.pt
  23. +0 −150 collective/plonetruegallery/interfaces.py
  24. +2 −0  docs/HISTORY.txt
View
15 README.txt
@@ -27,17 +27,17 @@ the dependant js package in buildout
- galleria(ships with)
- contact sheet(collective.ptg.contactsheet)
- - thumbnail zoom gallery(ships with)
+ - thumbnail zoom gallery(collective.js.thumbnailzoom)
- presentation(collective.ptg.presentation)
- galleriffic(collective.ptg.galleriffic)
- highslide(collective.ptg.highslide)
- fancybox(collective.ptg.fancybox)
- - pikachoose(collective.js.s3slider)
- - s3slider(collective.ptg.pikachoose)
+ - pikachoose(collective.ptg.pikachoose)
+ - s3slider(collective.ptg.s3slider)
- nivo slider(collective.ptg.nivoslider)
- nivo gallery(collective.ptg.nivogallery)
- content flow(collective.ptg.contentflow)
- - supersized(collective.js.supersized)
+ - supersized(collective.ptg.supersized)
Buildout configuration
~~~~~~~~~~~~~~~~~~~~~~
@@ -48,11 +48,14 @@ Buildout configuration
collective.ptg.highslide
collective.ptg.fancybox
collective.ptg.galleriffic
- collective.js.s3slider
+ collective.ptg.s3slider
collective.ptg.pikachoose
collective.ptg.nivoslider
collective.ptg.nivogallery
- collective.js.contentflow
+ collective.ptg.contentflow
+ collective.ptg.supersized
+ collective.ptg.thumbnailzoom
+ collective.ptg.contactsheet
...
Features
View
49 collective/plonetruegallery/browser/files/s3slider/style.css
@@ -1,49 +0,0 @@
-ul#s3sliderContent {
- width: %(width)s;
- position: absolute;
- top: 0;
- margin-left: 0;
- overflow: hidden !important;
-}
-
-.s3sliderImage {
- float: left;
- position: relative;
- display: none;
-}
-
-.s3sliderImage span {
- position: absolute;
- left: 0;
- font: 10px/15px Arial, Helvetica, sans-serif;
- padding: 20px 13px;
- background-color: #000;
- filter: alpha(opacity=70);
- -moz-opacity: 0.7;
- -khtml-opacity: 0.7;
- opacity: 0.7;
- color: #fff;
- display: none;
- top: 0;
- height: %(height)s;
- width: %(textwidth)s;
-}
-
-ul#s3sliderContent li {
- text-decoration: none;
- list-style-image: none;
- list-style-type: none;
-}
-
-ul#s3sliderContent a {
- text-decoration: none;
-}
-
-div.image-title {
- font-size: 16px;
- margin-bottom: 4px;
-}
-
-.clear {
- clear: both;
-}
View
BIN  collective/plonetruegallery/browser/files/supersized/back.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/bg-black.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/bg-hover.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/button-tray-down.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/button-tray-up.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/forward.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/nav-bg.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/nav-dot.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/pause.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/play.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/progress-back.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/progress-bar.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/progress.gif
Deleted file not rendered
View
60 collective/plonetruegallery/browser/files/supersized/style.css
@@ -1,60 +0,0 @@
-body {
- height: 100%;
-}
-
-#supersized img {
- width:auto;
- height:auto;
- position:relative;
- display:none;
- outline:none;
- border:none; }
-
-
-#supersized-loader {
- position: absolute;
- top: 50%;
- left: 50%;
- z-index: 0;
- width: 60px;
- height: 60px;
- margin: -30px 0 0 -30px;
- text-indent: -999em;
- background: url(++resource++plonetruegallery.resources/supersized/progress.gif) no-repeat center center;
-}
-
-#supersized {
- position: fixed;
- left: 0;
- top: 0;
- overflow: hidden;
- z-index: -999;
- height: 100%;
- width: 100%;
-}
-
-#supersized img {
- width: auto;
- height: auto;
- position: relative;
- outline: none;
- border: none;
-}
-
-#supersized a {
- z-index: -30;
- position: fixed;
- overflow: hidden;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: #111;
- display: block;
-}
-
-#supersized a.image-loading {
- background: #111 url(++resource++plonetruegallery.resources/supersized/progress.gif) no-repeat center center;
- width: 100%;
- height: 100%;
-}
View
BIN  collective/plonetruegallery/browser/files/supersized/thumb-back.png
Deleted file not rendered
View
BIN  collective/plonetruegallery/browser/files/supersized/thumb-forward.png
Deleted file not rendered
View
28 collective/plonetruegallery/browser/views/configure.zcml
@@ -23,14 +23,6 @@
for="collective.plonetruegallery.interfaces.IGallery"
provides="collective.plonetruegallery.interfaces.IGallerySettings"
factory="collective.plonetruegallery.settings.GallerySettings" />
- <adapter zcml:condition="installed collective.js.s3slider"
- for="collective.plonetruegallery.interfaces.IGallery"
- provides="collective.plonetruegallery.interfaces.IS3sliderDisplaySettings"
- factory=".display.S3sliderSettings" />
- <adapter zcml:condition="installed collective.js.supersized"
- for="collective.plonetruegallery.interfaces.IGallery"
- provides="collective.plonetruegallery.interfaces.ISupersizedDisplaySettings"
- factory=".display.SupersizedSettings" />
<adapter for="collective.plonetruegallery.interfaces.IGallery"
provides="collective.plonetruegallery.interfaces.IThumbnailzoomDisplaySettings"
factory=".display.ThumbnailzoomSettings" />
@@ -44,18 +36,6 @@
class=".galleryview.GalleryView"
template="templates/layout.pt"
permission="zope2.View" />
- <browser:page zcml:condition="installed collective.js.s3slider"
- for="collective.plonetruegallery.interfaces.IGallery"
- name="galleryview-s3slider"
- class=".display.S3sliderDisplayType"
- template="templates/s3slider.pt"
- permission="zope2.View" />
- <browser:page zcml:condition="installed collective.js.supersized"
- for="collective.plonetruegallery.interfaces.IGallery"
- name="galleryview-supersized"
- class=".display.SupersizedDisplayType"
- template="templates/supersized.pt"
- permission="zope2.View" />
<browser:page
for="collective.plonetruegallery.interfaces.IGallery"
name="galleryview-thumbnailzoom"
@@ -103,14 +83,6 @@
<!-- display utilities -->
- <utility zcml:condition="installed collective.js.s3slider"
- component=".display.S3sliderDisplayType"
- provides="collective.plonetruegallery.interfaces.IDisplayType"
- name="galleryview-s3slider" />
- <utility zcml:condition="installed collective.js.supersized"
- component=".display.SupersizedDisplayType"
- provides="collective.plonetruegallery.interfaces.IDisplayType"
- name="galleryview-supersized" />
<utility component=".display.ThumbnailzoomDisplayType"
provides="collective.plonetruegallery.interfaces.IDisplayType"
name="galleryview-thumbnailzoom" />
View
175 collective/plonetruegallery/browser/views/display.py
@@ -1,10 +1,7 @@
from collective.plonetruegallery.interfaces import IDisplayType
from collective.plonetruegallery.interfaces import IBatchingDisplayType
-from collective.plonetruegallery.interfaces import IS3sliderDisplaySettings
from collective.plonetruegallery.interfaces import \
IThumbnailzoomDisplaySettings
-from collective.plonetruegallery.interfaces import \
- ISupersizedDisplaySettings
from plone.memoize.view import memoize
from zope.interface import implements
from collective.plonetruegallery import PTGMessageFactory as _
@@ -14,10 +11,6 @@
from Products.Five import BrowserView
from collective.plonetruegallery.utils import getGalleryAdapter
from collective.plonetruegallery.utils import createSettingsFactory
-try:
- import json
-except ImportError:
- import simplejson as json
def jsbool(val):
@@ -127,67 +120,6 @@ def batch(self):
int(self.b_start), orphan=1)
-class S3sliderDisplayType(BaseDisplayType):
-
- name = u"s3slider"
- schema = IS3sliderDisplaySettings
- description = _(u"label_s3slider_display_type",
- default=u"s3slider")
-
- def javascript(self):
- return u"""
-<script type="text/javascript"
- src="%(portal_url)s/++resource++s3Slider.js"></script>
-
-<script type="text/javascript">
-$(document).ready(function() {
- $('#s3slider').s3Slider({
- timeOut: %(delay)i
- });
-})(jQuery);
-</script>
- """ % {
- 'portal_url': self.portal_url,
- 'delay': self.settings.delay
- }
-
- def css(self):
- base = '%s/++resource++plonetruegallery.resources/s3slider' % (
- self.portal_url)
- style = '%(base)s/%(style)s' % {
- 'base' : base,
- 'style' : self.settings.s3slider_style}
-
- if self.settings.s3slider_style == 'custom_style':
- style = '%(url)s/%(style)s' % {
- 'url': self.portal_url,
- 'style': self.settings.s3slider_custom_style}
-
- return u"""
- <style>
-#s3slider {
- height: %(height)s;
- width: %(width)s;
- position: relative;
- overflow: hidden;
-}
-
-ul#s3sliderContent {
- width: %(width)s;
-}
-</style>
-<link rel="stylesheet" type="text/css" href="%(style)s"/>
-""" % {
- 'staticFiles': self.staticFiles,
- 'height': self.settings.s3_height,
- 'width': self.settings.s3_width,
- 'textwidth': self.settings.s3_textwidth,
- 'style': style,
- }
-
-S3sliderSettings = createSettingsFactory(S3sliderDisplayType.schema)
-
-
class ThumbnailzoomDisplayType(BatchingDisplayType):
name = u"thumbnailzoom"
schema = IThumbnailzoomDisplaySettings
@@ -261,110 +193,3 @@ def css(self):
<link rel="stylesheet" type="text/css" href="%s"/>
""" % style
ThumbnailzoomSettings = createSettingsFactory(ThumbnailzoomDisplayType.schema)
-
-
-class SupersizedDisplayType(BaseDisplayType):
- name = u"supersized"
- schema = ISupersizedDisplaySettings
- description = _(u"label_supersized_display_type",
- default=u"Supersized")
-
- def css(self):
- return u"""
- <style>%(supersized_css)s</style>
-<link rel="stylesheet" type="text/css"
- href="%(portal_url)s/++resource++supersized.css"/>
-<link rel="stylesheet" type="text/css"
- href="%(portal_url)s/++resource++supersized.shutter.css"/>
-""" % {
- 'portal_url': self.portal_url,
- 'supersized_css': self.settings.supersized_css
- }
-
- def javascript(self):
- """ this code looks quite ugly...
- The image part for the javascript is constructed below
- and used in the 'slides' : %(imagelist)s
- """
- images = self.adapter.cooked_images
- imagelist = []
- for image in images:
- imagelist.append({
- 'image': image['image_url'],
- 'title': image['title'],
- 'thumb': image['thumb_url'],
- 'url': image['link']
- })
-
- return u"""
-<script type="text/javascript"
- src="%(portal_url)s/++resource++supersized.min.js"></script>
-<script type="text/javascript"
- src="%(portal_url)s/++resource++supersized.shutter.min.js"></script>
-<script type="text/javascript">
-jQuery(function($){
-$.supersized({
- slideshow: %(slideshow)i, // Slideshow on/off
- autoplay: %(slideshow)i,
- start_slide: 1, // Start slide (0 is random)
- slide_interval: %(speed)i,
- stop_loop: %(stop_loop)i, // Pauses slideshow on last slide
- random: 0, // Randomize slide order (Ignores start slide)
- slide_interval: %(duration)i, // Length between transitions
- // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom,
- // 5-Slide Left, 6-Carousel Right, 7-Carousel Left
- transition: %(transition)i,
- transition_speed: %(speed)i, // Speed of transition
- new_window: 0, // Image links open in new window/tab
- pause_hover: 0, // Pause slideshow on hover
- keyboard_nav: 1, // Keyboard navigation on/off
- // 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality,
- // 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
- performance: %(performance)i,
- image_protect: 1, // Disables image dragging and right click
- // Size & Position
- min_width: %(min_width)i, // Min width allowed (in pixels)
- min_height: %(min_height)i, // Min height allowed (in pixels)
- vertical_center: %(vertical_center)i, // Vertically center background
- horizontal_center: %(horizontal_center)i, // Horizontally center background
- // Image will never exceed browser width or height (Ignores min. dim)
- fit_always: %(fit_always)i,
- // Portrait images will not exceed browser height
- fit_portrait: %(fit_portrait)i,
- // Landscape images will not exceed browser width
- fit_landscape: %(fit_landscape)i,
- // Components
- // Individual links for each slide (Options: false, 'number',
- // 'name', 'blank')
- slide_links: '%(slide_links)s',
- thumb_links: %(thumb_links)i, // Individual thumb links for each slide
- thumbnail_navigation: %(thumbnail_navigation)i, // Thumbnail navigation
- slides: %(imagelist)s,
- // Theme Options
- image_path: '++resource++supersized/',
- progress_bar: %(progress_bar)i, // Timer for each slide
- mouse_scrub: 0});
-});
-</script>
-""" % {
- 'portal_url': self.portal_url,
- 'slideshow': self.settings.supersized_slideshow,
- 'stop_loop': self.settings.supersized_stop_loop,
- 'min_width': self.settings.supersized_min_width,
- 'performance': self.settings.supersized_performance,
- 'transition': self.settings.supersized_transition,
- 'min_height': self.settings.supersized_min_height,
- 'vertical_center': self.settings.supersized_vertical_center,
- 'horizontal_center': self.settings.supersized_horizontal_center,
- 'fit_always': self.settings.supersized_fit_always,
- 'fit_portrait': self.settings.supersized_fit_portrait,
- 'fit_landscape': self.settings.supersized_fit_landscape,
- 'thumb_links': self.settings.supersized_thumb_links,
- 'slide_links': self.settings.supersized_slide_links,
- 'thumbnail_navigation': self.settings.supersized_thumbnail_navigation,
- 'progress_bar': self.settings.supersized_progress_bar,
- 'imagelist': json.dumps(imagelist),
- 'speed': self.settings.duration,
- 'duration': self.settings.delay,
- }
-SupersizedSettings = createSettingsFactory(SupersizedDisplayType.schema)
View
21 collective/plonetruegallery/browser/views/templates/s3slider.pt
@@ -1,21 +0,0 @@
-<div id="s3slider">
- <ul id="s3sliderContent">
- <tal:images tal:repeat="img view/adapter/cooked_images">
- <li>
- <a class="s3sliderImage" href="" tal:attributes="href img/link">
- <img title="Locomotives Roundhouse"
- alt=""
- src=""
- tal:attributes="title img/title;
- alt img/description;
- src img/image_url" />
- <span class="right">
- <div class="image-title" tal:content="img/title">Title</div>
- <div class="image-desc" tal:content="structure img/description">Description</div>
- </span>
- </a>
- </li>
- </tal:images>
- </ul>
-</div>
-
View
45 collective/plonetruegallery/browser/views/templates/supersized.pt
@@ -1,45 +0,0 @@
-<div class="supersized_wrapper">
-
- <!--Thumbnail Navigation-->
- <div id="prevthumb" tal:condition="view/settings/supersized_thumbnail_navigation"></div>
- <div id="nextthumb" tal:condition="view/settings/supersized_thumbnail_navigation"></div>
-
- <!--Arrow Navigation-->
- <a id="prevslide" class="load-item" tal:condition="not:view/settings/supersized_show_controls"></a>
- <a id="nextslide" class="load-item" tal:condition="not:view/settings/supersized_show_controls"></a>
-
- <div id="thumb-tray" class="load-item" tal:condition="view/settings/supersized_thumb_links" >
- <div id="thumb-back"></div>
- <div id="thumb-forward"></div>
- </div>
-
- <!--Control Bar-->
- <div id="controls-wrapper" class="load-item" tal:condition="not:view/settings/supersized_show_controls">
-
- <!--Time Bar-->
- <div id="progress-back" class="load-item" tal:condition="view/settings/supersized_progress_bar">
- <div id="progress-bar"></div>
- </div>
-
- <div id="controls">
-
- <a id="play-button"><img id="pauseplay" src="++resource++plonetruegallery.resources/supersized/pause.png"/></a>
-
- <!--Slide counter-->
- <div id="slidecounter">
- <span class="slidenumber"></span> / <span class="totalslides"></span>
- </div>
-
- <!--Slide captions displayed here-->
- <div id="slidecaption"></div>
-
- <!--Thumb Tray button-->
- <a id="tray-button" tal:condition="view/settings/supersized_thumb_links"><img id="tray-arrow" src="++resource++plonetruegallery.resources/supersized/button-tray-up.png"/></a>
-
- <!--Navigation-->
- <ul id="slide-list"></ul>
-
- </div>
- </div>
-
-</div>
View
150 collective/plonetruegallery/interfaces.py
@@ -261,38 +261,6 @@ class IBaseSettings(Interface):
pass
-class IS3sliderDisplaySettings(IBaseSettings):
- s3_width = schema.TextLine(
- title=_(u"label_s3_width",
- default=u"Width of the gallery"),
- default=u"600px")
- s3_height = schema.TextLine(
- title=_(u"label_s3_height",
- default=u"Height of the gallery"),
- default=u"350px")
- s3_textwidth = schema.TextLine(
- title=_(u"label_s3_textwidth",
- default=u"Width of the (black) text box"),
- default=u"150px")
- s3slider_style = schema.Choice(
- title=_(u"label_s3slider_style",
- default=u"What stylesheet (css file) to use"),
- default="style.css",
- vocabulary=SimpleVocabulary([
- SimpleTerm("style.css", "style.css",
- _(u"label_s3slider_style_default",
- default=u"Default")),
- SimpleTerm("custom_style", "custom_style",
- _(u"label_s3slider_style_custom",
- default=u"Custom css file")
- )
- ]))
- s3slider_custom_style = schema.TextLine(
- title=_(u"label_custom_style",
- default=u"Name of Custom css file if you chose that above"),
- default=u"mycustomstyle.css")
-
-
class IThumbnailzoomDisplaySettings(IBaseSettings):
thumbnailzoom_columns = schema.Int(
title=_(u"label_thumbnailzoom_columns",
@@ -332,124 +300,6 @@ class IThumbnailzoomDisplaySettings(IBaseSettings):
default=u"mycustomstyle.css")
-class ISupersizedDisplaySettings(IBaseSettings):
- supersized_slideshow = schema.Bool(
- title=_(u"label_slideshow",
- default=u"Slideshow on"),
- default=True)
- supersized_stop_loop = schema.Bool(
- title=_(u"label_stop_loop",
- default=u"Pauses slideshow on last slide"),
- default=False)
- supersized_transition = schema.Choice(
- title=_(u"label_supersized_transition",
- default=u"Transition"),
- default=1,
- vocabulary=SimpleVocabulary([
- SimpleTerm(0, 0,
- _(u"label_supersized_transition0", default=u"None")),
- SimpleTerm(1, 1,
- _(u"label_supersized_transition1", default=u"Fade")),
- SimpleTerm(2, 2,
- _(u"label_supersized_transition2", default=u"Slide Top")),
- SimpleTerm(3, 3,
- _(u"label_supersized_transition3", default=u"Slide Right")),
- SimpleTerm(4, 4,
- _(u"label_supersized_transition4", default=u"Slide Bottom")),
- SimpleTerm(5, 5,
- _(u"label_supersized_transition5", default=u"Slide Left")),
- SimpleTerm(6, 6,
- _(u"label_supersized_transition6", default=u"Carousel Right")),
- SimpleTerm(7, 7,
- _(u"label_supersized_transition7", default=u"Carousel Left")
- )
- ]))
- supersized_performance = schema.Choice(
- title=_(u"label_performance",
- default=u"Performance"),
- default=1,
- vocabulary=SimpleVocabulary([
- SimpleTerm(0, 0,
- _(u"label_supersized_performance0", default=u"Normal")),
- SimpleTerm(1, 1,
- _(u"label_supersized_performance1",
- default=u"Hybrid between speed and quality")),
- SimpleTerm(2, 2,
- _(u"label_supersized_performance2",
- default=u"Optimizes image quality")),
- SimpleTerm(3, 3,
- _(u"label_supersized_performance3",
- default=u"Optimizes transition speed. Only works for "
- u"Firefox, IE, not Webkit")
- )
- ]))
- supersized_min_width = schema.Int(
- title=_(u"label_min_width",
- default=u"Min width allowed, in pixels"),
- default=0)
- supersized_min_height = schema.Int(
- title=_(u"label_min_height",
- default=u"Min height allowed, in pixels"),
- default=0)
- supersized_horizontal_center = schema.Bool(
- title=_(u"label_horizontal_center",
- default=u"Horizontally center background"),
- default=True)
- supersized_vertical_center = schema.Bool(
- title=_(u"label_vertical_center",
- default=u"Vertically center background"),
- default=True)
- supersized_fit_always = schema.Bool(
- title=_(u"label_fit_always",
- default=u"Image will never exceed browser width or height. "
- u"Ignores min. dimensions"),
- default=False)
- supersized_fit_portrait = schema.Bool(
- title=_(u"label_fit_portrait",
- default=u"Portrait images will not exceed browser height"),
- default=True)
- supersized_fit_landscape = schema.Bool(
- title=_(u"label_fit_landscape",
- default=u"Landscape images will not exceed browser width"),
- default=False)
- supersized_thumbnail_navigation = schema.Bool(
- title=_(u"label_thumbnail_navigation",
- default=u"Show next and previous thumb "),
- default=False)
- supersized_thumb_links = schema.Bool(
- title=_(u"label_thumb_links",
- default=u"Individual thumb links for each "
- u"slide in the 'bottom tray'"),
- default=True)
- supersized_slide_links = schema.Choice(
- title=_(u"label_slide_link",
- default=u"Show slide names in the center of bottom tray (you will "
- u"need to style 'Name' with css)"),
- default="blank",
- vocabulary=SimpleVocabulary([
- SimpleTerm('name', 'name',
- _(u"label_slide_links_name",
- default=u"Name")),
- SimpleTerm('blank', 'blank',
- _(u"label_slide_links_blank",
- default=u"Blank")
- )
- ]))
- supersized_progress_bar = schema.Bool(
- title=_(u"label_progress_bar",
- default=u"Show progress bar"),
- default=False)
- supersized_show_controls = schema.Bool(
- title=_(u"label_show_controls",
- default=u"Hide ALL Controls"),
- default=False)
- supersized_css = schema.Text(
- title=_(u"label_supersized_css",
- default=u"CSS to customize the layout"),
- required=False,
- default=u'#portal-footer {display: none; } body {background: #111; }')
-
-
class IBasicGallerySettings(IBaseSettings):
pass
View
2  docs/HISTORY.txt
@@ -29,6 +29,8 @@ Changelog
- move to using collective.ptg.presentation
+- move to using collective.ptg.supersized
+
2.4b3 (2012-06-25)
------------------
Please sign in to comment.
Something went wrong with that request. Please try again.