Commit ee9ff19e authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Drop not needed HTML attributes

Those classes were used by JQuery Mobile.
parent 31dec055
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='search_button ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-icon-notext ui-icon-search ui-override-theme ui-input-btn']</td> <td>//button[@class='search_button ui-btn-icon-notext ui-icon-search']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='search_button ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-icon-notext ui-icon-search ui-override-theme ui-input-btn']</td> <td>//button[@class='search_button ui-btn-icon-notext ui-icon-search']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='search_button ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-icon-notext ui-icon-search ui-override-theme ui-input-btn']</td> <td>//button[@class='search_button ui-btn-icon-notext ui-icon-search']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='search_button ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-icon-notext ui-icon-search ui-override-theme ui-input-btn']</td> <td>//button[@class='search_button ui-btn-icon-notext ui-icon-search']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -21,12 +21,12 @@ ...@@ -21,12 +21,12 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class="search_button ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-icon-notext ui-icon-search ui-override-theme ui-input-btn"]</td> <td>//button[@class="search_button ui-btn-icon-notext ui-icon-search"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="search_button ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-icon-notext ui-icon-search ui-override-theme ui-input-btn"]</td> <td>//button[@class="search_button ui-btn-icon-notext ui-icon-search"]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//h1[@class='ui-title']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1</td>
<td></td> <td></td>
</tr> </tr>
</tbody></table> </tbody></table>
......
...@@ -112,12 +112,12 @@ ...@@ -112,12 +112,12 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[@class='ui-link']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//a[@class='ui-link']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<!-- First loader while calling Base_edit --> <!-- First loader while calling Base_edit -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//h1[@class="ui-title"]//a[contains(@class, "ui-icon-spinner")]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//*[contains(@class, "ui-icon-spinner")]</td>
<td></td> <td></td>
</tr> </tr>
<!-- Save Button is disabled --> <!-- Save Button is disabled -->
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
<script src="gadget_erp5_configure_editor.js"></script> <script src="gadget_erp5_configure_editor.js"></script>
<script id="column-item-template" type="text/x-handlebars-template"> <script id="column-item-template" type="text/x-handlebars-template">
<button type="button" class="ui-icon ui-btn ui-btn-inline ui-icon-minus ui-icon-shadow"></button> <button type="button" class="ui-icon ui-icon-minus"></button>
<div class="column_item ui-controlgroup-controls" > <div class="column_item ui-controlgroup-controls" >
<select data-iconpos="left"> <select>
{{#each option}} {{#each option}}
{{#equal value selected_option}} {{#equal value selected_option}}
<option selected="selected" data-i18n="{{text}}" value="{{value}}">{{text}}</option> <option selected="selected" data-i18n="{{text}}" value="{{value}}">{{text}}</option>
...@@ -30,34 +30,34 @@ ...@@ -30,34 +30,34 @@
</script> </script>
<script id="column-template" type="text/x-handlebars-template"> <script id="column-template" type="text/x-handlebars-template">
<div class="ui-panel-inner"> <div>
<div data-role="header" role="banner" class="ui-header ui-bar-inherit"> <div data-role="header" class="ui-header">
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right"> <div class="ui-btn-right">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
<button data-rel="save" data-i18n="Submit" type="submit" class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check">Submit</button> <button data-i18n="Submit" type="submit" class="submit ui-btn-icon-left ui-icon-check">Submit</button>
</div> </div>
</div> </div>
<h1 class="ui-title" role="heading" data-i18n="Configure Editor" aria-level="1">Configure Editor</h1> <h1 data-i18n="Configure Editor">Configure Editor</h1>
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left"> <div class="ui-btn-left">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
<button data-i18n="Close" data-rel="close" type="button" class="close responsive ui-first-child ui-btn ui-btn-icon-left ui-icon-times">Close</button> <button data-i18n="Close" type="button" class="close ui-btn-icon-left ui-icon-times">Close</button>
</div> </div>
</div> </div>
</div> </div>
<section class="ui-body-c ui-content-section"> <section>
<div class="column_item_container ui-controlgroup ui-corner_all"></div> <div class="column_item_container"></div>
<button type="button" class="plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all">Add Criteria</button> <button type="button" class="plus ui-icon-plus ui-btn-icon-left">Add Criteria</button>
<button type="button" class="trash ui-btn-c ui-override-theme ui-btn ui-icon-trash-o ui-btn-icon-left ui-corner-all">Reset</button> <button type="button" class="trash ui-icon-trash-o ui-btn-icon-left">Reset</button>
</section> </section>
</div> </div>
</script> </script>
</head> </head>
<body> <body>
<form class="configure_editor"> <form>
<div class="container"></div> <div class="container"></div>
</form> </form>
</body> </body>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.41893.48104.18585</string> </value> <value> <string>970.21395.34848.29713</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536243610.9</float> <float>1537197441.02</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -41,42 +41,42 @@ ...@@ -41,42 +41,42 @@
<!-- custom script --> <!-- custom script -->
<script src="gadget_erp5_header.js" type="text/javascript"></script> <script src="gadget_erp5_header.js" type="text/javascript"></script>
<script id="header-title-link-template" type="text/x-handlebars-template"><a data-i18n="{{title}}" class="ui-btn ui-btn-icon-left ui-icon-{{icon}}" href="{{url}}" accesskey="u">{{title}}</a></script> <script id="header-title-link-template" type="text/x-handlebars-template"><a data-i18n="{{title}}" class="ui-btn-icon-left ui-icon-{{icon}}" href="{{url}}" accesskey="u">{{title}}</a></script>
<script id="header-title-template" type="text/x-handlebars-template"><span data-i18n="{{title}}" class="ui-btn-icon-left ui-icon-{{icon}}" >{{title}}</span></script> <script id="header-title-template" type="text/x-handlebars-template"><span data-i18n="{{title}}" class="ui-btn-icon-left ui-icon-{{icon}}" >{{title}}</span></script>
<script id="header-link-template" type="text/x-handlebars-template"> <script id="header-link-template" type="text/x-handlebars-template">
<a role="button" data-i18n="{{title}}" href="{{url}}" class="responsive ui-btn ui-icon-{{icon}} ui-btn-icon-left ui-first-child ui-last-child {{class}}">{{title}}</a> <a data-i18n="{{title}}" href="{{url}}" class="ui-icon-{{icon}} ui-btn-icon-left {{class}}">{{title}}</a>
</script> </script>
<script id="header-button-template" type="text/x-handlebars-template"> <script id="header-button-template" type="text/x-handlebars-template">
<form><button name='{{name}}' data-i18n="{{title}}" type='submit' class='responsive ui-btn ui-icon-{{icon}} ui-btn-icon-left ui-first-child ui-last-child {{class}}'>{{title}}</button></form> <form><button name='{{name}}' data-i18n="{{title}}" type='submit' class='ui-icon-{{icon}} ui-btn-icon-left {{class}}'>{{title}}</button></form>
</script> </script>
<script id="sub-header-template" type="text/x-handlebars-template"> <script id="sub-header-template" type="text/x-handlebars-template">
{{#each sub_header_list}} {{#each sub_header_list}}
<li class="ui-block-{{block}}"><a href="{{url}}" data-i18n="{{title}}" class="ui-btn ui-btn-icon-top ui-icon-{{icon}} {{class}}">{{title}}</a></li> <li><a href="{{url}}" data-i18n="{{title}}" class="ui-btn-icon-top ui-icon-{{icon}} {{class}}">{{title}}</a></li>
{{/each}} {{/each}}
</script> </script>
</head> </head>
<body> <body>
<div data-role="header" data-theme="a" class="ui-header ui-bar-a" data-position="fixed" data-tap-toggle="false"> <div data-role="header" class="ui-header">
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left"> <div class="ui-btn-left">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
</div> </div>
</div> </div>
<h1 class="ui-title"></h1> <h1></h1>
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right"> <div class="ui-btn-right">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
</div> </div>
</div> </div>
<div class="ui-navbar ui-subheader ui-grid-container ui-body-a" role="navigation"> <div class="ui-subheader">
<ul class="ui-grid-d"> <ul>
</ul> </ul>
</div> </div>
</div> </div>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.12708.30675.64836</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536676989.89</float> <float>1537195423.01</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<script id="listbox-thead-template" type="text/x-handlebars-template"> <script id="listbox-thead-template" type="text/x-handlebars-template">
<table> <table>
<thead class="ui-bar-inherit head"> <thead>
<tr> <tr>
{{#if show_anchor}} {{#if show_anchor}}
<th data-i18n="Jump">Jump</th> <th data-i18n="Jump">Jump</th>
...@@ -53,12 +53,12 @@ ...@@ -53,12 +53,12 @@
<script id="listbox-tbody-template" type="text/x-handlebars-template"> <script id="listbox-tbody-template" type="text/x-handlebars-template">
<table> <table>
<tbody class="tbody"> <tbody>
{{#each row_list}} {{#each row_list}}
<tr> <tr>
{{#if ../show_anchor}} {{#if ../show_anchor}}
<th> <th>
<a class="ui-link ui-btn ui-corner-all ui-icon-carat-r ui-btn-icon-notext" href="{{jump}}"> </a> <a class="ui-icon-carat-r ui-btn-icon-notext" href="{{jump}}"> </a>
</th> </th>
{{/if}} {{/if}}
{{#each cell_list}} {{#each cell_list}}
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<div class="editable_div" data-column="{{column}}" data-line="{{line}}"></div> <div class="editable_div" data-column="{{column}}" data-line="{{line}}"></div>
{{else}} {{else}}
{{#if href}} {{#if href}}
<a href="{{href}}" class="ui-link"> <a href="{{href}}">
<div class="editable_div" data-column="{{column}}" data-line="{{line}}"></div> <div class="editable_div" data-column="{{column}}" data-line="{{line}}"></div>
</a> </a>
{{else}} {{else}}
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
{{/if}} {{/if}}
{{else}} {{else}}
{{#if href}} {{#if href}}
<a href="{{href}}" class="ui-link">{{default}}</a> <a href="{{href}}">{{default}}</a>
{{else}} {{else}}
<p>{{default}}</p> <p>{{default}}</p>
{{/if}} {{/if}}
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
{{/each}} {{/each}}
{{#if line_icon}} {{#if line_icon}}
<th> <th>
<a href ="{{jump}}" class="ui-body-inherit ui-btn-icon-right ui-link ui-btn ui-corner-all ui-icon-sign-in"></a> <a href ="{{jump}}" class="ui-btn-icon-right ui-icon-sign-in"></a>
</th> </th>
{{/if}} {{/if}}
</tr> </tr>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<script id="listbox-tfoot-template" type="text/x-handlebars-template"> <script id="listbox-tfoot-template" type="text/x-handlebars-template">
<table> <table>
<tfoot class="ui-bar-inherit tfoot"> <tfoot>
{{#each row_list}} {{#each row_list}}
<tr> <tr>
{{#if ../show_anchor}} {{#if ../show_anchor}}
...@@ -143,26 +143,26 @@ ...@@ -143,26 +143,26 @@
<script id="listbox-nav-template" type="text/x-handlebars-template"> <script id="listbox-nav-template" type="text/x-handlebars-template">
<a class="{{previous_classname}}" data-i18n="Previous" href="{{previous_url}}">Previous</a> <a class="{{previous_classname}}" data-i18n="Previous" href="{{previous_url}}">Previous</a>
<a class="{{next_classname}}" data-i18n="Next" href="{{next_url}}">Next</a> <a class="{{next_classname}}" data-i18n="Next" href="{{next_url}}">Next</a>
<span class="ui-disabled ui-right">{{record}}</span> <span class="ui-disabled">{{record}}</span>
</script> </script>
<script id="listbox-template" type="text/x-handlebars-template"> <script id="listbox-template" type="text/x-handlebars-template">
<div class="ui-table-header ui-header ui-bar-c ui-corner-all"> <div class="ui-table-header ui-header">
<h1 data-i18n="{{title}}" class="ui-title ui-override-theme">{{title}}<span> <span class="listboxloader ui-icon-spinner ui-btn-icon-left"></span></span></h1> <h1 data-i18n="{{title}}">{{title}}<span> <span class="listboxloader ui-icon-spinner ui-btn-icon-left"></span></span></h1>
{{#if show_line_selector}} {{#if show_line_selector}}
<button data-rel="hide" data-i18n="Include" name="IncludeRows" type="button" class="submit responsive ui-last-child ui-btn ui-icon-eye ui-btn-icon-left {{hide_class}}">Include</button> <button data-rel="hide" data-i18n="Include" name="IncludeRows" type="button" class="ui-icon-eye ui-btn-icon-left {{hide_class}}">Include</button>
<button data-rel="hide" data-i18n="Exclude" name="ExcludeRows" type="button" class="submit responsive ui-last-child ui-btn ui-icon-low-vision ui-btn-icon-left {{hide_class}}">Exclude</button> <button data-rel="hide" data-i18n="Exclude" name="ExcludeRows" type="button" class="ui-icon-low-vision ui-btn-icon-left {{hide_class}}">Exclude</button>
{{else}} {{else}}
<button {{disabled}} data-rel="hide" data-i18n="Select" name="Hide" type="button" class="submit responsive ui-last-child ui-btn ui-icon-check-square-o ui-btn-icon-left {{hide_class}}">Select</button> <button {{disabled}} data-rel="hide" data-i18n="Select" name="Hide" type="button" class="ui-icon-check-square-o ui-btn-icon-left {{hide_class}}">Select</button>
<button {{disabled}} data-rel="configure_columns" data-i18n="Configure" name="Configure" type="button" class="submit responsive ui-last-child ui-btn ui-icon-wrench ui-btn-icon-left {{configure_class}}">Configure</button> <button {{disabled}} data-rel="configure_columns" data-i18n="Configure" name="Configure" type="button" class="ui-icon-wrench ui-btn-icon-left {{configure_class}}">Configure</button>
<button {{disabled}} data-rel="Sort" data-i18n="Sort" name="Sort" type="button" class="submit responsive ui-last-child ui-btn ui-icon-sort-amount-desc ui-btn-icon-left {{sort_class}}">Sort</button> <button {{disabled}} data-rel="Sort" data-i18n="Sort" name="Sort" type="button" class="ui-icon-sort-amount-desc ui-btn-icon-left {{sort_class}}">Sort</button>
{{/if}} {{/if}}
</div> </div>
<table class="ui-responsive ui-body-c ui-table-inset"> <table>
<thead class="ui-bar-inherit thead"></thead> <thead class="thead"></thead>
<tbody></tbody> <tbody></tbody>
<tfoot class="ui-bar-inherit tfoot"></tfoot> <tfoot></tfoot>
</table> </table>
<nav></nav> <nav></nav>
</div> </div>
...@@ -170,8 +170,8 @@ ...@@ -170,8 +170,8 @@
<script id="error-message-template" type="text/x-handlebars-template"> <script id="error-message-template" type="text/x-handlebars-template">
<div class="ui-listbox-error"> <div>
<a class="ui-btn ui-corner-all ui-btn-inline" href="{{reset_url}}"> <a href="{{reset_url}}">
<span class='ui-info-error' data-i18n="Invalid Search Criteria">Invalid Search Criteria</span> <span class='ui-info-error' data-i18n="Invalid Search Criteria">Invalid Search Criteria</span>
<span>-</span> <span>-</span>
<span data-i18n="Reset">Reset</span> <span data-i18n="Reset">Reset</span>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.6850.35980.938</string> </value> <value> <string>970.21374.32646.29798</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536676468.62</float> <float>1537196481.87</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<script src="gadget_erp5_field_multirelationstring.js" type="text/javascript"></script> <script src="gadget_erp5_field_multirelationstring.js" type="text/javascript"></script>
</head> </head>
<body> <body>
<div class="container"> <div>
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.41951.10565.7338</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536676584.64</float> <float>1537195587.56</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -26,14 +26,14 @@ ...@@ -26,14 +26,14 @@
<script id="table-template" type="text/x-handlebars-template"> <script id="table-template" type="text/x-handlebars-template">
<section class="ui-content-header-plain"> <section class="ui-content-header-plain">
<h3 class="ui-content-title ui-body-c" data-i18n="[last]{{definition_i18n}}"> <h3 data-i18n="[last]{{definition_i18n}}">
<span class="ui-icon ui-icon-custom ui-icon-{{definition_icon}}">&nbsp;</span> <span class="ui-icon ui-icon-{{definition_icon}}">&nbsp;</span>
{{definition_title}} {{definition_title}}
</h3> </h3>
</section> </section>
<ul data-role="listview" data-theme="c" data-inset="true" class="document-listview"> <ul class="document-listview">
{{#each document_list}} {{#each document_list}}
<li><a data-i18n="{{title}}" class="ui-body-inherit" href="{{link}}">{{title}}</a></li> <li><a data-i18n="{{title}}" href="{{link}}">{{title}}</a></li>
{{/each}} {{/each}}
</ul> </ul>
</script> </script>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.13790.51027.29644</string> </value> <value> <string>970.21289.29439.33894</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536847887.22</float> <float>1537191116.17</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -23,14 +23,14 @@ ...@@ -23,14 +23,14 @@
<script id="table-template" type="text/x-handlebars-template"> <script id="table-template" type="text/x-handlebars-template">
<section class="ui-content-header-plain"> <section class="ui-content-header-plain">
<h3 class="ui-content-title ui-body-c" data-i18n="[last]{{definition_i18n}}"> <h3 data-i18n="[last]{{definition_i18n}}">
<span class="ui-icon ui-icon-custom ui-icon-{{definition_icon}}">&nbsp;</span> <span class="ui-icon ui-icon-{{definition_icon}}">&nbsp;</span>
{{definition_title}} {{definition_title}}
</h3> </h3>
</section> </section>
<ul data-role="listview" data-theme="c" data-inset="true" class="document-listview"> <ul class="document-listview">
{{#each document_list}} {{#each document_list}}
<li><a data-i18n="{{title}}" class="ui-body-inherit" href="{{link}}">{{title}}</a></li> <li><a data-i18n="{{title}}" href="{{link}}">{{title}}</a></li>
{{/each}} {{/each}}
</ul> </ul>
</script> </script>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.13790.51027.29644</string> </value> <value> <string>970.15569.54382.31129</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536847789.74</float> <float>1537191386.12</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
<!-- XXX must set theme here! --> <!-- XXX must set theme here! -->
<script id="table-template" type="text/x-handlebars-template"> <script id="table-template" type="text/x-handlebars-template">
<ul data-role="listview" data-theme="c" class="document-listview ui-listview-inset ui-corner-all"> <ul class="document-listview">
{{#each document_list}} {{#each document_list}}
<li><a class="ui-body-inherit" href="{{link}}">{{title}}</a></li> <li><a href="{{link}}">{{title}}</a></li>
{{/each}} {{/each}}
</ul> </ul>
</script> </script>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>968.5552.51560.44322</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1534501272.68</float> <float>1537198177.62</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
<!-- XXX must set theme here! --> <!-- XXX must set theme here! -->
<script id="table-template" type="text/x-handlebars-template"> <script id="table-template" type="text/x-handlebars-template">
{{#if document_list }} {{#if document_list }}
<ul data-role="listview" data-theme="c" class="document-listview ui-listview-inset ui-corner-all"> <ul class="document-listview">
{{#each document_list}} {{#each document_list}}
<li class="ui-li-has-count" data-icon="false" ><a class="ui-body-inherit" href="{{link}}">{{title}} <span class="ui-li-count">{{count}}</span></a></li> <li class="ui-li-has-count"><a href="{{link}}">{{title}} <span class="ui-li-count">{{count}}</span></a></li>
{{/each}} {{/each}}
</ul> </ul>
{{else}} {{else}}
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>968.45482.36373.28842</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1534501355.97</float> <float>1537197958.47</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -16,30 +16,29 @@ ...@@ -16,30 +16,29 @@
<script src="gadget_global.js" type="text/javascript"></script> <script src="gadget_global.js" type="text/javascript"></script>
<script id="panel-template-header" type="text/x-handlebars-template"> <script id="panel-template-header" type="text/x-handlebars-template">
<div data-role="header" class="ui-bar-inherit"> <div data-role="header">
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left"> <div class="ui-btn-left">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
<button data-i18n="Close" class="ui-btn ui-btn-icon-notext ui-icon-delete">Close</button> <button data-i18n="Close" class="ui-btn-icon-notext ui-icon-delete">Close</button>
</div> </div>
</div> </div>
<div class="panel_img"> <div class="panel_img">
<img class="ui-title" alt="ERP5" src="gadget_erp5_panel.png?format=png"/> <img alt="ERP5" src="gadget_erp5_panel.png?format=png"/>
</div> </div>
</div> </div>
</script> </script>
<script id="panel-template-body" type="text/x-handlebars-template"> <script id="panel-template-body" type="text/x-handlebars-template">
<div class="ui-content"> <div>
<form class="dialog_form"> <form>
<button type="submit" class="ui-btn ui-btn-b ui-btn-inline <button type="submit" class="ui-icon-action ui-btn-icon-right ui-screen-hidden">Submit</button>
ui-icon-action ui-btn-icon-right ui-screen-hidden">Submit</button>
<div data-gadget-url="gadget_erp5_searchfield.html" <div data-gadget-url="gadget_erp5_searchfield.html"
data-gadget-scope="erp5_searchfield" data-gadget-scope="erp5_searchfield"
data-gadget-sandbox="public"></div> data-gadget-sandbox="public"></div>
</form> </form>
<ul data-role="listview" class="ui-listview" data-enhanced="true"></ul> <ul></ul>
<div data-gadget-url="gadget_erp5_field_checkbox.html" <div data-gadget-url="gadget_erp5_field_checkbox.html"
data-gadget-scope="erp5_checkbox" data-gadget-scope="erp5_checkbox"
data-gadget-sandbox="public"></div> data-gadget-sandbox="public"></div>
...@@ -48,32 +47,32 @@ ...@@ -48,32 +47,32 @@
</script> </script>
<script id="panel-template-body-list" type="text/x-handlebars-template"> <script id="panel-template-body-list" type="text/x-handlebars-template">
<li class="ui-first-child"><a href="{{front_href}}" class="ui-btn ui-btn-icon-left ui-icon-home" data-i18n="Home">Home</a></li> <li><a href="{{front_href}}" class="ui-btn-icon-left ui-icon-home" data-i18n="Home">Home</a></li>
<li><a href="{{module_href}}" class="ui-btn ui-btn-icon-left ui-icon-puzzle-piece" data-i18n="Modules" accesskey="m">Modules</a></li> <li><a href="{{module_href}}" class="ui-btn-icon-left ui-icon-puzzle-piece" data-i18n="Modules" accesskey="m">Modules</a></li>
<li><a href="{{worklist_href}}" class="ui-btn ui-btn-icon-left ui-icon-tasks" data-i18n="Worklists" accesskey="w">Worklists</a></li> <li><a href="{{worklist_href}}" class="ui-btn-icon-left ui-icon-tasks" data-i18n="Worklists" accesskey="w">Worklists</a></li>
<li><a href="{{history_href}}" class="ui-btn ui-btn-icon-left ui-icon-history" data-i18n="History" accesskey="h">History</a></li> <li><a href="{{history_href}}" class="ui-btn-icon-left ui-icon-history" data-i18n="History" accesskey="h">History</a></li>
<li><a href="{{search_href}}" class="ui-btn ui-btn-icon-left ui-icon-search" data-i18n="Search" accesskey="s">Search</a></li> <li><a href="{{search_href}}" class="ui-btn-icon-left ui-icon-search" data-i18n="Search" accesskey="s">Search</a></li>
<li><a href="{{preference_href}}" class="ui-btn ui-btn-icon-left ui-icon-sliders" data-i18n="Preferences">Preferences</a></li> <li><a href="{{preference_href}}" class="ui-btn-icon-left ui-icon-sliders" data-i18n="Preferences">Preferences</a></li>
<li class="ui-last-child"><a href="{{logout_href}}" class="ui-btn ui-btn-icon-left ui-icon-power-off" data-i18n="Logout" accesskey="o">Logout</a></li> <li><a href="{{logout_href}}" class="ui-btn-icon-left ui-icon-power-off" data-i18n="Logout" accesskey="o">Logout</a></li>
</script> </script>
<script id="panel-template-body-desktop" type="text/x-handlebars-template"> <script id="panel-template-body-desktop" type="text/x-handlebars-template">
<dt class="ui-content-title ui-body-c ui-btn ui-btn-icon-left ui-icon-eye" data-i18n="Views">Views</dt> <dt class="ui-btn-icon-left ui-icon-eye" data-i18n="Views">Views</dt>
{{#each view_list}} {{#each view_list}}
<dd data-role="listview" data-theme="c" data-inset="true" class="document-listview"> <dd class="document-listview">
<a class="ui-body-inherit {{class_name}}" href="{{href}}">{{title}}</a> <a class="{{class_name}}" href="{{href}}">{{title}}</a>
</dd> </dd>
{{/each}} {{/each}}
<dt class="ui-content-title ui-body-c ui-btn ui-btn-icon-left ui-icon-random" data-i18n="Workflows">Workflows</dt> <dt class="ui-btn-icon-left ui-icon-random" data-i18n="Workflows">Workflows</dt>
{{#each workflow_list}} {{#each workflow_list}}
<dd data-role="listview" data-theme="c" data-inset="true" class="document-listview"> <dd class="document-listview">
<a class="ui-body-inherit {{class_name}}" href="{{href}}">{{title}}</a> <a class="{{class_name}}" href="{{href}}">{{title}}</a>
</dd> </dd>
{{/each}} {{/each}}
<dt class="ui-content-title ui-body-c ui-btn ui-btn-icon-left ui-icon-cogs" data-i18n="Actions">Actions</dt> <dt class="ui-btn-icon-left ui-icon-cogs" data-i18n="Actions">Actions</dt>
{{#each action_list}} {{#each action_list}}
<dd data-role="listview" data-theme="c" data-inset="true" class="document-listview"> <dd class="document-listview">
<a class="ui-body-inherit {{class_name}}" href="{{href}}">{{title}}</a> <a class="{{class_name}}" href="{{href}}">{{title}}</a>
</dd> </dd>
{{/each}} {{/each}}
</script> </script>
...@@ -85,6 +84,6 @@ ...@@ -85,6 +84,6 @@
</head> </head>
<body> <body>
<div class="jqm-navmenu-panel"></div> <div></div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>968.5552.51560.44322</string> </value> <value> <string>970.25260.56659.16554</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536242759.82</float> <float>1537454742.32</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
{{#if show_update_button}} {{#if show_update_button}}
<button disabled name="action_update" type="submit" data-i18n="Update">Update</button> <button disabled name="action_update" type="submit" data-i18n="Update">Update</button>
{{/if}} {{/if}}
<input disabled name="action_confirm" class="dialogconfirm" data-theme="b" data-inline="true" type="submit" data-i18n="[value]Proceed" value="Proceed" data-icon="check" /> <input disabled name="action_confirm" class="dialogconfirm" type="submit" data-i18n="[value]Proceed" value="Proceed" />
<a class="dialogcancel" data-i18n="Cancel">Cancel</a> <a class="dialogcancel" data-i18n="Cancel">Cancel</a>
</script> </script>
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
<body> <body>
<section class="ui-content-header-plain"> <section class="ui-content-header-plain">
<h3 class="ui-content-title ui-body-c"></h3> <h3></h3>
</section> </section>
<!-- XXX action, method, fieldset --> <!-- XXX action, method, fieldset -->
<form class="dialog_form"> <form>
<div data-gadget-url="gadget_erp5_form.html" <div data-gadget-url="gadget_erp5_form.html"
data-gadget-scope="erp5_form" data-gadget-scope="erp5_form"
data-gadget-sandbox="public"> data-gadget-sandbox="public">
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.42005.30422.34304</string> </value> <value> <string>970.21379.40755.25053</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536679004.68</float> <float>1537196435.99</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -19,9 +19,8 @@ ...@@ -19,9 +19,8 @@
<body> <body>
<!-- XXX action, method, fieldset --> <!-- XXX action, method, fieldset -->
<form class="dialog_form"> <form>
<button type="submit" class="ui-btn ui-btn-b ui-btn-inline <button type="submit" class="ui-icon-action ui-btn-icon-right ui-screen-hidden">Submit</button>
ui-icon-action ui-btn-icon-right ui-screen-hidden">Submit</button>
<div data-gadget-url="gadget_erp5_searchfield.html" <div data-gadget-url="gadget_erp5_searchfield.html"
data-gadget-scope="erp5_searchfield" data-gadget-scope="erp5_searchfield"
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.42005.40051.65092</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536679014.58</float> <float>1537194684.26</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -25,9 +25,8 @@ ...@@ -25,9 +25,8 @@
<!-- XXX action, method, fieldset --> <!-- XXX action, method, fieldset -->
<!-- XXX needs a theme --> <!-- XXX needs a theme -->
<form class="save_form ui-body-c" novalidate> <form novalidate>
<button type="submit" class="ui-btn ui-btn-b ui-btn-inline <button type="submit" class="ui-icon-edit ui-btn-icon-right ui-screen-hidden"></button>
ui-icon-edit ui-btn-icon-right ui-screen-hidden"></button>
<div data-gadget-url="gadget_erp5_form.html" <div data-gadget-url="gadget_erp5_form.html"
data-gadget-scope="erp5_form" data-gadget-scope="erp5_form"
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.42005.62364.60467</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536679045.28</float> <float>1537194482.5</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</head> </head>
<body> <body>
<div class="ui-body-c"> <div>
<div data-gadget-url="gadget_erp5_form.html" <div data-gadget-url="gadget_erp5_form.html"
data-gadget-scope="erp5_form" data-gadget-scope="erp5_form"
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.42004.38942.31863</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536678997.31</float> <float>1537194949.32</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</head> </head>
<body> <body>
<!-- XXX this is a form replacement --> <!-- XXX this is a form replacement -->
<div class="ui-body-c"> <div>
<div data-gadget-url="gadget_erp5_form.html" <div data-gadget-url="gadget_erp5_form.html"
data-gadget-scope="erp5_form" data-gadget-scope="erp5_form"
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.42005.50424.24644</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536679033.69</float> <float>1537194595.83</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
<!-- XXX need theme here currently --> <!-- XXX need theme here currently -->
<script id="table-template" type="text/x-handlebars-template"> <script id="table-template" type="text/x-handlebars-template">
<section class="ui-content-header-plain"> <section class="ui-content-header-plain">
<h3 class="ui-content-title ui-body-c" data-i18n="[last]{{definition_i18n}}"> <h3 data-i18n="[last]{{definition_i18n}}">
<span class="ui-icon ui-icon-custom ui-icon-plane">&nbsp;</span> <span class="ui-icon ui-icon-plane">&nbsp;</span>
{{definition_title}} {{definition_title}}
</h3> </h3>
</section> </section>
<ul data-role="listview" data-theme="c" data-inset="true" class="document-listview"> <ul class="document-listview">
{{#each documentlist}} {{#each documentlist}}
<li><a data-i18n="{{i18n}}" class="ui-body-inherit" href="{{link}}">{{title}}</a></li> <li><a data-i18n="{{i18n}}" href="{{link}}">{{title}}</a></li>
{{/each}} {{/each}}
</ul> </ul>
</script> </script>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.13790.51027.29644</string> </value> <value> <string>970.15568.12710.24302</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536847691.59</float> <float>1537191534.73</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -23,9 +23,8 @@ ...@@ -23,9 +23,8 @@
</head> </head>
<body> <body>
<form class="preference"> <form>
<button type="submit" class="ui-btn ui-btn-b ui-btn-inline <button type="submit" class="ui-icon-edit ui-btn-icon-right ui-screen-hidden"></button>
ui-icon-edit ui-btn-icon-right ui-screen-hidden"></button>
<div data-gadget-url="gadget_erp5_form.html" <div data-gadget-url="gadget_erp5_form.html"
data-gadget-scope="erp5_form" data-gadget-scope="erp5_form"
data-gadget-sandbox="public"> data-gadget-sandbox="public">
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>968.45482.36373.28842</string> </value> <value> <string>970.21408.22711.6195</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1534501302.93</float> <float>1537198115.39</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
<script src="handlebars.js" type="text/javascript"></script> <script src="handlebars.js" type="text/javascript"></script>
<script id="form-template" type="text/x-handlebars-template"> <script id="form-template" type="text/x-handlebars-template">
<article class="ui-content ui-body-c"> <article>
<section class="ui-body-c ui-content-section"> <section>
<form class="logout"> <form>
<input data-theme="b" data-inline="true" type="submit" value="{{button_text}}" data-icon="check" /> <input type="submit" value="{{button_text}}" />
</form> </form>
</section> </section>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>968.45482.36373.28842</string> </value> <value> <string>970.13790.51027.29644</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1534501315.42</float> <float>1537198030.99</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -23,14 +23,14 @@ ...@@ -23,14 +23,14 @@
<script id="table-template" type="text/x-handlebars-template"> <script id="table-template" type="text/x-handlebars-template">
<section class="ui-content-header-plain"> <section class="ui-content-header-plain">
<h3 class="ui-content-title ui-body-c" data-i18n="[last]{{definition_i18n}}"> <h3 data-i18n="[last]{{definition_i18n}}">
<span class="ui-icon ui-icon-custom ui-icon-{{definition_icon}}">&nbsp;</span> <span class="ui-icon ui-icon-{{definition_icon}}">&nbsp;</span>
{{definition_title}} {{definition_title}}
</h3> </h3>
</section> </section>
<ul data-role="listview" data-theme="c" data-inset="true" class="document-listview"> <ul class="document-listview">
{{#each documentlist}} {{#each documentlist}}
<li><a data-i18n="{{title}}" class="ui-body-inherit" href="{{link}}">{{title}}</a></li> <li><a data-i18n="{{title}}" href="{{link}}">{{title}}</a></li>
{{/each}} {{/each}}
</ul> </ul>
</script> </script>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.13790.51027.29644</string> </value> <value> <string>970.15563.53430.2082</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536847428.87</float> <float>1537191667.32</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
</script> </script>
<script id="relation-input-template" type="text/x-handlebars-template"> <script id="relation-input-template" type="text/x-handlebars-template">
<div class="relation-input ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset ui-input-has-clear ui-input-has-icon"> <div class="relation-input ui-input-text">
<div> <div>
<input type='search' title="{{title}}" name="{{name}}" id="{{name}}" autocomplete="off" data-enhanced="true" value="{{value}}" > <input type='search' title="{{title}}" name="{{name}}" id="{{name}}" autocomplete="off" value="{{value}}" >
<ul class="ui-listview ui-corner-all search_ul"></ul> <ul class="search_ul"></ul>
</div> </div>
</div> </div>
</script> </script>
...@@ -35,14 +35,14 @@ ...@@ -35,14 +35,14 @@
<script id="relation-listview-template" type="text/x-handlebars-template"> <script id="relation-listview-template" type="text/x-handlebars-template">
{{#if list.length}} {{#if list.length}}
{{#each list}} {{#each list}}
<li class="ui-li-static ui-body-inherit ui-icon-sign-in ui-btn-icon-right" data-relative-url="{{id}}" data-uid="{{uid}}">{{value}}</li> <li class="ui-icon-sign-in ui-btn-icon-right" data-relative-url="{{id}}" data-uid="{{uid}}">{{value}}</li>
{{/each}} {{/each}}
{{/if}} {{/if}}
{{#each type}} {{#each type}}
<li class="ui-li-static ui-body-inherit ui-bar-inherit ui-icon-plus ui-btn-icon-right" data-i18n="Create New" data-create-object="{{value}}" name="{{name}}">Create New <li class="ui-icon-plus ui-btn-icon-right" data-i18n="Create New" data-create-object="{{value}}" name="{{name}}">Create New
<span> {{name}}: {{../value}}</span></li> <span> {{name}}: {{../value}}</span></li>
{{/each}} {{/each}}
<li class="ui-li-static ui-body-inherit ui-last-child ui-bar-inherit ui-icon-search ui-btn-icon-right" data-explore=true data-i18n="Explore the Search Result List" >Explore the Search Result List</li> <li class="ui-icon-search ui-btn-icon-right" data-explore=true data-i18n="Explore the Search Result List" >Explore the Search Result List</li>
</script> </script>
</head> </head>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.11337.21479.5529</string> </value> <value> <string>970.21341.63203.43332</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536679119.61</float> <float>1537194159.68</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<script src="gadget_erp5_search_editor.js"></script> <script src="gadget_erp5_search_editor.js"></script>
<script id="filter-item-template" type="text/x-handlebars-template"> <script id="filter-item-template" type="text/x-handlebars-template">
<button class="ui-icon ui-btn ui-btn-inline ui-icon-minus ui-icon-shadow"></button> <button class="ui-icon ui-icon-minus"></button>
<div class="filter_item auto" > <div class="filter_item" >
<select class="column"> <select class="column">
{{#each option}} {{#each option}}
<option {{#if selected}}selected="selected"{{/if}} data-i18n="{{text}}" value="{{value}}">{{text}}</option> <option {{#if selected}}selected="selected"{{/if}} data-i18n="{{text}}" value="{{value}}">{{text}}</option>
...@@ -53,26 +53,26 @@ ...@@ -53,26 +53,26 @@
</script> </script>
<script id="filter-template" type="text/x-handlebars-template"> <script id="filter-template" type="text/x-handlebars-template">
<div class="ui-panel-inner"> <div>
<div data-role="header" role="banner" class="ui-header ui-bar-inherit"> <div data-role="header" class="ui-header">
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right"> <div class="ui-btn-right">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
<button data-i18n="submit" type="submit" class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check">Submit</button> <button data-i18n="submit" type="submit" class="ui-btn-icon-left ui-icon-check">Submit</button>
</div> </div>
</div> </div>
<h1 class="ui-title" role="heading" data-i18n="Filter Editor" aria-level="1">Filter Editor</h1> <h1 data-i18n="Filter Editor">Filter Editor</h1>
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left"> <div class="ui-btn-left">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
<button data-i18n="Close" class="close responsive ui-first-child ui-btn ui-btn-icon-left ui-icon-times">Close</button> <button data-i18n="Close" class="close ui-btn-icon-left ui-icon-times">Close</button>
</div> </div>
</div> </div>
</div> </div>
<section class="ui-body-c ui-content-section"> <section>
<fieldset class="ui-controlgroup ui-corner-all"> <fieldset>
<select data-iconpos="left" name="heard_about"> <select name="heard_about">
<option data-i18n="All criterions (AND)" value="AND">All criterions (AND)</option> <option data-i18n="All criterions (AND)" value="AND">All criterions (AND)</option>
<option data-i18n="At least one (OR)" value="OR">At least one (OR)</option> <option data-i18n="At least one (OR)" value="OR">At least one (OR)</option>
</select> </select>
...@@ -80,8 +80,8 @@ ...@@ -80,8 +80,8 @@
<div class="filter_item_container"> <div class="filter_item_container">
</div> </div>
<button class="plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all">Add Criteria</button> <button class="plus ui-icon-plus ui-btn-icon-left">Add Criteria</button>
<button type="button" class="trash ui-btn-c ui-override-theme ui-btn ui-icon-trash-o ui-btn-icon-left ui-corner-all">Reset</button> <button type="button" class="trash ui-icon-trash-o ui-btn-icon-left">Reset</button>
<div class="domain_item_container"> <div class="domain_item_container">
</div> </div>
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
</head> </head>
<body> <body>
<form class="filter_editor"> <form>
<div class="container"></div> <div class="container"></div>
</form> </form>
</body> </body>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.13790.51027.29644</string> </value> <value> <string>970.21317.37622.46984</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536847376.24</float> <float>1537370335.59</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -16,12 +16,12 @@ ...@@ -16,12 +16,12 @@
</head> </head>
<body> <body>
<div class="ui-input-text ui-input-has-icon ui-corner-all ui-shadow-inset ui-input-has-clear"> <div class="ui-input-text">
<div class="search_parsed_value"></div> <div class="search_parsed_value"></div>
<div data-gadget-url="gadget_html5_input.html" <div data-gadget-url="gadget_html5_input.html"
data-gadget-scope="input" data-gadget-scope="input"
data-gadget-sandbox="public"></div> data-gadget-sandbox="public"></div>
<button class="search_button ui-shadow-inset ui-btn ui-btn-inline ui-corner-all ui-btn-icon-notext ui-icon-search ui-override-theme ui-input-btn" data-role="button" data-enhanced="true" type="submit" /> <button class="search_button ui-btn-icon-notext ui-icon-search" type="submit" />
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>970.13790.51027.29644</string> </value> <value> <string>970.15561.39912.10990</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536847296.49</float> <float>1537193726.71</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -15,15 +15,15 @@ ...@@ -15,15 +15,15 @@
<script src="gadget_erp5_sort_editor.js"></script> <script src="gadget_erp5_sort_editor.js"></script>
<script id="sort-item-template" type="text/x-handlebars-template"> <script id="sort-item-template" type="text/x-handlebars-template">
<button type="submit" class="ui-icon ui-btn ui-btn-inline ui-icon-minus ui-icon-shadow"></button> <button type="submit" class="ui-icon ui-icon-minus"></button>
<div class="sort_item ui-controlgroup-controls" > <div class="sort_item ui-controlgroup-controls" >
<select data-iconpos="left"> <select>
{{#each option}} {{#each option}}
<option {{#if selected}}selected="selected"{{/if}} data-i18n="{{text}}" value="{{value}}">{{text}}</option> <option {{#if selected}}selected="selected"{{/if}} data-i18n="{{text}}" value="{{value}}">{{text}}</option>
{{/each}} {{/each}}
</select> </select>
<select data-wrapper-class="ui-input-has-clear" data-iconpos="left"> <select>
<option {{#equal operator "ascending"}}selected="selected"{{/equal}} data-i18n="ascending" value="ascending">ascending</option> <option {{#equal operator "ascending"}}selected="selected"{{/equal}} data-i18n="ascending" value="ascending">ascending</option>
<option {{#equal operator "descending"}}selected="selected"{{/equal}} data-i18n="descending" value="descending">descending</option> <option {{#equal operator "descending"}}selected="selected"{{/equal}} data-i18n="descending" value="descending">descending</option>
</select> </select>
...@@ -32,34 +32,34 @@ ...@@ -32,34 +32,34 @@
</script> </script>
<script id="sort-template" type="text/x-handlebars-template"> <script id="sort-template" type="text/x-handlebars-template">
<div class="ui-panel-inner"> <div>
<div data-role="header" role="banner" class="ui-header ui-bar-inherit"> <div data-role="header" class="ui-header">
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-right"> <div class="ui-btn-right">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
<button data-rel="save" data-i18n="Submit" type="submit" class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check">Submit</button> <button data-i18n="Submit" type="submit" class="ui-btn-icon-left ui-icon-check">Submit</button>
</div> </div>
</div> </div>
<h1 class="ui-title" role="heading" data-i18n="Sort Editor" aria-level="1">Sort Editor</h1> <h1 data-i18n="Sort Editor">Sort Editor</h1>
<div class="ui-controlgroup ui-controlgroup-horizontal ui-btn-left"> <div class="ui-btn-left">
<div class="ui-controlgroup-controls"> <div class="ui-controlgroup-controls">
<button data-i18n="Close" data-rel="close" type="submit" class="close responsive ui-first-child ui-btn ui-btn-icon-left ui-icon-times">Close</button> <button data-i18n="Close" type="submit" class="close ui-btn-icon-left ui-icon-times">Close</button>
</div> </div>
</div> </div>
</div> </div>
<section class="ui-body-c ui-content-section"> <section>
<div class="sort_item_container ui-controlgroup ui-corner_all"></div> <div class="sort_item_container"></div>
<button type="submit" class="plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all">Add Criteria</button> <button type="submit" class="plus ui-icon-plus ui-btn-icon-left">Add Criteria</button>
<button type="button" class="trash ui-btn-c ui-override-theme ui-btn ui-icon-trash-o ui-btn-icon-left ui-corner-all">Reset</button> <button type="button" class="trash ui-icon-trash-o ui-btn-icon-left">Reset</button>
</section> </section>
</div> </div>
</script> </script>
</head> </head>
<body> <body>
<form class="sort_editor"> <form>
<div class="container"></div> <div class="container"></div>
</form> </form>
</body> </body>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>969.41895.918.30634</string> </value> <value> <string>970.21390.23143.45209</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1536243636.19</float> <float>1537197201.96</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -46,10 +46,6 @@ ...@@ -46,10 +46,6 @@
<td></td> <td></td>
</tr> </tr>
<tr>
<td><p><p/>
</tr>
<tal:block tal:define="notification_configuration python: {'class': 'success', <tal:block tal:define="notification_configuration python: {'class': 'success',
'text': 'Document created.'}"> 'text': 'Document created.'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
...@@ -75,28 +71,8 @@ ...@@ -75,28 +71,8 @@
<tr> <tr>
<td colspan="3"><b>Trying to save disabled option</b></td> <td colspan="3"><b>Trying to save disabled option</b></td>
</tr> </tr>
<tr> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/click_save" />
<td>waitForElementPresent</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//button[@data-i18n='Save']</td>
<td></td>
</tr>
<!-- First loader while calling Base_edit -->
<tr>
<td>waitForElementPresent</td>
<td>//h1[@class="ui-title"]//a[contains(@class, "ui-icon-spinner")]</td>
<td></td>
</tr>
<!-- Save Button is disabled -->
<tr>
<td>verifyElementPresent</td>
<td>//button[@data-i18n="Save"][contains(@class, "ui-disabled")]</td>
<td></td>
</tr>
<tal:block tal:define="notification_configuration python: {'class': 'error', <tal:block tal:define="notification_configuration python: {'class': 'error',
'text': 'Input data has errors.'}"> 'text': 'Input data has errors.'}">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_notification" />
......
...@@ -46,42 +46,42 @@ ...@@ -46,42 +46,42 @@
<!-- Check the selectable columns --> <!-- Check the selectable columns -->
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[1][@value='id' and text()='ID']</td> <td>//div[@class='column_item_container']/div[1]//select[1]//option[1][@value='id' and text()='ID']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[2][@value='title' and text()='Title']</td> <td>//div[@class='column_item_container']/div[1]//select[1]//option[2][@value='title' and text()='Title']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[3][@value='getQuantity' and text()='Quantity']</td> <td>//div[@class='column_item_container']/div[1]//select[1]//option[3][@value='getQuantity' and text()='Quantity']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[4][@value='creation_date' and text()='Creation Date']</td> <td>//div[@class='column_item_container']/div[1]//select[1]//option[4][@value='creation_date' and text()='Creation Date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[5][@value='getUid' and text()='UID']</td> <td>//div[@class='column_item_container']/div[1]//select[1]//option[5][@value='getUid' and text()='UID']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[6][@value='delivery.quantity' and text()='Quantity']</td> <td>//div[@class='column_item_container']/div[1]//select[1]//option[6][@value='delivery.quantity' and text()='Quantity']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[7]</td> <td>//div[@class='column_item_container']/div[1]//select[1]//option[7]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='column_item_container']/div[1]//select[1]</td>
<td>id</td> <td>id</td>
</tr> </tr>
......
...@@ -66,14 +66,14 @@ ...@@ -66,14 +66,14 @@
<!-- check quanlity is display correctly --> <!-- check quanlity is display correctly -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//a[@class='ui-link' and text() ='1']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//a[text() ='1']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyElementPresent</td> <td>verifyElementPresent</td>
<td>//a[@class='ui-link' and text() ='1']</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_field_listbox.html')]//a[text() ='1']</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<!-- Only one item is displayed --> <!-- Only one item is displayed -->
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='filter_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='filter_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
...@@ -45,48 +45,48 @@ ...@@ -45,48 +45,48 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>index=0</td> <td>index=0</td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[1]</td> <td>//div[@class='sort_item_container']/div[2]//select[1]</td>
<td>index=1</td> <td>index=1</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -56,48 +56,48 @@ ...@@ -56,48 +56,48 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>index=0</td> <td>index=0</td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[1]</td> <td>//div[@class='sort_item_container']/div[2]//select[1]</td>
<td>index=1</td> <td>index=1</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -92,19 +92,19 @@ ...@@ -92,19 +92,19 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>id</td> <td>id</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>ascending</td> <td>ascending</td>
</tr> </tr>
...@@ -140,19 +140,19 @@ ...@@ -140,19 +140,19 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>title</td> <td>title</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>descending</td> <td>descending</td>
</tr> </tr>
......
...@@ -49,7 +49,7 @@ Frontend should not suppose default sorting ...@@ -49,7 +49,7 @@ Frontend should not suppose default sorting
<!-- Make sure broken definitions don't appear in sort editor --> <!-- Make sure broken definitions don't appear in sort editor -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${renderjs_url}/gadget_erp5_sort_editor.html']//button[@class="plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all"]</td><td></td></tr> <td>//div[@data-gadget-url='${renderjs_url}/gadget_erp5_sort_editor.html']//button[@class="plus ui-icon-plus ui-btn-icon-left"]</td><td></td></tr>
<tr><td>verifyElementNotPresent</td> <tr><td>verifyElementNotPresent</td>
<td>//div[@data-gadget-url='${renderjs_url}/gadget_erp5_sort_editor.html']//select</td><td></td></tr> <td>//div[@data-gadget-url='${renderjs_url}/gadget_erp5_sort_editor.html']//select</td><td></td></tr>
...@@ -70,12 +70,12 @@ Frontend should not suppose default sorting ...@@ -70,12 +70,12 @@ Frontend should not suppose default sorting
<!-- Verify that the default sort is visible in Sort Editor --> <!-- Verify that the default sort is visible in Sort Editor -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td><td></td></tr> <td>//div[@class='sort_item_container']/div[1]</td><td></td></tr>
<tr><td>verifyValue</td> <tr><td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>id</td></tr> <td>id</td></tr>
<tr><td>verifyValue</td> <tr><td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>ascending</td></tr> <td>ascending</td></tr>
<!-- Let's set up the default sort correctly: title | DESC --> <!-- Let's set up the default sort correctly: title | DESC -->
...@@ -98,20 +98,20 @@ Frontend should not suppose default sorting ...@@ -98,20 +98,20 @@ Frontend should not suppose default sorting
<!-- Verify that the default sort is visible in Sort Editor --> <!-- Verify that the default sort is visible in Sort Editor -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td><td></td></tr> <td>//div[@class='sort_item_container']/div[1]</td><td></td></tr>
<tr><td>verifyValue</td> <tr><td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>title</td></tr> <td>title</td></tr>
<tr><td>verifyValue</td> <tr><td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>descending</td></tr> <td>descending</td></tr>
<!-- Change sort using the Sort Editor --> <!-- Change sort using the Sort Editor -->
<tr><td>select</td> <tr><td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>index=0</td><!-- select ID --></tr> <td>index=0</td><!-- select ID --></tr>
<tr><td>click</td> <tr><td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td><td></td></tr> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td><td></td></tr>
<!-- Wait for the Filters to be applied --> <!-- Wait for the Filters to be applied -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
......
...@@ -54,27 +54,27 @@ ...@@ -54,27 +54,27 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<!-- Wait for the Add Sort button because no default sort is correctly specified --> <!-- Wait for the Add Sort button because no default sort is correctly specified -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -83,20 +83,20 @@ ...@@ -83,20 +83,20 @@
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[1]</td> <td>//div[@class='sort_item_container']/div[2]//select[1]</td>
<td>index=1</td><!-- select Title in the second Sort Item --> <td>index=1</td><!-- select Title in the second Sort Item -->
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[2]</td> <td>//div[@class='sort_item_container']/div[2]//select[2]</td>
<td>index=1</td><!-- select descending in the second Sort Item --> <td>index=1</td><!-- select descending in the second Sort Item -->
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -108,32 +108,32 @@ ...@@ -108,32 +108,32 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']//select</td> <td>//div[@class='sort_item_container']//select</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>id</td> <td>id</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>ascending</td> <td>ascending</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[1]</td> <td>//div[@class='sort_item_container']/div[2]//select[1]</td>
<td>title</td> <td>title</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//select[2]</td> <td>//div[@class='sort_item_container']/div[2]//select[2]</td>
<td>descending</td> <td>descending</td>
</tr> </tr>
......
...@@ -54,76 +54,76 @@ ...@@ -54,76 +54,76 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>focus</td> <td>focus</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//button</td> <td>//div[@class='sort_item_container']/div[2]//button</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]//button</td> <td>//div[@class='sort_item_container']/div[2]//button</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementNotPresent</td> <td>waitForElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>focus</td> <td>focus</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//button</td> <td>//div[@class='sort_item_container']/div[1]//button</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//button</td> <td>//div[@class='sort_item_container']/div[1]//button</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementNotPresent</td> <td>waitForElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyElementNotPresent</td> <td>verifyElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyElementNotPresent</td> <td>verifyElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -46,75 +46,75 @@ ...@@ -46,75 +46,75 @@
<!-- No item is displayed --> <!-- No item is displayed -->
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div</td> <td>//div[@class='sort_item_container']/div</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']//select</td> <td>//div[@class='sort_item_container']//select</td>
<td></td> <td></td>
</tr> </tr>
<!-- Check the selectable columns --> <!-- Check the selectable columns -->
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[1][@value='id' and text()='ID']</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[1][@value='id' and text()='ID']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[2][@value='title' and text()='Title']</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[2][@value='title' and text()='Title']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[3][@value='creation_date' and text()='Creation Date']</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[3][@value='creation_date' and text()='Creation Date']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[4]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[4]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>id</td> <td>id</td>
</tr> </tr>
<!-- Check the asc/desc selectable --> <!-- Check the asc/desc selectable -->
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]//option[1][@value='ascending' and text()='ascending']</td> <td>//div[@class='sort_item_container']/div[1]//select[2]//option[1][@value='ascending' and text()='ascending']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]//option[2][@value='descending' and text()='descending']</td> <td>//div[@class='sort_item_container']/div[1]//select[2]//option[2][@value='descending' and text()='descending']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]//option[3]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]//option[3]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>ascending</td> <td>ascending</td>
</tr> </tr>
<!-- Only one item is displayed --> <!-- Only one item is displayed -->
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -50,27 +50,27 @@ ...@@ -50,27 +50,27 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -78,13 +78,13 @@ ...@@ -78,13 +78,13 @@
<tr> <tr>
<td>verifyElementNotPresent</td> <td>verifyElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyElementNotPresent</td> <td>verifyElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -35,63 +35,63 @@ ...@@ -35,63 +35,63 @@
<!-- No item is displayed --> <!-- No item is displayed -->
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div</td> <td>//div[@class='sort_item_container']/div</td>
<td></td> <td></td>
</tr> </tr>
<!-- Check the selectable columns --> <!-- Check the selectable columns -->
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[1][@value='id' and text()='ID']</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[1][@value='id' and text()='ID']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[2][@value='title' and text()='Title']</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[2][@value='title' and text()='Title']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[3][@value='uid' and text()='uid']</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[3][@value='uid' and text()='uid']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]//option[4]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]//option[4]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>uid</td> <td>uid</td>
</tr> </tr>
<!-- Check the asc/desc selectable --> <!-- Check the asc/desc selectable -->
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]//option[1][@value='ascending' and text()='ascending']</td> <td>//div[@class='sort_item_container']/div[1]//select[2]//option[1][@value='ascending' and text()='ascending']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]//option[2][@value='descending' and text()='descending']</td> <td>//div[@class='sort_item_container']/div[1]//select[2]//option[2][@value='descending' and text()='descending']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]//option[3]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]//option[3]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>descending</td> <td>descending</td>
</tr> </tr>
<!-- Only one item is displayed --> <!-- Only one item is displayed -->
<tr> <tr>
<td>assertElementNotPresent</td> <td>assertElementNotPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[2]</td> <td>//div[@class='sort_item_container']/div[2]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -52,27 +52,27 @@ ...@@ -52,27 +52,27 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>ascending</td> <td>ascending</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -51,27 +51,27 @@ ...@@ -51,27 +51,27 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>ascending</td> <td>ascending</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<!-- Sort by anything --> <!-- Sort by anything -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
...@@ -54,26 +54,26 @@ ...@@ -54,26 +54,26 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>index=0</td> <td>index=0</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']//button</td> <td>//div[@class='sort_item_container']//button</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -17,10 +17,17 @@ ...@@ -17,10 +17,17 @@
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="search_query python: 'foo:&#34;bar&#34; AND barfoo'"> <tal:block tal:define="search_query python: 'foo:&#34;bar&#34; AND barfoo'">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/search_in_form_list" />
</tal:block> </tal:block>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<tal:block tal:define="parsed_query python: 'foo:&nbsp; &#34;bar&#34;';
search_query python: 'barfoo'">
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/check_search_in_form_list" />
</tal:block>
<!-- Wait for gadget to be loaded --> <!-- Wait for gadget to be loaded -->
<tr> <tr>
...@@ -28,6 +35,8 @@ ...@@ -28,6 +35,8 @@
<td>//div[@data-gadget-scope='header']//a[text()='Actions' and contains(@href, '#!change') and contains(@href, 'n.page=action')]</td> <td>//div[@data-gadget-scope='header']//a[text()='Actions' and contains(@href, '#!change') and contains(@href, 'n.page=action')]</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_page_action.html']</td> <td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_page_action.html']</td>
...@@ -52,6 +61,8 @@ ...@@ -52,6 +61,8 @@
<td>//div[@data-gadget-scope='header']//a[text()='Foo Module' and contains(@href, '#!change') and contains(@href, 'u.page=')]</td> <td>//div[@data-gadget-scope='header']//a[text()='Foo Module' and contains(@href, '#!change') and contains(@href, 'u.page=')]</td>
<td></td> <td></td>
</tr> </tr>
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_list.html']</td> <td>//div[@data-gadget-url='${base_url}/web_site_module/renderjs_runner/gadget_erp5_pt_form_list.html']</td>
......
...@@ -95,14 +95,14 @@ ...@@ -95,14 +95,14 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -162,28 +162,28 @@ ...@@ -162,28 +162,28 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='ui-listview ui-corner-all search_ul']//li</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='search_ul']//li</td>
<td></td> <td></td>
</tr> </tr>
<!-- test sort --> <!-- test sort -->
<tr> <tr>
<td>verifyAttribute</td> <td>verifyAttribute</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='ui-listview ui-corner-all search_ul']/li[1]@data-relative-url</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='search_ul']/li[1]@data-relative-url</td>
<td>foo_module/4</td> <td>foo_module/4</td>
</tr> </tr>
<tr> <tr>
<td>verifyAttribute</td> <td>verifyAttribute</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='ui-listview ui-corner-all search_ul']/li[2]@data-relative-url</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='search_ul']/li[2]@data-relative-url</td>
<td>foo_module/3</td> <td>foo_module/3</td>
</tr> </tr>
<!-- test parameter list --> <!-- test parameter list -->
<tr> <tr>
<td>verifyElementNotPresent</td> <td>verifyElementNotPresent</td>
<td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='ui-listview ui-corner-all search_ul']//li[@data-relative-url='foo_module/5']</td> <td>//div[@data-gadget-scope='field_my_bar_category_title_list']//ul[@class='search_ul']//li[@data-relative-url='foo_module/5']</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class="responsive ui-btn ui-icon-warning ui-btn-icon-left ui-first-child ui-last-child "]</td> <td>//button[@class="ui-icon-warning ui-btn-icon-left "]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class="responsive ui-btn ui-icon-warning ui-btn-icon-left ui-first-child ui-last-child "]</td> <td>//button[@class="ui-icon-warning ui-btn-icon-left "]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
...@@ -126,14 +126,14 @@ ...@@ -126,14 +126,14 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -162,28 +162,28 @@ ...@@ -162,28 +162,28 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='ui-listview ui-corner-all search_ul']//li</td> <td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='search_ul']//li</td>
<td></td> <td></td>
</tr> </tr>
<!-- test sort --> <!-- test sort -->
<tr> <tr>
<td>verifyAttribute</td> <td>verifyAttribute</td>
<td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='ui-listview ui-corner-all search_ul']/li[1]@data-relative-url</td> <td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='search_ul']/li[1]@data-relative-url</td>
<td>foo_module/4</td> <td>foo_module/4</td>
</tr> </tr>
<tr> <tr>
<td>verifyAttribute</td> <td>verifyAttribute</td>
<td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='ui-listview ui-corner-all search_ul']/li[2]@data-relative-url</td> <td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='search_ul']/li[2]@data-relative-url</td>
<td>foo_module/3</td> <td>foo_module/3</td>
</tr> </tr>
<!-- test parameter list --> <!-- test parameter list -->
<tr> <tr>
<td>verifyElementNotPresent</td> <td>verifyElementNotPresent</td>
<td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='ui-listview ui-corner-all search_ul']//li[@data-relative-url='foo_module/5']</td> <td>//div[@data-gadget-scope='field_my_successor_title']//ul[@class='search_ul']//li[@data-relative-url='foo_module/5']</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class="responsive ui-btn ui-icon-warning ui-btn-icon-left ui-first-child ui-last-child "]</td> <td>//button[@class="ui-icon-warning ui-btn-icon-left "]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class="responsive ui-btn ui-icon-warning ui-btn-icon-left ui-first-child ui-last-child "]</td> <td>//button[@class="ui-icon-warning ui-btn-icon-left "]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
...@@ -131,14 +131,14 @@ ...@@ -131,14 +131,14 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]/a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1/a</td>
<td></td> <td></td>
</tr> </tr>
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
<!-- Wait for gadget to be loaded --> <!-- Wait for gadget to be loaded -->
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_app_loaded" />
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded" />
<!-- Enter a search query to store the state --> <!-- Enter a search query to store the state -->
<tal:block tal:define="parsed_query python: ''; <tal:block tal:define="parsed_query python: '';
......
...@@ -72,32 +72,32 @@ ...@@ -72,32 +72,32 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>descending</td> <td>descending</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -77,32 +77,32 @@ ...@@ -77,32 +77,32 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]</td> <td>//div[@class='sort_item_container']/div[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>select</td> <td>select</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>descending</td> <td>descending</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class="submit responsive ui-last-child ui-btn ui-btn-icon-left ui-icon-check"]</td> <td>//button[@class="ui-btn-icon-left ui-icon-check"]</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -41,14 +41,14 @@ ...@@ -41,14 +41,14 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='column_item_container']/div[1]//select[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifySelectOptions</td> <td>verifySelectOptions</td>
<td>//div[@class='column_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='column_item_container']/div[1]//select[1]</td>
<td>ID,biaoti,Quantity,chuangjianshijian,xiugaishijian,shuoyouzhe</td> <td>ID,biaoti,Quantity,chuangjianshijian,xiugaishijian,shuoyouzhe</td>
</tr> </tr>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<tr> <tr>
<td>verifyText</td> <td>verifyText</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td>foo_mokuai</td> <td>foo_mokuai</td>
</tr> </tr>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<tr> <tr>
<td>verifyText</td> <td>verifyText</td>
<td>//h1[@class="ui-title"]//a</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_header.html')]//h1//a</td>
<td>Foo_zhongwen: Title 1</td> <td>Foo_zhongwen: Title 1</td>
</tr> </tr>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
...@@ -42,28 +42,28 @@ ...@@ -42,28 +42,28 @@
<tr> <tr>
<td>click</td> <td>click</td>
<td>//button[@class='plus ui-btn-c ui-override-theme ui-btn ui-icon-plus ui-btn-icon-left ui-corner-all']</td> <td>//button[@class='plus ui-icon-plus ui-btn-icon-left']</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifySelectOptions</td> <td>verifySelectOptions</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>ID,biaoti,chuangjianshijian,xiugaishijian,shuoyouzhe</td> <td>ID,biaoti,chuangjianshijian,xiugaishijian,shuoyouzhe</td>
</tr> </tr>
<tr> <tr>
<td>verifySelectOptions</td> <td>verifySelectOptions</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>shangshen,xiajiang</td> <td>shangshen,xiajiang</td>
</tr> </tr>
......
...@@ -210,25 +210,25 @@ ...@@ -210,25 +210,25 @@
<!-- We should see only one Foo Document --> <!-- We should see only one Foo Document -->
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_list.html')]//div[@data-gadget-scope="field_listbox"]//a[@class="ui-link"]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_list.html')]//div[@data-gadget-scope="field_listbox"]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_list.html')]//div[@data-gadget-scope="field_listbox"]//a[@class="ui-link"]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_list.html')]//div[@data-gadget-scope="field_listbox"]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//a[@class="ui-link"]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//a[@class="ui-link"]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
...@@ -279,13 +279,13 @@ ...@@ -279,13 +279,13 @@
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//a[@class="ui-link"]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//a[@class="ui-link"]</td> <td>//div[contains(@data-gadget-url, 'gadget_erp5_pt_form_view.html')]//div[@data-gadget-scope="field_listbox"]//tbody//a</td>
<td></td> <td></td>
</tr> </tr>
......
...@@ -51,9 +51,9 @@ ...@@ -51,9 +51,9 @@
<tr><td>click</td> <tr><td>click</td>
<td>//div[@data-role="header"]//a[@data-i18n="Actions"]</td><td></td></tr> <td>//div[@data-role="header"]//a[@data-i18n="Actions"]</td><td></td></tr>
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//ul[@data-role="listview"]//a[@data-i18n="Change State"]</td><td></td></tr> <td>//ul[@class="document-listview"]//a[@data-i18n="Change State"]</td><td></td></tr>
<tr><td>click</td> <tr><td>click</td>
<td>//ul[@data-role="listview"]//a[@data-i18n="Change State"]</td><td></td></tr> <td>//ul[@class="document-listview"]//a[@data-i18n="Change State"]</td><td></td></tr>
<tr><th colspan="3">All actions are always visible</th></tr> <tr><th colspan="3">All actions are always visible</th></tr>
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
...@@ -77,9 +77,9 @@ ...@@ -77,9 +77,9 @@
<tr><td>click</td> <tr><td>click</td>
<td>//div[@data-role="header"]//a[@data-i18n="Actions"]</td><td></td></tr> <td>//div[@data-role="header"]//a[@data-i18n="Actions"]</td><td></td></tr>
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//ul[@data-role="listview"]//a[@data-i18n="Change State"]</td><td></td></tr> <td>//ul[@class="document-listview"]//a[@data-i18n="Change State"]</td><td></td></tr>
<tr><td>click</td> <tr><td>click</td>
<td>//ul[@data-role="listview"]//a[@data-i18n="Change State"]</td><td></td></tr> <td>//ul[@class="document-listview"]//a[@data-i18n="Change State"]</td><td></td></tr>
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//select[@name="field_your_mass_workflow_action"]/option[@value="validate_action"]</td><td></td></tr> <td>//select[@name="field_your_mass_workflow_action"]/option[@value="validate_action"]</td><td></td></tr>
...@@ -156,9 +156,9 @@ ...@@ -156,9 +156,9 @@
<tr><td>click</td> <tr><td>click</td>
<td>//div[@data-role="header"]//a[@data-i18n="Actions"]</td><td></td></tr> <td>//div[@data-role="header"]//a[@data-i18n="Actions"]</td><td></td></tr>
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//ul[@data-role="listview"]//a[@data-i18n="Change State"]</td><td></td></tr> <td>//ul[@class="document-listview"]//a[@data-i18n="Change State"]</td><td></td></tr>
<tr><td>click</td> <tr><td>click</td>
<td>//ul[@data-role="listview"]//a[@data-i18n="Change State"]</td><td></td></tr> <td>//ul[@class="document-listview"]//a[@data-i18n="Change State"]</td><td></td></tr>
<tr><td>waitForElementPresent</td> <tr><td>waitForElementPresent</td>
<td>//select[@name="field_your_mass_workflow_action"]/option[@value="invalidate_action"]</td><td></td></tr> <td>//select[@name="field_your_mass_workflow_action"]/option[@value="invalidate_action"]</td><td></td></tr>
......
...@@ -61,17 +61,17 @@ ...@@ -61,17 +61,17 @@
<tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" /> <tal:block metal:use-macro="here/Zuite_CommonTemplateForRenderjsUi/macros/triggle_sort" />
<tr> <tr>
<td>waitForElementPresent</td> <td>waitForElementPresent</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']//select</td> <td>//div[@class='sort_item_container']//select</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[1]</td> <td>//div[@class='sort_item_container']/div[1]//select[1]</td>
<td>modification_date</td> <td>modification_date</td>
</tr> </tr>
<tr> <tr>
<td>verifyValue</td> <td>verifyValue</td>
<td>//div[@class='sort_item_container ui-controlgroup ui-corner_all']/div[1]//select[2]</td> <td>//div[@class='sort_item_container']/div[1]//select[2]</td>
<td>descending</td> <td>descending</td>
</tr> </tr>
......
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