Commit 46878690 authored by Romain Courteaud's avatar Romain Courteaud

WIP [erp5_web_renderjs_ui] Copy/Paste

parent 8e202669
...@@ -725,6 +725,24 @@ ...@@ -725,6 +725,24 @@
div_element.appendChild(button_element); div_element.appendChild(button_element);
} }
// Add copy button
button_element = document.createElement('button');
button_element.setAttribute('data-rel', 'hide');
button_element.setAttribute('name', 'CopySelect');
button_element.type = 'button';
button_element.setAttribute('class', 'ui-icon-copy ui-btn-icon-left ' + gadget.state.hide_class);
button_element.textContent = 'XXX COPY';//translation_list[4];
div_element.appendChild(button_element);
// Add paste button
button_element = document.createElement('button');
button_element.setAttribute('data-rel', 'hide');
button_element.setAttribute('name', 'PasteSelect');
button_element.type = 'button';
button_element.setAttribute('class', 'ui-icon-paste ui-btn-icon-left ' + gadget.state.hide_class);
button_element.textContent = 'XXX PASTE';//translation_list[4];
div_element.appendChild(button_element);
// Add cancel button // Add cancel button
// <button data-rel="cancel" data-i18n="Cancel" name="ExcludeRows" type="button" class="ui-icon-times ui-btn-icon-left {{hide_class}}"></button> // <button data-rel="cancel" data-i18n="Cancel" name="ExcludeRows" type="button" class="ui-icon-times ui-btn-icon-left {{hide_class}}"></button>
button_element = document.createElement('button'); button_element = document.createElement('button');
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>972.64219.61976.2884</string> </value> <value> <string>973.52399.51482.39321</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>1547458514.41</float> <float>1550833944.42</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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