pywebexec 1.9.16__py3-none-any.whl → 1.9.18__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.
@@ -56,8 +56,7 @@ function setHelpDivPosition() {
56
56
 
57
57
  function adjustInputWidth(input) {
58
58
  input.style.width = 'auto';
59
- input.style.width = `${input.scrollWidth}px`;
60
-
59
+ input.style.width = `${input.scrollWidth + 3}px`;
61
60
  }
62
61
 
63
62
  paramsInput.addEventListener('input', () => adjustInputWidth(paramsInput));
@@ -309,7 +308,17 @@ paramsInput.addEventListener('focus', () => {
309
308
  });
310
309
  schemaForm.firstChild.classList.add('form-inline');
311
310
  setHelpDivPosition();
311
+ schemaForm.querySelectorAll('input[type="text"]').forEach(input => {
312
+ input.setAttribute('size', '12');
313
+ input.addEventListener('input', () => adjustInputWidth(input));
314
+ });
312
315
  paramsContainer.style.display = 'block';
316
+ const input1 = schemaForm.querySelector('input[type="text"]');
317
+ if (input1) {
318
+ input1.focus();
319
+ }
320
+ } else {
321
+ paramsContainer.style.display = 'none';
313
322
  }
314
323
  if (gExecutables[currentCmd] && gExecutables[currentCmd].help) {
315
324
  helpDiv.innerHTML = marked.parse(gExecutables[currentCmd].help);
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 = '1.9.16'
21
- __version_tuple__ = version_tuple = (1, 9, 16)
20
+ __version__ = version = '1.9.18'
21
+ __version_tuple__ = version_tuple = (1, 9, 18)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.9.16
3
+ Version: 1.9.18
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=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
3
3
  pywebexec/pywebexec.py,sha256=5hv_3F0Tbz_s5eXrt4WaPCylW44gk5NHCzjJzP5HITw,40320
4
4
  pywebexec/swagger.yaml,sha256=pGG4ikpASgBnzoZ44jJJ8l5JrNz7GOBpCakSJta-30c,5676
5
- pywebexec/version.py,sha256=B65y0MUWS7SUtSoiU4HzB_iPwPjJcBp_I4YhdnrUVcY,513
5
+ pywebexec/version.py,sha256=o9GiMcCTI7JOEk8aQRS-nxlGHyFDZVzwEZKRXIetmXQ,513
6
6
  pywebexec/static/css/bootstrap.min.css,sha256=916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG_aiY1w,121200
7
7
  pywebexec/static/css/style.css,sha256=pgExFjeNwVQseuhnXT6I_30SNgUgWlT1g7ZQUQ5SMj4,170618
8
8
  pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
@@ -29,7 +29,7 @@ pywebexec/static/images/popup.svg,sha256=0Bl9A_v5cBsMPn6FnOlVWlAQKgd2zqiWQbhjcL9
29
29
  pywebexec/static/images/resume.svg,sha256=99LP1Ya2JXakRCO9kW8JMuT_4a_CannF65EiuwtvK4A,607
30
30
  pywebexec/static/images/running.svg,sha256=fBCYwYb2O9K4N3waC2nURP25NRwZlqR4PbDZy6JQMww,610
31
31
  pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_qiD_FU8,489
32
- pywebexec/static/js/executables.js,sha256=sg-sjlKUMCdZrhsFJ_MirdHfAQtI6seEiAvB6RCSB44,11945
32
+ pywebexec/static/js/executables.js,sha256=OENXnyyzaKTd6cmjxg3st6kTK22zZQe9ZmECgdpfc-Q,12351
33
33
  pywebexec/static/js/popup.js,sha256=0fr3pp4j9D2fXEVnHyQrx2bPWFHfgbb336dbewgH1d8,9023
34
34
  pywebexec/static/js/script.js,sha256=EpDwM1CyvHgsfkMSAkYmS9nU0sKOEXpQ6L3xhDIabEY,17933
35
35
  pywebexec/static/js/marked/LICENSE.md,sha256=jjo_gvWaYJWPVsoI9EVkfDKkcz3HymwsRvbriYRxq5w,2942
@@ -54,9 +54,9 @@ pywebexec/static/jsonform/lib/jsonform.js,sha256=U-BvOgq5gCvSUo36qSAK7Y91RPKOq7v
54
54
  pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  pywebexec/templates/index.html,sha256=_cMEM316zPYySIHVb_gQpf3Zxhk9tWJFF9hdWlFasgc,3598
56
56
  pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
57
- pywebexec-1.9.16.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
58
- pywebexec-1.9.16.dist-info/METADATA,sha256=xC-mwunjohNEsAmHjIm9p3oBpmYSXtgVNmJH41d7EBo,9685
59
- pywebexec-1.9.16.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
60
- pywebexec-1.9.16.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
61
- pywebexec-1.9.16.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
62
- pywebexec-1.9.16.dist-info/RECORD,,
57
+ pywebexec-1.9.18.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
58
+ pywebexec-1.9.18.dist-info/METADATA,sha256=37-1aKw6Od1HyNlkOXvvaDRkhysAh5IiwbcUbjkTOOc,9685
59
+ pywebexec-1.9.18.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
60
+ pywebexec-1.9.18.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
61
+ pywebexec-1.9.18.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
62
+ pywebexec-1.9.18.dist-info/RECORD,,