Commit 3c233d5a 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 79456231
......@@ -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 {
width: 35%;
width: 21%;
}
div[data-gadget-url$="gadget_document_scanner.html"] .upload-error {
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 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>981.39650.41596.57241</string> </value>
<value> <string>981.42527.16024.21179</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1580843720.26</float>
<float>1580941432.56</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -185,10 +185,9 @@
return gadget.getTranslationList(["Page", "New Page"])
.push(function (result_list) {
thumbnail_dom_list.push(domsugar('button', {type: 'button',
text: result_list[1],
// Do not allow to show again the current image
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) {
......
......@@ -244,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>981.42511.4469.1024</string> </value>
<value> <string>981.42519.52255.48861</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1580940947.83</float>
<float>1580941317.11</float>
<string>UTC</string>
</tuple>
</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