pywebexec 1.1.0__tar.gz → 1.1.1__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 (27) hide show
  1. {pywebexec-1.1.0/pywebexec.egg-info → pywebexec-1.1.1}/PKG-INFO +2 -2
  2. {pywebexec-1.1.0 → pywebexec-1.1.1}/README.md +1 -1
  3. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/js/script.js +3 -3
  4. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/templates/index.html +2 -2
  5. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/version.py +2 -2
  6. {pywebexec-1.1.0 → pywebexec-1.1.1/pywebexec.egg-info}/PKG-INFO +2 -2
  7. {pywebexec-1.1.0 → pywebexec-1.1.1}/.github/workflows/python-publish.yml +0 -0
  8. {pywebexec-1.1.0 → pywebexec-1.1.1}/.gitignore +0 -0
  9. {pywebexec-1.1.0 → pywebexec-1.1.1}/LICENSE +0 -0
  10. {pywebexec-1.1.0 → pywebexec-1.1.1}/pyproject.toml +0 -0
  11. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/__init__.py +0 -0
  12. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/pywebexec.py +0 -0
  13. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/css/style.css +0 -0
  14. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/images/aborted.svg +0 -0
  15. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/images/copy.svg +0 -0
  16. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/images/copy_ok.svg +0 -0
  17. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/images/failed.svg +0 -0
  18. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/images/favicon.svg +0 -0
  19. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/images/running.svg +0 -0
  20. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/static/images/success.svg +0 -0
  21. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec/templates/__init__.py +0 -0
  22. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec.egg-info/SOURCES.txt +0 -0
  23. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec.egg-info/dependency_links.txt +0 -0
  24. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec.egg-info/entry_points.txt +0 -0
  25. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec.egg-info/requires.txt +0 -0
  26. {pywebexec-1.1.0 → pywebexec-1.1.1}/pywebexec.egg-info/top_level.txt +0 -0
  27. {pywebexec-1.1.0 → pywebexec-1.1.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -83,7 +83,7 @@ $ pywebexec
83
83
  ```
84
84
 
85
85
  * Launch commands with params/view live output/Status using browser
86
- ![pywebexec](https://github.com/user-attachments/assets/1bfec34f-8e3b-4ad0-b6c4-c03c957c070a)
86
+ ![pywebexec](https://github.com/user-attachments/assets/d352cc23-1552-4b79-a6ff-f02f05cf328e)
87
87
 
88
88
  ## features
89
89
 
@@ -21,7 +21,7 @@ $ pywebexec
21
21
  ```
22
22
 
23
23
  * Launch commands with params/view live output/Status using browser
24
- ![pywebexec](https://github.com/user-attachments/assets/1bfec34f-8e3b-4ad0-b6c4-c03c957c070a)
24
+ ![pywebexec](https://github.com/user-attachments/assets/d352cc23-1552-4b79-a6ff-f02f05cf328e)
25
25
 
26
26
  ## features
27
27
 
@@ -40,11 +40,11 @@ async function fetchCommands() {
40
40
  <td>${command.status === 'running' ? formatDuration(command.start_time, new Date().toISOString()) : formatDuration(command.start_time, command.end_time)}</td>
41
41
  <td>${command.exit_code}</td>
42
42
  <td>${command.command.replace(/^\.\//, '')}</td>
43
- <td class="monospace outcol">${command.last_output_line || ''}</td>
44
43
  <td>
45
- <button onclick="relaunchCommand('${command.command_id}')">Relaunch</button>
46
- ${command.status === 'running' ? `<button onclick="stopCommand('${command.command_id}')">Stop</button>` : ''}
44
+ ${command.status === 'running' ? `<button onclick="stopCommand('${command.command_id}')">Stop</button>` : ` <button onclick="relaunchCommand('${command.command_id}')">Run</button>
45
+ `}
47
46
  </td>
47
+ <td class="monospace outcol">${command.last_output_line || ''}</td>
48
48
  `;
49
49
  commandsTbody.appendChild(commandRow);
50
50
  });
@@ -13,7 +13,7 @@
13
13
  <select id="commandName" name="commandName"></select>
14
14
  <label for="params">Params</label>
15
15
  <input type="text" id="params" name="params">
16
- <button type="submit">Launch</button>
16
+ <button type="submit">Run</button>
17
17
  </form>
18
18
  <div class="table-container" id="tableContainer">
19
19
  <table>
@@ -25,8 +25,8 @@
25
25
  <th>Duration</th>
26
26
  <th>Exit</th>
27
27
  <th>Command</th>
28
+ <th>Action</th>
28
29
  <th>Output</th>
29
- <th>Actions</th>
30
30
  </tr>
31
31
  </thead>
32
32
  <tbody id="commands"></tbody>
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.1.0'
16
- __version_tuple__ = version_tuple = (1, 1, 0)
15
+ __version__ = version = '1.1.1'
16
+ __version_tuple__ = version_tuple = (1, 1, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -83,7 +83,7 @@ $ pywebexec
83
83
  ```
84
84
 
85
85
  * Launch commands with params/view live output/Status using browser
86
- ![pywebexec](https://github.com/user-attachments/assets/1bfec34f-8e3b-4ad0-b6c4-c03c957c070a)
86
+ ![pywebexec](https://github.com/user-attachments/assets/d352cc23-1552-4b79-a6ff-f02f05cf328e)
87
87
 
88
88
  ## features
89
89
 
File without changes
File without changes
File without changes
File without changes