Skip to content

Commit bb15a9e

Browse files
committed
[DOCS] web_touchscreen: add screenshot
Follow suggestion from #2701 (comment). @moduon MT-4472
1 parent dca20a4 commit bb15a9e

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

web_touchscreen/README.rst

+14-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Web Touchscreen
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
99
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:e5b59e225d718b18262fbc8a0da3408dc0fd5523eaf421014865f22d3ab9b5e1
10+
!! source digest: sha256:28be01a795f7908f83d483e97e274f5d5ae40909ca9d38d9685efba9c051b80a
1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
1313
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
@@ -31,6 +31,19 @@ Web Touchscreen
3131
This module prefers kanban sub-form views when using a tablet, or any
3232
other device with a touch screen, no matter its size.
3333

34+
For example, these screenshots showcase a sale order in a tablet:
35+
36+
=================== ================
37+
Without this module With this module
38+
=================== ================
39+
|Before| |After|
40+
=================== ================
41+
42+
.. |Before| image:: https://github.com/OCA/web/assets/973709/caa0be55-ec6b-45e8-af94-7492df08dfcc
43+
:target: https://github.com/OCA/web/assets/973709/caa0be55-ec6b-45e8-af94-7492df08dfcc
44+
.. |After| image:: https://github.com/OCA/web/assets/973709/345c1139-879d-4eb5-a828-786b1e3bc7b8
45+
:target: https://github.com/OCA/web/assets/973709/345c1139-879d-4eb5-a828-786b1e3bc7b8
46+
3447
.. IMPORTANT::
3548
This is an alpha version, the data model and design can change at any time without warning.
3649
Only for development or testing purpose, do not use in production.

web_touchscreen/readme/DESCRIPTION.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
This module prefers kanban sub-form views when using a tablet, or any other
22
device with a touch screen, no matter its size.
3+
4+
For example, these screenshots showcase a sale order in a tablet:
5+
6+
| Without this module | With this module |
7+
| --------------------- | ------------------- |
8+
| [![Before][]][Before] | [![After][]][After] |
9+
10+
11+
[Before]: https://github.com/OCA/web/assets/973709/caa0be55-ec6b-45e8-af94-7492df08dfcc
12+
[After]: https://github.com/OCA/web/assets/973709/345c1139-879d-4eb5-a828-786b1e3bc7b8

web_touchscreen/static/description/index.html

+18-1
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,28 @@ <h1 class="title">Web Touchscreen</h1>
367367
!! This file is generated by oca-gen-addon-readme !!
368368
!! changes will be overwritten. !!
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370-
!! source digest: sha256:e5b59e225d718b18262fbc8a0da3408dc0fd5523eaf421014865f22d3ab9b5e1
370+
!! source digest: sha256:28be01a795f7908f83d483e97e274f5d5ae40909ca9d38d9685efba9c051b80a
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372372
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/16.0/web_touchscreen"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_touchscreen"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373373
<p>This module prefers kanban sub-form views when using a tablet, or any
374374
other device with a touch screen, no matter its size.</p>
375+
<p>For example, these screenshots showcase a sale order in a tablet:</p>
376+
<table border="1" class="docutils">
377+
<colgroup>
378+
<col width="54%" />
379+
<col width="46%" />
380+
</colgroup>
381+
<thead valign="bottom">
382+
<tr><th class="head">Without this module</th>
383+
<th class="head">With this module</th>
384+
</tr>
385+
</thead>
386+
<tbody valign="top">
387+
<tr><td><a class="reference external image-reference" href="https://github.com/OCA/web/assets/973709/caa0be55-ec6b-45e8-af94-7492df08dfcc"><img alt="Before" src="https://github.com/OCA/web/assets/973709/caa0be55-ec6b-45e8-af94-7492df08dfcc" /></a></td>
388+
<td><a class="reference external image-reference" href="https://github.com/OCA/web/assets/973709/345c1139-879d-4eb5-a828-786b1e3bc7b8"><img alt="After" src="https://github.com/OCA/web/assets/973709/345c1139-879d-4eb5-a828-786b1e3bc7b8" /></a></td>
389+
</tr>
390+
</tbody>
391+
</table>
375392
<div class="admonition important">
376393
<p class="first admonition-title">Important</p>
377394
<p class="last">This is an alpha version, the data model and design can change at any time without warning.

0 commit comments

Comments
 (0)