pywebexec 2.4.7__py3-none-any.whl → 2.4.9__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 +23 -1
- pywebexec/static/jsonform/deps/jquery-ui.js +3476 -0
- pywebexec/templates/index.html +1 -0
- pywebexec/version.py +2 -2
- {pywebexec-2.4.7.dist-info → pywebexec-2.4.9.dist-info}/METADATA +1 -1
- {pywebexec-2.4.7.dist-info → pywebexec-2.4.9.dist-info}/RECORD +11 -10
- {pywebexec-2.4.7.dist-info → pywebexec-2.4.9.dist-info}/WHEEL +0 -0
- {pywebexec-2.4.7.dist-info → pywebexec-2.4.9.dist-info}/entry_points.txt +0 -0
- {pywebexec-2.4.7.dist-info → pywebexec-2.4.9.dist-info}/licenses/LICENSE +0 -0
- {pywebexec-2.4.7.dist-info → pywebexec-2.4.9.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
@@ -13,6 +13,9 @@
|
|
13
13
|
.glyphicon-search:before {
|
14
14
|
content: "\e003";
|
15
15
|
}
|
16
|
+
.glyphicon-list::before {
|
17
|
+
content: "\e235"; /* 056 119 */
|
18
|
+
}
|
16
19
|
.glyphicon {
|
17
20
|
position: relative;
|
18
21
|
top: 1px;
|
@@ -60,7 +63,7 @@
|
|
60
63
|
}
|
61
64
|
.btn-default {
|
62
65
|
background-color: transparent;
|
63
|
-
padding: 3px
|
66
|
+
padding: 3px 0px 2px 3px;
|
64
67
|
color: #333;
|
65
68
|
/* border: 1px solid #ccc; */
|
66
69
|
/* color: #eee; */
|
@@ -147,6 +150,8 @@
|
|
147
150
|
}
|
148
151
|
li {
|
149
152
|
display: flex;
|
153
|
+
margin-bottom: 4px;
|
154
|
+
gap: 2px;
|
150
155
|
}
|
151
156
|
.controls input, select {
|
152
157
|
min-width: unset;
|
@@ -182,6 +187,7 @@
|
|
182
187
|
appearance: auto;
|
183
188
|
}
|
184
189
|
textarea {
|
190
|
+
height: 24px;
|
185
191
|
min-height: 24px;
|
186
192
|
max-height: 300px;
|
187
193
|
overflow-y: auto;
|
@@ -232,6 +238,12 @@
|
|
232
238
|
li > fieldset {
|
233
239
|
width: 100%;
|
234
240
|
margin-bottom: 3px;
|
241
|
+
display: flex;
|
242
|
+
gap: 5px;
|
243
|
+
}
|
244
|
+
.draggable {
|
245
|
+
font-size: 12px;
|
246
|
+
padding-top: 4px;
|
235
247
|
}
|
236
248
|
._jsonform-array-buttons {
|
237
249
|
text-align: right;
|
@@ -239,6 +251,16 @@
|
|
239
251
|
ul._jsonform-array-ul > li > div.form-group {
|
240
252
|
width: 100%;
|
241
253
|
}
|
254
|
+
li > fieldset.form-group {
|
255
|
+
/* width: 100%; */
|
256
|
+
display: flex;
|
257
|
+
gap: 5px;
|
258
|
+
}
|
259
|
+
li > div {
|
260
|
+
display: flex;
|
261
|
+
gap: 5px;
|
262
|
+
}
|
263
|
+
|
242
264
|
i[title="Delete current"] {
|
243
265
|
top: 5px;
|
244
266
|
}
|