pywebexec 1.7.9__tar.gz → 1.7.11__tar.gz

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.
Files changed (50) hide show
  1. {pywebexec-1.7.9/pywebexec.egg-info → pywebexec-1.7.11}/PKG-INFO +1 -1
  2. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/css/style.css +5 -4
  3. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/commands.js +1 -1
  4. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/script.js +4 -4
  5. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/templates/index.html +2 -2
  6. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/version.py +2 -2
  7. {pywebexec-1.7.9 → pywebexec-1.7.11/pywebexec.egg-info}/PKG-INFO +1 -1
  8. {pywebexec-1.7.9 → pywebexec-1.7.11}/.github/workflows/python-publish.yml +0 -0
  9. {pywebexec-1.7.9 → pywebexec-1.7.11}/.gitignore +0 -0
  10. {pywebexec-1.7.9 → pywebexec-1.7.11}/LICENSE +0 -0
  11. {pywebexec-1.7.9 → pywebexec-1.7.11}/README.md +0 -0
  12. {pywebexec-1.7.9 → pywebexec-1.7.11}/pyproject.toml +0 -0
  13. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/__init__.py +0 -0
  14. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/pywebexec.py +0 -0
  15. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/css/Consolas NF.ttf +0 -0
  16. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/css/xterm.css +0 -0
  17. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/aborted.svg +0 -0
  18. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/copy.svg +0 -0
  19. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/copy_ok.svg +0 -0
  20. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/down-arrow.svg +0 -0
  21. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/failed.svg +0 -0
  22. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/favicon.svg +0 -0
  23. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/fit-tty.svg +0 -0
  24. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/fit-win.svg +0 -0
  25. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/font-decrease.svg +0 -0
  26. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/font-increase.svg +0 -0
  27. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/norun.svg +0 -0
  28. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/pause.svg +0 -0
  29. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/popup.svg +0 -0
  30. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/resume.svg +0 -0
  31. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/running.svg +0 -0
  32. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/images/success.svg +0 -0
  33. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/popup.js +0 -0
  34. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/LICENSE +0 -0
  35. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/addon-canvas.js +0 -0
  36. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/addon-canvas.js.map +0 -0
  37. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/addon-fit.js +0 -0
  38. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/addon-fit.js.map +0 -0
  39. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/addon-unicode11.js +0 -0
  40. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/addon-unicode11.js.map +0 -0
  41. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/xterm.js +0 -0
  42. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/static/js/xterm/xterm.js.map +0 -0
  43. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/templates/__init__.py +0 -0
  44. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec/templates/popup.html +0 -0
  45. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec.egg-info/SOURCES.txt +0 -0
  46. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec.egg-info/dependency_links.txt +0 -0
  47. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec.egg-info/entry_points.txt +0 -0
  48. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec.egg-info/requires.txt +0 -0
  49. {pywebexec-1.7.9 → pywebexec-1.7.11}/pywebexec.egg-info/top_level.txt +0 -0
  50. {pywebexec-1.7.9 → pywebexec-1.7.11}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.7.9
3
+ Version: 1.7.11
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -74,13 +74,14 @@ button {
74
74
  -webkit-border-radius: none;
75
75
  appearance: none;
76
76
  border-radius: 15px;
77
- padding-right: 13px;
77
+ padding: 0px 13px;
78
78
  border: 1px #555 solid;
79
79
  height: 22px;
80
80
  font-size: 13px;
81
81
  outline: none;
82
- text-indent: 10px;
83
82
  background-color: #eee;
83
+ color: #000;
84
+ font-weight: normal;
84
85
  }
85
86
  form {
86
87
  padding-bottom: 15px;
@@ -138,7 +139,7 @@ form {
138
139
  .copy_clip_ok, .copy_clip_ok:hover {
139
140
  background-image: url("/static/images/copy_ok.svg");
140
141
  }
141
- #params, #commandName {
142
+ #params, #command {
142
143
  -webkit-appearance: none;
143
144
  -webkit-border-radius: none;
144
145
  appearance: none;
@@ -152,7 +153,7 @@ form {
152
153
  margin: 0; /* Remove margin */
153
154
  }
154
155
 
155
- #commandName {
156
+ #command {
156
157
  width: auto; /* Allow dynamic width */
157
158
  background-size: 16px 16px;
158
159
  border-radius: 15px 0px 0px 15px;
@@ -1,5 +1,5 @@
1
1
  // commands.js
2
- let commandInput = document.getElementById('commandName');
2
+ let commandInput = document.getElementById('command');
3
3
  let paramsInput = document.getElementById('params');
4
4
  let commandListSelect = document.getElementById('commandList');
5
5
  let showCommandListButton = document.getElementById('showCommandListButton');
@@ -126,8 +126,8 @@ const urlToken = getTokenParam();
126
126
 
127
127
  document.getElementById('launchForm').addEventListener('submit', async (event) => {
128
128
  event.preventDefault();
129
- const commandName = document.getElementById('commandName').value;
130
- const params = document.getElementById('params').value.split(' ');
129
+ const commandName = commandInput.value;
130
+ const params = paramsInput.value.split(' ');
131
131
  fitAddon.fit();
132
132
  terminal.clear();
133
133
  try {
@@ -143,8 +143,8 @@ document.getElementById('launchForm').addEventListener('submit', async (event) =
143
143
  }
144
144
  const data = await response.json();
145
145
  //await new Promise(r => setTimeout(r, 300));// not ok
146
- fetchCommands();
147
146
  viewOutput(data.command_id);
147
+ fetchCommands();
148
148
  commandInput.focus()
149
149
  commandInput.setSelectionRange(0, commandInput.value.length)
150
150
  } catch (error) {
@@ -334,8 +334,8 @@ async function relaunchCommand(command_id, event) {
334
334
  throw new Error('Failed to relaunch command');
335
335
  }
336
336
  const relaunchData = await relaunchResponse.json();
337
- fetchCommands();
338
337
  viewOutput(relaunchData.command_id);
338
+ fetchCommands();
339
339
  } catch (error) {
340
340
  console.log('Error relaunching command:', error);
341
341
  alert('Failed to relaunch command. Please try again.');
@@ -13,9 +13,9 @@
13
13
  </div>
14
14
  <h2><span class="status-icon title-icon"></span>{{ title }}</h2>
15
15
  <form id="launchForm" class="form-inline">
16
- <label for="commandName">Command</label>
16
+ <label for="command">Command</label>
17
17
  <div class="input-group">
18
- <input type="text" id="commandName" name="commandName" size=5 autocomplete="off" style="width: 100px;" autofocus>
18
+ <input type="text" id="command" name="command" size=5 autocomplete="off" style="width: 100px;" autofocus>
19
19
  <div id="showCommandListButton" class="show-command-list-button">
20
20
  <span class="arrow">&#9660;</span>
21
21
  </div>
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.7.9'
16
- __version_tuple__ = version_tuple = (1, 7, 9)
15
+ __version__ = version = '1.7.11'
16
+ __version_tuple__ = version_tuple = (1, 7, 11)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.7.9
3
+ Version: 1.7.11
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
File without changes
File without changes
File without changes
File without changes
File without changes