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
Boxiang Sun
slapos.core
Commits
dc46a797
Commit
dc46a797
authored
Feb 07, 2017
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_cloud: Update Computer_viewCurrentUsage
Adjustments for listboxes.
parent
c525d7a5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
450 additions
and
7 deletions
+450
-7
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage.xml
...m/portal_skins/slapos_cloud/Computer_viewCurrentUsage.xml
+3
-2
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/listbox.xml
..._skins/slapos_cloud/Computer_viewCurrentUsage/listbox.xml
+47
-5
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/listbox_image.xml
.../slapos_cloud/Computer_viewCurrentUsage/listbox_image.xml
+346
-0
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/listbox_software_release.xml
...ud/Computer_viewCurrentUsage/listbox_software_release.xml
+27
-0
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/my_busy_computer_partition_list_instance_title.xml
...tUsage/my_busy_computer_partition_list_instance_title.xml
+27
-0
No files found.
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage.xml
View file @
dc46a797
...
@@ -91,15 +91,16 @@
...
@@ -91,15 +91,16 @@
<value>
<value>
<list>
<list>
<string>
my_busy_computer_partition_list_image
</string>
<string>
my_busy_computer_partition_list_image
</string>
<string>
listbox_software_release
</string>
<string>
listbox_installation_state
</string>
<string>
listbox_installation_state
</string>
<string>
listbox_usage
</string>
<string>
listbox_usage
</string>
<string>
my_busy_computer_partition_list_creation_date
</string>
<string>
my_busy_computer_partition_list_creation_date
</string>
<string>
my_busy_computer_partition_list_status
</string>
<string>
my_busy_computer_partition_list_status
</string>
<string>
my_busy_computer_partition_list_owner_title
</string>
<string>
my_busy_computer_partition_list_owner_title
</string>
<string>
my_busy_computer_partition_list_instance_title
</string>
<string>
listbox_installation_status
</string>
<string>
listbox_installation_status
</string>
<string>
my_busy_computer_partition_list_hosting_subscription_title
</string>
<string>
my_busy_computer_partition_list_hosting_subscription_title
</string>
<string>
my_busy_computer_partition_list_instance_title
</string>
<string>
listbox_image
</string>
<string>
listbox_software_release
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/listbox.xml
View file @
dc46a797
...
@@ -27,6 +27,33 @@
...
@@ -27,6 +27,33 @@
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox
</string>
</value>
<value>
<string>
listbox
</string>
</value>
</item>
</item>
<item>
<key>
<string>
isIndexable
</string>
</key>
<value>
<object>
<klass>
<global
name=
"PropertyGetter"
module=
"Products.ERP5Type.Accessor.Constant"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
_id
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
value
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
<value>
<value>
...
@@ -101,7 +128,9 @@
...
@@ -101,7 +128,9 @@
</item>
</item>
<item>
<item>
<key>
<string>
selection_name
</string>
</key>
<key>
<string>
selection_name
</string>
</key>
<value>
<string></string>
</value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
@@ -128,7 +157,7 @@
...
@@ -128,7 +157,7 @@
<list>
<list>
<tuple>
<tuple>
<string>
software_release
</string>
<string>
software_release
</string>
<string>
Software Releas
e
</string>
<string>
Titl
e
</string>
</tuple>
</tuple>
<tuple>
<tuple>
<string>
url_string
</string>
<string>
url_string
</string>
...
@@ -152,7 +181,7 @@
...
@@ -152,7 +181,7 @@
<item>
<item>
<key>
<string>
count_method
</string>
</key>
<key>
<string>
count_method
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -176,7 +205,7 @@
...
@@ -176,7 +205,7 @@
<item>
<item>
<key>
<string>
list_method
</string>
</key>
<key>
<string>
list_method
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -245,6 +274,19 @@
...
@@ -245,6 +274,19 @@
</pickle>
</pickle>
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: \'computer_software_release_selection_%s\' % here.getUid()
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
</pickle>
...
@@ -257,7 +299,7 @@
...
@@ -257,7 +299,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<record
id=
"
5"
aka=
"AAAAAAAAAAU
="
>
<pickle>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
</pickle>
...
...
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/listbox_image.xml
0 → 100644
View file @
dc46a797
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ImageField"
module=
"Products.ERP5Form.ImageField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_image
</string>
</value>
</item>
<item>
<key>
<string>
isIndexable
</string>
</key>
<value>
<object>
<klass>
<global
name=
"PropertyGetter"
module=
"Products.ERP5Type.Accessor.Constant"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
_id
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
value
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
required_not_found
</string>
</key>
<value>
<string>
Input is required but no input given.
</string>
</value>
</item>
<item>
<key>
<string>
too_long
</string>
</key>
<value>
<string>
Too much input was given.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</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>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_display
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_format
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_resolution
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</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>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_display
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_format
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_pre_converted_only
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_quality
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_resolution
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</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>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
image_display
</string>
</key>
<value>
<string>
thumbnail
</string>
</value>
</item>
<item>
<key>
<string>
image_format
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
image_resolution
</string>
</key>
<value>
<int>
75
</int>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
listbox_image
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</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>
python: cell.getAggregateValue().getDefaultImageAbsoluteUrl()
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/listbox_software_release.xml
View file @
dc46a797
...
@@ -19,6 +19,33 @@
...
@@ -19,6 +19,33 @@
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_software_release
</string>
</value>
<value>
<string>
listbox_software_release
</string>
</value>
</item>
</item>
<item>
<key>
<string>
isIndexable
</string>
</key>
<value>
<object>
<klass>
<global
name=
"PropertyGetter"
module=
"Products.ERP5Type.Accessor.Constant"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
_id
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
value
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
<value>
<value>
...
...
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_viewCurrentUsage/my_busy_computer_partition_list_instance_title.xml
View file @
dc46a797
...
@@ -20,6 +20,33 @@
...
@@ -20,6 +20,33 @@
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_busy_computer_partition_list_instance_title
</string>
</value>
<value>
<string>
my_busy_computer_partition_list_instance_title
</string>
</value>
</item>
</item>
<item>
<key>
<string>
isIndexable
</string>
</key>
<value>
<object>
<klass>
<global
name=
"PropertyGetter"
module=
"Products.ERP5Type.Accessor.Constant"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
_id
</string>
</key>
<value>
<string>
isIndexable
</string>
</value>
</item>
<item>
<key>
<string>
value
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
<value>
<value>
...
...
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