pywebexec 2.4.2__py3-none-any.whl → 2.4.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,19 +151,14 @@ function exportToExcel(table) {
151
151
  <html>
152
152
  <head>
153
153
  <meta charset="UTF-8">
154
- <style>
155
- table { border-collapse: collapse; }
156
- th, td { border: 1px solid black; padding: 5px; }
157
- th { background-color: #f2f2f2; }
158
- </style>
159
154
  </head>
160
155
  <body>
161
- <table>
156
+ <table border="1" bgcolor="#f0f0f0" bordercolor="#ffffff">
162
157
  <thead>
163
158
  <tr>${
164
159
  Array.from(table.querySelectorAll('thead th'))
165
160
  .filter((_, i) => i !== 4 || table !== commandsTable)
166
- .map(th => `<th>${th.querySelector('.th-content')?.textContent.replace('⇕', '').replace(/⤓.*/, '').trim() || ''}</th>`)
161
+ .map(th => `<th bgcolor="#b0c7ff">${th.querySelector('.th-content')?.textContent.replace('⇕', '').replace(/⤓.*/, '').trim() || ''}</th>`)
167
162
  .join('')
168
163
  }</tr>
169
164
  </thead>
@@ -174,7 +169,7 @@ function exportToExcel(table) {
174
169
  `<tr>${
175
170
  Array.from(row.cells)
176
171
  .filter((_, i) => i !== 4 || table !== commandsTable)
177
- .map(cell => `<td>${cell.textContent.trim()}</td>`)
172
+ .map(cell => `<td valign="top">${cell.innerHTML}</td>`)
178
173
  .join('')
179
174
  }</tr>`
180
175
  ).join('')
pywebexec/version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '2.4.2'
21
- __version_tuple__ = version_tuple = (2, 4, 2)
20
+ __version__ = version = '2.4.3'
21
+ __version_tuple__ = version_tuple = (2, 4, 3)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pywebexec
3
- Version: 2.4.2
3
+ Version: 2.4.3
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -2,7 +2,7 @@ pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
2
2
  pywebexec/host_ip.py,sha256=oiCMlo2o3AkkgXDarUSx8T3FWXKI0vk1-EPnx5FGBd8,1332
3
3
  pywebexec/pywebexec.py,sha256=NT4f7Xd4qMkAgjgwguqKKbUkOTCqT7ArRYlsW57Pfwg,48477
4
4
  pywebexec/swagger.yaml,sha256=I_oLpp7Hqel8SDEEykvpmCT-Gv3ytGlziq9bvQOrtZY,7598
5
- pywebexec/version.py,sha256=RUYmq8GFeP2I_XyABp0HnMjSBqGntVVhgCtP72xF2Nk,511
5
+ pywebexec/version.py,sha256=xLAVxNld0iPK6tqrofzfozu9ZHg4aby5Rg0HcLuAYIU,511
6
6
  pywebexec/static/css/form.css,sha256=2JUhraeL46JaiNoD_MSKA2JdouHkXaamhd77DnCqG8k,7291
7
7
  pywebexec/static/css/markdown.css,sha256=br4-iK9wigTs54N2KHtjgZ4KLH0THVSvJo-XZAdMHiE,1970
8
8
  pywebexec/static/css/style.css,sha256=SzOKCcH1HWQtSWY1Sw70Y4c_lNTyqStj2zIOIpXmqK0,11694
@@ -38,7 +38,7 @@ pywebexec/static/js/popup.js,sha256=IaKmk2U2hEn-Nv6krf_PPW6LaG8NcpCkJKb7lUX0qZo,
38
38
  pywebexec/static/js/schemaform.js,sha256=2AIjwdjSDTE2ide8UMmQt4tS-7-JKqidKdopq9mNzvo,12458
39
39
  pywebexec/static/js/script.js,sha256=SpNmskHKJHza0Au7QWrb17EKqiMPbMz5CDmaLt_i3M4,21548
40
40
  pywebexec/static/js/swagger-form.js,sha256=CLcSHMhk5P4-_2MIRBoJLgEnIj_9keDDSzUugXHZjio,4565
41
- pywebexec/static/js/tablefilter.js,sha256=Yy4oC--5kHwbKxM9MpmLPTty_4hthHTk5xfRXYDbbqA,7772
41
+ pywebexec/static/js/tablefilter.js,sha256=DKGVU_vZi81Q2GxMdWsnFg-mM2PpLIT7d-i2KklGgv4,7615
42
42
  pywebexec/static/js/js-yaml/LICENSE,sha256=oHvCRGi5ZUznalR9R6LbKC0HcztxXbTHOpi9Y5YflVA,1084
43
43
  pywebexec/static/js/js-yaml/js-yaml.min.js,sha256=Rdw90D3AegZwWiwpibjH9wkBPwS9U4bjJ51ORH8H69c,39430
44
44
  pywebexec/static/js/marked/LICENSE.md,sha256=jjo_gvWaYJWPVsoI9EVkfDKkcz3HymwsRvbriYRxq5w,2942
@@ -68,9 +68,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
68
68
  pywebexec/templates/index.html,sha256=29-MBjeJ5mgYdrkRB27WiY0okQLYcFFycJvdCMuwvV0,3974
69
69
  pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
70
70
  pywebexec/templates/swagger_ui.html,sha256=MAPr-z96VERAecDvX37V8q2Nxph-O0fNDBul1x2w9SI,1147
71
- pywebexec-2.4.2.dist-info/licenses/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
72
- pywebexec-2.4.2.dist-info/METADATA,sha256=28achxL0CmBFf2p6xtaV8FWL2l1KR6KwSsj2wefTnlc,13015
73
- pywebexec-2.4.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
74
- pywebexec-2.4.2.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
75
- pywebexec-2.4.2.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
76
- pywebexec-2.4.2.dist-info/RECORD,,
71
+ pywebexec-2.4.3.dist-info/licenses/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
72
+ pywebexec-2.4.3.dist-info/METADATA,sha256=CnifE9kn47FBDdb-FiyEqloAVSYXrhGF_oOedK7SqdE,13015
73
+ pywebexec-2.4.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
74
+ pywebexec-2.4.3.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
75
+ pywebexec-2.4.3.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
76
+ pywebexec-2.4.3.dist-info/RECORD,,