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
Labels
Merge Requests
19
Merge Requests
19
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
cb677ff1
Commit
cb677ff1
authored
May 25, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use request to start/stop/delete.
parent
2ffcf1d6
Changes
18
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
71 additions
and
1093 deletions
+71
-1093
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_requestDestroy.xml
...kins/vifib_hosting/HostingSubscription_requestDestroy.xml
+2
-2
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_requestPerson.xml
...skins/vifib_hosting/HostingSubscription_requestPerson.xml
+12
-3
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_requestStart.xml
..._skins/vifib_hosting/HostingSubscription_requestStart.xml
+2
-2
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_requestStop.xml
...l_skins/vifib_hosting/HostingSubscription_requestStop.xml
+2
-2
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb.xml
...tal_skins/vifib_hosting/HostingSubscription_viewAsWeb.xml
+10
-8
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox.xml
...s/vifib_hosting/HostingSubscription_viewAsWeb/listbox.xml
+0
-24
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox_action_button.xml
...g/HostingSubscription_viewAsWeb/listbox_action_button.xml
+0
-275
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox_start_button.xml
...ng/HostingSubscription_viewAsWeb/listbox_start_button.xml
+0
-260
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox_stop_button.xml
...ing/HostingSubscription_viewAsWeb/listbox_stop_button.xml
+0
-260
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/my_destroy_button.xml
...sting/HostingSubscription_viewAsWeb/my_destroy_button.xml
+2
-2
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/my_start_button.xml
...hosting/HostingSubscription_viewAsWeb/my_start_button.xml
+2
-2
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/my_stop_button.xml
..._hosting/HostingSubscription_viewAsWeb/my_stop_button.xml
+2
-2
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/your_status.xml
...fib_hosting/HostingSubscription_viewAsWeb/your_status.xml
+35
-35
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_callWorkflowAction.xml
...ins/vifib_hosting/SoftwareInstance_callWorkflowAction.xml
+0
-76
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_getStartUrl.xml
...rtal_skins/vifib_hosting/SoftwareInstance_getStartUrl.xml
+0
-67
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_getStopUrl.xml
...ortal_skins/vifib_hosting/SoftwareInstance_getStopUrl.xml
+0
-67
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_viewAsWeb.xml
...portal_skins/vifib_hosting/SoftwareInstance_viewAsWeb.xml
+1
-5
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
No files found.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
SoftwareInstance_requestStop
.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
HostingSubscription_requestDestroy
.xml
View file @
cb677ff1
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return context.
SoftwareInstance_callWorkflowAction(\'stop
\')\n
<value>
<string>
return context.
HostingSubscription_requestPerson(\'destroyed
\')\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_requestStop
</string>
</value>
<value>
<string>
HostingSubscription_requestDestroy
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
SoftwareInstance_getDestroyUrl
.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
HostingSubscription_requestPerson
.xml
View file @
cb677ff1
...
@@ -50,16 +50,25 @@
...
@@ -50,16 +50,25 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return context.absolute_url() + \'/SoftwareInstance_callWorkflowAction?action=destroy\'\n
<value>
<string>
person = context.ERP5Site_getAuthenticatedMemberPersonValue()\n
person.requestSoftwareInstance(\n
state=state,\n
software_release=context.getRootSoftwareReleaseUrl(),\n
software_title=context.getTitle(),\n
software_type=context.getSourceReference(),\n
instance_xml=context.getTextContent(),\n
sla_xml=context.getSlaXml(),\n
shared=context.isRootSlave()\n
)\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
*args, **kw
</string>
</value>
<value>
<string>
state
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_getDestroyUrl
</string>
</value>
<value>
<string>
HostingSubscription_requestPerson
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
SoftwareInstance
_requestStart.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
HostingSubscription
_requestStart.xml
View file @
cb677ff1
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return context.
SoftwareInstance_callWorkflowAction(\'start
\')\n
<value>
<string>
return context.
HostingSubscription_requestPerson(\'started
\')\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance
_requestStart
</string>
</value>
<value>
<string>
HostingSubscription
_requestStart
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
SoftwareInstance_requestDestroy
.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
HostingSubscription_requestStop
.xml
View file @
cb677ff1
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return context.
SoftwareInstance_callWorkflowAction(\'destroy
\')\n
<value>
<string>
return context.
HostingSubscription_requestPerson(\'stopped
\')\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_requestDestroy
</string>
</value>
<value>
<string>
HostingSubscription_requestStop
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb.xml
View file @
cb677ff1
...
@@ -74,7 +74,9 @@
...
@@ -74,7 +74,9 @@
<item>
<item>
<key>
<string>
bottom
</string>
</key>
<key>
<string>
bottom
</string>
</key>
<value>
<value>
<list/>
<list>
<string>
my_destroy_button
</string>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -88,11 +90,7 @@
...
@@ -88,11 +90,7 @@
<value>
<value>
<list>
<list>
<string>
listbox_status
</string>
<string>
listbox_status
</string>
<string>
listbox_start_button
</string>
<string>
listbox_destroy_button
</string>
<string>
listbox_stop_button
</string>
<string>
listbox_image
</string>
<string>
listbox_image
</string>
<string>
listbox_action_button
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -102,6 +100,7 @@
...
@@ -102,6 +100,7 @@
<list>
<list>
<string>
my_title
</string>
<string>
my_title
</string>
<string>
listbox
</string>
<string>
listbox
</string>
<string>
your_status
</string>
<string>
last_event_listbox
</string>
<string>
last_event_listbox
</string>
</list>
</list>
</value>
</value>
...
@@ -109,7 +108,10 @@
...
@@ -109,7 +108,10 @@
<item>
<item>
<key>
<string>
right
</string>
</key>
<key>
<string>
right
</string>
</key>
<value>
<value>
<list/>
<list>
<string>
my_start_button
</string>
<string>
my_stop_button
</string>
</list>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -125,11 +127,11 @@
...
@@ -125,11 +127,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
OpenSaleOrderLine
_viewAsWeb
</string>
</value>
<value>
<string>
HostingSubscription
_viewAsWeb
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
pt
</string>
</key>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
<value>
<string>
form_view
_editable
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
row_length
</string>
</key>
<key>
<string>
row_length
</string>
</key>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox.xml
View file @
cb677ff1
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
<string>
select
</string>
<string>
select
</string>
<string>
selection_name
</string>
<string>
selection_name
</string>
<string>
title
</string>
<string>
title
</string>
<string>
url_columns
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -113,10 +112,6 @@
...
@@ -113,10 +112,6 @@
<key>
<string>
editable_columns
</string>
</key>
<key>
<string>
editable_columns
</string>
</key>
<value>
<value>
<list>
<list>
<tuple>
<string>
action_button
</string>
<string>
Action
</string>
</tuple>
<tuple>
<tuple>
<string>
image
</string>
<string>
image
</string>
<string>
image
</string>
<string>
image
</string>
...
@@ -158,25 +153,6 @@
...
@@ -158,25 +153,6 @@
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
My Software Instances
</string>
</value>
<value>
<string>
My Software Instances
</string>
</value>
</item>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
start_button
</string>
<string>
SoftwareInstance_getStartUrl
</string>
</tuple>
<tuple>
<string>
stop_button
</string>
<string>
SoftwareInstance_getStopUrl
</string>
</tuple>
<tuple>
<string>
destroy_button
</string>
<string>
SoftwareInstance_getDestroyUrl
</string>
</tuple>
</list>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox_action_button.xml
deleted
100644 → 0
View file @
2ffcf1d6
This diff is collapsed.
Click to expand it.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox_start_button.xml
deleted
100644 → 0
View file @
2ffcf1d6
This diff is collapsed.
Click to expand it.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/listbox_stop_button.xml
deleted
100644 → 0
View file @
2ffcf1d6
This diff is collapsed.
Click to expand it.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
SoftwareInstance
_viewAsWeb/my_destroy_button.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
HostingSubscription
_viewAsWeb/my_destroy_button.xml
View file @
cb677ff1
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
SoftwareInstance
_requestDestroy:method
</string>
</value>
<value>
<string>
HostingSubscription
_requestDestroy:method
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:
context.SoftwareInstance_getStatus() not in (\'Destroyed\', \'Destruction in progress\')
</string>
</value>
<value>
<string>
python:
here.getSlapState() != \'destroy_requested\'
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
SoftwareInstance
_viewAsWeb/my_start_button.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
HostingSubscription
_viewAsWeb/my_start_button.xml
View file @
cb677ff1
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
SoftwareInstance
_requestStart:method
</string>
</value>
<value>
<string>
HostingSubscription
_requestStart:method
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:
context.SoftwareInstance_getStatus() == "Stopped"
</string>
</value>
<value>
<string>
python:
here.getSlapState() != \'destroy_requested\'
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
SoftwareInstance
_viewAsWeb/my_stop_button.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/
HostingSubscription
_viewAsWeb/my_stop_button.xml
View file @
cb677ff1
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
SoftwareInstance
_requestStop:method
</string>
</value>
<value>
<string>
HostingSubscription
_requestStop:method
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:
context.SoftwareInstance_getStatus() == "Started"
</string>
</value>
<value>
<string>
python:
here.getSlapState() != \'destroy_requested\'
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/
listbox_destroy_button
.xml
→
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/
your_status
.xml
View file @
cb677ff1
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
<ZopeData>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<pickle>
<global
name=
"
RawTextArea
Field"
module=
"Products.Formulator.StandardFields"
/>
<global
name=
"
String
Field"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_destroy_button
</string>
</value>
<value>
<string>
your_status
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
@@ -49,6 +49,14 @@
...
@@ -49,6 +49,14 @@
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
editable
</string>
</key>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -65,10 +73,6 @@
...
@@ -65,10 +73,6 @@
<key>
<string>
extra
</string>
</key>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
hidden
</string>
</key>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -97,10 +101,6 @@
...
@@ -97,10 +101,6 @@
<key>
<string>
whitespace_preserve
</string>
</key>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -118,17 +118,25 @@
...
@@ -118,17 +118,25 @@
</item>
</item>
<item>
<item>
<key>
<string>
default
</string>
</key>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
editable
</string>
</key>
<key>
<string>
editable
</string>
</key>
<value>
<value>
<string></string>
</value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
enabled
</string>
</key>
<key>
<string>
enabled
</string>
</key>
...
@@ -142,10 +150,6 @@
...
@@ -142,10 +150,6 @@
<key>
<string>
extra
</string>
</key>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
hidden
</string>
</key>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -174,10 +178,6 @@
...
@@ -174,10 +178,6 @@
<key>
<string>
whitespace_preserve
</string>
</key>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -191,19 +191,27 @@
...
@@ -191,19 +191,27 @@
</item>
</item>
<item>
<item>
<key>
<string>
css_class
</string>
</key>
<key>
<string>
css_class
</string>
</key>
<value>
<string>
nolabel negative widthAuto
</string>
</value>
<value>
<string>
inline
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default
</string>
</key>
<key>
<string>
default
</string>
</key>
<value>
<string>
Destroy
</string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<int>
20
</int>
</value>
</item>
<item>
<item>
<key>
<string>
editable
</string>
</key>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
enabled
</string>
</key>
<key>
<string>
enabled
</string>
</key>
...
@@ -217,10 +225,6 @@
...
@@ -217,10 +225,6 @@
<key>
<string>
extra
</string>
</key>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
5
</int>
</value>
</item>
<item>
<item>
<key>
<string>
hidden
</string>
</key>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
...
@@ -235,7 +239,7 @@
...
@@ -235,7 +239,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Destroy
</string>
</value>
<value>
<string>
Status
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
truncate
</string>
</key>
<key>
<string>
truncate
</string>
</key>
...
@@ -249,10 +253,6 @@
...
@@ -249,10 +253,6 @@
<key>
<string>
whitespace_preserve
</string>
</key>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
40
</int>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_text
</string>
</key>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: context.SoftwareInstance_getStatus() in (\'started\', \'stopped\')
</string>
</value>
<value>
<string>
here/SoftwareInstance_getStatus
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_callWorkflowAction.xml
deleted
100644 → 0
View file @
2ffcf1d6
<?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>
_body
</string>
</key>
<value>
<string>
if action == \'start\':\n
context.requestStartComputerPartition()\n
message = \'Starting\'\n
if action == \'stop\':\n
context.requestStopComputerPartition()\n
message = \'Stopping\'\n
if action == \'destroy\':\n
context.requestDestroyComputerPartition()\n
message = \'Destroying\'\n
return context.Base_redirect(keep_items=dict(portal_status_message=message))\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
action
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_callWorkflowAction
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_getStartUrl.xml
deleted
100644 → 0
View file @
2ffcf1d6
<?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>
_body
</string>
</key>
<value>
<string>
return context.absolute_url() + \'/SoftwareInstance_callWorkflowAction?action=start\'\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
*args, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_getStartUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_getStopUrl.xml
deleted
100644 → 0
View file @
2ffcf1d6
<?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>
_body
</string>
</key>
<value>
<string>
return context.absolute_url() + \'/SoftwareInstance_callWorkflowAction?action=stop\'\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
*args, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareInstance_getStopUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/SoftwareInstance_viewAsWeb.xml
View file @
cb677ff1
...
@@ -74,11 +74,7 @@
...
@@ -74,11 +74,7 @@
<item>
<item>
<key>
<string>
center
</string>
</key>
<key>
<string>
center
</string>
</key>
<value>
<value>
<list>
<list/>
<string>
my_start_button
</string>
<string>
my_stop_button
</string>
<string>
my_destroy_button
</string>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
...
...
master/bt5/vifib_web/bt/revision
View file @
cb677ff1
370
371
\ No newline at end of file
\ No newline at end of file
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