Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
slapos.core
Commits
bd29bc8e
Commit
bd29bc8e
authored
Nov 02, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web: Remove unused code
getJavascrip and getCss is overwritten under vifib_hosting_theme
parent
4bd88ae8
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
245 deletions
+0
-245
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getCssRelativeUrlList.py
...skins/vifib_jauks_theme/ERP5Site_getCssRelativeUrlList.py
+0
-6
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getCssRelativeUrlList.xml
...kins/vifib_jauks_theme/ERP5Site_getCssRelativeUrlList.xml
+0
-62
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getJavaScriptRelativeUrlList.py
...ifib_jauks_theme/ERP5Site_getJavaScriptRelativeUrlList.py
+0
-3
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getJavaScriptRelativeUrlList.xml
...fib_jauks_theme/ERP5Site_getJavaScriptRelativeUrlList.xml
+0
-62
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ListBox_asUnorderedListHTML.xml
...l_skins/vifib_jauks_theme/ListBox_asUnorderedListHTML.xml
+0
-58
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ListBox_asUnorderedListHTML.zpt
...l_skins/vifib_jauks_theme/ListBox_asUnorderedListHTML.zpt
+0
-54
No files found.
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getCssRelativeUrlList.py
deleted
100644 → 0
View file @
4bd88ae8
# This script returns an iterable of the paths to standard CSS objects.
return
(
'km_css/km_listbox.css'
,
'vifib_style/listbox.css'
,
'vifib_style/vifib.css'
,
'vifib_style/zocial.css'
)
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getCssRelativeUrlList.xml
deleted
100644 → 0
View file @
4bd88ae8
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_getCssRelativeUrlList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getJavaScriptRelativeUrlList.py
deleted
100644 → 0
View file @
4bd88ae8
# This script returns an iterable of the paths to standard JavaScript objects.
return
(
'jquery/core/jquery.js'
,
)
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ERP5Site_getJavaScriptRelativeUrlList.xml
deleted
100644 → 0
View file @
4bd88ae8
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_getJavaScriptRelativeUrlList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ListBox_asUnorderedListHTML.xml
deleted
100644 → 0
View file @
4bd88ae8
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ZopePageTemplate"
module=
"Products.PageTemplates.ZopePageTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ListBox_asUnorderedListHTML
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/ListBox_asUnorderedListHTML.zpt
deleted
100644 → 0
View file @
4bd88ae8
<tal:block
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
tal:define="field_id here/getId;
form_id python: here.getForm().id;
portal_url_string request/current_web_site_url;
real_context here/getContext;
context_url real_context/absolute_url;
line_list here/query;"
i18n:domain="ui">
<tal:comment replace="nothing">
Docstring: Display listbox as ul with RSS link
Interest: create box to display last element with rss feature
</tal:comment>
<tal:block tal:define="max_lines python: int(here.getMaxLineNumber());
total_line python: int(here.total_size);
label_list here/getLabelValueList ;">
<tal:comment replace="nothing">
Info : for list in label_list
sql python: list[0];
title python: list[1];
sort_order python: list[2]">
</tal:comment>
<a tal:attributes="href python: 'WebSite_redirectToPermanentRss?object_url=%s/%s/%s' % (context_url, form_id, field_id)">
<img src="./vifib_image/rss.png" tal:attributes="src python: '%s/vifib_image/rss.png' % portal_url_string"/>
</a>
<div tal:condition="python: total_line == 0" id="result" class="warning clear" i18n:translate="">No results.</div>
<ul tal:condition="line_list" class="clear">
<li tal:repeat="line line_list">
<tal:block tal:repeat="value line/render">
<div tal:define="html python: value[0];
original_value python: value[1];
empty python: original_value in ('', None) and not request.get('editable_mode')"
tal:attributes="class python: repeat['value'].index==0 and 'main' or not repeat['value'].index==0 and 'second'">
<span tal:condition="not: empty" class='title' i18n:translate="" tal:content="python: label_list[repeat['value'].index][1]" />
<span tal:condition="not: empty" tal:replace="structure html">value</span>
</div>
</tal:block>
</li>
</ul>
</tal:block>
<!-- ListBox ends here -->
</tal:block>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment