Commit 4c1d17e1 authored by Romain Courteaud's avatar Romain Courteaud

slapos_panel: improve listbox's default order and columns

parent e74c386f
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
<string>portal_types</string> <string>portal_types</string>
<string>select</string> <string>select</string>
<string>selection_name</string> <string>selection_name</string>
<string>sort</string>
<string>title</string> <string>title</string>
<string>url_columns</string> <string>url_columns</string>
</list> </list>
...@@ -204,6 +205,17 @@ ...@@ -204,6 +205,17 @@
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>compute_node_software_release_selection</string> </value> <value> <string>compute_node_software_release_selection</string> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>url_string</string>
<string>ASC</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -606,7 +606,12 @@ ...@@ -606,7 +606,12 @@
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>title</string>
<string>ASC</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
<string>list_method</string> <string>list_method</string>
<string>portal_types</string> <string>portal_types</string>
<string>selection_name</string> <string>selection_name</string>
<string>sort</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -161,6 +162,17 @@ ...@@ -161,6 +162,17 @@
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>instance_node_instance_list</string> </value> <value> <string>instance_node_instance_list</string> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>ASC</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Instances</string> </value> <value> <string>Instances</string> </value>
......
...@@ -221,7 +221,20 @@ ...@@ -221,7 +221,20 @@
<item> <item>
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>portal_type</string>
<string>DESC</string>
</tuple>
<tuple>
<string>source_reference</string>
<string>ASC</string>
</tuple>
<tuple>
<string>title</string>
<string>ASC</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -176,6 +176,10 @@ ...@@ -176,6 +176,10 @@
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>portal_type</string>
<string>ascending</string>
</tuple>
<tuple> <tuple>
<string>title</string> <string>title</string>
<string>ascending</string> <string>ascending</string>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
<string>list_method</string> <string>list_method</string>
<string>portal_types</string> <string>portal_types</string>
<string>selection_name</string> <string>selection_name</string>
<string>sort</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -145,6 +146,17 @@ ...@@ -145,6 +146,17 @@
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>remote_node_instance_list</string> </value> <value> <string>remote_node_instance_list</string> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>title</string>
<string>ASC</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Instances</string> </value> <value> <string>Instances</string> </value>
......
...@@ -148,6 +148,10 @@ ...@@ -148,6 +148,10 @@
<string>resource_title</string> <string>resource_title</string>
<string>Type</string> <string>Type</string>
</tuple> </tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple> <tuple>
<string>causality_translated_portal_type</string> <string>causality_translated_portal_type</string>
<string>Channel</string> <string>Channel</string>
...@@ -263,10 +267,6 @@ ...@@ -263,10 +267,6 @@
<string>creation_date</string> <string>creation_date</string>
<string>Creation Date</string> <string>Creation Date</string>
</tuple> </tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple> <tuple>
<string>modification_date</string> <string>modification_date</string>
<string>Modification Date</string> <string>Modification Date</string>
......
...@@ -141,6 +141,18 @@ ...@@ -141,6 +141,18 @@
<string>resource_title</string> <string>resource_title</string>
<string>Type</string> <string>Type</string>
</tuple> </tuple>
<tuple>
<string>source_decision_title</string>
<string>Supervisor</string>
</tuple>
<tuple>
<string>destination_decision_title</string>
<string>Requester</string>
</tuple>
<tuple>
<string>follow_up_title</string>
<string>Incident Response</string>
</tuple>
<tuple> <tuple>
<string>causality_translated_portal_type</string> <string>causality_translated_portal_type</string>
<string>Channel</string> <string>Channel</string>
...@@ -229,10 +241,6 @@ ...@@ -229,10 +241,6 @@
<string>destination_project_title</string> <string>destination_project_title</string>
<string>Requested Project</string> <string>Requested Project</string>
</tuple> </tuple>
<tuple>
<string>source_project_title</string>
<string>Handled Project</string>
</tuple>
<tuple> <tuple>
<string>owner_title</string> <string>owner_title</string>
<string>Owner</string> <string>Owner</string>
...@@ -268,21 +276,13 @@ ...@@ -268,21 +276,13 @@
<string>resource_title</string> <string>resource_title</string>
<string>Type</string> <string>Type</string>
</tuple> </tuple>
<tuple>
<string>source_decision_title</string>
<string>Supervisor</string>
</tuple>
<tuple> <tuple>
<string>creation_date</string> <string>creation_date</string>
<string>Creation Date</string> <string>Creation Date</string>
</tuple> </tuple>
<tuple> <tuple>
<string>destination_decision_title</string> <string>source_project_title</string>
<string>Requester</string> <string>Handled Project</string>
</tuple>
<tuple>
<string>follow_up_title</string>
<string>Incident Response</string>
</tuple> </tuple>
<tuple> <tuple>
<string>modification_date</string> <string>modification_date</string>
...@@ -454,14 +454,6 @@ ...@@ -454,14 +454,6 @@
<key> <string>sort</string> </key> <key> <string>sort</string> </key>
<value> <value>
<list> <list>
<tuple>
<string>follow_up_title</string>
<string>Incident ASC</string>
</tuple>
<tuple>
<string>source_decision_title</string>
<string>ASC</string>
</tuple>
<tuple> <tuple>
<string>modification_date</string> <string>modification_date</string>
<string>DESC</string> <string>DESC</string>
......
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