Commit 5aad3bd9 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: display a nice plus image

With the size close to the thumbnail, to replace the `new` button text
parent d6174694
...@@ -67,9 +67,13 @@ div[data-gadget-url$="gadget_document_scanner.html"] > .camera > .thumbnail-list ...@@ -67,9 +67,13 @@ div[data-gadget-url$="gadget_document_scanner.html"] > .camera > .thumbnail-list
} }
div[data-gadget-url$="gadget_document_scanner.html"] .show-img { div[data-gadget-url$="gadget_document_scanner.html"] .show-img {
width: 35%; width: 21%;
} }
div[data-gadget-url$="gadget_document_scanner.html"] .upload-error { div[data-gadget-url$="gadget_document_scanner.html"] .upload-error {
border: 3px solid red; border: 3px solid red;
}
div[data-gadget-url$="gadget_document_scanner.html"] .new-btn {
font-size: 26pt;
} }
\ No newline at end of file
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>981.39650.41596.57241</string> </value> <value> <string>981.42527.16024.21179</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1580843720.26</float> <float>1580941432.56</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -185,10 +185,9 @@ ...@@ -185,10 +185,9 @@
return gadget.getTranslationList(["Page", "New Page"]) return gadget.getTranslationList(["Page", "New Page"])
.push(function (result_list) { .push(function (result_list) {
thumbnail_dom_list.push(domsugar('button', {type: 'button', thumbnail_dom_list.push(domsugar('button', {type: 'button',
text: result_list[1],
// Do not allow to show again the current image // Do not allow to show again the current image
disabled: (len === gadget.state.page - 1), disabled: (len === gadget.state.page - 1),
'class': 'new-btn' 'class': 'new-btn ui-btn-icon-left ui-icon-plus'
})); }));
for (i = 0; i < len; i += 1) { for (i = 0; i < len; i += 1) {
......
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>981.42511.4469.1024</string> </value> <value> <string>981.42519.52255.48861</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1580940947.83</float> <float>1580941317.11</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