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
Jérome Perrin
slapos.core
Commits
37f3b080
Commit
37f3b080
authored
Apr 28, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_web: Make top bar links configurable via webpage.
parent
6e207b34
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
341 additions
and
9 deletions
+341
-9
master/bt5/slapos_web/PathTemplateItem/web_page_module/slapos-topbar-widget-links.html
...plateItem/web_page_module/slapos-topbar-widget-links.html
+7
-0
master/bt5/slapos_web/PathTemplateItem/web_page_module/slapos-topbar-widget-links.xml
...mplateItem/web_page_module/slapos-topbar-widget-links.xml
+324
-0
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_widget_library/WebSite_viewTopBarWidget.zpt
...s/vifib_jauks_widget_library/WebSite_viewTopBarWidget.zpt
+4
-7
master/bt5/slapos_web/bt/template_keep_last_workflow_history_only_path_list
...web/bt/template_keep_last_workflow_history_only_path_list
+2
-1
master/bt5/slapos_web/bt/template_keep_path_list
master/bt5/slapos_web/bt/template_keep_path_list
+1
-0
master/bt5/slapos_web/bt/template_keep_workflow_path_list
master/bt5/slapos_web/bt/template_keep_workflow_path_list
+2
-1
master/bt5/slapos_web/bt/template_path_list
master/bt5/slapos_web/bt/template_path_list
+1
-0
No files found.
master/bt5/slapos_web/PathTemplateItem/web_page_module/slapos-topbar-widget-links.html
0 → 100644
View file @
37f3b080
<ul>
<li><a
href=
"http://community.slapos.org/wiki"
>
Documentation
</a></li>
<li><a
href=
"http://community.slapos.org/download"
>
Download
</a></li>
<li><a
href=
"http://community.slapos.org/forum"
>
Forum
</a></li>
<li><a
href=
"http://community.slapos.org/blog"
>
Blog
</a></li>
<li>
</li>
</ul>
\ No newline at end of file
master/bt5/slapos_web/PathTemplateItem/web_page_module/slapos-topbar-widget-links.xml
0 → 100644
View file @
37f3b080
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
slapos-Top.Bar.Widget.Links
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
slapos-topbar-widget-links
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<string>
Top Bar Widget Links
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Top Bar Widget Links
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1461817320.62
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
950.52742.711.33075
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1461817529.25
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1461817144.43
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_widget_library/WebSite_viewTopBarWidget.zpt
View file @
37f3b080
...
@@ -48,13 +48,10 @@
...
@@ -48,13 +48,10 @@
</div>
</div>
<div id="menu">
<div id="menu">
<ul>
<tal:block tal:define="message python:here.getDocumentValue('slapos-Top.Bar.Widget.Links').asStrippedHTML()"
<li><a href="http://community.slapos.org/wiki">Documentation</a></li>
tal:content="structure message"
<li><a href="http://community.slapos.org/download">Download</a></li>
tal:condition="python:here.getDocumentValue('slapos-Top.Bar.Widget.Links')">
<li><a href="http://community.slapos.org/forum">Forum</a></li>
</tal:block>
<li><a href="http://community.slapos.org/blog">Blog</a></li>
<li> </li>
</ul>
</div>
</div>
</tal:block>
</tal:block>
\ No newline at end of file
master/bt5/slapos_web/bt/template_keep_last_workflow_history_only_path_list
View file @
37f3b080
...
@@ -2,3 +2,4 @@ web_page_module/rjs_gadget_slapos_**
...
@@ -2,3 +2,4 @@ web_page_module/rjs_gadget_slapos_**
web_page_module/rjs_slapos_**
web_page_module/rjs_slapos_**
web_page_module/rjs_tv4_min_js
web_page_module/rjs_tv4_min_js
web_page_module/rjs_vkbeautify_js
web_page_module/rjs_vkbeautify_js
web_page_module/slapos-topbar-widget-links
\ No newline at end of file
master/bt5/slapos_web/bt/template_keep_path_list
0 → 100644
View file @
37f3b080
web_page_module/slapos-topbar-widget-links
\ No newline at end of file
master/bt5/slapos_web/bt/template_keep_workflow_path_list
View file @
37f3b080
...
@@ -8,3 +8,4 @@ web_site_module/hosting
...
@@ -8,3 +8,4 @@ web_site_module/hosting
image_module/vifib.cloud
image_module/vifib.cloud
image_module/vifib.rack
image_module/vifib.rack
image_module/vifib.kvm
image_module/vifib.kvm
web_page_module/slapos-topbar-widget-links
\ No newline at end of file
master/bt5/slapos_web/bt/template_path_list
View file @
37f3b080
...
@@ -17,6 +17,7 @@ web_page_module/rjs_gadget_slapos_**
...
@@ -17,6 +17,7 @@ web_page_module/rjs_gadget_slapos_**
web_page_module/rjs_slapos_**
web_page_module/rjs_slapos_**
web_page_module/rjs_tv4_min_js
web_page_module/rjs_tv4_min_js
web_page_module/rjs_vkbeautify_js
web_page_module/rjs_vkbeautify_js
web_page_module/slapos-topbar-widget-links
web_page_module/vifib*
web_page_module/vifib*
web_page_module/vifib_payzen_cancel
web_page_module/vifib_payzen_cancel
web_page_module/vifib_payzen_error
web_page_module/vifib_payzen_error
...
...
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