Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit a7dd9a3

Browse files
glennglenn
glenn
authored and
glenn
committed
added sinar.theme files
1 parent a611531 commit a7dd9a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1549
-0
lines changed

MANIFEST.in

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
recursive-include Sinar *
2+
include *.txt
3+
include *.rst
4+
recursive-include docs *
5+
global-exclude *pyc

README.rst

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
README for Sinar.Theme
2+
==========================================
3+
4+
This product contains traces of nuts

Sinar.Theme.egg-info/PKG-INFO

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Metadata-Version: 1.1
2+
Name: Sinar.Theme
3+
Version: 1.0
4+
Summary: Sinar Theme
5+
Home-page: http://github.com/inigoconsulting/
6+
Author: Inigo Consulting
7+
Author-email: team@inigo-tech.com
8+
License: gpl
9+
Description: README for Sinar.Theme
10+
==========================================
11+
12+
This product contains traces of nuts
13+
14+
Changelog
15+
=========
16+
17+
'1.0' - Unreleased
18+
---------------------
19+
20+
- Initial package generated using inigo.templer
21+
22+
Platform: UNKNOWN
23+
Classifier: Framework :: Plone
24+
Classifier: Programming Language :: Python
25+
Classifier: Topic :: Software Development :: Libraries :: Python Modules

Sinar.Theme.egg-info/SOURCES.txt

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
MANIFEST.in
2+
README.rst
3+
setup.cfg
4+
setup.py
5+
Sinar/__init__.py
6+
Sinar.Theme.egg-info/PKG-INFO
7+
Sinar.Theme.egg-info/SOURCES.txt
8+
Sinar.Theme.egg-info/dependency_links.txt
9+
Sinar.Theme.egg-info/entry_points.txt
10+
Sinar.Theme.egg-info/namespace_packages.txt
11+
Sinar.Theme.egg-info/not-zip-safe
12+
Sinar.Theme.egg-info/paster_plugins.txt
13+
Sinar.Theme.egg-info/requires.txt
14+
Sinar.Theme.egg-info/top_level.txt
15+
Sinar/Theme/__init__.py
16+
Sinar/Theme/configure.zcml
17+
Sinar/Theme/interfaces.py
18+
Sinar/Theme/setuphandlers.py
19+
Sinar/Theme/browser/README.txt
20+
Sinar/Theme/browser/__init__.py
21+
Sinar/Theme/jbot/README.txt
22+
Sinar/Theme/locales/README.txt
23+
Sinar/Theme/profiles/default/Sinar.Theme.marker.txt
24+
Sinar/Theme/profiles/default/browserlayer.xml
25+
Sinar/Theme/profiles/default/cssregistry.xml
26+
Sinar/Theme/profiles/default/jsregistry.xml
27+
Sinar/Theme/profiles/default/metadata.xml
28+
Sinar/Theme/profiles/default/skins.xml
29+
Sinar/Theme/profiles/default/theme.xml
30+
Sinar/Theme/skins/Sinar_Theme/README.txt
31+
Sinar/Theme/static/README.txt
32+
Sinar/Theme/static/index.html
33+
Sinar/Theme/static/rules.xml
34+
Sinar/Theme/static/css/public.css
35+
Sinar/Theme/upgrades/__init__.py
36+
Sinar/Theme/upgrades/handlers.py
37+
Sinar/Theme/upgrades/profiles.py
38+
docs/HISTORY.rst
39+
docs/INSTALL.rst
40+
docs/LICENSE.GPL
41+
docs/LICENSE.txt
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Sinar.Theme.egg-info/entry_points.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# -*- Entry points: -*-
3+
[z3c.autoinclude.plugin]
4+
target = plone
5+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sinar

Sinar.Theme.egg-info/not-zip-safe

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
templer.localcommands

Sinar.Theme.egg-info/requires.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
setuptools
2+
plone.app.dexterity [grok, relations]
3+
plone.namedfile [blobs]
4+
collective.grok
5+
plone.app.referenceablebehavior
6+
collective.dexteritytextindexer
7+
plone.app.multilingual
8+
plone.multilingualbehavior
9+
z3c.jbot
10+
11+
[test]
12+
plone.app.testing

Sinar.Theme.egg-info/top_level.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sinar

Sinar/Theme/__init__.py

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
from zope.interface import implements
2+
from Products.CMFQuickInstallerTool.interfaces import INonInstallable
3+
from five import grok
4+
from collective.grok import gs
5+
from zope.i18nmessageid import MessageFactory
6+
7+
# Set up the i18n message factory for our package
8+
MessageFactory = MessageFactory('Sinar.Theme')
9+
10+
_ = MessageFactory
11+
12+
class HiddenProducts(grok.GlobalUtility):
13+
"""This hides the upgrade profiles from the quick installer tool."""
14+
implements(INonInstallable)
15+
grok.name('Sinar.Theme.upgrades')
16+
17+
def getNonInstallableProducts(self):
18+
return [
19+
'Sinar.Theme.upgrades',
20+
]
21+
22+
gs.profile(name=u'default',
23+
title=u'Sinar.Theme',
24+
description=_(u''),
25+
directory='profiles/default')

Sinar/Theme/browser/README.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Register browserviews here

Sinar/Theme/browser/__init__.py

Whitespace-only changes.

Sinar/Theme/configure.zcml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<configure
2+
xmlns="http://namespaces.zope.org/zope"
3+
xmlns:five="http://namespaces.zope.org/five"
4+
xmlns:cmf="http://namespaces.zope.org/cmf"
5+
xmlns:i18n="http://namespaces.zope.org/i18n"
6+
xmlns:plone="http://namespaces.plone.org/plone"
7+
xmlns:grok="http://namespaces.zope.org/grok"
8+
xmlns:browser="http://namespaces.zope.org/browser"
9+
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
10+
i18n_domain="Sinar.Theme">
11+
12+
<includeDependencies package="." />
13+
<grok:grok package="." />
14+
<i18n:registerTranslations directory="locales" />
15+
<plone:static directory="static" type="theme" />
16+
17+
<browser:jbot
18+
directory="jbot"
19+
layer=".interfaces.IProductSpecific" />
20+
21+
<cmf:registerDirectory name="Sinar_Theme"/>
22+
23+
<browser:resourceDirectory
24+
name="Sinar.Theme"
25+
directory="static"/>
26+
27+
<!-- -*- extra stuff goes here -*- -->
28+
29+
</configure>

Sinar/Theme/interfaces.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from zope.interface import Interface
2+
3+
class IProductSpecific(Interface):
4+
pass
5+

Sinar/Theme/jbot/README.txt

Whitespace-only changes.

Sinar/Theme/locales/README.txt

Whitespace-only changes.

Sinar/Theme/profiles/default/Sinar.Theme.marker.txt

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0"?>
2+
<layers>
3+
<layer name="Sinar.Theme"
4+
interface="Sinar.Theme.interfaces.IProductSpecific" />
5+
</layers>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<!-- This file holds the setup configuration for the portal_css tool. -->
3+
4+
<object name="portal_css">
5+
<stylesheet title=""
6+
id="public.css"
7+
media="screen" rel="stylesheet" rendering="import"
8+
cacheable="True" compression="safe" cookable="True"
9+
enabled="1" expression="not: request/HTTP_X_THEME_ENABLED | nothing"/>
10+
11+
<stylesheet title=""
12+
id="++theme++Sinar.Theme/css/public.css"
13+
media="screen" rel="stylesheet" rendering="import"
14+
cacheable="True" compression="safe" cookable="True"
15+
enabled="1" expression="request/HTTP_X_THEME_ENABLED|nothing"/>
16+
17+
<!-- -*- extra stuff goes here -*- -->
18+
19+
</object>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0"?>
2+
<object name="portal_javascripts" meta_type="JavaScripts Registry">
3+
4+
<!-- -*- extra stuff goes here -*- -->
5+
6+
</object>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0"?>
2+
<metadata>
3+
<version>1000</version>
4+
<dependencies>
5+
<dependency>profile-plone.app.theming:default</dependency>
6+
</dependencies>
7+
</metadata>
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0"?>
2+
<object name="portal_skins" allow_any="False" cookie_persistence="False"
3+
default_skin="Sunburst Theme">
4+
<object name="Sinar_Theme"
5+
meta_type="Filesystem Directory View"
6+
directory="Sinar.Theme:skins/Sinar_Theme"/>
7+
<skin-path name="*">
8+
<layer name="Sinar_Theme"
9+
insert-after="custom"/>
10+
</skin-path>
11+
</object>
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<theme>
2+
<name>Sinar.Theme</name>
3+
<enabled>true</enabled>
4+
</theme>

Sinar/Theme/setuphandlers.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from collective.grok import gs
2+
from Sinar.Theme import MessageFactory as _
3+
4+
@gs.importstep(
5+
name=u'Sinar.Theme',
6+
title=_('Sinar.Theme import handler'),
7+
description=_(''))
8+
def setupVarious(context):
9+
if context.readDataFile('Sinar.Theme.marker.txt') is None:
10+
return
11+
portal = context.getSite()
12+
13+
# do anything here

Sinar/Theme/skins/Sinar_Theme/README.txt

Whitespace-only changes.

Sinar/Theme/static/README.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Drop static resources here

0 commit comments

Comments
 (0)