pywebexec 2.3.2__py3-none-any.whl → 2.3.4__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.
- pywebexec/static/css/style.css +3 -0
- pywebexec/static/js/script.js +4 -4
- pywebexec/version.py +2 -2
- {pywebexec-2.3.2.dist-info → pywebexec-2.3.4.dist-info}/METADATA +1 -1
- {pywebexec-2.3.2.dist-info → pywebexec-2.3.4.dist-info}/RECORD +9 -9
- {pywebexec-2.3.2.dist-info → pywebexec-2.3.4.dist-info}/WHEEL +0 -0
- {pywebexec-2.3.2.dist-info → pywebexec-2.3.4.dist-info}/entry_points.txt +0 -0
- {pywebexec-2.3.2.dist-info → pywebexec-2.3.4.dist-info}/licenses/LICENSE +0 -0
- {pywebexec-2.3.2.dist-info → pywebexec-2.3.4.dist-info}/top_level.txt +0 -0
pywebexec/static/css/style.css
CHANGED
@@ -58,7 +58,10 @@ th {
|
|
58
58
|
.outputhtml {
|
59
59
|
background: #fff;
|
60
60
|
padding: 0;
|
61
|
+
padding-bottom: 20px;
|
61
62
|
overflow: auto;
|
63
|
+
font-size: 13px;
|
64
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
62
65
|
ul {
|
63
66
|
margin: 0;
|
64
67
|
padding: 0 15px;
|
pywebexec/static/js/script.js
CHANGED
@@ -163,7 +163,7 @@ async function fetchCommands(hide=false) {
|
|
163
163
|
const commandRow = document.createElement('tr');
|
164
164
|
commandRow.className = `clickable-row ${command.command_id === currentCommandId ? 'currentcommand' : ''}`;
|
165
165
|
commandRow.onclick = () => viewOutput(command.command_id);
|
166
|
-
if (command.status === 'running') runningCommands.push(command.command.replace(
|
166
|
+
if (command.status === 'running') runningCommands.push(command.command.replace(/^\.[\\/]/, ''));
|
167
167
|
commandRow.innerHTML = `
|
168
168
|
<td class="monospace">
|
169
169
|
${navigator.clipboard == undefined ? `${command.command_id.slice(0, 8)}` : `<span class="copy_clip" onclick="copyToClipboard('${command.command_id}', this, event)">${command.command_id.slice(0, 8)}</span>`}
|
@@ -174,7 +174,7 @@ async function fetchCommands(hide=false) {
|
|
174
174
|
<td align="center">
|
175
175
|
${command.command.startsWith('term') ? '' : command.status === 'running' ? `<button class="stop" onclick="stopCommand('${command.command_id}', event)">Stop</button>` : `<button class="run" onclick="relaunchCommand('${command.command_id}', event)">Run</button>`}
|
176
176
|
</td>
|
177
|
-
<td title="${command.user == '-' ? '' : command.user}"><span class="command-line">${command.command.replace(
|
177
|
+
<td title="${command.user == '-' ? '' : command.user}"><span class="command-line">${command.command.replace(/^\.[\\/]/, '')}</span></td>
|
178
178
|
<td class="monospace outcol">
|
179
179
|
<button class="popup-button" onclick="openPopup('${command.command_id}', event)"></button>
|
180
180
|
${command.last_output_line || ''}
|
@@ -204,6 +204,7 @@ function extractHtml(text) {
|
|
204
204
|
async function fetchOutput(url) {
|
205
205
|
if (isPaused) return;
|
206
206
|
try {
|
207
|
+
document.getElementById('output').classList.remove('outputhtml');
|
207
208
|
const response = await fetch(url);
|
208
209
|
if (!response.ok) return;
|
209
210
|
const data = await response.json();
|
@@ -226,7 +227,6 @@ async function fetchOutput(url) {
|
|
226
227
|
document.getElementById('output').innerHTML = htmlContent;
|
227
228
|
document.getElementById('output').classList.add('outputhtml');
|
228
229
|
} else {
|
229
|
-
document.getElementById('output').classList.remove('outputhtml');
|
230
230
|
if (slider.value == 1000)
|
231
231
|
terminal.write(data.output);
|
232
232
|
else {
|
@@ -284,7 +284,7 @@ async function viewOutput(command_id) {
|
|
284
284
|
if (data.command.endsWith('/run-para')) {
|
285
285
|
command = `${data.params.join(' ').replace(/^.* -- run .\//, 'batch ')}`;
|
286
286
|
} else {
|
287
|
-
command = `${data.command.replace(
|
287
|
+
command = `${data.command.replace(/^\.[\\/]/, '')} ${data.params.join(' ')}`;
|
288
288
|
}
|
289
289
|
setCommandStatus(data.status)
|
290
290
|
commandInfo.innerHTML = command;
|
pywebexec/version.py
CHANGED
@@ -2,10 +2,10 @@ pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
|
|
2
2
|
pywebexec/host_ip.py,sha256=oiCMlo2o3AkkgXDarUSx8T3FWXKI0vk1-EPnx5FGBd8,1332
|
3
3
|
pywebexec/pywebexec.py,sha256=LD917ZeDVnOSMuLWPkl9JT1baaDvZ_e0Yk7RTs5yBfk,48273
|
4
4
|
pywebexec/swagger.yaml,sha256=I_oLpp7Hqel8SDEEykvpmCT-Gv3ytGlziq9bvQOrtZY,7598
|
5
|
-
pywebexec/version.py,sha256=
|
5
|
+
pywebexec/version.py,sha256=uwWN-nUjSdzfl2KBdAxl_KFIRtDM-6vnPwbujKx_J2g,511
|
6
6
|
pywebexec/static/css/form.css,sha256=XC_0ES5yMHYz0S2OHR0RAboQN7fBUmg5ZIq8Qm5rHP0,5806
|
7
7
|
pywebexec/static/css/markdown.css,sha256=br4-iK9wigTs54N2KHtjgZ4KLH0THVSvJo-XZAdMHiE,1970
|
8
|
-
pywebexec/static/css/style.css,sha256=
|
8
|
+
pywebexec/static/css/style.css,sha256=9P46lB-YLCYWRKIG58h_6Goj49ImAMxcWibh_uyrmDo,10308
|
9
9
|
pywebexec/static/css/swagger-ui.css,sha256=xhXN8fnUaIACGHuPIEIr9-qmyYr6Zx0k2wv4Qy7Bg1Y,154985
|
10
10
|
pywebexec/static/css/swagger-ui.css.map,sha256=dJy-xBn_htK4BNupTMIl33ddse7BXsrCdDJWlTJodnw,258842
|
11
11
|
pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
|
@@ -36,7 +36,7 @@ pywebexec/static/images/swagger-ui.svg,sha256=FR0yeOVwe4zCYKZAjCGcT_m0Mf25NexIVa
|
|
36
36
|
pywebexec/static/js/executables.js,sha256=cTgCFHr_F9bFCirtfG_uR32vOY3vNUr4Ih3Wglj5lFc,11988
|
37
37
|
pywebexec/static/js/popup.js,sha256=IaKmk2U2hEn-Nv6krf_PPW6LaG8NcpCkJKb7lUX0qZo,11457
|
38
38
|
pywebexec/static/js/schemaform.js,sha256=NlFXFKJI53izxPXct3a5XiB1RhWGt0_EIp6o1HfsryU,9624
|
39
|
-
pywebexec/static/js/script.js,sha256=
|
39
|
+
pywebexec/static/js/script.js,sha256=Baj26fNeBV1_dFV3nqa75Y_B534M6D_3VALRxp6qeNo,20155
|
40
40
|
pywebexec/static/js/swagger-form.js,sha256=CLcSHMhk5P4-_2MIRBoJLgEnIj_9keDDSzUugXHZjio,4565
|
41
41
|
pywebexec/static/js/js-yaml/LICENSE,sha256=oHvCRGi5ZUznalR9R6LbKC0HcztxXbTHOpi9Y5YflVA,1084
|
42
42
|
pywebexec/static/js/js-yaml/js-yaml.min.js,sha256=Rdw90D3AegZwWiwpibjH9wkBPwS9U4bjJ51ORH8H69c,39430
|
@@ -67,9 +67,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
67
67
|
pywebexec/templates/index.html,sha256=w18O2plH_yS8bqlPsu5hwFFmCj9H2hWLSV8B6ADcSwU,3900
|
68
68
|
pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
|
69
69
|
pywebexec/templates/swagger_ui.html,sha256=MAPr-z96VERAecDvX37V8q2Nxph-O0fNDBul1x2w9SI,1147
|
70
|
-
pywebexec-2.3.
|
71
|
-
pywebexec-2.3.
|
72
|
-
pywebexec-2.3.
|
73
|
-
pywebexec-2.3.
|
74
|
-
pywebexec-2.3.
|
75
|
-
pywebexec-2.3.
|
70
|
+
pywebexec-2.3.4.dist-info/licenses/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
71
|
+
pywebexec-2.3.4.dist-info/METADATA,sha256=h0SQW-btDQIC76B1kbUZc2M-PRX7wnQOyKWcHj1hf4Q,13015
|
72
|
+
pywebexec-2.3.4.dist-info/WHEEL,sha256=DK49LOLCYiurdXXOXwGJm6U4DkHkg4lcxjhqwRa0CP4,91
|
73
|
+
pywebexec-2.3.4.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
74
|
+
pywebexec-2.3.4.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
75
|
+
pywebexec-2.3.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|