Commit 14ad0564 authored by Romain Courteaud's avatar Romain Courteaud

Improve usability of software instance management

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42417 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 115fe680
......@@ -102,22 +102,10 @@
<string>image</string>
<string>Image</string>
</tuple>
<tuple>
<string>start_button</string>
<string>Start</string>
</tuple>
<tuple>
<string>stop_button</string>
<string>Stop</string>
</tuple>
<tuple>
<string>status</string>
<string>Status</string>
</tuple>
<tuple>
<string>destroy_button</string>
<string>Destroy</string>
</tuple>
</list>
</value>
</item>
......@@ -125,18 +113,6 @@
<key> <string>editable_columns</string> </key>
<value>
<list>
<tuple>
<string>start_button</string>
<string>Start</string>
</tuple>
<tuple>
<string>stop_button</string>
<string>Stop</string>
</tuple>
<tuple>
<string>destroy_button</string>
<string>Destroy</string>
</tuple>
<tuple>
<string>action_button</string>
<string>Action</string>
......@@ -209,10 +185,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
......
......@@ -132,9 +132,7 @@
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
......@@ -263,10 +261,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
......@@ -277,20 +272,4 @@
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.SoftwareInstance_getStatus() in {\'started\': None, \'stopped\': None}</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -9,7 +9,9 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>default</string>
</list>
</value>
</item>
<item>
......@@ -50,6 +52,12 @@
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -69,6 +77,10 @@
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_section_title</string> </value>
......@@ -87,4 +99,21 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python:"<h1>Partitions installed for: %s</h1>" % (context.getTranslatedTitle())
]]></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -75,7 +75,6 @@
<key> <string>center</string> </key>
<value>
<list>
<string>my_text_content</string>
<string>my_start_button</string>
<string>my_stop_button</string>
<string>my_destroy_button</string>
......@@ -111,6 +110,7 @@
<key> <string>right width100 alignr</string> </key>
<value>
<list>
<string>my_text_content</string>
<string>my_update_button</string>
</list>
</value>
......
......@@ -12,6 +12,7 @@
<list>
<string>css_class</string>
<string>default</string>
<string>enabled</string>
<string>name</string>
<string>title</string>
</list>
......@@ -63,6 +64,12 @@
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -74,9 +81,13 @@
<item>
<key> <string>href</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -100,6 +111,10 @@
<key> <string>default</string> </key>
<value> <string>Destroy</string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_input_button_field</string> </value>
......@@ -131,6 +146,19 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.SoftwareInstance_getStatus() in ("Started", "Stopped")</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
......
......@@ -11,6 +11,7 @@
<value>
<list>
<string>css_class</string>
<string>editable</string>
<string>title</string>
</list>
</value>
......@@ -76,6 +77,10 @@
<key> <string>css_class</string> </key>
<value> <string>inline</string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value>
......
......@@ -12,6 +12,7 @@
<list>
<string>css_class</string>
<string>default</string>
<string>enabled</string>
<string>name</string>
<string>title</string>
</list>
......@@ -63,6 +64,12 @@
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -74,9 +81,13 @@
<item>
<key> <string>href</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -100,6 +111,10 @@
<key> <string>default</string> </key>
<value> <string>Start</string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_input_button_field</string> </value>
......@@ -131,6 +146,19 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.SoftwareInstance_getStatus() == "Stopped"</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
......
......@@ -12,6 +12,7 @@
<list>
<string>css_class</string>
<string>default</string>
<string>enabled</string>
<string>name</string>
<string>title</string>
</list>
......@@ -63,6 +64,12 @@
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -74,9 +81,13 @@
<item>
<key> <string>href</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -100,6 +111,10 @@
<key> <string>default</string> </key>
<value> <string>Stop</string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_input_button_field</string> </value>
......@@ -131,6 +146,19 @@
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.SoftwareInstance_getStatus() == "Started"</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
......
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>height</string> </key>
<value> <int>50</int> </value>
<value> <int>5</int> </value>
</item>
<item>
<key> <string>hidden</string> </key>
......@@ -257,7 +257,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>XML</string> </value>
<value> <string>Parameter XML</string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
......
......@@ -11,6 +11,7 @@
<value>
<list>
<string>css_class</string>
<string>editable</string>
<string>title</string>
</list>
</value>
......@@ -76,6 +77,10 @@
<key> <string>css_class</string> </key>
<value> <string>inline</string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_string_field</string> </value>
......
......@@ -207,7 +207,7 @@
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
<value> <string>inline</string> </value>
</item>
<item>
<key> <string>default</string> </key>
......@@ -281,16 +281,13 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.ERP5Site_formatXmlWithLint(context.getConnectionXml())</string> </value>
<value> <string>python: context.getConnectionXml()</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -191,7 +191,7 @@
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
<value> <string>inline</string> </value>
</item>
<item>
<key> <string>default</string> </key>
......
......@@ -13,6 +13,7 @@
<string>default</string>
<string>required</string>
<string>title</string>
<string>width</string>
</list>
</value>
</item>
......@@ -111,6 +112,10 @@
<key> <string>title</string> </key>
<value> <string>Address</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>30</int> </value>
</item>
</dictionary>
</value>
</item>
......
......@@ -59,9 +59,10 @@ body{ font-family:Arial,Helvetica,sans-serif;\n
font-weight:bold}\n
h1{color:#2e707c}\n
h2{color:#3e95a5}\n
input,textarea{font-size:18px;color:#8D8D8D}\n
input{font-size:18px;color:#8D8D8D}\n
textarea{color:#8D8D8D}\n
input{height:26px;}\n
textarea{height:77px;width:247px;}\n
/* textarea{height:77px;width:247px;} */\n
fieldset{border:none;}\n
a img{border : 0 none;cursor : pointer;}\n
\n
......
249
\ No newline at end of file
251
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment