pywebexec 2.4.6__py3-none-any.whl → 2.4.8__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/pywebexec.py +2 -2
- pywebexec/static/css/form.css +16 -0
- pywebexec/static/js/popup.js +0 -2
- pywebexec/static/js/script.js +0 -1
- pywebexec/version.py +2 -2
- {pywebexec-2.4.6.dist-info → pywebexec-2.4.8.dist-info}/METADATA +1 -1
- {pywebexec-2.4.6.dist-info → pywebexec-2.4.8.dist-info}/RECORD +11 -11
- {pywebexec-2.4.6.dist-info → pywebexec-2.4.8.dist-info}/WHEEL +0 -0
- {pywebexec-2.4.6.dist-info → pywebexec-2.4.8.dist-info}/entry_points.txt +0 -0
- {pywebexec-2.4.6.dist-info → pywebexec-2.4.8.dist-info}/licenses/LICENSE +0 -0
- {pywebexec-2.4.6.dist-info → pywebexec-2.4.8.dist-info}/top_level.txt +0 -0
pywebexec/pywebexec.py
CHANGED
@@ -715,7 +715,7 @@ def get_executable(cmd):
|
|
715
715
|
with open(schema_file, 'r') as sf:
|
716
716
|
schema = yaml.safe_load(sf)
|
717
717
|
return {"command": cmd, "help": help_text, "schema": schema}
|
718
|
-
return
|
718
|
+
return {}
|
719
719
|
|
720
720
|
def get_executables():
|
721
721
|
executables_list = []
|
@@ -933,7 +933,7 @@ def run_dynamic_command(cmd):
|
|
933
933
|
if param == batch_param and len(values)>1:
|
934
934
|
batch_values = values
|
935
935
|
value="@1"
|
936
|
-
if isinstance(value, list):
|
936
|
+
if value and isinstance(value, list) and isinstance(value[0], str):
|
937
937
|
params += " ".join(value)
|
938
938
|
else:
|
939
939
|
params += str(value)
|
pywebexec/static/css/form.css
CHANGED
@@ -147,6 +147,7 @@
|
|
147
147
|
}
|
148
148
|
li {
|
149
149
|
display: flex;
|
150
|
+
margin-bottom: 4px;
|
150
151
|
}
|
151
152
|
.controls input, select {
|
152
153
|
min-width: unset;
|
@@ -182,6 +183,7 @@
|
|
182
183
|
appearance: auto;
|
183
184
|
}
|
184
185
|
textarea {
|
186
|
+
height: 24px;
|
185
187
|
min-height: 24px;
|
186
188
|
max-height: 300px;
|
187
189
|
overflow-y: auto;
|
@@ -239,6 +241,16 @@
|
|
239
241
|
ul._jsonform-array-ul > li > div.form-group {
|
240
242
|
width: 100%;
|
241
243
|
}
|
244
|
+
li > fieldset.form-group {
|
245
|
+
/* width: 100%; */
|
246
|
+
display: flex;
|
247
|
+
gap: 5px;
|
248
|
+
}
|
249
|
+
li > div {
|
250
|
+
display: flex;
|
251
|
+
gap: 5px;
|
252
|
+
}
|
253
|
+
|
242
254
|
i[title="Delete current"] {
|
243
255
|
top: 5px;
|
244
256
|
}
|
@@ -259,6 +271,10 @@
|
|
259
271
|
margin-right: 4px;
|
260
272
|
}
|
261
273
|
}
|
274
|
+
input::placeholder, textarea::placeholder {
|
275
|
+
color: #bbb;
|
276
|
+
opacity: 1; /* Firefox */
|
277
|
+
}
|
262
278
|
.alert {
|
263
279
|
padding: 5px 10px;
|
264
280
|
margin-top: 10px;
|
pywebexec/static/js/popup.js
CHANGED
@@ -76,7 +76,6 @@ let isPaused = false;
|
|
76
76
|
let cols = 0;
|
77
77
|
let rows = 0;
|
78
78
|
let fitWindow = localStorage.getItem('popupFitWindow') === 'false' ? false : true;
|
79
|
-
console.log(localStorage.getItem('popupFitWindow'));
|
80
79
|
const toggleButton = document.getElementById('toggleFetch');
|
81
80
|
const pausedMessage = document.getElementById('pausedMessage');
|
82
81
|
const toggleFitButton = document.getElementById('toggleFit');
|
@@ -272,7 +271,6 @@ function toggleFetchOutput() {
|
|
272
271
|
}
|
273
272
|
function setFitIcon()
|
274
273
|
{
|
275
|
-
console.log(fitWindow);
|
276
274
|
if (fitWindow) {
|
277
275
|
toggleFitButton.classList.remove('fit-window');
|
278
276
|
toggleFitButton.classList.add('fit-tty');
|
pywebexec/static/js/script.js
CHANGED
@@ -331,7 +331,6 @@ async function viewOutput(command_id) {
|
|
331
331
|
document.getElementById('output').innerHTML = htmlContent;
|
332
332
|
document.getElementById('output').classList.add('outputhtml');
|
333
333
|
const table = document.getElementById('output').querySelector('table');
|
334
|
-
console.log(table);
|
335
334
|
if (table != undefined && table != null) {
|
336
335
|
initTableFilters(table);
|
337
336
|
}
|
pywebexec/version.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
|
2
2
|
pywebexec/host_ip.py,sha256=oiCMlo2o3AkkgXDarUSx8T3FWXKI0vk1-EPnx5FGBd8,1332
|
3
|
-
pywebexec/pywebexec.py,sha256=
|
3
|
+
pywebexec/pywebexec.py,sha256=avBfvbhLbjvrJ168bBmQVrm-DjbjGJoAapHHIEAD6V4,48515
|
4
4
|
pywebexec/swagger.yaml,sha256=I_oLpp7Hqel8SDEEykvpmCT-Gv3ytGlziq9bvQOrtZY,7598
|
5
|
-
pywebexec/version.py,sha256=
|
6
|
-
pywebexec/static/css/form.css,sha256=
|
5
|
+
pywebexec/version.py,sha256=lw1OMZPIEDe6j27Adc43MGxAw4jMR4uUU4qrD9ETkps,511
|
6
|
+
pywebexec/static/css/form.css,sha256=a010DWhDLii1OFPM9DNSd8b-Ix8am1WZQsxSNfeRbmU,7570
|
7
7
|
pywebexec/static/css/markdown.css,sha256=br4-iK9wigTs54N2KHtjgZ4KLH0THVSvJo-XZAdMHiE,1970
|
8
8
|
pywebexec/static/css/style.css,sha256=TX60M-mzIPTGVDmaypRCOcyxc8A7dOjx-p1_bpJ6t9M,11772
|
9
9
|
pywebexec/static/css/swagger-ui.css,sha256=xhXN8fnUaIACGHuPIEIr9-qmyYr6Zx0k2wv4Qy7Bg1Y,154985
|
@@ -35,9 +35,9 @@ pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_q
|
|
35
35
|
pywebexec/static/images/swagger-ui.svg,sha256=FR0yeOVwe4zCYKZAjCGcT_m0Mf25NexIVaSXifIkoU0,2117
|
36
36
|
pywebexec/static/js/exceljs.min.js,sha256=fknaaFiOJQ27i7oZDSyqirN4fMAoS9odiy-AXE33Qsk,947702
|
37
37
|
pywebexec/static/js/executables.js,sha256=cTgCFHr_F9bFCirtfG_uR32vOY3vNUr4Ih3Wglj5lFc,11988
|
38
|
-
pywebexec/static/js/popup.js,sha256=
|
38
|
+
pywebexec/static/js/popup.js,sha256=X-Q__R0jeZFO_I8EWucP1KkUJa9-Atz8bdnyWp6ibzY,11376
|
39
39
|
pywebexec/static/js/schemaform.js,sha256=2AIjwdjSDTE2ide8UMmQt4tS-7-JKqidKdopq9mNzvo,12458
|
40
|
-
pywebexec/static/js/script.js,sha256=
|
40
|
+
pywebexec/static/js/script.js,sha256=2Jys1IpB94ygkjnpFkUvcZdchM-gZrfPOFuS74SxgZI,21508
|
41
41
|
pywebexec/static/js/swagger-form.js,sha256=CLcSHMhk5P4-_2MIRBoJLgEnIj_9keDDSzUugXHZjio,4565
|
42
42
|
pywebexec/static/js/tablefilter.js,sha256=PH_OQ2NpaXr1WryM2p4EQVIvxtSLPm4IHDVAK0N6OU8,11093
|
43
43
|
pywebexec/static/js/js-yaml/LICENSE,sha256=oHvCRGi5ZUznalR9R6LbKC0HcztxXbTHOpi9Y5YflVA,1084
|
@@ -69,9 +69,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
69
69
|
pywebexec/templates/index.html,sha256=Hen-UXHenn3To-7gsHU3kO15hi2Mj--OpUVPb5DyHNk,4026
|
70
70
|
pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
|
71
71
|
pywebexec/templates/swagger_ui.html,sha256=MAPr-z96VERAecDvX37V8q2Nxph-O0fNDBul1x2w9SI,1147
|
72
|
-
pywebexec-2.4.
|
73
|
-
pywebexec-2.4.
|
74
|
-
pywebexec-2.4.
|
75
|
-
pywebexec-2.4.
|
76
|
-
pywebexec-2.4.
|
77
|
-
pywebexec-2.4.
|
72
|
+
pywebexec-2.4.8.dist-info/licenses/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
73
|
+
pywebexec-2.4.8.dist-info/METADATA,sha256=kL9CRkLf5_cPLobdFjfd1UZiL6Hhoil1jNY2S2yqeW0,13015
|
74
|
+
pywebexec-2.4.8.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
75
|
+
pywebexec-2.4.8.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
76
|
+
pywebexec-2.4.8.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
77
|
+
pywebexec-2.4.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|