pywebexec 1.7.9__py3-none-any.whl → 1.7.11__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 +5 -4
- pywebexec/static/js/commands.js +1 -1
- pywebexec/static/js/script.js +4 -4
- pywebexec/templates/index.html +2 -2
- pywebexec/version.py +2 -2
- {pywebexec-1.7.9.dist-info → pywebexec-1.7.11.dist-info}/METADATA +1 -1
- {pywebexec-1.7.9.dist-info → pywebexec-1.7.11.dist-info}/RECORD +11 -11
- {pywebexec-1.7.9.dist-info → pywebexec-1.7.11.dist-info}/LICENSE +0 -0
- {pywebexec-1.7.9.dist-info → pywebexec-1.7.11.dist-info}/WHEEL +0 -0
- {pywebexec-1.7.9.dist-info → pywebexec-1.7.11.dist-info}/entry_points.txt +0 -0
- {pywebexec-1.7.9.dist-info → pywebexec-1.7.11.dist-info}/top_level.txt +0 -0
pywebexec/static/css/style.css
CHANGED
@@ -74,13 +74,14 @@ button {
|
|
74
74
|
-webkit-border-radius: none;
|
75
75
|
appearance: none;
|
76
76
|
border-radius: 15px;
|
77
|
-
padding
|
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, #
|
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
|
-
#
|
156
|
+
#command {
|
156
157
|
width: auto; /* Allow dynamic width */
|
157
158
|
background-size: 16px 16px;
|
158
159
|
border-radius: 15px 0px 0px 15px;
|
pywebexec/static/js/commands.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
// commands.js
|
2
|
-
let commandInput = document.getElementById('
|
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');
|
pywebexec/static/js/script.js
CHANGED
@@ -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 =
|
130
|
-
const params =
|
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.');
|
pywebexec/templates/index.html
CHANGED
@@ -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="
|
16
|
+
<label for="command">Command</label>
|
17
17
|
<div class="input-group">
|
18
|
-
<input type="text" id="
|
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">▼</span>
|
21
21
|
</div>
|
pywebexec/version.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
pywebexec/__init__.py,sha256=4spIsVaF8RJt8S58AG_wWoORRNkws9Iwqprj27C3ljM,99
|
2
2
|
pywebexec/pywebexec.py,sha256=MmpHK2SscvIPj1gmV9AcJXYfeaL-at5BDgLhKIxzZBc,33604
|
3
|
-
pywebexec/version.py,sha256=
|
3
|
+
pywebexec/version.py,sha256=TBdoKbRERu0RLmgOlLn0qO1c9vmbdCN_H7OMlZVRf8o,413
|
4
4
|
pywebexec/static/css/Consolas NF.ttf,sha256=DJEOzF0eqZ-kxu3Gs_VE8X0NJqiobBzmxWDGpdgGRxI,1313900
|
5
|
-
pywebexec/static/css/style.css,sha256=
|
5
|
+
pywebexec/static/css/style.css,sha256=uv8BQzD0SGa2pmUfiFYt1UVLJhBE6DpFLUIEAuBV6Z8,8218
|
6
6
|
pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
|
7
7
|
pywebexec/static/images/aborted.svg,sha256=2nuvSwGBIZGWtlM1DrBO3qiSq1reDbcZDAj9rJXBnjY,380
|
8
8
|
pywebexec/static/images/copy.svg,sha256=d9OwtGh5GzzZHzYcDrLfNxZYLth1Q64x7bRyYxu4Px0,622
|
@@ -20,9 +20,9 @@ pywebexec/static/images/popup.svg,sha256=0Bl9A_v5cBsMPn6FnOlVWlAQKgd2zqiWQbhjcL9
|
|
20
20
|
pywebexec/static/images/resume.svg,sha256=99LP1Ya2JXakRCO9kW8JMuT_4a_CannF65EiuwtvK4A,607
|
21
21
|
pywebexec/static/images/running.svg,sha256=fBCYwYb2O9K4N3waC2nURP25NRwZlqR4PbDZy6JQMww,610
|
22
22
|
pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_qiD_FU8,489
|
23
|
-
pywebexec/static/js/commands.js,sha256=
|
23
|
+
pywebexec/static/js/commands.js,sha256=HNaAwJWW7EGHX4VrkQpfTyH92SsEbygSVa_jERk4tcc,7957
|
24
24
|
pywebexec/static/js/popup.js,sha256=_2GzUizJ-sdZFWG7SZwbYJTPbu4EvVq7D5Q_UE8nepA,9452
|
25
|
-
pywebexec/static/js/script.js,sha256=
|
25
|
+
pywebexec/static/js/script.js,sha256=bmaR9TJhZMEK_Niz0TCp8CJdnLKh4ayaxLvqgjxdoRs,18482
|
26
26
|
pywebexec/static/js/xterm/LICENSE,sha256=EU1P4eXTull-_T9I80VuwnJXubB-zLzUl3xpEYj2T1M,1083
|
27
27
|
pywebexec/static/js/xterm/addon-canvas.js,sha256=ez6QTVvsmLVNJmdJlM-ZQ5bErwlxAQ_9DUmDIptl2TM,94607
|
28
28
|
pywebexec/static/js/xterm/addon-canvas.js.map,sha256=ECBA4B-BqUpdFeRzlsEWLSQnudnhLP-yPQJ8_hKquMo,379537
|
@@ -33,11 +33,11 @@ pywebexec/static/js/xterm/addon-unicode11.js.map,sha256=paDj5KKtTIUGedQn2x7CaUTD
|
|
33
33
|
pywebexec/static/js/xterm/xterm.js,sha256=H5kaw7Syg-v5bmCuI6AKUnZd06Lkb6b92p8aqwMvdJU,289441
|
34
34
|
pywebexec/static/js/xterm/xterm.js.map,sha256=Y7O2Pb-fIS7Z8AC1D5s04_aiW_Jf1f4mCfN0U_OI6Zw,1118392
|
35
35
|
pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
36
|
-
pywebexec/templates/index.html,sha256=
|
36
|
+
pywebexec/templates/index.html,sha256=vSR_PrREGvR6jbKKysABBYfvurw4OyarDrvcnHwRqnI,2969
|
37
37
|
pywebexec/templates/popup.html,sha256=f5m4u8WKpkevL2mQamGqo4_y-rSuLOXGuNsezuUbniY,1508
|
38
|
-
pywebexec-1.7.
|
39
|
-
pywebexec-1.7.
|
40
|
-
pywebexec-1.7.
|
41
|
-
pywebexec-1.7.
|
42
|
-
pywebexec-1.7.
|
43
|
-
pywebexec-1.7.
|
38
|
+
pywebexec-1.7.11.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
39
|
+
pywebexec-1.7.11.dist-info/METADATA,sha256=-n08jreVl7Ju9m-EjnKXlFNtojek5i11pAZmDHh5jpk,8149
|
40
|
+
pywebexec-1.7.11.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
41
|
+
pywebexec-1.7.11.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
42
|
+
pywebexec-1.7.11.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
43
|
+
pywebexec-1.7.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|